/* Landing Page Styles - VSCode-inspired theme for no-job.dev */

/* Core layout styles */
.landing-page-container {
    padding: 0 0 3rem;
    background-color: var(--color-black);
    color: var(--text-primary);
    font-family: var(--font-family-mono);
}

/* Hero section */
.landing-hero {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--color-gray-900);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.landing-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.landing-title {
    font-family: "Press Start 2P", monospace;
    font-size: 2.2rem;
    color: #569cd6;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.landing-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: #ce9178;
    opacity: 0.9;
}

.comment-line {
    font-family: var(--font-family-mono);
    color: #6A9955;
}

/* CTA Buttons */
.landing-cta-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.landing-cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #0E639C;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-family: var(--font-family-mono);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.landing-cta-button:hover {
    background-color: #1177BB;
    border-color: #569cd6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.landing-cta-button.secondary {
    background-color: #2D2D30;
    color: #FFFFFF;
}

.landing-cta-button.secondary:hover {
    background-color: #3E3E42;
    border-color: #569cd6;
}

.landing-cta-button i {
    margin-left: 0.5rem;
}

/* Section styles */
.landing-section {
    margin: 3rem 0;
    padding: 0 1rem;
}

.landing-section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.landing-section-title {
    font-size: 1.8rem;
    color: #DCDCDC;
    margin-bottom: 1.5rem;
    text-align: center;
    font-family: var(--font-family-mono);
}

.landing-section-title .keyword {
    color: #569cd6;
}

/* Code block styling */
.code-block {
    background-color: #1E1E1E;
    border: 1px solid #3E3E42;
    border-radius: 6px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.code-line {
    line-height: 1.6;
    margin-bottom: 0.25rem;
    white-space: pre;
}

.indented {
    padding-left: 2rem;
}

.double-indented {
    padding-left: 4rem;
}

.keyword {
    color: #569cd6;
}

.class-name {
    color: #4EC9B0;
}

.function-name {
    color: #DCDCAA;
}

.string {
    color: #ce9178;
}

.comment {
    color: #6A9955;
}

/* Career Support Grid */
.career-support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.career-support-card {
    background-color: #252526;
    border: 1px solid #3E3E42;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.career-support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    border-color: #569cd6;
}

.card-header {
    padding: 1.5rem;
    background-color: #1E1E1E;
    border-bottom: 1px solid #3E3E42;
    display: flex;
    align-items: center;
}

.card-icon {
    color: #569cd6;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.card-title {
    margin: 0;
    font-size: 1.2rem;
    color: #DCDCDC;
    font-weight: 500;
}

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.card-body p {
    margin-top: 0;
    line-height: 1.5;
    color: #CCCCCC;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: #2D2D30;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #CCCCCC;
}

.card-link {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    border-top: 1px solid #3E3E42;
    color: #569cd6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.card-link:hover {
    background-color: #3E3E42;
}

.code-comment {
    font-family: 'JetBrains Mono', monospace;
}

/* Join CTA Section */
.join-cta {
    background-color: #1E1E1E;
    padding: 3rem 1rem;
    text-align: center;
    border-radius: 8px;
    margin: 4rem auto;
    max-width: 1000px;
}

.join-description {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #CCCCCC;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Algorithm Description */
.algorithm-description {
    background-color: #252526;
    border-radius: 6px;
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 800px;
    border: 1px solid #3E3E42;
    border-left: 3px solid #569cd6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.algorithm-description p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #CCCCCC;
}

.algorithm-description .feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.algorithm-description .feature-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: #DCDCDC;
}

.algorithm-description .feature-list li i {
    color: #569cd6;
    position: absolute;
    left: 0;
    top: 4px;
}

.numeric {
    color: #b5cea8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .landing-title {
        font-size: 1.8rem;
    }
    
    .landing-subtitle {
        font-size: 1rem;
    }
    
    .code-block {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .career-support-grid {
        grid-template-columns: 1fr;
    }
    
    .landing-cta-container {
        flex-direction: column;
        align-items: center;
    }
    
    .landing-cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}
