/* ================================================================
   ProdZen Website — Premium Light Theme (Default) + Dark Mode
   Design: Warm Paper Minimalism · 3D Scene · Mindful Aesthetic
   ================================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================================
   DESIGN TOKENS — LIGHT (Default)
   Warm paper palette: linen whites, stone grays, sage accents
   ========================================================= */
:root {
    /* Surface hierarchy */
    --bg:              #F7F5F2;
    --bg-elevated:     #EFEDE9;
    --bg-card:         #FFFFFF;
    --bg-card-hover:   #F9F8F6;
    --surface:         #F2F0EC;
    --surface-variant: #E8E5DF;

    /* Typography — rich ink */
    --text-primary:    #1A1816;
    --text-secondary:  #5C5751;
    --text-muted:      #A09890;

    /* Borders — stone */
    --border:          #E2DDD6;
    --border-hover:    #C5BFB6;

    /* Brand accents — sage + teal */
    --accent-teal:     #0D9488;
    --accent-teal-dim: rgba(13,148,136,0.12);
    --accent-emerald:  #059669;
    --accent-violet:   #7C3AED;
    --accent-violet-dim: rgba(124,58,237,0.10);
    --accent-amber:    #D97706;
    --accent-warm:     #B45309;
    --accent-indigo:   #4F46E5;
    --accent-rose:     #E11D48;
    --accent-sky:      #0284C7;

    /* Shadows — warm-tinted */
    --shadow-sm:   0 1px  4px rgba(26,24,22,0.06), 0  1px  2px rgba(26,24,22,0.04);
    --shadow-md:   0 4px 16px rgba(26,24,22,0.08), 0  2px  6px rgba(26,24,22,0.04);
    --shadow-lg:   0 12px 40px rgba(26,24,22,0.10), 0 4px 12px rgba(26,24,22,0.06);
    --shadow-xl:   0 24px 64px rgba(26,24,22,0.12), 0 8px 20px rgba(26,24,22,0.06);

    /* 3D canvas opacity in light mode */
    --canvas-opacity: 0.85;

    /* Typography */
    --font-primary:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display:  'Space Grotesk', 'Inter', sans-serif;

    /* Layout */
    --nav-height:       72px;
    --section-padding:  120px;
    --content-max:      1200px;
    --radius-sm:        8px;
    --radius-md:        14px;
    --radius-lg:        20px;
    --radius-xl:        28px;

    /* Motion */
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================================
   DARK THEME OVERRIDES
   ========================================================= */
[data-theme="dark"] {
    --bg:              #000000;
    --bg-elevated:     #0A0A0A;
    --bg-card:         #111111;
    --bg-card-hover:   #1A1A1A;
    --surface:         #121212;
    --surface-variant: #1E1E1E;

    --text-primary:    #F5F5F5;
    --text-secondary:  #B3B3B3;
    --text-muted:      #666666;

    --border:          #2A2A2A;
    --border-hover:    #404040;

    --accent-teal:     #14B8A6;
    --accent-teal-dim: rgba(20,184,166,0.12);
    --accent-emerald:  #10B981;
    --accent-violet:   #A78BFA;
    --accent-violet-dim: rgba(167,139,250,0.10);
    --accent-amber:    #FBBF24;
    --accent-warm:     #F59E0B;
    --accent-indigo:   #818CF8;

    --shadow-sm:   0 1px  4px rgba(0,0,0,0.4);
    --shadow-md:   0 4px 16px rgba(0,0,0,0.5);
    --shadow-lg:   0 12px 40px rgba(0,0,0,0.6);
    --shadow-xl:   0 24px 64px rgba(0,0,0,0.7);

    --canvas-opacity: 1;
}


/* ---- Smooth theme transitions ---- */
body,
#main-nav,
.feature-card-inner,
.phil-card,
.flow-card,
.more-feat,
.stat-item,
.mockup-screen,
.legal-intro,
.mono-card,
.comparison-table,
.phil-quote {
    transition:
        background-color 0.45s var(--ease-out),
        border-color     0.45s var(--ease-out),
        color            0.45s var(--ease-out),
        box-shadow       0.45s var(--ease-out);
}

/* =========================================================
   GLOBAL BASE
   ========================================================= */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ---- 3D Canvas ---- */
#three-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: var(--canvas-opacity);
    transition: opacity 0.6s var(--ease-out);
}

/* =========================================================
   CURSOR GLOW
   ========================================================= */
#cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle,
        rgba(13,148,136,0.07) 0%,
        rgba(124,58,237,0.03) 40%,
        transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    will-change: transform;
    display: none;
}

