/* ========================================
   GREEN SPA MUSIC — Ultra-Premium Styles
   Apple-Inspired, Mobile-First, v2
   ======================================== */

:root {
    --color-bg: #fafafa;
    --color-bg-alt: #f5f5f7;
    --color-surface: #ffffff;
    --color-text: #1d1d1f;
    --color-text-secondary: #6e6e73;
    --color-text-tertiary: #86868b;
    --color-accent: #2d5016;
    --color-accent-light: #4a7c2e;
    --color-accent-bg: #e8f0e4;
    --color-border: #d2d2d7;
    --color-border-light: #e8e8ed;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --nav-height: 52px;
    --container: 1120px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--color-bg); color: var(--color-text); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Typography */
.section-eyebrow { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--color-accent); margin-bottom: 12px; }
.section-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; margin-bottom: 20px; }
.section-title-xl { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 24px; }
.section-desc { font-size: 1.125rem; line-height: 1.65; color: var(--color-text-secondary); max-width: 600px; margin-bottom: 16px; }
.center-desc { margin-left: auto; margin-right: auto; }
.text-link { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.text-link:hover { color: var(--color-accent-light); }

.text-reveal { display: inline-block; clip-path: inset(100% 0 0 0); transition: clip-path .8s var(--ease-spring); }
.text-reveal.revealed { clip-path: inset(0 0 0 0); }

/* ========== PARTICLES ========== */
.particles-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; pointer-events: none; z-index: 1; }

/* ========== NAVIGATION ========== */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height); background: rgba(250,250,250,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.04); transition: background .2s, box-shadow .2s; }
.nav.scrolled { background: rgba(250,250,250,.92); box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.nav-inner { max-width: 1280px; 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: 6px; z-index: 10; }
.nav-logo-img { height: 28px; width: auto; }
.nav-logo-sub { font-size: 1.125rem; font-weight: 300; color: var(--color-text-secondary); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: .8125rem; font-weight: 400; color: var(--color-text-secondary); transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--color-text); }
.nav-cta { display: inline-flex !important; align-items: center; gap: 6px; background: var(--color-accent); color: #fff !important; padding: 6px 16px; border-radius: 980px; font-weight: 500 !important; transition: background .2s, transform .2s !important; }
.nav-cta:hover { background: var(--color-accent-light); transform: scale(1.02); }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; z-index: 10; }
.nav-burger span { display: block; width: 20px; height: 1.5px; background: var(--color-text); transition: transform .2s, opacity .2s; }
.nav-burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ========== HERO ========== */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; background: #0a0a0a; }
.hero-bg-layers { position: absolute; inset: 0; }
.hero-bg-layer { position: absolute; inset: -20%; will-change: transform; }
.hero-bg-1 { background: radial-gradient(ellipse 120% 80% at 50% 40%, rgba(45,80,22,.2), transparent 60%); }
.hero-bg-2 { background: radial-gradient(ellipse 80% 60% at 30% 70%, rgba(74,124,46,.12), transparent); animation: heroDrift1 20s ease-in-out infinite alternate; }
.hero-bg-3 { background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(200,162,200,.06), transparent); animation: heroDrift2 25s ease-in-out infinite alternate; }
@keyframes heroDrift1 { 0% { transform: translate(0,0); } 100% { transform: translate(40px, -30px); } }
@keyframes heroDrift2 { 0% { transform: translate(0,0); } 100% { transform: translate(-30px, 20px); } }

.hero-content { position: relative; z-index: 2; text-align: center; padding: 140px 24px 60px; max-width: 900px; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 980px; padding: 6px 16px; font-size: .75rem; font-weight: 500; color: rgba(255,255,255,.6); margin-bottom: 28px; backdrop-filter: blur(10px); }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #8DB580; animation: dotPulse 2s ease-in-out infinite; }
@keyframes dotPulse { 0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(141,181,128,.4); } 50% { opacity: .7; box-shadow: 0 0 0 6px rgba(141,181,128,0); } }

