/* ================================================================== */
/* == MEMORYCHAIN — LANDING PAGE STYLES                             == */
/* == Block A2: Complete Design System                              == */
/* ================================================================== */


/* ================================================================== */
/* == SECTION A2.1: CSS CUSTOM PROPERTIES (Design Tokens)          == */
/* ================================================================== */
:root {
    /* — Core Brand Colors (matched to form + elevated) — */
    --rose:        #B76E79;       /* Primary rose — exact match to form */
    --rose-light:  #D4959E;       /* Lighter rose for hovers */
    --rose-deep:   #9A5562;       /* Deeper rose for depth */
    --plum:        #6B4C5E;       /* Accent plum — exact match to form */
    --plum-light:  #8B6478;       /* Lighter plum */
    --plum-deep:   #4A3040;       /* Deep plum for hero dark areas */
    --cream:       #FAF6F0;       /* Background cream — exact match */
    --cream-warm:  #F5EDE3;       /* Slightly warmer cream */
    --gold:        #C9A96E;       /* Premium accent — new elevation */
    --gold-light:  #E8D5A8;       /* Light gold for borders */

    /* — Neutral Palette — */
    --white:       #FFFFFF;
    --off-white:   #FDFBF8;
    --text-dark:   #2C2C2C;       /* Exact match to form */
    --text-mid:    #4A4A4A;
    --text-light:  #6B6B6B;       /* Exact match to form */
    --text-faint:  #9B9B9B;
    --border:      #E8E0D5;       /* Exact match to form */
    --border-light:#F0E8DF;

    /* — Semantic — */
    --shadow-rose: rgba(183, 110, 121, 0.15);   /* Exact match to form */
    --shadow-rose-strong: rgba(183, 110, 121, 0.30);
    --shadow-plum: rgba(107, 76, 94, 0.12);
    --shadow-dark: rgba(44, 44, 44, 0.08);

    /* — Typography — */
    --font-display:  'Playfair Display', Georgia, serif;
    --font-dramatic: 'Cormorant Garamond', Georgia, serif;
    --font-body:     'Inter', system-ui, sans-serif;

    /* — Spacing Scale — */
    --space-xs:   8px;
    --space-sm:   16px;
    --space-md:   24px;
    --space-lg:   48px;
    --space-xl:   80px;
    --space-2xl:  120px;
    --space-3xl:  160px;

    /* — Layout — */
    --max-width:     1200px;
    --section-pad-v: 100px;
    --radius-sm:     8px;
    --radius-md:     16px;
    --radius-lg:     24px;
    --radius-xl:     32px;

    /* — Transitions — */
    --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in:   cubic-bezier(0.4, 0, 1, 1);
    --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --duration:  0.4s;
}


/* ================================================================== */
/* == SECTION A2.2: RESET & BASE                                    == */
/* ================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}


/* ================================================================== */
/* == SECTION A2.3: TYPOGRAPHY SCALE                                == */
/* ================================================================== */

/* Display — for the hero headline only */
.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--white);
}

/* Section Headings */
.section-heading {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 58px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--plum-deep);
}

/* Section Label (eyebrow text) */
.section-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: var(--space-sm);
}

/* Section Subtext */
.section-subtext {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.75;
    max-width: 600px;
    margin: 0 auto;
}

/* Final CTA heading uses italic dramatic font */
.final-cta-heading {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 600;
    line-height: 1.12;
    color: var(--white);
}

.final-cta-heading em {
    font-style: italic;
    color: var(--gold-light);
}


/* ================================================================== */
/* == SECTION A2.4: LAYOUT UTILITIES                                == */
/* ================================================================== */
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--section-pad-v) var(--space-lg);
    text-align: center;
}

/* Reveal animation — applied by JS on scroll */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ================================================================== */
/* == SECTION A2.5: BUTTONS                                         == */
/* ================================================================== */