[data-theme="dark"] #cursor-glow {
    background: radial-gradient(circle,
        rgba(20,184,166,0.08) 0%,
        rgba(167,139,250,0.04) 40%,
        transparent 70%);
}

@media (hover: hover) {
    #cursor-glow { display: block; }
}

/* =========================================================
   THEME TOGGLE
   ========================================================= */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface-variant);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    color: var(--text-secondary);
    margin-left: 8px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--accent-teal);
    color: var(--accent-teal);
    transform: scale(1.08);
    box-shadow: 0 0 0 3px var(--accent-teal-dim);
}

.theme-icon {
    width: 18px; height: 18px;
    position: absolute;
    transition: all 0.4s var(--ease-out);
}

/* Light mode (default): show sun icon */
.theme-icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-icon-moon { opacity: 0; transform: rotate(90deg) scale(0); }

/* Dark mode: show moon icon */
[data-theme="dark"] .theme-icon-sun  { opacity: 0; transform: rotate(-90deg) scale(0); }
[data-theme="dark"] .theme-icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }


/* =========================================================
   NAVIGATION
   ========================================================= */
#main-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 100;
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    background: rgba(247,245,242,0.82);
    border-bottom: 1px solid rgba(226,221,214,0.7);
    transition: all 0.4s var(--ease-out);
}

#main-nav.scrolled {
    background: rgba(247,245,242,0.96);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] #main-nav {
    background: rgba(0,0,0,0.72);
    border-bottom-color: rgba(42,42,42,0.7);
}

[data-theme="dark"] #main-nav.scrolled {
    background: rgba(0,0,0,0.92);
    box-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

.nav-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.logo-icon {
    width: 36px; height: 36px;
    color: var(--text-primary);
    transition: color 0.3s;
}
.nav-logo:hover .logo-icon { color: var(--accent-teal); }

.nav-links { display: flex; gap: 4px; }

.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.22s var(--ease-out);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--surface-variant);
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px; height: 2px;
    background: var(--accent-teal);
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }


/* =========================================================
   MOBILE MENU
   ========================================================= */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(247,245,242,0.98);
    backdrop-filter: blur(32px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

[data-theme="dark"] .mobile-menu {
    background: rgba(0,0,0,0.97);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.25s;
    padding: 8px 32px;
    border-radius: var(--radius-md);
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--text-primary);
    background: var(--surface-variant);
}


/* =========================================================
   PAGE SYSTEM
   ========================================================= */
#page-container {
    position: relative;
    z-index: 2;
}

.page {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.page.active  { display: block; }
.page.visible { opacity: 1; transform: translateY(0); }


/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: calc(var(--nav-height) + 48px) 24px 80px;
    gap: 60px;
}

.hero-content {
    flex: 1;
    max-width: 580px;
}

/* ── Hero Badge ── */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 100px;
    background: var(--surface-variant);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
    animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
    letter-spacing: 0.01em;
}

.badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-emerald);
    animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

/* ── Hero Title ── */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(44px, 6.5vw, 78px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.65s var(--ease-out) 0.22s both;
}

.title-accent {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.36s;
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 460px;
    animation: fadeInUp 0.65s var(--ease-out) 0.46s both;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeInUp 0.65s var(--ease-out) 0.56s both;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.28s var(--ease-out);
    border: none;
    font-family: var(--font-primary);
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--accent-teal);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(13,148,136,0.28);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    background: var(--surface-variant);
    transform: translateY(-2px);
}

.btn-large {
    padding: 17px 34px;
    font-size: 17px;
    border-radius: var(--radius-lg);
}

/* ── Hero Visual ── */
.hero-visual {
    flex: 0 0 auto;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s var(--ease-out) 0.3s both;
    position: relative;
}

/* ── Breathing Orb ── */
.breathing-orb {
    position: relative;
    width: 290px;
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
}

.orb-ring-1 {
    width: 100%; height: 100%;
    border-color: rgba(13,148,136,0.18);
    animation: breatheRing 4.5s ease-in-out infinite;
}

.orb-ring-2 {
    width: 76%; height: 76%;
    border-color: rgba(124,58,237,0.14);
    animation: breatheRing 4.5s ease-in-out infinite 0.55s;
}

.orb-ring-3 {
    width: 52%; height: 52%;
    border-color: rgba(13,148,136,0.12);
    animation: breatheRing 4.5s ease-in-out infinite 1.1s;
}