.hero-title { font-size: clamp(2.5rem, 7vw, 5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: #fff; margin-bottom: 24px; }
.hero-line { display: block; }
.hero-gradient-text { font-style: normal; background: linear-gradient(135deg, #8DB580, #C8A2C8, #FFB347); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; background-size: 200% 200%; animation: gradientShift 6s ease-in-out infinite; }
@keyframes gradientShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.25rem); line-height: 1.6; color: rgba(255,255,255,.55); max-width: 600px; margin: 0 auto 36px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }

/* Visualizer */
.hero-visualizer { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.visualizer-bars { display: flex; align-items: flex-end; gap: 3px; height: 40px; }
.visualizer-bars span { width: 3px; background: rgba(141,181,128,.5); border-radius: 2px; transition: height .15s ease; min-height: 4px; height: 20%; }
.visualizer-label { font-size: .6875rem; color: rgba(255,255,255,.35); letter-spacing: .04em; }

/* Hero Scroll */
.hero-scroll { position: absolute; bottom: 32px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.3); font-size: .6875rem; letter-spacing: .06em; }
.hero-scroll-mouse { width: 20px; height: 32px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 10px; position: relative; }
.hero-scroll-wheel { width: 3px; height: 6px; background: rgba(255,255,255,.5); border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollWheel 2s ease-in-out infinite; }
@keyframes scrollWheel { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 18px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 980px; font-size: .9375rem; font-weight: 500; transition: all .2s var(--ease); white-space: nowrap; border: none; cursor: pointer; }
.btn-icon { width: 18px; height: 18px; }
.btn-primary { background: #fff; color: #1d1d1f; }
.btn-primary:hover { background: #f0f0f0; transform: scale(1.02); }
.btn-glass { background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); }
.btn-ghost { background: transparent; color: var(--color-accent); border: 1px solid var(--color-accent); }
.btn-ghost:hover { background: var(--color-accent); color: #fff; }
.btn-large { padding: 18px 36px; font-size: 1rem; }
.btn-glow { box-shadow: 0 0 20px rgba(45,80,22,.3); animation: btnGlow 3s ease-in-out infinite; }
@keyframes btnGlow { 0%,100% { box-shadow: 0 0 20px rgba(45,80,22,.2); } 50% { box-shadow: 0 0 30px rgba(45,80,22,.4); } }

/* ========== 3D iPHONE SHOWCASE ========== */
.showcase { padding: 120px 0 60px; background: var(--color-bg); overflow: hidden; }
.showcase .container { text-align: center; }
.showcase-text { max-width: 700px; margin: 0 auto 60px; }

.iphone-showcase { perspective: 1200px; padding: 0 24px 80px; overflow: visible; }
.iphone-3d { display: flex; justify-content: center; align-items: center; gap: 20px; transition: transform .1s ease-out; will-change: transform; }
.iphone-device { flex-shrink: 0; transition: transform .6s var(--ease-spring), opacity .6s var(--ease-spring); }
.iphone-left { transform: rotateY(15deg) scale(.88) translateX(20px); opacity: .85; }
.iphone-center { transform: scale(1); z-index: 2; }
.iphone-right { transform: rotateY(-15deg) scale(.88) translateX(-20px); opacity: .85; }

.iphone-frame { width: 260px; height: 540px; background: #2c2c2e; border-radius: 44px; padding: 10px; position: relative; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.04); }
.iphone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 100px; height: 26px; background: #2c2c2e; border-radius: 0 0 16px 16px; z-index: 2; }
.iphone-screen { width: 100%; height: 100%; background: linear-gradient(180deg, #1a1a2e, #16213e, #0f3460); border-radius: 36px; overflow: hidden; position: relative; }
.iphone-screenshot { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; z-index: 1; }
.iphone-screen-fallback { position: absolute; inset: 0; z-index: 0; }

/* App UI Fallback */
.app-ui-mini, .app-ui-player { padding: 48px 16px 16px; height: 100%; display: flex; flex-direction: column; color: #fff; }
.app-mini-header { text-align: center; font-size: .875rem; font-weight: 600; letter-spacing: .1em; line-height: 1.3; }
.app-mini-header small { font-weight: 300; font-size: .625rem; letter-spacing: .15em; }
.app-mini-subtitle { text-align: center; font-size: .5625rem; color: rgba(255,255,255,.4); letter-spacing: .08em; margin: 8px 0 16px; }
.app-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-mini-card { border-radius: 10px; padding: 50px 10px 10px; font-size: .6875rem; font-weight: 600; }
.app-mini-card small { display: block; font-weight: 300; font-size: .5625rem; opacity: .7; margin-top: 4px; }
.app-mini-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.app-mini-row { display: flex; align-items: center; gap: 10px; font-size: .75rem; color: rgba(255,255,255,.8); padding: 8px 12px; background: rgba(255,255,255,.05); border-radius: 8px; }
.app-mini-row .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.app-mini-row .check { margin-left: auto; color: #8DB580; }
.app-mini-row .dl { margin-left: auto; color: rgba(255,255,255,.4); }

/* Player UI */
.app-player-logo { text-align: center; font-size: .5625rem; color: rgba(255,255,255,.4); letter-spacing: .12em; margin-bottom: 20px; }
.app-player-art { width: 140px; height: 140px; border-radius: 14px; margin: 0 auto 16px; background: linear-gradient(135deg, #8DB580, #4A7C59); box-shadow: 0 8px 30px rgba(141,181,128,.3); animation: albumGlow 4s ease-in-out infinite alternate; }
@keyframes albumGlow { 0% { box-shadow: 0 8px 24px rgba(141,181,128,.2); } 100% { box-shadow: 0 12px 40px rgba(141,181,128,.4); } }
.app-player-track { text-align: center; font-size: .875rem; font-weight: 600; margin-bottom: 4px; }
.app-player-artist { text-align: center; font-size: .625rem; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.app-player-progress { padding: 0 10px; margin-bottom: 12px; }
.app-player-bar { height: 3px; background: rgba(255,255,255,.12); border-radius: 2px; overflow: hidden; margin-bottom: 6px; }
.app-player-fill { width: 32%; height: 100%; background: #8DB580; border-radius: 2px; animation: progressMove 10s linear infinite; }
@keyframes progressMove { 0% { width: 10%; } 100% { width: 90%; } }
.app-player-times { display: flex; justify-content: space-between; font-size: .5625rem; color: rgba(255,255,255,.35); }
.app-player-controls { display: flex; align-items: center; justify-content: center; gap: 28px; font-size: .875rem; color: rgba(255,255,255,.7); }
.app-player-play { width: 40px; height: 40px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: #fff; }

/* ========== FEATURES ========== */
.features { padding: 120px 0; background: var(--color-bg-alt); }
.features-header { text-align: center; margin-bottom: 64px; }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feature-card { background: var(--color-surface); border-radius: 20px; padding: 36px 28px; text-align: center; transition: transform .6s var(--ease-spring), box-shadow .4s; border: 1px solid var(--color-border-light); }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.06); }
.feature-icon-wrap { width: 64px; height: 64px; margin: 0 auto 20px; background: var(--color-accent-bg); border-radius: 16px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(45,80,22,.12); transition: background .3s, box-shadow .3s; }
.feature-card:hover .feature-icon-wrap { background: rgba(45,80,22,.15); box-shadow: 0 0 20px rgba(45,80,22,.1); }
.feature-icon { width: 32px; height: 32px; color: var(--color-accent); }
.feature-icon svg { width: 100%; height: 100%; }
.feature-card h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -.01em; }
.feature-card p { font-size: .875rem; line-height: 1.55; color: var(--color-text-secondary); }

/* ========== SYNESTHESIA ========== */
.synesthesia { position: relative; padding: 160px 0; overflow: hidden; background: #0a0a0a; }
.synesthesia-layers { position: absolute; inset: 0; }
.syn-layer { position: absolute; inset: -20%; will-change: transform; }
.syn-layer-1 { background: radial-gradient(ellipse 100% 80% at 70% 50%, rgba(141,181,128,.12), transparent); }
.syn-layer-2 { background: radial-gradient(ellipse 80% 60% at 20% 30%, rgba(200,162,200,.08), transparent); }
.syn-layer-3 { background: radial-gradient(ellipse 60% 80% at 50% 80%, rgba(212,165,116,.06), transparent); }

.synesthesia-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.synesthesia .section-eyebrow { color: rgba(141,181,128,.8); }
.synesthesia .section-title { color: #fff; }
.synesthesia .section-desc { color: rgba(255,255,255,.55); }
.synesthesia .text-link { color: rgba(141,181,128,.9); }
.synesthesia .text-link:hover { color: #8DB580; }
.syn-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.synesthesia .btn-primary { background: var(--color-accent); color: #fff; }
.synesthesia .btn-primary:hover { background: var(--color-accent-light); }

/* Floating Orbs */
.syn-orbs { position: relative; width: 100%; height: 400px; }
.syn-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .6; animation: orbFloat 8s ease-in-out infinite; }
.syn-orb-1 { width: 250px; height: 250px; background: rgba(141,181,128,.4); top: 10%; left: 20%; animation-delay: 0s; }
.syn-orb-2 { width: 200px; height: 200px; background: rgba(200,162,200,.35); top: 40%; right: 10%; animation-delay: -3s; }
.syn-orb-3 { width: 180px; height: 180px; background: rgba(212,165,116,.3); bottom: 5%; left: 30%; animation-delay: -5s; }
@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(20px,-30px) scale(1.05); } 66% { transform: translate(-15px, 20px) scale(.95); } }

/* ========== PLAYLISTS ========== */
.playlists { padding: 120px 0; background: var(--color-bg); }
.playlists-header { text-align: center; margin-bottom: 64px; }
.playlists-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.playlist-card { background: var(--color-surface); border-radius: 16px; overflow: hidden; transition: transform .6s var(--ease-spring), box-shadow .4s; border: 1px solid var(--color-border-light); display: block; }
.playlist-card:hover { transform: translateY(-6px) rotateX(2deg) rotateY(-1deg); box-shadow: 0 20px 60px rgba(0,0,0,.1); }
.playlist-visual { height: 120px; display: flex; align-items: center; justify-content: center; }
.playlist-wave { display: flex; align-items: flex-end; gap: 4px; height: 36px; }
.playlist-wave span { width: 4px; background: rgba(255,255,255,.55); border-radius: 2px; animation: waveBar 1.2s ease-in-out infinite; }
.playlist-wave span:nth-child(1) { height: 60%; animation-delay: 0s; }
.playlist-wave span:nth-child(2) { height: 80%; animation-delay: .1s; }
.playlist-wave span:nth-child(3) { height: 100%; animation-delay: .2s; }
.playlist-wave span:nth-child(4) { height: 70%; animation-delay: .3s; }
.playlist-wave span:nth-child(5) { height: 50%; animation-delay: .4s; }
@keyframes waveBar { 0%,100% { transform: scaleY(.5); } 50% { transform: scaleY(1); } }
.playlist-info { padding: 16px 20px; }
.playlist-info h3 { font-size: .9375rem; font-weight: 600; margin-bottom: 4px; }
.playlist-info p { font-size: .75rem; color: var(--color-text-secondary); }

/* ========== PRODUCTS HORIZONTAL SCROLL ========== */
.products { padding: 120px 0 80px; background: var(--color-bg-alt); }
.products-header { text-align: center; margin-bottom: 48px; }
.products-scroll { overflow-x: auto; cursor: grab; -ms-overflow-style: none; scrollbar-width: none; padding: 0 24px 20px; }
.products-scroll::-webkit-scrollbar { display: none; }
.products-track { display: flex; gap: 24px; padding-right: 24px; width: max-content; }
.product-card-v2 { width: 300px; flex-shrink: 0; background: var(--color-surface); border-radius: 20px; overflow: hidden; border: 1px solid var(--color-border-light); transition: transform .6s var(--ease-spring), box-shadow .4s; display: block; }
.product-card-v2:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.08); }
.product-img-wrap { height: 280px; overflow: hidden; position: relative; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-spring); }
.product-card-v2:hover .product-img { transform: scale(1.05); }
.product-img-fallback { position: absolute; inset: 0; z-index: 0; }
.product-img:not([src=""]):not([src$="undefined"]) ~ .product-img-fallback { display: none; }
.product-oils-bg { background: linear-gradient(135deg, #2c1810, #4a2c1a, #3d2415); }
.product-scrubs-bg { background: linear-gradient(135deg, #f0ebe6, #d4cfc8, #e8e3dd); }
.product-butters-bg { background: linear-gradient(135deg, #4a3728, #6b5040, #3d2c1e); }
.product-waters-bg { background: linear-gradient(135deg, #f5ede6, #e8ddd3, #f0e8e0); }
.product-thevert-bg { background: linear-gradient(135deg, #4a7c2e, #8DB580, #6bad4e); }
.product-headspa-bg { background: linear-gradient(135deg, #f5f0e8, #e8ddd0, #ddd5c8); }
.product-card-info { padding: 20px; }
.product-card-info h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 6px; }
.product-card-info p { font-size: .8125rem; color: var(--color-text-secondary); line-height: 1.5; margin-bottom: 8px; }
.product-link-v2 { font-size: .8125rem; font-weight: 500; color: var(--color-accent); }

/* ========== TRUST ========== */
.trust { padding: 120px 0; background: var(--color-bg); }
.trust-header { text-align: center; margin-bottom: 64px; }
.trust-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-bottom: 64px; }
.stat { text-align: center; padding: 32px 16px; }
.stat-number { font-size: 3.5rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.stat-suffix { font-size: 2rem; font-weight: 500; color: var(--color-text-secondary); }
.stat-label { display: block; margin-top: 8px; font-size: .875rem; color: var(--color-text-secondary); }
.trust-quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 960px; margin: 0 auto; }
.trust-quote { background: var(--color-bg-alt); border-radius: 20px; padding: 32px; border: 1px solid var(--color-border-light); }
.trust-quote p { font-size: 1rem; line-height: 1.65; font-style: italic; margin-bottom: 16px; }
.trust-quote cite { font-size: .8125rem; color: var(--color-text-tertiary); font-style: normal; }

/* ========== FINAL CTA ========== */
.final-cta { position: relative; padding: 160px 0; background: #0a0a0a; text-align: center; overflow: hidden; }
.final-cta-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 60%, rgba(45,80,22,.15), transparent); animation: ctaGlow 8s ease-in-out infinite alternate; }
@keyframes ctaGlow { 0% { opacity: .6; } 100% { opacity: 1; } }
.final-cta .section-title-xl { color: #fff; position: relative; z-index: 1; }
.final-cta .section-desc { color: rgba(255,255,255,.55); position: relative; z-index: 1; }
.final-cta .text-link { color: rgba(141,181,128,.9); }
.final-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 36px; position: relative; z-index: 1; }
.final-cta .btn-primary { background: var(--color-accent); color: #fff; }
.final-cta .btn-primary:hover { background: var(--color-accent-light); }

/* ========== CONTENT HUB ========== */
.content-hub { padding: 120px 0; background: var(--color-bg-alt); }
.content-header { text-align: center; margin-bottom: 48px; }
.content-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.content-card { background: var(--color-surface); border-radius: 16px; padding: 28px; border: 1px solid var(--color-border-light); transition: transform .6s var(--ease-spring), box-shadow .4s; display: block; }
.content-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,.05); }
.content-tag { display: inline-block; font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--color-accent); background: var(--color-accent-bg); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.content-card h3 { font-size: 1rem; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.content-card p { font-size: .8125rem; line-height: 1.5; color: var(--color-text-secondary); }

/* ========== FLOATING AUDIO PLAYER ========== */
.audio-player { position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: rgba(29,29,31,.85); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top: 1px solid rgba(255,255,255,.08); transform: translateY(0); transition: transform .3s; }
.audio-player-inner { max-width: 1280px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 16px; }
.audio-visualizer-mini { display: flex; align-items: flex-end; gap: 2px; height: 20px; width: 24px; flex-shrink: 0; }
.audio-visualizer-mini span { width: 3px; background: rgba(141,181,128,.4); border-radius: 1px; height: 30%; transition: height .12s ease; }
.audio-player.playing .audio-visualizer-mini span { animation: miniViz .6s ease-in-out infinite alternate; }
.audio-player.playing .audio-visualizer-mini span:nth-child(1) { animation-delay: 0s; }
.audio-player.playing .audio-visualizer-mini span:nth-child(2) { animation-delay: .08s; }
.audio-player.playing .audio-visualizer-mini span:nth-child(3) { animation-delay: .16s; }
.audio-player.playing .audio-visualizer-mini span:nth-child(4) { animation-delay: .24s; }
.audio-player.playing .audio-visualizer-mini span:nth-child(5) { animation-delay: .32s; }
@keyframes miniViz { 0% { height: 20%; background: rgba(141,181,128,.3); } 100% { height: 100%; background: rgba(141,181,128,.7); } }

.audio-info { flex: 1; min-width: 0; }
.audio-track-name { display: block; font-size: .8125rem; font-weight: 500; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-track-status { display: block; font-size: .625rem; color: rgba(255,255,255,.4); }
.audio-controls { display: flex; align-items: center; gap: 8px; }
.audio-btn { width: 32px; height: 32px; border: none; background: rgba(255,255,255,.08); color: #fff; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.audio-btn:hover { background: rgba(255,255,255,.15); }
.audio-btn:disabled { opacity: .3; cursor: not-allowed; }
.audio-play-btn { width: 36px; height: 36px; background: var(--color-accent); }
.audio-play-btn:hover { background: var(--color-accent-light); }
.audio-volume { -webkit-appearance: none; width: 60px; height: 3px; background: rgba(255,255,255,.15); border-radius: 2px; cursor: pointer; }
.audio-volume::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; cursor: pointer; }
.audio-progress-bar { height: 3px; background: rgba(255,255,255,.08); cursor: pointer; }
.audio-progress-fill { height: 100%; background: var(--color-accent); width: 0; transition: width .1s linear; }

/* ========== FOOTER ========== */
.footer { background: #1d1d1f; color: rgba(255,255,255,.8); padding: 64px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; margin-bottom: 48px; }
.footer-brand p { font-size: .875rem; line-height: 1.6; color: rgba(255,255,255,.5); margin: 12px 0 20px; }
.footer-brand a { color: rgba(141,181,128,.8); }
.footer-logo { display: flex; align-items: center; gap: 8px; }
.footer-logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); }
.footer-appstore { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 500; color: #fff !important; padding: 10px 20px; background: rgba(255,255,255,.1); border-radius: 980px; transition: background .2s; }
.footer-appstore:hover { background: rgba(255,255,255,.15); }
.footer-appstore .btn-icon { width: 16px; height: 16px; }
.footer-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.footer-col h4 { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.footer-col h4 a { color: rgba(255,255,255,.4); }
.footer-col a { display: block; font-size: .8125rem; color: rgba(255,255,255,.6); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .75rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ========== ANIMATIONS ========== */
[data-animate] { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-spring), transform .8s var(--ease-spring); }
[data-animate="scale-in"] { opacity: 0; transform: scale(.92); }
[data-animate].visible { opacity: 1; transform: translateY(0) scale(1); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .features-grid, .playlists-grid, .content-grid, .trust-stats { grid-template-columns: repeat(2,1fr); }
    .synesthesia-grid { grid-template-columns: 1fr; }
    .syn-orbs { height: 300px; }
    .trust-quotes { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: repeat(2,1fr); }
    .iphone-left, .iphone-right { display: none; }
    .iphone-center { transform: none; }
}

@media (max-width: 768px) {
    :root { --nav-height: 48px; }
    .nav-links { display: none; position: fixed; inset: 0; background: rgba(250,250,250,.98); backdrop-filter: blur(20px); flex-direction: column; align-items: center; justify-content: center; gap: 32px; z-index: 5; }
    .nav-links.open { display: flex; }
    .nav-links a { font-size: 1.25rem; }
    .nav-burger { display: flex; }
    .hero-content { padding: 100px 20px 60px; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 320px; justify-content: center; }
    .features-grid, .content-grid { grid-template-columns: 1fr; }
    .playlists-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .trust-stats { grid-template-columns: repeat(2,1fr); gap: 16px; }
    .stat-number { font-size: 2.5rem; }
    .synesthesia { padding: 100px 0; }
    .syn-ctas { flex-direction: column; }
    .syn-ctas .btn { max-width: 100%; }
    .final-cta { padding: 100px 0; }
    .final-cta-buttons { flex-direction: column; align-items: center; }
    .iphone-frame { width: 220px; height: 460px; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .features, .playlists, .products, .trust, .content-hub { padding: 80px 0; }
    .audio-volume { display: none; }
    .product-card-v2 { width: 260px; }
}

@media (max-width: 480px) {
    .playlists-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
    .product-card-v2 { width: 240px; }
    .product-img-wrap { height: 200px; }
}

/* ========== PAGE TEMPLATE (sub-pages) ========== */
.page-hero { padding: 140px 0 80px; background: var(--color-bg-alt); text-align: center; }
.page-hero .section-desc { margin-left: auto; margin-right: auto; }
.article-content { padding: 64px 0 120px; background: var(--color-bg); }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; margin: 48px 0 16px; }
.article-body h3 { font-size: 1.25rem; font-weight: 600; margin: 32px 0 12px; }
.article-body p { font-size: 1.0625rem; line-height: 1.75; color: var(--color-text-secondary); margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 16px 0 24px 24px; color: var(--color-text-secondary); }
.article-body li { font-size: 1.0625rem; line-height: 1.75; margin-bottom: 8px; }
.article-body blockquote { border-left: 3px solid var(--color-accent); padding: 16px 24px; margin: 24px 0; background: var(--color-accent-bg); border-radius: 0 12px 12px 0; }
.article-body blockquote p { color: var(--color-text); font-style: italic; margin-bottom: 0; }
.article-cta { text-align: center; padding: 48px 0; margin-top: 48px; border-top: 1px solid var(--color-border-light); }
.article-cta h3 { margin-bottom: 16px !important; }
.related-articles { padding: 80px 0; background: var(--color-bg-alt); }
.related-articles h2 { text-align: center; margin-bottom: 40px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 768px) { .related-grid { grid-template-columns: 1fr; } .page-hero { padding: 100px 0 60px; } }
.breadcrumb { padding: 80px 0 0; background: var(--color-bg-alt); }
.breadcrumb-list { display: flex; gap: 8px; align-items: center; list-style: none; font-size: .8125rem; color: var(--color-text-tertiary); }
.breadcrumb-list a { color: var(--color-accent); transition: color .2s; }
.breadcrumb-list a:hover { color: var(--color-accent-light); }
.breadcrumb-sep { color: var(--color-border); }

/* Sub-page nav text logo fallback */
.nav-logo-text { font-size: 1.125rem; font-weight: 700; color: var(--color-text); letter-spacing: -.02em; }
