/* ================================================================
   ProdZen Website — Monochrome Mindful Theme
   Design: Black/White/Gray with psychology-based color accents
   ================================================================ */

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

:root {
    /* Monochrome System */
    --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 Colors (only for mindful screens) */
    --accent-teal: #14B8A6;
    --accent-emerald: #10B981;
    --accent-violet: #A78BFA;
    --accent-deep-violet: #7C3AED;
    --accent-amber: #FBBF24;
    --accent-warm: #F59E0B;
    --accent-indigo: #818CF8;
    --accent-rose: #F472B6;
    --accent-sky: #38BDF8;

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

    /* Spacing */
    --nav-height: 72px;
    --section-padding: 120px;
    --content-max: 1200px;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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;
}

/* ---- Cursor Glow ---- */
#cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    will-change: transform;
    display: none;
}

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

/* ---- Light Theme ---- */
[data-theme="light"] {
    --bg: #FFFFFF;
    --bg-elevated: #F5F5F5;
    --bg-card: #FFFFFF;
    --bg-card-hover: #FAFAFA;
    --surface: #FAFAFA;
    --surface-variant: #F0F0F0;
    --text-primary: #1A1A1A;
    --text-secondary: #616161;
    --text-muted: #9E9E9E;
    --border: #E0E0E0;
    --border-hover: #BDBDBD;
}

[data-theme="light"] #main-nav {
    background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] #main-nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

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

[data-theme="light"] .mockup-screen {
    background: #FAFAFA;
    border-color: #E0E0E0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mockup-title,
[data-theme="light"] .mockup-title-sm {
    color: #1A1A1A;
}

[data-theme="light"] .mockup-text {
    color: #616161;
}

[data-theme="light"] .mockup-btn-disabled {
    background: #E0E0E0;
    color: #9E9E9E;
}

[data-theme="light"] .mockup-btn-outline {
    border-color: #BDBDBD;
    color: #616161;
}

[data-theme="light"] .mockup-btn-solid {
    background: #1A1A1A;
    color: #FFFFFF;
}

[data-theme="light"] .mockup-input {
    background: #F0F0F0;
    border-color: #E0E0E0;
    color: #9E9E9E;
}

[data-theme="light"] .mockup-hint {
    color: #9E9E9E;
}

[data-theme="light"] .mockup-sub {
    color: #9E9E9E;
}

[data-theme="light"] .mockup-chip {
    background: #E0E0E0;
    color: #616161;
}

[data-theme="light"] .mockup-stat {
    color: #1A1A1A;
}

[data-theme="light"] .mockup-stat span {
    color: #9E9E9E;
}

[data-theme="light"] .mono-dark {
    background: #0a0a0a;
    color: #f5f5f5;
}

[data-theme="light"] .mono-dark p {
    color: #b3b3b3;
}

[data-theme="light"] .mono-light {
    background: #FFFFFF;
    border-color: #E0E0E0;
}

[data-theme="light"] #cursor-glow {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
}

[data-theme="light"] .orb-core {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.5), rgba(124, 58, 237, 0.2));
    box-shadow: 0 0 60px rgba(16, 185, 129, 0.15), 0 0 120px rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .mockup-breathe-circle {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.5), transparent);
}

[data-theme="light"] .feature-card-large .feature-card-inner {
    background: linear-gradient(135deg, var(--bg-card), rgba(16, 185, 129, 0.04));
    border-color: rgba(16, 185, 129, 0.2);
}

[data-theme="light"] #three-canvas {
    opacity: 0.35;
}

/* ---- Theme Toggle ---- */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    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;
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    transform: scale(1.05);
}

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

.theme-icon-sun {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.theme-icon-moon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-icon-sun {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-icon-moon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

/* Theme transition */
body {
    transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
}


/* ---- Navigation ---- */
#main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 100;
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    background: rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
}

#main-nav.scrolled {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.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: 12px;
    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: 8px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.25s 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: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    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;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

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

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

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

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

/* ---- 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) + 40px) 24px 80px;
    gap: 60px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 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: 32px;
    animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

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

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

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

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

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

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
    animation: fadeInUp 0.6s var(--ease-out) 0.45s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s var(--ease-out) 0.55s both;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    border: none;
    font-family: var(--font-primary);
}

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

.btn-primary:hover {
    background: var(--accent-teal);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(20, 184, 166, 0.3);
}

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

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

.btn-large {
    padding: 18px 36px;
    font-size: 17px;
    border-radius: 14px;
}

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

.breathing-orb {
    position: relative;
    width: 280px;
    height: 280px;
    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(20, 184, 166, 0.15);
    animation: breatheRing 4s ease-in-out infinite;
}

.orb-ring-2 {
    width: 80%;
    height: 80%;
    border-color: rgba(167, 139, 250, 0.12);
    animation: breatheRing 4s ease-in-out infinite 0.5s;
}

.orb-ring-3 {
    width: 60%;
    height: 60%;
    border-color: rgba(20, 184, 166, 0.1);
    animation: breatheRing 4s ease-in-out infinite 1s;
}

.orb-core {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.4), rgba(167, 139, 250, 0.15));
    animation: breatheCore 4s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(20, 184, 166, 0.2), 0 0 120px rgba(167, 139, 250, 0.1);
}

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

@keyframes breatheRing {
    0%, 100% { transform: scale(0.85); opacity: 0.3; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

@keyframes breatheCore {
    0%, 100% { transform: scale(0.8); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
}

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

/* ---- Stats Bar ---- */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 60px 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: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---- 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: 64px;
}

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

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

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

