/* ============================================================
   Product Income - Ultra Premium Aesthetics
   Colors: Terracotta #D48C70 | Forest #3D4936 | Off-White #F9F7F2
   ============================================================ */

:root {
    --sage: #95A18B;
    --off-white: #F9F7F2;
    --forest: #3D4936;
    --terracotta: #D48C70;
    --gray: #E5E5E5;
    --white: #FFFFFF;
    --text: #222222;
    --text-muted: #555555;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;

    /* Animation easing */
    --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.65;
    color: var(--text);
    background: var(--off-white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* --- Ambient Background --- */
.ambient-gradient {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

.ambient-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 140, 112, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
}

.ambient-2 {
    top: 20%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(149, 161, 139, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    animation-delay: -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 10%) scale(1.05);
    }
}

/* --- Glassmorphism --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.04);
}

.glass-panel-heavy {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.container-narrow {
    max-width: 840px;
    margin: 0 auto;
    padding: 0 32px;
    text-align: center;
}

.bg-white {
    background: var(--white);
}

.bg-off-white {
    background: var(--off-white);
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(249, 247, 242, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 44px;
    width: auto;
    mix-blend-mode: multiply;
}

.nav-cta {
    background: transparent;
    color: var(--forest);
    border: 2px solid var(--forest);
    padding: 10px 28px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s var(--ease-lux);
}

.nav-cta:hover {
    background: var(--forest);
    color: var(--white);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.4s var(--ease-lux);
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: var(--forest);
    color: var(--white);
    padding: 18px 48px;
    font-size: 1.1rem;
    box-shadow: 0 12px 32px rgba(61, 73, 54, 0.15);
}

.btn-primary:hover {
    background: #2a3424;
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(61, 73, 54, 0.25);
}

.btn-xl {
    padding: 22px 56px;
    font-size: 1.15rem;
    border-radius: 100px;
}

.btn-block {
    width: 100%;
    border-radius: 8px;
    padding: 18px;
}

/* --- Hero --- */
.hero {
    padding: 180px 0 100px;
    text-align: center;
}

.hero-inner {
    max-width: 960px;
}

.hero-badge {
    display: inline-block;
    background: rgba(212, 140, 112, 0.1);
    color: var(--terracotta);
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.2rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--forest);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-title-accent {
    background: linear-gradient(135deg, var(--terracotta), #A86A51);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    display: inline-block;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 56px;
    line-height: 1.8;
}

/* --- Hero Video --- */
.hero-video-wrap {
    margin: 0 auto 64px;
    max-width: 100%;
    padding: 0 16px;
}

.hero-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 20px;
}

.hero-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.hero-micro {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    opacity: 0.8;
}

/* --- Typography Sections --- */
.section {
    padding: 120px 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--forest);
    line-height: 1.15;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
}

.story-content p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* --- Feature Grid --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 48px 40px;
    border-radius: 20px;
    transition: transform 0.4s var(--ease-lux);
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--terracotta);
    margin-bottom: 24px;
    opacity: 0.4;
    line-height: 1;
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 16px;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* --- Final CTA --- */
.section-final-cta {
    background: var(--forest);
    color: var(--white);
    padding: 140px 0;
}

.final-cta-title {
    font-family: var(--font-display);
    font-size: 3.6rem;
    color: var(--white);
    margin-bottom: 32px;
}

.final-cta-body {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
}

.section-final-cta .btn-primary {
    background: var(--terracotta);
}

.section-final-cta .btn-primary:hover {
    background: #ba765c;
}

/* --- Footer --- */
.site-footer {
    padding: 40px 0;
    background: #2a3424;
}

.site-footer p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(30, 25, 20, 0.4);
    backdrop-filter: blur(12px);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease-lux);
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-box {
    border-radius: 24px;
    width: 100%;
    max-width: 580px;
    position: relative;
    padding: 64px 48px;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.5s var(--ease-lux);
}

.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--forest);
}

.modal-title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--forest);
    margin-bottom: 12px;
}

.modal-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.6;
}

/* Form */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    margin-bottom: 24px;
    text-align: left;
}

.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 10px;
}

.field input {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.field input:focus {
    outline: none;
    background: var(--white);
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(212, 140, 112, 0.1);
}

.form-privacy {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 16px;
}

/* Alerts */
.form-msg {
    padding: 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
    margin-bottom: 20px;
}

.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;
}

/* --- Reveal Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-lux);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--ease-lux) forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-title {
        font-size: 3.4rem;
    }

    .section-title {
        font-size: 2.6rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .nav-inner {
        padding: 0 24px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 130px 0 60px;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .section {
        padding: 80px 0;
    }

    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .modal-box {
        padding: 40px 24px;
        margin: 16px;
        border-radius: 20px;
    }
}