/* Primary CTA — rose gradient */
.btn-primary {
    display: inline-block;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--rose) 0%, var(--plum) 100%);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 100px;
    box-shadow: 0 8px 32px var(--shadow-rose-strong);
    transition: all var(--duration) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--rose-light) 0%, var(--plum-light) 100%);
    opacity: 0;
    transition: opacity var(--duration) var(--ease-out);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px var(--shadow-rose-strong);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary {
    position: relative;
    z-index: 1;
}

.btn-primary--large {
    padding: 22px 56px;
    font-size: 18px;
}

/* Ghost — outline on dark background */
.btn-ghost {
    display: inline-block;
    padding: 18px 32px;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 100px;
    transition: all var(--duration) var(--ease-out);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: rgba(255,255,255,0.7);
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* Outline — on light background */
.btn-outline {
    display: inline-block;
    margin-top: var(--space-lg);
    padding: 16px 36px;
    color: var(--plum);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 2px solid var(--plum);
    border-radius: 100px;
    transition: all var(--duration) var(--ease-out);
}

.btn-outline:hover {
    background: var(--plum);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-plum);
}


/* ================================================================== */
/* == SECTION A2.6: NAVBAR                                          == */
/* ================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.5s var(--ease-out);
}

/* Scrolled state — added by JS */
.navbar.scrolled {
    background: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px 0;
    box-shadow: 0 1px 0 var(--border), 0 4px 24px var(--shadow-dark);
}

.navbar.scrolled .nav-logo {
    color: var(--plum-deep);
}

.navbar.scrolled .nav-links a {
    color: var(--text-mid);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--rose);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-right: auto;
    transition: color var(--duration) var(--ease-out);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    letter-spacing: 0.01em;
    transition: color var(--duration) var(--ease-out);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-retrieve {
    border-bottom: 1px solid rgba(255,255,255,0.4);
    padding-bottom: 2px;
}

.nav-cta {
    display: inline-block;
    padding: 10px 24px;
    background: var(--white);
    color: var(--plum-deep);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    transition: all var(--duration) var(--ease-out);
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--cream);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255,255,255,0.3);
}

.navbar.scrolled .nav-cta {
    background: linear-gradient(135deg, var(--rose), var(--plum));
    color: var(--white);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--duration) var(--ease-out);
}

.navbar.scrolled .nav-hamburger span {
    background: var(--plum-deep);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--plum-deep);
    transition: color var(--duration);
}

.mobile-menu a:hover {
    color: var(--rose);
}

.mobile-cta {
    display: inline-block;
    margin-top: var(--space-md);
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--rose), var(--plum));
    color: var(--white) !important;
    font-family: var(--font-body) !important;
    font-size: 16px !important;
    font-weight: 600;
    border-radius: 100px;
}

.mobile-menu-close {
    position: absolute;
    top: 28px;
    right: 28px;
    font-size: 24px;
    color: var(--text-mid);
    transition: color var(--duration);
}

.mobile-menu-close:hover {
    color: var(--rose);
}


/* ================================================================== */
/* == SECTION A2.7: HERO                                            == */
/* ================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(150deg,
        var(--plum-deep)  0%,
        var(--plum)       35%,
        var(--rose-deep)  65%,
        #7A3D4D           100%
    );
}

/* Atmospheric grain overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

/* Radial glow */
.hero-bg-layer {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 30% 40%, rgba(183,110,121,0.25) 0%, transparent 70%),
        radial-gradient(ellipse 60% 80% at 70% 60%, rgba(107,76,94,0.2) 0%, transparent 70%);
    z-index: 1;
}

/* Floating particles — JS populates these */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.4);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.6; }
    100% { transform: translateY(-100vh) translateX(var(--drift, 0px)) scale(0.5); opacity: 0; }
}

/* Hero content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 860px;
    padding: 0 var(--space-lg);
    padding-top: 100px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: heroFadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.hero-headline {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: var(--space-md);
}

.hero-line-1 {
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease-out) 0.4s forwards;
}

.hero-line-2 {
    font-style: italic;
    color: var(--gold-light);
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease-out) 0.6s forwards;
}

.hero-tagline {
    font-family: var(--font-dramatic);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto var(--space-lg);
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease-out) 0.8s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease-out) 1.0s forwards;
}

/* Social proof row */
.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease-out) 1.2s forwards;
}