/* ---- How It Works Flow ---- */
.flow-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.flow-card {
    flex: 0 0 280px;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.flow-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.flow-number {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 20px;
}

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

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

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

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

/* ---- Feature Grid ---- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.feature-card-inner {
    padding: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    height: 100%;
    transition: all 0.4s var(--ease-out);
}

.feature-card:hover .feature-card-inner {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

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

.feature-card-large .feature-card-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 48px;
    background: linear-gradient(135deg, var(--bg-card), rgba(20, 184, 166, 0.03));
    border-color: rgba(20, 184, 166, 0.15);
}

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

.feature-card-large .feature-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 0;
}

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

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

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

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

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

.feature-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent-teal);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 12px;
}

/* Mini Breathing Animation */
.breathing-anim {
    position: relative;
}

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

/* ---- Mono Showcase ---- */
.mono-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.mono-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
}

.mono-dark {
    background: #0a0a0a;
}

.mono-light {
    background: #f5f5f5;
    color: #1a1a1a;
}

.mono-light p {
    color: #616161;
}

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

.mono-preview {
    background: rgba(128, 128, 128, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
}

.mono-bar {
    width: 60%;
    height: 6px;
    background: #f5f5f5;
    border-radius: 3px;
    margin-bottom: 16px;
}

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

.mono-line {
    height: 4px;
    background: #b3b3b3;
    border-radius: 2px;
    width: 80%;
}

.mono-line-lg {
    width: 100%;
    height: 6px;
    background: #f5f5f5;
}

.mono-line-sm {
    width: 50%;
}

.mono-circles {
    display: flex;
    gap: 8px;
}

.mono-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

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

/* ---- CTA Section ---- */
.cta-section {
    text-align: center;
    padding: 120px 24px;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

/* ---- 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: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--accent-teal);
    margin-bottom: 16px;
}

.tag-violet {
    background: rgba(167, 139, 250, 0.1);
    color: var(--accent-violet);
}

.tag-amber {
    background: rgba(251, 191, 36, 0.1);
    color: var(--accent-amber);
}

.tag-indigo {
    background: rgba(129, 140, 248, 0.1);
    color: var(--accent-indigo);
}

.tag-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
}

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

.fdc-content > p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

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

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

/* ---- Mockup Screens ---- */
.fdc-mockup {
    perspective: 1000px;
}

.mockup-screen {
    background: #000;
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.6s var(--ease-out);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

.mockup-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 24px;
}

.mockup-title-sm {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: #f5f5f5;
    margin-bottom: 16px;
}

.mockup-breathe-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.6), transparent);
    animation: breatheCore 4s ease-in-out infinite;
}

.mockup-text {
    font-size: 14px;
    color: #b3b3b3;
    margin-bottom: 8px;
}

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

.mockup-sub {
    font-size: 12px;
    color: #666;
    margin-bottom: 24px;
}

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

.mockup-btn-disabled {
    background: #333;
    color: #666;
}

.mockup-btn-outline {
    border: 1px solid #333;
    color: #999;
}

.mockup-btn-solid {
    background: #f5f5f5;
    color: #000;
}

.mockup-btn-warm {
    background: var(--accent-warm);
    color: #000;
}

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

.mockup-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.mockup-input {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 12px 16px;
    color: #666;
    font-size: 13px;
    text-align: left;
    margin-bottom: 8px;
}

.mockup-hint {
    font-size: 11px;
    color: #555;
    margin-bottom: 20px;
}

.mockup-stat {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.mockup-stat span {
    color: #666;
    font-size: 12px;
}

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

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

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

/* Mockup Analytics */
.mockup-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 120px;
    padding: 12px;
    margin-bottom: 8px;
}

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

.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: #555;
}

/* ---- More Features Grid ---- */
.more-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.more-feat {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s var(--ease-out);
}

.more-feat:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.more-feat-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

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

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

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

.phil-quote {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    margin-bottom: 80px;
}

.phil-quote blockquote {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    font-style: italic;
    line-height: 1.5;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto 16px;
}

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

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

.phil-card {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s var(--ease-out);
}

.phil-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

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

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

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

/* ---- Comparison Table ---- */
.phil-comparison {
    margin-top: 40px;
}

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

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

.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: 16px 20px;
    font-size: 14px;
    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: 780px;
    margin: 0 auto;
    padding: 0 24px 120px;
}

.legal-intro {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 48px;
}

.legal-intro p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

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

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

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

.legal-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.legal-section p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-section ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

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

.legal-section code {
    background: var(--surface-variant);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    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: 60px 24px 40px;
}

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

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

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

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

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

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

.footer-col a {
    font-size: 14px;
    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: 24px;
    border-top: 1px solid var(--border);
}

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

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

/* ---- Animations ---- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    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) + 60px);
    }

    .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: 16px;
    }

    .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: 40px;
    }
}

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

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

    .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: 32px;
    }

    .footer-links-grid {
        flex-direction: column;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .mockup-screen {
        transform: none;
    }
}

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

    .btn {
        justify-content: center;
    }
}