.orb-core {
    width: 90px; height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(13,148,136,0.38) 0%,
        rgba(124,58,237,0.18) 50%,
        transparent 100%);
    animation: breatheCore 4.5s ease-in-out infinite;
    box-shadow:
        0 0 50px rgba(13,148,136,0.16),
        0 0 100px rgba(124,58,237,0.08),
        inset 0 0 30px rgba(13,148,136,0.08);
}

[data-theme="dark"] .orb-ring-1 { border-color: rgba(20,184,166,0.18); }
[data-theme="dark"] .orb-ring-2 { border-color: rgba(167,139,250,0.14); }
[data-theme="dark"] .orb-ring-3 { border-color: rgba(20,184,166,0.12); }
[data-theme="dark"] .orb-core {
    background: radial-gradient(circle,
        rgba(20,184,166,0.42) 0%,
        rgba(167,139,250,0.18) 50%,
        transparent 100%);
    box-shadow: 0 0 60px rgba(20,184,166,0.22), 0 0 120px rgba(167,139,250,0.12);
}

.orb-label {
    position: absolute;
    bottom: -40px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: breatheLabel 4.5s ease-in-out infinite;
}

@keyframes breatheRing {
    0%, 100% { transform: scale(0.88); opacity: 0.35; }
    50%       { transform: scale(1.12); opacity: 0.85; }
}

@keyframes breatheCore {
    0%, 100% { transform: scale(0.82); opacity: 0.65; }
    50%       { transform: scale(1.18); opacity: 1; }
}

@keyframes breatheLabel {
    0%, 100% { opacity: 0.3; letter-spacing: 4px; }
    50%       { opacity: 0.75; letter-spacing: 6px; }
}


/* =========================================================
   STATS BAR
   ========================================================= */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 56px 24px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    max-width: var(--content-max);
    margin: 0 auto;
}

.stat-item { text-align: center; }

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 500;
}


/* =========================================================
   SECTIONS
   ========================================================= */
.section {
    padding: var(--section-padding) 24px;
    max-width: var(--content-max);
    margin: 0 auto;
}

.section-dark {
    background: var(--bg-elevated);
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}

.section-dark > .section-header,
.section-dark > .feature-grid {
    max-width: var(--content-max);
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-teal);
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.75;
}


/* =========================================================
   HOW IT WORKS — FLOW
   ========================================================= */
.flow-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.flow-card {
    flex: 0 0 264px;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.flow-card:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--accent-teal-dim);
    transform: translateY(-6px);
}

.flow-number {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.flow-icon {
    width: 56px; height: 56px;
    margin: 0 auto 18px;
    color: var(--text-secondary);
}

.flow-card h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.flow-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.flow-connector {
    width: 60px;
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    color: var(--text-muted);
    opacity: 0.6;
}


/* =========================================================
   FEATURE GRID
   ========================================================= */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s var(--ease-out);
}

.feature-card-inner {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    height: 100%;
    transition: all 0.35s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover .feature-card-inner {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--accent-teal-dim);
    transform: translateY(-5px);
}

.feature-card-large { grid-column: span 3; }

.feature-card-large .feature-card-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 44px;
    background: linear-gradient(135deg,
        var(--bg-card) 0%,
        rgba(13,148,136,0.04) 100%);
    border-color: rgba(13,148,136,0.18);
}

.feature-icon-wrap {
    width: 52px; height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--surface-variant);
    margin-bottom: 18px;
}

.feature-card-large .feature-icon-wrap {
    width: 72px; height: 72px;
    border-radius: var(--radius-lg);
    margin-bottom: 0;
}

.feature-icon {
    width: 26px; height: 26px;
    color: var(--text-secondary);
}

.feature-card-large .feature-icon { width: 36px; height: 36px; }

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card-large h3 { font-size: 21px; }

.feature-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
}

.feature-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent-teal-dim);
    color: var(--accent-teal);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 14px;
}

/* Mini Breathing Anim */
.mini-breathe {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-teal), transparent);
    animation: breatheCore 4s ease-in-out infinite;
}


/* =========================================================
   MONO SHOWCASE (Design Philosophy)
   ========================================================= */