.proof-avatars {
    display: flex;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    margin-left: -8px;
    background: linear-gradient(135deg, var(--rose-light), var(--plum));
}

.avatar:first-child { margin-left: 0; }
.av1 { background: linear-gradient(135deg, #D4959E, #8B6478); }
.av2 { background: linear-gradient(135deg, #C9A96E, #B76E79); }
.av3 { background: linear-gradient(135deg, #8B6478, #4A3040); }
.av4 { background: linear-gradient(135deg, #B76E79, #9A5562); }

.hero-social-proof p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.hero-social-proof strong {
    color: var(--white);
}

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: heroFadeUp 0.9s var(--ease-out) 1.5s forwards;
}

.scroll-dot {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: scrollPulse 2s ease-in-out infinite;
}

.hero-scroll-hint p {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.5); }
}


/* ================================================================== */
/* == SECTION A2.8: WHAT IS IT                                      == */
/* ================================================================== */
.what-is-it {
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.what-is-it .section-subtext {
    margin: var(--space-md) auto var(--space-xl);
}

.what-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
    text-align: left;
}

.what-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    transition: all var(--duration) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.what-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rose), var(--plum));
    opacity: 0;
    transition: opacity var(--duration);
}

.what-card:hover {
    border-color: var(--rose);
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--shadow-rose);
}

.what-card:hover::before {
    opacity: 1;
}

.what-icon {
    font-size: 36px;
    margin-bottom: var(--space-md);
    display: block;
}

.what-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--plum-deep);
    margin-bottom: var(--space-xs);
}

.what-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ================================================================== */
/* == SECTION A2.8.1: WHAT IS IT — 5-Card Grid + Tier Badges       == */
/* ================================================================== */

/* SECTION A2.8.1a: Override grid to fit 5 cards — 3 top, 2 bottom centred */
.what-cards {
    grid-template-columns: repeat(3, 1fr);
}

/* SECTION A2.8.1a: 5-card layout — desktop only */
@media (min-width: 901px) {
    .what-card:nth-child(4) {
        grid-column: 1 / 2;
    }

    .what-card:nth-child(5) {
        grid-column: 2 / 3;
    }
}

/* SECTION A2.8.1b: Tier badge inside card title */
.what-tier-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    background: linear-gradient(135deg, rgba(183,110,121,0.12), rgba(107,76,94,0.12));
    border: 1px solid var(--rose-light);
    color: var(--rose-deep);
    vertical-align: middle;
    margin-left: 6px;
    line-height: 1;
}

.what-tier-badge--legacy {
    background: linear-gradient(135deg, rgba(74,48,64,0.12), rgba(107,76,94,0.12));
    border-color: var(--plum);
    color: var(--plum-deep);
} 

/* ================================================================== */
/* == SECTION A2.9: HOW IT WORKS                                    == */
/* ================================================================== */
.how-it-works {
    background: var(--cream);
    border-top: 1px solid var(--border-light);
}

.how-it-works .section-heading {
    margin-bottom: var(--space-xl);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: var(--space-lg);
    text-align: left;
}

.step-card {
    flex: 1;
    max-width: 320px;
    padding: var(--space-lg);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    position: relative;
    transition: all var(--duration) var(--ease-out);
}

.step-card:hover {
    box-shadow: 0 16px 48px var(--shadow-rose);
    border-color: var(--rose);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
    margin-bottom: var(--space-sm);
    transition: color var(--duration);
}

.step-card:hover .step-number {
    color: var(--rose-light);
}

.step-body h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--plum-deep);
    margin-bottom: var(--space-xs);
}

.step-body p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.75;
}

.step-connector {
    display: flex;
    align-items: center;
    padding: 0 var(--space-xs);
    margin-top: 60px;
    flex-shrink: 0;
}

