/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #75cff0;
    --secondary: #ffca28;
    --track-blue: #3388FF;
    --text-grey: rgb(56, 63, 69);
    --light-grey: rgb(200, 200, 200);
    --black: #212529;
    --white: #ffffff;
    --background: #f0f0f0;
    
    --max-width: 1200px;
    --padding: 6px;
    --sm: 576px;
    --md: 768px;
    --lg: 992px;
    --xl: 1300px;
    --section-header-height: 32px;
}

body {
    font-family: 'Noto Sans', Arial, sans-serif, -apple-system;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-grey);
    background-color: var(--white);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--padding);
}

/* Language Toggle */
.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    color: var(--white);
}

.lang-link {
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px 2px;
    font-weight: 400;
    color: var(--white);
}

.lang-link.active {
    font-weight: 700;
}

.lang-link:not(.active):hover {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.6);
    user-select: none;
}

/* Header */
.header {
    background: var(--track-blue);
    padding: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    min-height: 60px;
}

.header .container {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-section .left-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 40px;
    width: 40px;
    border-radius: 8px;
}

.site-title {
    font-family: 'Courier New', Courier, 'Lucida Sans Typewriter', monospace;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.1em;
}

/* Hero Section */
.hero {
    padding: 20px 0;
    background: var(--background);
    margin-bottom: 18px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-grey);
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: var(--track-blue);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #2577e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(51, 136, 255, 0.3);
}

.cta-button.large {
    font-size: 1.3rem;
    padding: 20px 40px;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: var(--section-header-height) 0;
    background: var(--white);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: var(--black);
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: var(--background);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
}

.feature p {
    color: var(--text-grey);
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    padding: var(--section-header-height) 0;
    background: var(--background);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--track-blue);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.step h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 15px;
}

.step p {
    color: var(--text-grey);
    line-height: 1.6;
}

/* Early Adopter Section */
.early-adopter {
    padding: var(--section-header-height) 0;
    background: var(--white);
}

.early-adopter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.early-adopter-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.early-adopter-text p {
    font-size: 1.1rem;
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 20px;
}

.modest-note {
    font-style: italic;
    color: var(--track-blue);
    font-weight: 500;
}

.early-adopter-image img {
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* Final CTA Section */
.final-cta {
    padding: var(--section-header-height) 0;
    background: linear-gradient(135deg, var(--track-blue), #2577e6);
    text-align: center;
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.final-cta .cta-button {
    background: var(--white);
    color: var(--track-blue);
}

.final-cta .cta-button:hover {
    background: var(--background);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    padding: var(--section-header-height) 0;
    background: var(--background);
    border-top: 1px solid var(--light-grey);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 32px;
    width: 32px;
    border-radius: 6px;
}

.footer-title {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-grey);
    letter-spacing: 0.05em;
}

.footer-text p {
    color: var(--text-grey);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content,
    .early-adopter-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .features-grid,
    .steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .features,
    .how-it-works,
    .early-adopter {
        padding: 60px 0;
    }
    
    .final-cta {
        padding: 80px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .site-title {
        font-size: 1.4rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-image img {
        height: 300px;
    }
    
    .early-adopter-image img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 90%;
    }
    
    .header {
        padding: 15px 0;
        margin-bottom: 40px;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .logo-section .left-content {
        gap: 10px;
    }
    
    .language-toggle {
        align-self: flex-end;
        font-size: 1rem;
    }
    
    .logo {
        height: 32px;
        width: 32px;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .cta-button.large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature,
.step {
    animation: fadeInUp 0.6s ease forwards;
}

.feature:nth-child(2) {
    animation-delay: 0.2s;
}

.feature:nth-child(3) {
    animation-delay: 0.4s;
}

.step:nth-child(2) {
    animation-delay: 0.2s;
}

.step:nth-child(3) {
    animation-delay: 0.4s;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.cta-button:focus,
.lang-btn:focus {
    outline: 2px solid var(--track-blue);
    outline-offset: 2px;
}
