/* ============================================
   FONSZI.COM — Shared Stylesheet
   Dark-mode / Vercel x Linear x Raycast
   ============================================ */

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

:root {
  --bg-primary: #06070A;
  --bg-secondary: #090B10;
  --bg-card: #0D0F14;
  --bg-card-hover: #13161D;
  --bg-elevated: #1A1D26;
  --border: #1E2130;
  --border-hover: #2A2E3F;
  --text-primary: #F0F0F3;
  --text-secondary: #8B8FA3;
  --text-muted: #5C6070;
  --accent: #00D4FF;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --accent-hover: #33DDFF;
  --accent-dim: rgba(0, 212, 255, 0.08);
  --gold: #FFB347;
  --gold-dim: rgba(255, 179, 71, 0.08);
  --purple: #A78BFA;
  --purple-dim: rgba(167, 139, 250, 0.08);
  --green: #34D399;
  --green-dim: rgba(52, 211, 153, 0.08);
  --max-width: 1200px;
  --nav-height: 64px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

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

/* --- Product Logo System --- */
.plogo {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-family: 'Inter', sans-serif;
  letter-spacing: -0.5px; line-height: 1;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.plogo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.plogo img[src$=".svg"] {
  object-fit: contain;
}
.plogo:has(img[src$=".svg"]) {
  border-radius: 0 !important;
  box-shadow: none;
  background: none;
  overflow: visible;
}
.plogo-sm { width: 44px; height: 44px; min-width: 44px; min-height: 44px; border-radius: 12px; font-size: 16px; }
.plogo-md { width: 52px; height: 52px; min-width: 52px; min-height: 52px; border-radius: 14px; font-size: 20px; }
.plogo-lg { width: 64px; height: 64px; min-width: 64px; min-height: 64px; border-radius: 16px; font-size: 28px; }
.plogo-xl { width: 80px; height: 80px; min-width: 80px; min-height: 80px; border-radius: 20px; font-size: 36px; }
.plogo-hero { width: 96px; height: 96px; min-width: 96px; min-height: 96px; border-radius: 24px; font-size: 42px; }

/* Product logo variants */
.plogo-fonskii { background: linear-gradient(135deg, #FFB347 0%, #FF8C00 100%); color: #1A0A00; }
.plogo-beloop { background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%); color: #1A0500; border-radius: 50% !important; }
.plogo-sfc { background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%); color: #1A1000; }
.plogo-ctf { background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%); color: #0F0520; }
.plogo-forge { background: linear-gradient(135deg, #C084FC 0%, #9333EA 100%); color: #0A0015; clip-path: polygon(15% 0%, 85% 0%, 100% 15%, 100% 100%, 0% 100%, 0% 15%); box-shadow: none; }
.plogo-asp { background: linear-gradient(135deg, #818CF8 0%, #6366F1 100%); color: #050520; }
.plogo-ghs { background: linear-gradient(135deg, #34D399 0%, #059669 100%); color: #001A10; border-radius: 12px 12px 12px 24px !important; }
.plogo-cs { background: linear-gradient(135deg, #2DD4BF 0%, #14B8A6 100%); color: #001A15; }
.plogo-fonsitor { background: linear-gradient(135deg, #22D3EE 0%, #06B6D4 100%); color: #001520; }
.plogo-koa { background: linear-gradient(135deg, #67E8F9 0%, #22D3EE 100%); color: #001520; }
.plogo-dashboard { background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 100%); color: #050520; }
.plogo-api { background: linear-gradient(135deg, #34D399 0%, #10B981 100%); color: #001A10; }


/* --- Scroll Reveal System --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.95) translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Navigation --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  background: rgba(6, 7, 10, 0.6);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.nav.scrolled {
  background: rgba(6, 7, 10, 0.85);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255,255,255,0.03);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-size: 20px; font-weight: 700; color: var(--text-primary);
  letter-spacing: -0.5px;
  transition: transform 0.2s var(--ease-spring);
}
.nav-logo:hover { transform: scale(1.05); color: var(--text-primary); }
.logo-i {
  position: relative;
  font-style: normal;
}
.logo-i::after {
  content: '';
  position: absolute;
  top: 0.05em; left: 50%;
  transform: translateX(-50%);
  width: 0.22em; height: 0.22em;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.5);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease-out);
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--text-primary); color: var(--bg-primary) !important;
  padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 0 0 0 rgba(240, 240, 243, 0);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(240, 240, 243, 0.15);
  color: var(--bg-primary) !important;
}

/* --- Mobile Menu --- */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Section Base --- */
section { padding: 120px 0; position: relative; }
.section-label {
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;
  color: var(--accent); margin-bottom: 16px;
  display: inline-flex; align-items: center; gap: 8px;
}
.section-label::before {
  content: '';
  width: 20px; height: 1px; background: var(--accent);
}
.section-label-center { justify-content: center; }
.section-label-center::after {
  content: '';
  width: 20px; height: 1px; background: var(--accent);
}
.section-title {
  font-size: clamp(32px, 5vw, 48px); font-weight: 700; letter-spacing: -1.5px;
  line-height: 1.1; margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px; color: var(--text-secondary); max-width: 560px;
  line-height: 1.7;
}

/* --- Gradient Dividers --- */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--bg-primary);
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  transition: all 0.3s var(--ease-out);
  border: none; cursor: pointer;
  position: relative; overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  background: var(--accent-hover); color: var(--bg-primary);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0,212,255,0.3), 0 0 0 1px rgba(0,212,255,0.15), 0 0 60px rgba(0,212,255,0.1);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.03); color: var(--text-primary);
  padding: 14px 28px; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--border-hover);
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.btn-secondary:active { transform: translateY(0); }

/* --- Background Patterns --- */
.dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.noise-overlay {
  position: absolute; inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
}

/* --- Cursor Glow --- */
.cursor-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,212,255,0.06) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s;
  opacity: 0;
  z-index: 0;
}
.cursor-glow.active { opacity: 1; }

/* --- Animated Gradient Border --- */
.gradient-border {
  position: relative;
}
.gradient-border::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--accent), var(--purple), var(--gold), var(--green), var(--accent));
  background-size: 400% 400%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s;
  animation: borderRotate 4s linear infinite;
}
.gradient-border:hover::after { opacity: 0.4; }
@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

/* --- Hero (homepage) --- */
.hero {
  padding-top: calc(var(--nav-height) + 100px);
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
  animation: orbFloat 20s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: 50%; margin-left: -300px;
  background: radial-gradient(circle, rgba(0,212,255,0.08) 0%, transparent 70%);
  animation-delay: 0s;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  top: -100px; right: -100px;
  background: radial-gradient(circle, rgba(167,139,250,0.06) 0%, transparent 70%);
  animation-delay: -7s;
  animation-duration: 25s;
}
.hero-orb-3 {
  width: 350px; height: 350px;
  top: 100px; left: -50px;
  background: radial-gradient(circle, rgba(255,179,71,0.05) 0%, transparent 70%);
  animation-delay: -14s;
  animation-duration: 22s;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 20px) scale(0.95); }
  75% { transform: translate(20px, 10px) scale(1.02); }
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(13, 15, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 20px 8px 12px;
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 36px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, transform 0.3s var(--ease-spring);
}
.hero-badge:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(52, 211, 153, 0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 16px rgba(52, 211, 153, 0.3); }
}
.hero h1 {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.0;
  margin-bottom: 28px;
  position: relative;
}
.hero h1 .gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #A78BFA 40%, var(--gold) 80%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero-sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex; justify-content: center; gap: 16px;
  margin-bottom: 72px; flex-wrap: wrap;
}

/* --- Product Hero (product pages) --- */
.product-hero {
  padding-top: calc(var(--nav-height) + 100px);
  padding-bottom: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.product-hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
  animation: orbFloat 20s ease-in-out infinite;
}
.product-hero-orb-1 {
  width: 600px; height: 600px;
  top: -200px; left: 50%; margin-left: -300px;
}
.product-hero-orb-2 {
  width: 400px; height: 400px;
  top: -100px; right: -100px;
  animation-delay: -7s;
  animation-duration: 25s;
}
.product-hero-orb-3 {
  width: 350px; height: 350px;
  top: 100px; left: -50px;
  animation-delay: -14s;
  animation-duration: 22s;
}

.product-hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(13, 15, 20, 0.6);
  border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 20px 8px 12px;
  font-size: 13px; color: var(--text-secondary);
  margin-bottom: 36px;
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, transform 0.3s var(--ease-spring);
}
.product-hero-badge:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.product-hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.5);
  animation: pulse 2s ease-in-out infinite;
}
.product-hero h1 {
  font-size: clamp(48px, 8vw, 84px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1.0;
  margin-bottom: 8px;
  position: relative;
}
.product-hero h1 .gradient {
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
}
.product-hero-tagline {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.7;
}
.product-hero-ctas {
  display: flex; justify-content: center; gap: 16px;
  margin-bottom: 0; flex-wrap: wrap;
}

/* --- Spotlight Features --- */
.features { background: var(--bg-primary); padding: 80px 0; }
.features .section-label { display: flex; justify-content: center; }

.spotlight {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  margin-bottom: 140px;
}
.spotlight:last-child { margin-bottom: 0; }
.spotlight.reversed { direction: rtl; }
.spotlight.reversed > * { direction: ltr; }

.spotlight-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.spotlight-label::before {
  content: '';
  width: 16px; height: 2px; border-radius: 1px;
}
.spotlight-label.fitness { color: var(--gold); }
.spotlight-label.fitness::before { background: var(--gold); }
.spotlight-label.design { color: var(--purple); }
.spotlight-label.design::before { background: var(--purple); }
.spotlight-label.dev { color: var(--green); }
.spotlight-label.dev::before { background: var(--green); }

.spotlight h3 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700; letter-spacing: -0.5px;
  line-height: 1.2; margin-bottom: 24px;
}
.spotlight-bullets {
  list-style: none; margin-bottom: 36px;
}
.spotlight-bullets li {
  font-size: 15px; color: var(--text-secondary);
  padding: 10px 0; padding-left: 28px;
  position: relative; line-height: 1.55;
  transition: color 0.3s;
}
.spotlight-bullets li:hover { color: var(--text-primary); }
.spotlight-bullets li::before {
  content: '';
  position: absolute; left: 0; top: 18px;
  width: 8px; height: 8px; border-radius: 50%;
  border: 2px solid var(--accent);
  transition: background 0.3s;
}
.spotlight-bullets li:hover::before { background: var(--accent); }
.spotlight-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.spotlight-ctas .btn-primary { padding: 12px 24px; font-size: 14px; }
.spotlight-ctas .btn-secondary { padding: 12px 24px; font-size: 14px; }

/* Spotlight Visual */
.spotlight-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: all 0.5s var(--ease-out);
}
.spotlight-visual:hover {
  border-color: var(--border-hover);
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4), 0 0 120px rgba(0,212,255,0.03);
}
.spotlight-visual-inner {
  text-align: center; padding: 40px;
  position: relative; z-index: 1;
}
.spotlight-visual .plogo {
  transition: all 0.5s var(--ease-spring);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
.spotlight-visual:hover .plogo {
  opacity: 1 !important;
  transform: scale(1.15) rotate(-2deg);
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.4));
}
.spotlight-visual-text {
  font-size: 14px; color: var(--text-muted); line-height: 1.5;
}
/* Device frame mockup inside spotlight */
.spotlight-mockup {
  width: 180px; height: 320px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-hover);
  border-radius: 24px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
}
.spotlight-visual:hover .spotlight-mockup {
  transform: scale(1.05);
  box-shadow: 0 16px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.spotlight-mockup-notch {
  width: 80px; height: 24px;
  background: var(--bg-primary);
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.spotlight-mockup-screen {
  padding: 12px;
  display: flex; flex-direction: column; gap: 8px;
  height: calc(100% - 24px);
}
.mockup-bar {
  height: 6px; border-radius: 3px;
  background: var(--border-hover);
  opacity: 0.6;
}
.mockup-bar-short { width: 60%; }
.mockup-bar-med { width: 80%; }
.mockup-bar-full { width: 100%; }
.mockup-block {
  flex: 1;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-dim) 0%, rgba(167,139,250,0.04) 100%);
  border: 1px solid var(--border);
}
.mockup-block.fitness {
  background: linear-gradient(135deg, var(--gold-dim) 0%, rgba(255,179,71,0.04) 100%);
}
.mockup-block.design {
  background: linear-gradient(135deg, var(--purple-dim) 0%, rgba(167,139,250,0.04) 100%);
}
/* Browser frame mockup */
.spotlight-browser {
  width: 100%; max-width: 360px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-hover);
  border-radius: 12px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  transition: transform 0.5s var(--ease-spring), box-shadow 0.5s;
}
.spotlight-visual:hover .spotlight-browser {
  transform: scale(1.03);
  box-shadow: 0 16px 60px rgba(0,0,0,0.5);
}
.browser-toolbar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}
.browser-dots {
  display: flex; gap: 5px;
}
.browser-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-hover);
}
.browser-dot:first-child { background: #FF5F57; }
.browser-dot:nth-child(2) { background: #FEBC2E; }
.browser-dot:nth-child(3) { background: #28C840; }
.browser-url {
  flex: 1; height: 22px;
  background: var(--bg-elevated);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.browser-content {
  padding: 16px;
  min-height: 180px;
  display: flex; flex-direction: column; gap: 8px;
}
/* Animated gradient backgrounds */
.spotlight-visual::before {
  content: '';
  position: absolute; inset: -50%;
  background: conic-gradient(from 0deg, transparent, rgba(0,212,255,0.03), transparent, rgba(167,139,250,0.03), transparent);
  animation: visualRotate 20s linear infinite;
}
@keyframes visualRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.spotlight-visual.fitness-glow::before {
  background: conic-gradient(from 0deg, transparent, rgba(255,179,71,0.04), transparent, rgba(255,179,71,0.02), transparent);
}
.spotlight-visual.purple-glow::before {
  background: conic-gradient(from 0deg, transparent, rgba(167,139,250,0.04), transparent, rgba(167,139,250,0.02), transparent);
}
.spotlight-visual.green-glow::before {
  background: conic-gradient(from 0deg, transparent, rgba(52,211,153,0.04), transparent, rgba(52,211,153,0.02), transparent);
}
/* Inner glow */
.spotlight-visual::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(0,212,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* --- Stats Grid --- */
.stats {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 700px; margin: 0 auto;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 16px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.stat-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.stat-card:hover::after { opacity: 0.6; }
.stat-number {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800; color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 13px; color: var(--text-muted);
  font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Pricing Cards (product pages) --- */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: left;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; border-radius: 3px 3px 0 0;
  opacity: 0;
  transition: opacity 0.4s;
}
.pricing-card:nth-child(1)::before { background: linear-gradient(90deg, var(--text-muted), rgba(139,143,163,0.3)); }
.pricing-card:nth-child(2)::before { background: linear-gradient(90deg, var(--gold), rgba(255,179,71,0.3)); }
.pricing-card.featured {
  border-color: rgba(255,179,71,0.3);
}
.pricing-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.pricing-card:hover::before { opacity: 1; }
.pricing-card-tier {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 8px;
}
.pricing-card h3 {
  font-size: 24px; font-weight: 700; margin-bottom: 4px; letter-spacing: -0.3px;
}
.pricing-card-price {
  font-size: 16px; color: var(--accent); font-weight: 600; margin-bottom: 16px;
}
.pricing-card p {
  font-size: 14px; color: var(--text-secondary); line-height: 1.65;
  margin-bottom: 24px;
}
.pricing-card-features {
  list-style: none;
}
.pricing-card-features li {
  font-size: 14px; color: var(--text-secondary);
  padding: 8px 0; padding-left: 24px;
  position: relative;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.pricing-card-features li:last-child { border: none; }
.pricing-card-features li::before {
  content: '';
  position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.pricing-card:hover .pricing-card-features li { color: var(--text-primary); }

/* --- Final CTA --- */
.final-cta {
  background: var(--bg-secondary);
  text-align: center;
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.final-cta-card {
  background: rgba(13, 15, 20, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}
.final-cta-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.3), rgba(167,139,250,0.3), transparent);
}
.final-cta-card::after {
  content: '';
  position: absolute; inset: -50%;
  background: conic-gradient(from 180deg, transparent 60%, rgba(0,212,255,0.03) 70%, transparent 80%);
  animation: visualRotate 15s linear infinite;
  pointer-events: none;
}
.final-cta::before {
  content: '';
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 800px;
  background: radial-gradient(ellipse at center bottom, rgba(0,212,255,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.final-cta::after {
  content: '';
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(167,139,250,0.04) 0%, transparent 60%);
  pointer-events: none;
  animation: ctaGlow 10s ease-in-out infinite alternate;
}
@keyframes ctaGlow {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}
.final-cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; letter-spacing: -1.5px;
  margin-bottom: 16px;
  position: relative;
}
.final-cta p {
  font-size: 18px; color: var(--text-secondary);
  margin-bottom: 44px; position: relative;
}
.final-cta .hero-ctas { margin-bottom: 0; position: relative; }

/* --- Legal Content --- */
.legal-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 64px;
  text-align: center;
  position: relative;
}
.legal-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.legal-hero .effective-date {
  font-size: 15px;
  color: var(--text-secondary);
}
.legal-content { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.legal-content h2 { font-size: 24px; margin-top: 48px; margin-bottom: 16px; padding-top: 32px; border-top: 1px solid var(--border); }
.legal-content h3 { font-size: 18px; margin-top: 32px; margin-bottom: 12px; }
.legal-content p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul, .legal-content ol { margin-bottom: 16px; padding-left: 24px; }
.legal-content li { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 8px; }
.legal-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.legal-content th, .legal-content td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 14px; }
.legal-content th { color: var(--text-primary); font-weight: 600; }
.legal-content td { color: var(--text-secondary); }
.legal-toc { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin-bottom: 48px; }
.legal-toc h3 { margin-top: 0; }
.legal-toc ol { margin-bottom: 0; }
.legal-toc a { color: var(--accent); }
.legal-content strong { color: var(--text-primary); }
.legal-content a { color: var(--accent); }
.legal-content a:hover { color: var(--accent-hover); }
.legal-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }

/* --- Footer --- */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .nav-logo { margin-bottom: 14px; display: block; }
.footer-brand p {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
  max-width: 240px;
}
.footer-col h4 {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--text-secondary);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 14px; color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--text-primary); transform: translateX(3px); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.footer-bottom p {
  font-size: 13px; color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .spotlight { grid-template-columns: 1fr; gap: 40px; }
  .spotlight.reversed { direction: ltr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-height); left: 0; right: 0;
    bottom: 0;
    background: rgba(6, 7, 10, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    flex-direction: column; align-items: center;
    justify-content: center;
    padding: 32px 24px; gap: 32px;
    transform: translateY(-10px); opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), opacity 0.3s;
  }
  .nav-links.open {
    transform: translateY(0); opacity: 1;
    pointer-events: auto; display: flex;
  }
  .nav-links a { font-size: 24px; font-weight: 600; }
  .nav-links a { font-size: 16px; }
  section { padding: 80px 0; }
  .pricing-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .spotlight-visual { aspect-ratio: 16/10; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 16px; }
  .legal-content table { display: block; overflow-x: auto; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 42px; letter-spacing: -1.5px; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { width: 100%; justify-content: center; }
  .spotlight-ctas { flex-direction: column; }
  .spotlight-ctas .btn-primary, .spotlight-ctas .btn-secondary { width: 100%; justify-content: center; }
}

/* --- Smooth page transitions (View Transitions API) --- */
@view-transition {
  navigation: auto;
}
::view-transition-old(root) {
  animation: 200ms cubic-bezier(0.16, 1, 0.3, 1) both vt-fade-out;
}
::view-transition-new(root) {
  animation: 300ms cubic-bezier(0.16, 1, 0.3, 1) 50ms both vt-fade-in;
}
@keyframes vt-fade-out {
  to { opacity: 0; }
}
@keyframes vt-fade-in {
  from { opacity: 0; transform: translateY(6px); }
}
/* Shared element transitions */
.nav-logo { view-transition-name: nav-logo; }
.hero h1, .product-hero h1, .legal-hero h1 { view-transition-name: page-title; }
.footer { view-transition-name: footer; }
::view-transition-old(nav-logo),
::view-transition-new(nav-logo) {
  animation-duration: 250ms;
}
::view-transition-old(page-title) {
  animation: 200ms ease-out both vt-fade-out;
}
::view-transition-new(page-title) {
  animation: 300ms ease-out 100ms both vt-fade-in;
}

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
  color: var(--bg-primary);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn-primary:focus-visible,
.btn-secondary:focus-visible {
  outline-offset: 4px;
}
.nav-toggle:focus-visible {
  outline-offset: 2px;
}
.product-card:focus-visible {
  outline-offset: 4px;
  border-color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
