/* ============================================================
   Product Income - Premium Design System
   Colors: Sage #95A18B | Off-White #F9F7F2 | Forest #3D4936
           Terracotta #D48C70 | Gray #E5E5E5 | White #FFFFFF
   ============================================================ */

:root {
    --sage: #95A18B;
    --off-white: #F9F7F2;
    --forest: #3D4936;
    --terracotta: #D48C70;
    --gray: #E5E5E5;
    --white: #FFFFFF;
    --text: #2D2D2D;
    --text-muted: #6B6B6B;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* --- Layout --- */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.nav-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-cta {
    background: var(--forest);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.nav-cta:hover {
    background: #2a3424;
    transform: translateY(-1px);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: var(--forest);
    color: var(--white);
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-primary:hover {
    background: #2a3424;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(61, 73, 54, 0.25);
}

.btn-lg {
    padding: 18px 48px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* --- Hero --- */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
}

.hero-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(149, 161, 139, 0.15);
    color: var(--forest);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.12;
    color: var(--forest);
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    color: var(--terracotta);
    font-style: italic;
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

/* --- Hero Video --- */
.hero-video-wrap {
    margin: 0 auto 48px;
    max-width: 100%;
}

.hero-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    background: #111;
}

.hero-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.hero-cta-row {
    margin-top: 12px;
}

.hero-micro {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Sections --- */
.section {
    padding: 100px 0;
}

/* Problem Section */
.section-problem {
    background: var(--white);
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 16px;
}

.section-eyebrow-light {
    color: rgba(255, 255, 255, 0.7);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--forest);
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.section-body {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.85;
}

.section-body-bold {
    color: var(--forest);
    font-weight: 500;
}

/* Learn Section */
.section-learn {
    background: var(--off-white);
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.learn-card {
    background: var(--white);
    padding: 36px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.35s ease;
}

.learn-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.learn-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--terracotta);
    margin-bottom: 16px;
    opacity: 0.6;
}

.learn-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 12px;
}

.learn-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Urgency Section */
.section-urgency {
    background: var(--white);
}

.urgency-block {
    background: var(--forest);
    color: var(--white);
    border-radius: 20px;
    padding: 64px;
}

.urgency-title {
    font-family: var(--font-display);
    font-size: 2.4rem;
    color: var(--white);
    margin-bottom: 40px;
}

.urgency-points {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.urgency-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.urgency-dot {
    width: 12px;
    height: 12px;
    min-width: 12px;
    background: var(--terracotta);
    border-radius: 50%;
    margin-top: 6px;
}

.urgency-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 4px;
}

.urgency-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* Final CTA */
.section-final-cta {
    padding: 120px 0;
    background: var(--sage);
    color: var(--white);
}

.final-cta-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.15;
}

.final-cta-body {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* Footer */
.site-footer {
    padding: 32px 0;
    background: var(--forest);
}

.footer-copy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-box {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 520px;
    position: relative;
    padding: 48px 40px;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
}

.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--forest);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--forest);
    margin-bottom: 10px;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.6;
}

/* Form */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 18px;
    text-align: left;
}

.field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--forest);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.field input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--gray);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafafa;
}

.field input:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(212, 140, 112, 0.15);
    background: var(--white);
}

.form-privacy {
    text-align: center;
    font-size: 0.78rem;
    color: #999;
    margin-top: 14px;
    margin-bottom: 0;
}

.form-msg {
    padding: 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
    margin-bottom: 16px;
}

.form-msg.error {
    display: block;
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.form-msg.success {
    display: block;
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .learn-grid {
        grid-template-columns: 1fr;
    }

    .urgency-block {
        padding: 40px 28px;
    }

    .final-cta-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .section {
        padding: 64px 0;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .form-row-2col {
        grid-template-columns: 1fr;
    }

    .modal-box {
        padding: 32px 24px;
        margin: 16px;
    }

    .urgency-block {
        padding: 32px 20px;
        border-radius: 12px;
    }

    .nav-inner {
        height: 60px;
    }

    .btn-lg {
        padding: 16px 32px;
        font-size: 1rem;
    }
}