:root {
    --primary: #7FA96E;
    --primary-dark: #68935A;
    --secondary: #3E4A3B;
    --background: #F4F0E6;
    --text: #3E4A3B;
    --muted: #7A8274;
    --white: #ffffff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Lato', system-ui, sans-serif;
    line-height: 1.5;
    color: var(--text);
    background: var(--background);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
}

h1, h2 {
    line-height: 1.15;
    color: var(--secondary);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin: 0.25rem 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1rem;
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--secondary);
}

.logo-dot {
    color: var(--primary);
}

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

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary);
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    padding: 2rem;
    z-index: 100;
    display: none;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary), #1f2b1d);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
}

.hero-accent {
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-decoration-thickness: 0.2em;
    text-underline-offset: 0.1em;
}

.hero-subtext {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Form */
.form-section {
    padding: 4rem 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.lead-form {
    max-width: 560px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.lead-form input,
.lead-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: -1px;
}

.google-form {
    max-width: 640px;
    margin: 0 auto;
}

.google-form iframe {
    width: 100%;
    border: none;
    border-radius: 0.5rem;
    background: #fff;
}

/* How It Works */
.how-it-works {
    padding: 4rem 0;
}

.section-subtitle {
    color: var(--muted);
    max-width: 36rem;
    margin: 0 auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.steps::before {
    content: "";
    position: absolute;
    top: 1.75rem;
    left: 16%;
    right: 16%;
    height: 2px;
    background: var(--muted);
    opacity: 0.3;
    z-index: 0;
}

.step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.step-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: rgba(127, 169, 110, 0.12);
    border: 1px solid rgba(127, 169, 110, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card {
    background: #fff;
    border: 1px solid #e0ded5;
    border-radius: 1rem;
    padding: 1.75rem;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: border-color 0.2s;
}

.step-card:hover {
    border-color: rgba(127, 169, 110, 0.5);
}

.step-label {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(127, 169, 110, 0.15);
}

.step-card h3 {
    font-size: 1.1rem;
    color: var(--secondary);
}

.step-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Features */
.features {
    padding: 4rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

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

.feature-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* About */
.about {
    padding: 4rem 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-media {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 1rem;
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.2em;
    overflow: hidden;
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-copy p {
    color: var(--muted);
    margin-top: 1rem;
}

/* Results carousel */
.results {
    padding: 4rem 0;
}

.carousel {
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 50%;
    padding: 0 0.75rem;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.carousel-button:hover {
    background: var(--primary);
    color: #fff;
}

.carousel-button.prev { left: 0.5rem; }
.carousel-button.next { right: 0.5rem; }

/* FAQ */
.faq {
    padding: 4rem 0;
    background: #fff;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0ded5;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
}

.faq-icon {
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 1.25rem;
    color: var(--muted);
}

/* Footer */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 2rem 0;
}

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

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 1.25rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .carousel-slide {
        flex: 0 0 100%;
        padding: 0 0.5rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .steps::before {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