.step-connector span {
    display: block;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, var(--rose-light), var(--plum-light));
}


/* ================================================================== */
/* == SECTION A2.10: SAMPLE PREVIEW                                 == */
/* ================================================================== */
.samples {
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.samples .section-subtext {
    margin: var(--space-md) auto var(--space-lg);
}

/* Tab buttons */
.sample-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.sample-tab {
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    border-radius: 100px;
    transition: all var(--duration) var(--ease-out);
    letter-spacing: 0.01em;
}

.sample-tab.active {
    background: var(--white);
    color: var(--plum-deep);
    font-weight: 600;
    box-shadow: 0 2px 12px var(--shadow-dark);
}

.sample-tab:hover:not(.active) {
    color: var(--rose);
}

/* Panel display */
.sample-display {
    position: relative;
    min-height: 420px;
}

.sample-panel {
    display: none;
    align-items: center;
    gap: var(--space-xl);
    text-align: left;
    animation: panelFadeIn 0.4s var(--ease-out);
}

.sample-panel.active {
    display: flex;
}

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Mockup containers */
.sample-mockup {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px var(--shadow-rose);
    min-height: 360px;
}

.mockup-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 700;
    color: rgba(183, 110, 121, 0.07);
    pointer-events: none;
    z-index: 10;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

/* Diary mockup */
.diary-mockup {
    background: var(--white);
    border: 1px solid var(--border);
}

.mockup-page {
    padding: 48px 40px;
    height: 100%;
}

.mockup-chapter {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: var(--space-md);
}

.mockup-body {
    font-family: var(--font-dramatic);
    font-size: 17px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.mockup-page-number {
    font-size: 12px;
    color: var(--text-faint);
    text-align: center;
    margin-top: var(--space-lg);
}

/* Album mockup */
.album-mockup {
    background: var(--cream-warm);
    border: 1px solid var(--border);
}

.mockup-album-spread {
    padding: var(--space-lg);
    height: 100%;
}

.album-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
    min-height: 220px;
}

.album-photo {
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--border), var(--cream-warm));
    min-height: 100px;
}

.ph1 { background: linear-gradient(135deg, #E8D5D0, #D4B8C0); }
.ph2 { background: linear-gradient(135deg, #D4C5B5, #C8B5A5); }

.album-caption {
    font-family: var(--font-dramatic);
    font-size: 16px;
    font-style: italic;
    color: var(--text-mid);
    text-align: center;
    line-height: 1.5;
}

/* Video mockup */
.video-mockup {
    background: var(--plum-deep);
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 360px;
    gap: var(--space-md);
    padding: var(--space-lg);
}

.play-btn {
    width: 72px;
    height: 72px;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    cursor: pointer;
    transition: all var(--duration);
    padding-left: 4px;
}

.play-btn:hover {
    background: rgba(255,255,255,0.25);
    transform: scale(1.1);
}

.video-placeholder p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    text-align: center;
    max-width: 240px;
    line-height: 1.6;
}

/* Sample description */
.sample-desc {
    flex: 1;
    max-width: 380px;
}

.sample-desc h3 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--plum-deep);
    margin-bottom: var(--space-sm);
}

.sample-desc p {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

.sample-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-mid);
    letter-spacing: 0.04em;
}

.sample-badge--classic {
    background: linear-gradient(135deg, rgba(183,110,121,0.1), rgba(107,76,94,0.1));
    border-color: var(--rose);
    color: var(--rose-deep);
}

/* ================================================================== */
/* == SECTION A2.10.1: SAMPLE PREVIEW — AI Video Mockup Panel      == */
/* ================================================================== */

/* SECTION A2.10.1a: AI Video mockup container */
.aivideo-mockup {
    background: linear-gradient(150deg, var(--plum-deep) 0%, var(--plum) 60%, var(--rose-deep) 100%);
    position: relative;
}

/* SECTION A2.10.1b: Inner placeholder layout */
.aivideo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 360px;
    gap: var(--space-md);
    padding: var(--space-lg);
}

