:root {
    /* Palette */
    --color-header: #2E3A2C;
    --color-accent: #6B8E23;
    --color-text-bg: #A8D5BA;
    --color-footer: #643305;
    --color-cta: #F6D55C;
    --color-bg: #F1FAEE;
    --color-white: #ffffff;

    /* Typography */
    /* REMOVED: Zain, Lekton */
    --font-header: 'Zain', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing */
    --section-padding: 5rem 1.5rem;
    --container-max: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-header);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-header);
    font-weight: 800;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    min-height: 44px; /* Minimum touch target height */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-cta);
    color: var(--color-header);
}

.btn-primary:hover {
    background-color: #ffd000;
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-header);
    transform: translateY(-2px);
}

/* Navigation */
header {
    background-color: var(--color-header);
    color: var(--color-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: var(--font-header);
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo svg {
    fill: var(--color-accent);
    width: 24px;
    height: 24px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:hover {
    color: var(--color-cta);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Simple mobile hide for MVP */
    }
}

/* Language Switcher */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    opacity: 0.5;
    transition: opacity 0.3s ease;
    padding: 10px 12px; /* Minimum 44px touch area (with font-size) */
    font-family: inherit;
    font-weight: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
}

.lang-btn.active {
    opacity: 1;
    color: var(--color-cta);
}

.lang-btn:hover {
    opacity: 1;
}

.lang-separator {
    opacity: 0.5;
    color: var(--color-white);
    margin: 0 -4px; /* Adjust for increased button padding */
}

.footer .lang-switch {
    justify-content: center;
    margin-left: 0;
    margin-top: 1.5rem;
}

.socials {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
    padding: 0 0.5rem;
    opacity: 0.7;
}

.socials a:hover {
    opacity: 1;
    color: var(--color-cta);
}

/* Hero */
.hero {
    position: relative;
    height: 90vh; /* Fallback for older browsers */
    height: 90dvh; /* Dynamic viewport height for modern mobile browsers */
    display: flex;
    align-items: center;
    color: var(--color-white);
    background: linear-gradient(rgba(46, 58, 44, 0.4), rgba(46, 58, 44, 0.6)), url('../hero.png');
    background: linear-gradient(rgba(46, 58, 44, 0.4), rgba(46, 58, 44, 0.6)), image-set(
        url('../hero.webp') type('image/webp'),
        url('../hero.png') type('image/png')
    );
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
}

.eyebrow {
    color: var(--color-cta);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    display: block;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.supporting-text {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Social Proof */
.social-proof {
    padding: 2rem 0;
    background-color: var(--color-bg);
    text-align: center;
    border-bottom: 1px solid rgba(46, 58, 44, 0.1);
}

.social-proof p {
    font-size: 0.9rem;
    color: var(--color-header);
    margin-bottom: 1rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    opacity: 0.6;
    filter: grayscale(100%);
    flex-wrap: wrap;
}

.logos-container img {
    height: 40px;
    width: auto;
}

/* Features */
.features {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--color-bg);
    padding: 2rem;
    border-radius: 8px;
    border-top: 4px solid var(--color-accent);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-header);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-header);
}

/* The Pilot */
.pilot {
    padding: var(--section-padding);
    background-color: var(--color-header);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.pilot-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pilot-image img {
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid var(--color-cta);
}

.pilot-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.pilot-content .lead {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-cta);
    margin-bottom: 1.5rem;
    display: block;
}

.pilot-award {
    font-size: 1.05rem;
    color: var(--color-white);
    margin-bottom: 1.25rem;
}

.stat-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-header);
    color: var(--color-white);
}

.stat p {
    font-size: 0.9rem;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .pilot-container {
        grid-template-columns: 1fr;
    }

    .pilot-content h2 {
        font-size: 2.5rem;
    }
}

/* How It Works */
.how-it-works {
    padding: var(--section-padding);
    background-color: var(--color-bg);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    counter-reset: steps;
}

.step {
    position: relative;
    padding-left: 3.5rem;
}

.step::before {
    counter-increment: steps;
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: var(--color-header);
    color: var(--color-cta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-header);
    font-weight: 800;
    font-size: 1.2rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Pricing/Audience */
.audience {
    padding: var(--section-padding);
    background-color: var(--color-text-bg);
    text-align: center;
}

.audience h2 {
    color: var(--color-header);
    margin-bottom: 1rem;
}

.personas {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.persona-tag {
    background-color: var(--color-header);
    color: var(--color-bg);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
}

/* FAQ */
.faq {
    padding: var(--section-padding);
    background-color: var(--color-white);
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto 0;
    display: grid;
    gap: 2rem;
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-header);
}

.faq-item p {
    color: #555;
}

/* Footer */
.footer {
    background-color: var(--color-footer);
    color: var(--color-bg);
    padding: 5rem 0 2rem;
}

.footer-cta {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-cta);
}

.consent-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: 0.5rem;
    color: var(--color-bg);
    font-size: 0.9rem;
    text-align: left;
    min-height: 44px; /* Touch target */
    cursor: pointer;
}

.consent-wrap input[type="checkbox"] {
    width: 24px;
    height: 24px;
    accent-color: var(--color-cta);
    cursor: pointer;
    flex-shrink: 0;
}

.consent-wrap a {
    color: var(--color-cta);
    text-decoration: underline;
    padding: 8px 0; /* Extra touch target for link */
}

#waitlist-form button[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2rem;
}

.copyright {
    opacity: 0.5;
    font-size: 0.9rem;
}