.mono-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.mono-card {
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.mono-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mono-dark  { background: #111111; color: #F5F5F5; border-color: #222; }
.mono-dark p { color: #888; }

.mono-light { background: #FFFFFF; color: #1A1A1A; }
.mono-light p { color: #666; }

[data-theme="dark"] .mono-light { background: #F5F5F5; }

.mono-label {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.mono-preview {
    background: rgba(128,128,128,0.06);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 18px;
}

.mono-bar {
    width: 55%;
    height: 5px;
    background: #F0F0F0;
    border-radius: 3px;
    margin-bottom: 14px;
}

.mono-text-block { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }

.mono-line { height: 4px; background: #BDBDBD; border-radius: 2px; width: 80%; }
.mono-line-lg { width: 100%; height: 5px; background: #E0E0E0; }
.mono-line-sm { width: 45%; }

.mono-circles { display: flex; gap: 8px; }
.mono-circle  { width: 22px; height: 22px; border-radius: 50%; }

.mono-card p { font-size: 13.5px; line-height: 1.6; }


/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
    text-align: center;
    padding: 120px 24px;
    position: relative;
}

/* Subtle grain texture overlay for light */
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 50%,
        rgba(13,148,136,0.04) 0%,
        transparent 70%);
    pointer-events: none;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 14px;
    position: relative;
}

.cta-content p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
}


/* =========================================================
   PAGE HERO (Sub-pages)
   ========================================================= */
.page-hero {
    padding: calc(var(--nav-height) + 80px) 24px 56px;
    text-align: center;
    max-width: var(--content-max);
    margin: 0 auto;
}

.page-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--accent-teal);
    margin-bottom: 14px;
}

.page-hero h1,
.page-hero h2 {
    font-family: var(--font-display);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}


/* =========================================================
   FEATURES DEEP DIVE
   ========================================================= */
.features-deep {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 40px 24px 120px;
}

.feature-deep-card {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 120px;
}

.feature-deep-card.reverse { flex-direction: row-reverse; }

.fdc-visual { flex: 0 0 320px; }
.fdc-content { flex: 1; }

.fdc-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: var(--accent-teal-dim);
    color: var(--accent-teal);
    margin-bottom: 16px;
}

.tag-violet { background: var(--accent-violet-dim); color: var(--accent-violet); }
.tag-amber  { background: rgba(217,119,6,0.10);     color: var(--accent-amber); }
.tag-indigo { background: rgba(79,70,229,0.10);     color: var(--accent-indigo); }
.tag-green  { background: rgba(5,150,105,0.10);     color: var(--accent-emerald); }

[data-theme="dark"] .tag-amber  { background: rgba(251,191,36,0.10); color: #FBBF24; }
[data-theme="dark"] .tag-indigo { background: rgba(129,140,248,0.10); color: #818CF8; }

.fdc-content h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.fdc-content > p {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 22px;
}

.fdc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fdc-list li {
    font-size: 14px;
    color: var(--text-secondary);
    padding-left: 22px;
    position: relative;
    line-height: 1.6;
}

.fdc-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 7px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-teal);
    opacity: 0.55;
}


/* =========================================================
   MOCKUP SCREENS
   ========================================================= */
.fdc-mockup { perspective: 1000px; }

.mockup-screen {
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 30px 22px;
    text-align: center;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s var(--ease-out);
    box-shadow: var(--shadow-xl);
}

[data-theme="dark"] .mockup-screen {
    background: #0D0D0D;
    border-color: #2A2A2A;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.fdc-mockup:hover .mockup-screen {
    transform: rotateY(0) rotateX(0);
}

.mockup-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 22px;
}

.mockup-title-sm {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
}

[data-theme="dark"] .mockup-title,
[data-theme="dark"] .mockup-title-sm { color: #F5F5F5; }

.mockup-breathe-circle {
    width: 96px; height: 96px;
    border-radius: 50%;
    margin: 0 auto 18px;
    background: radial-gradient(circle, rgba(13,148,136,0.5), transparent);
    animation: breatheCore 4.5s ease-in-out infinite;
}

[data-theme="dark"] .mockup-breathe-circle {
    background: radial-gradient(circle, rgba(20,184,166,0.6), transparent);
}

.mockup-text {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 7px;
}

.mockup-text-warm {
    font-size: 13.5px;
    color: var(--accent-amber);
    margin-bottom: 12px;
}

[data-theme="dark"] .mockup-text-warm { color: #FBBF24; }

.mockup-sub {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.mockup-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 500;
    margin-bottom: 9px;
}

.mockup-btn-disabled {
    background: var(--surface-variant);
    color: var(--text-muted);
}

.mockup-btn-outline {
    border: 1.5px solid var(--border-hover);
    color: var(--text-secondary);
}

.mockup-btn-solid {
    background: var(--text-primary);
    color: var(--bg);
}

.mockup-btn-warm  { background: var(--accent-amber); color: #fff; }
.mockup-btn-focus { background: var(--accent-indigo); color: #fff; }

[data-theme="dark"] .mockup-btn-disabled { background: #2A2A2A; color: #555; }
[data-theme="dark"] .mockup-btn-outline  { border-color: #333; color: #888; }
[data-theme="dark"] .mockup-btn-solid    { background: #F5F5F5; color: #000; }
[data-theme="dark"] .mockup-btn-warm     { background: #F59E0B; color: #000; }
[data-theme="dark"] .mockup-btn-focus    { background: #818CF8; color: #fff; }

.mockup-icon { font-size: 34px; margin-bottom: 11px; }

.mockup-input {
    background: var(--surface-variant);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px 15px;
    color: var(--text-muted);
    font-size: 12.5px;
    text-align: left;
    margin-bottom: 7px;
}

[data-theme="dark"] .mockup-input {
    background: #1A1A1A;
    border-color: #333;
    color: #555;
}

.mockup-hint { font-size: 11px; color: var(--text-muted); margin-bottom: 18px; }

.mockup-stat {
    font-size: 13.5px;
    color: var(--text-primary);
    margin-bottom: 18px;
    line-height: 1.6;
}

.mockup-stat span { color: var(--text-muted); font-size: 12px; }

[data-theme="dark"] .mockup-stat { color: #CCC; }

.mockup-timer {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 700;
    color: var(--accent-indigo);
    margin-bottom: 14px;
}

[data-theme="dark"] .mockup-timer { color: #818CF8; }

.mockup-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 18px;
}

.mockup-chip {
    padding: 4px 10px;
    background: var(--surface-variant);
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-secondary);
}

[data-theme="dark"] .mockup-chip { background: #1E1E1E; color: #888; }

/* Analytics chart */
.mockup-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 7px;
    height: 110px;
    padding: 10px;
    margin-bottom: 7px;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--accent-teal), rgba(13,148,136,0.3));
    border-radius: 4px 4px 0 0;
    min-width: 18px;
    animation: chartGrow 1s var(--ease-out) both;
}

[data-theme="dark"] .chart-bar {
    background: linear-gradient(to top, var(--accent-teal), rgba(20,184,166,0.3));
}

.chart-bar:nth-child(1) { animation-delay: 0.1s; }
.chart-bar:nth-child(2) { animation-delay: 0.2s; }
.chart-bar:nth-child(3) { animation-delay: 0.3s; }
.chart-bar:nth-child(4) { animation-delay: 0.4s; }
.chart-bar:nth-child(5) { animation-delay: 0.5s; }
.chart-bar:nth-child(6) { animation-delay: 0.6s; }
.chart-bar:nth-child(7) { animation-delay: 0.7s; }

@keyframes chartGrow {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

.mockup-chart-labels {
    display: flex;
    justify-content: space-around;
    font-size: 10px;
    color: var(--text-muted);
}


/* =========================================================
   MORE FEATURES GRID
   ========================================================= */
.more-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.more-feat {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.more-feat:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--accent-teal-dim);
    transform: translateY(-4px);
}

.more-feat-icon { font-size: 30px; margin-bottom: 14px; }

.more-feat h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 7px;
}

.more-feat p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.65;
}


/* =========================================================
   PHILOSOPHY
   ========================================================= */
.philosophy-content {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px 120px;
}

.phil-quote {
    text-align: center;
    padding: 56px 40px;
    background: linear-gradient(135deg,
        var(--bg-card) 0%,
        rgba(13,148,136,0.03) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    margin-bottom: 72px;
    box-shadow: var(--shadow-md);
}

.phil-quote blockquote {
    font-family: var(--font-display);
    font-size: clamp(19px, 2.8vw, 26px);
    font-weight: 500;
    font-style: italic;
    line-height: 1.55;
    color: var(--text-primary);
    max-width: 580px;
    margin: 0 auto 14px;
}

.phil-quote cite {
    font-size: 13.5px;
    color: var(--text-muted);
    font-style: normal;
}

.phil-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 72px;
}

.phil-card {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.35s var(--ease-out);
    box-shadow: var(--shadow-sm);
}

.phil-card:hover {
    border-color: var(--accent-teal);
    box-shadow: var(--shadow-md), 0 0 0 1px var(--accent-teal-dim);
    transform: translateY(-4px);
}

.phil-number {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.phil-card h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
}

.phil-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.72;
}


/* =========================================================
   COMPARISON TABLE
   ========================================================= */
.phil-comparison { margin-top: 36px; }

.phil-comparison h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 36px;
}

.comparison-table {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comp-row {
    display: grid;
    grid-template-columns: 160px 1fr 1fr;
    border-bottom: 1px solid var(--border);
}

.comp-row:last-child { border-bottom: none; }

.comp-header { background: var(--surface-variant); }

.comp-cell {
    padding: 15px 19px;
    font-size: 13.5px;
    color: var(--text-secondary);
    border-right: 1px solid var(--border);
}

.comp-cell:last-child { border-right: none; }

.comp-label { font-weight: 600; color: var(--text-primary); }
.comp-them  { font-weight: 600; color: var(--text-muted); text-align: center; }
.comp-us    { font-weight: 600; color: var(--accent-teal); text-align: center; }


/* =========================================================
   LEGAL PAGES
   ========================================================= */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px 120px;
}

.legal-intro {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 44px;
    box-shadow: var(--shadow-sm);
}

.legal-intro p {
    font-size: 15.5px;
    color: var(--text-secondary);
    line-height: 1.72;
    margin-bottom: 10px;
}

.legal-intro p:last-child { margin-bottom: 0; }

.legal-section { margin-bottom: 44px; }

.legal-section h2 {
    font-family: var(--font-display);
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid var(--border);
}

.legal-section h3 {
    font-size: 15.5px;
    font-weight: 600;
    margin-top: 22px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.legal-section p {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.72;
    margin-bottom: 10px;
}

.legal-section ul { padding-left: 22px; margin-bottom: 14px; }

.legal-section li {
    font-size: 14.5px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 5px;
}

.legal-section code {
    background: var(--surface-variant);
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 12.5px;
    color: var(--accent-teal);
}

.legal-section a {
    color: var(--accent-teal);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-section strong { color: var(--text-primary); }


/* =========================================================
   FOOTER
   ========================================================= */
#main-footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.footer-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 56px 24px 36px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 56px;
    margin-bottom: 44px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 300px;
}

.footer-links-grid { display: flex; gap: 56px; }

.footer-col { display: flex; flex-direction: column; gap: 9px; }

.footer-col h4 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 13.5px;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.footer-bottom p { font-size: 12.5px; color: var(--text-muted); }

.footer-privacy-note { display: flex; align-items: center; gap: 6px; }


/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--nav-height) + 56px);
    }

    .hero-content { max-width: 100%; }

    .hero-subtitle { margin-left: auto; margin-right: auto; }

    .hero-cta { justify-content: center; }

    .hero-visual { width: 300px; height: 300px; }
    .breathing-orb { width: 220px; height: 220px; }

    .flow-grid { flex-direction: column; align-items: center; gap: 14px; }
    .flow-card { flex: auto; width: 100%; max-width: 400px; }
    .flow-connector { transform: rotate(90deg); padding-top: 0; width: auto; flex: auto; }

    .feature-grid { grid-template-columns: 1fr 1fr; }
    .feature-card-large { grid-column: span 2; }

    .feature-deep-card,
    .feature-deep-card.reverse { flex-direction: column; gap: 40px; }

    .fdc-visual { flex: auto; width: 100%; max-width: 320px; margin: 0 auto; }

    .phil-grid { grid-template-columns: 1fr; }
    .more-features-grid { grid-template-columns: 1fr 1fr; }

    .comp-row { grid-template-columns: 120px 1fr 1fr; }

    .stats-bar { flex-wrap: wrap; gap: 40px; }
    .footer-top { flex-direction: column; gap: 36px; }
}

@media (max-width: 768px) {
    :root { --section-padding: 72px; }

    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .hero-title { font-size: clamp(34px, 10vw, 54px); }

    .feature-grid { grid-template-columns: 1fr; }
    .feature-card-large { grid-column: span 1; }
    .feature-card-large .feature-card-inner { flex-direction: column; text-align: center; }

    .mono-showcase { grid-template-columns: 1fr; }
    .more-features-grid { grid-template-columns: 1fr; }

    .comp-row { grid-template-columns: 1fr; }
    .comp-header { display: none; }
    .comp-cell { border-right: none; border-bottom: 1px solid var(--border); }
    .comp-label { background: var(--surface-variant); }

    .stats-bar { flex-direction: column; align-items: center; gap: 30px; }

    .footer-links-grid { flex-direction: column; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }

    .mockup-screen { transform: none; }
}

@media (max-width: 480px) {
    .hero-cta { flex-direction: column; align-items: stretch; }
    .btn { justify-content: center; }
}