/* SECTION A2.10.1c: Portrait frame */
.aivideo-portrait {
    position: relative;
    width: 120px;
    height: 120px;
}

.aivideo-face {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-light), var(--plum-light));
    border: 3px solid rgba(255,255,255,0.3);
    position: relative;
    z-index: 1;
}

/* SECTION A2.10.1d: Pulse ring animation — implies talking/live */
.aivideo-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(183,110,121,0.5);
    animation: aivideoRing 2s ease-in-out infinite;
}

@keyframes aivideoRing {
    0%, 100% { transform: scale(1);    opacity: 0.6; }
    50%       { transform: scale(1.12); opacity: 0.2; }
}

/* SECTION A2.10.1e: Caption below portrait */
.aivideo-placeholder p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    text-align: center;
    max-width: 220px;
    line-height: 1.6;
} 

/* ================================================================== */
/* == SECTION A2.11: TIERS                                          == */
/* ================================================================== */
.tiers {
    background: var(--cream);
    border-top: 1px solid var(--border-light);
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
    align-items: start;
    text-align: left;
}

.tier-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    position: relative;
    transition: all var(--duration) var(--ease-out);
    overflow: hidden;
}

.tier-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rose), var(--plum));
    opacity: 0;
    transition: opacity var(--duration);
}

.tier-card:hover {
    border-color: var(--rose);
    transform: translateY(-8px);
    box-shadow: 0 24px 64px var(--shadow-rose);
}

.tier-card:hover::after {
    opacity: 1;
}

/* Featured card */
.tier-card--featured {
    border-color: var(--rose);
    background: linear-gradient(160deg, var(--white) 0%, rgba(250,246,240,0.8) 100%);
    transform: scale(1.03);
    box-shadow: 0 16px 48px var(--shadow-rose);
}

.tier-card--featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.tier-card--featured::after {
    opacity: 1;
}

.tier-badge {
    position: absolute;
    top: -1px;
    right: 24px;
    background: linear-gradient(135deg, var(--rose), var(--plum));
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.tier-header {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-light);
}

.tier-name {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--plum-deep);
    margin-bottom: 4px;
}

.tier-price {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--rose);
    margin-bottom: 8px;
    line-height: 1;
}

.tier-tagline {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.4;
}

.tier-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: var(--space-lg);
}

.tier-features li {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.5;
    padding-left: 4px;
}

.tier-cta {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: var(--cream);
    border: 1.5px solid var(--border);
    color: var(--plum-deep);
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    transition: all var(--duration) var(--ease-out);
    margin-bottom: var(--space-sm);
}

.tier-cta:hover {
    background: var(--plum-deep);
    border-color: var(--plum-deep);
    color: var(--white);
    transform: translateY(-2px);
}

.tier-cta--featured {
    background: linear-gradient(135deg, var(--rose), var(--plum));
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 8px 24px var(--shadow-rose-strong);
}

.tier-cta--featured:hover {
    background: linear-gradient(135deg, var(--rose-deep), var(--plum-deep));
}

.tier-no-refund {
    font-size: 11px;
    color: var(--text-faint);
    text-align: center;
    line-height: 1.4;
    padding: 0 4px;
}

/* ================================================================== */
/* == SECTION A2.11.1: TIERS — Coming Soon Notice + CTA Button     == */
/* ================================================================== */

/* SECTION A2.11.1a: Coming soon notice block */
.coming-soon-notice {
    margin-top: var(--space-xl);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-icon {
    font-size: 32px;
    margin-bottom: var(--space-sm);
    display: block;
}

.coming-soon-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--plum-deep);
    margin-bottom: 10px;
}

.coming-soon-body {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

/* SECTION A2.11.1b: Coming soon WhatsApp CTA button */
.coming-soon-cta {
    display: inline-block;
    padding: 14px 32px;
    background: #25D366;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    transition: all var(--duration) var(--ease-out);
    box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

.coming-soon-cta:hover {
    background: #1EBE58;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37,211,102,0.4);
}

/* SECTION A2.11.1c: Tier CTA coming soon state — muted, not clickable-looking */
.tier-cta--soon {
    opacity: 0.55;
    cursor: default;
    pointer-events: none;
}

/* ================================================================== */
/* == SECTION A2.12: TESTIMONIALS                                   == */
/* ================================================================== */
.testimonials {
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    text-align: left;
}

.testimonial-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    transition: all var(--duration) var(--ease-out);
}

.testimonial-card:hover {
    border-color: var(--rose);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-rose);
}

.testimonial-card--large {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-card--large .testimonial-quote {
    font-size: 20px;
}

.testimonial-quote {
    font-family: var(--font-dramatic);
    font-size: 17px;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.testimonial-quote::before {
    content: '"';
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--rose-light);
    line-height: 0;
    vertical-align: -20px;
    margin-right: 4px;
}

.testimonial-author {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-faint);
    text-transform: uppercase;
}


/* ================================================================== */
/* == SECTION A2.13: FINAL CTA                                      == */
/* ================================================================== */
.final-cta {
    background: linear-gradient(150deg,
        var(--plum-deep) 0%,
        var(--plum)      40%,
        var(--rose-deep) 100%
    );
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(183,110,121,0.2) 0%, transparent 70%);
}

.final-cta .section-inner {
    position: relative;
    z-index: 1;
}

.final-cta-heading {
    margin-bottom: var(--space-md);
}

.final-cta-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-lg);
}

.final-cta-note {
    margin-top: var(--space-md);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.04em;
}

/* ================================================================== */
/* == SECTION A2.13.1: INPUT QUALITY CALLOUT                        == */
/* ================================================================== */

/* SECTION A2.13.1a: Section wrapper */
.input-quality {
    background: var(--cream);
    border-top: 1px solid var(--border-light);
}

/* SECTION A2.13.1b: Callout card */
.input-quality-card {
    max-width: 720px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.input-quality-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 80% at 50% 20%, rgba(183,110,121,0.25) 0%, transparent 60%);
    pointer-events: none;
}

/* SECTION A2.13.1c: Eyebrow label */
.input-quality-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

/* SECTION A2.13.1d: Heading */
.input-quality-heading {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

/* SECTION A2.13.1e: Body text */
.input-quality-body {
    font-family: var(--font-dramatic);
    font-size: 19px;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    line-height: 1.75;
    position: relative;
    z-index: 1;
}

/* ================================================================== */
/* == SECTION A2.14: FOOTER                                         == */
/* ================================================================== */
.footer {
    background: var(--plum-deep);
    color: rgba(255,255,255,0.7);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.4);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    transition: color var(--duration);
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

.footer-whatsapp a {
    color: rgba(255,255,255,0.5);
    transition: color var(--duration);
}

.footer-whatsapp a:hover {
    color: var(--white);
}


/* ================================================================== */
/* == SECTION A2.15: RESPONSIVE — MOBILE                            == */
/* ================================================================== */
@media (max-width: 900px) {

    :root {
        --section-pad-v: 64px;
    }

    /* Navbar */
    .nav-links, .nav-cta { display: none; }
    .nav-hamburger { display: flex; }

    /* Hero */
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    /* What cards */
    .what-cards {
        grid-template-columns: 1fr;
    }

    /* Steps */
    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        transform: rotate(90deg);
        margin: 0;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
    }

    /* Samples */
    .sample-panel.active {
        flex-direction: column;
    }

    .sample-desc {
        max-width: 100%;
    }

    /* Tiers */
    .tiers-grid {
        grid-template-columns: 1fr;
    }

    .tier-card--featured {
        transform: none;
    }

    /* Testimonials */
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card--large {
        grid-column: 1;
        grid-row: auto;
    }

    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-xs);
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-pad-v: 48px;
    }

    .section-inner {
        padding: var(--section-pad-v) var(--space-md);
    }

    .sample-tabs {
        flex-wrap: wrap;
        border-radius: var(--radius-md);
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}