/* =============================================
   TOKENS & RESET
   ============================================= */
:root {
  --red:       #ff2d55;
  --orange:    #ff6b35;
  --grad:      linear-gradient(135deg, #ff2d55 0%, #ff6b35 100%);
  --grad-text: linear-gradient(135deg, #ff2d55, #ff9100);
  --grad-cool: linear-gradient(135deg, #6c47ff 0%, #00b4ff 100%);

  /* Dark mode (default) */
  --bg:        #07070e;
  --bg2:       #0d0d18;
  --bg3:       #141422;
  --surface:   #1a1a28;
  --surface2:  #222235;
  --border:    rgba(255,255,255,0.06);
  --border2:   rgba(255,255,255,0.11);
  --text:      #eeeef8;
  --text2:     #9494b8;
  --text3:     #5a5a7a;

  --shadow-sm:   0 2px 8px rgba(0,0,0,0.5);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.6);
  --shadow-lg:   0 24px 64px rgba(0,0,0,0.7);
  --shadow-red:  0 8px 40px rgba(255,45,85,0.28);
  --shadow-glow: 0 0 60px rgba(255,45,85,0.2), 0 0 120px rgba(255,107,53,0.1);

  --radius-sm:  8px;
  --radius-md:  14px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  --nav-h: 72px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --spring: 0.5s cubic-bezier(0.34,1.56,0.64,1);
}

[data-theme="light"] {
  --bg:       #f4f4fc;
  --bg2:      #eaeaf6;
  --bg3:      #e0e0f0;
  --surface:  #ffffff;
  --surface2: #f0f0fa;
  --border:   rgba(0,0,0,0.06);
  --border2:  rgba(0,0,0,0.11);
  --text:     #0a0a18;
  --text2:    #50507a;
  --text3:    #9090b8;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg:  0 24px 64px rgba(0,0,0,0.13);
  --shadow-red: 0 8px 40px rgba(255,45,85,0.18);
  --shadow-glow:0 0 60px rgba(255,45,85,0.12), 0 0 120px rgba(255,107,53,0.06);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =============================================
   NOISE OVERLAY
   ============================================= */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  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");
}

/* =============================================
   CURSOR
   ============================================= */
.cursor-glow {
  position: fixed;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(255,45,85,0.07) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  top: 0; left: 0;
}
.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
  top: 0; left: 0;
  mix-blend-mode: screen;
}
[data-theme="light"] .cursor-glow { background: radial-gradient(circle, rgba(255,45,85,0.04) 0%, transparent 70%); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: rgba(255,255,255,0.12);
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { box-shadow: 0 12px 50px rgba(255,45,85,0.45); transform: translateY(-2px); }

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.3s;
  z-index: -1;
}
.btn-glow:hover::before { opacity: 0.6; }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-ghost:hover { background: var(--surface2); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border2);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

.btn-lg { padding: 15px 32px; font-size: 16px; }

/* =============================================
   ADVANCED NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(7, 7, 14, 0.7);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 24px rgba(0,0,0,0.5);
}
[data-theme="light"] .navbar.scrolled {
  background: rgba(244, 244, 252, 0.8);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 24px rgba(0,0,0,0.1);
}

/* Animated beam at bottom of navbar */
.nav-beam {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 30%, var(--orange) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s;
  background-size: 200% 100%;
  animation: beamSlide 3s linear infinite;
}
.navbar.scrolled .nav-beam { opacity: 0.5; }

@keyframes beamSlide {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-h);
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border2);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.logo-icon:hover { border-color: rgba(255,45,85,0.4); box-shadow: var(--shadow-red); }
.logo-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--grad);
  opacity: 0;
  animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.08; transform: scale(1.1); }
}
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-pro {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Center pill nav */
.nav-pill-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 50px;
  padding: 5px;
  position: relative;
}
.navbar.scrolled .nav-links {
  background: rgba(255,255,255,0.04);
}
.nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  padding: 8px 18px;
  border-radius: 50px;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--text); }
.nav-link.active {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 2px 12px rgba(255,45,85,0.3);
}
[data-theme="light"] .nav-link.active { color: #fff; }

/* Right side */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-live-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 212, 170, 0.08);
  border: 1px solid rgba(0, 212, 170, 0.2);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #00d4aa;
  font-family: 'Space Grotesk', sans-serif;
  white-space: nowrap;
}
.live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #00d4aa;
  box-shadow: 0 0 0 0 rgba(0,212,170,0.4);
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,212,170,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(0,212,170,0); }
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: 1px solid var(--border2);
  border-radius: 50px;
  cursor: pointer;
  padding: 0;
  width: 54px; height: 30px;
  position: relative;
  transition: border-color var(--transition);
}
.theme-toggle:hover { border-color: var(--red); }
.toggle-track {
  display: flex;
  align-items: center;
  width: 100%; height: 100%;
  border-radius: 50px;
  position: relative;
}
.toggle-thumb {
  position: absolute;
  left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  transition: left var(--spring);
  border: 1px solid var(--border2);
  color: var(--text2);
}
[data-theme="light"] .toggle-thumb { left: calc(100% - 25px); }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.nav-cta { padding: 9px 20px; font-size: 14px; }
.nav-cta .btn-text { display: inline; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  background: rgba(7,7,14,0.96);
  backdrop-filter: blur(24px);
  gap: 4px;
}
[data-theme="light"] .mobile-menu { background: rgba(244,244,252,0.96); }
.mobile-menu a {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text2);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-menu a:hover { color: var(--text); background: var(--surface); }
.mobile-menu.open { display: flex; }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,45,85,0.18) 0%, transparent 70%);
  top: -200px; left: -200px;
  animation: orbFloat 10s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108,71,255,0.14) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  animation: orbFloat 14s ease-in-out infinite reverse;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,180,255,0.10) 0%, transparent 70%);
  top: 40%; right: 20%;
  animation: orbFloat 18s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.05); }
  66%       { transform: translate(-20px, 30px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,45,85,0.06);
  border: 1px solid rgba(255,45,85,0.18);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  letter-spacing: 0.02em;
  animation: fadeDown 0.6s ease both;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255,45,85,0.5);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,45,85,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(255,45,85,0); }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  animation: fadeUp 0.7s ease 0.1s both;
  max-width: 800px;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text2);
  line-height: 1.7;
  max-width: 560px;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.7s ease 0.3s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeUp 0.7s ease 0.4s both;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 18px 32px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.stat-divider {
  width: 1px; height: 36px;
  background: var(--border2);
}

/* =============================================
   HERO DEMO WINDOW
   ============================================= */
.hero-demo {
  width: 100%;
  max-width: 520px;
  animation: fadeUp 0.8s ease 0.5s both;
  position: relative;
}

.demo-window {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-glow), var(--shadow-lg);
  position: relative;
}

.demo-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }
.demo-url {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  color: var(--text3);
  font-family: 'Space Grotesk', monospace;
  letter-spacing: 0.02em;
}
.demo-secure { font-size: 11px; }

.demo-content { padding: 20px; }

.demo-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.demo-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-logo-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border2);
}
.demo-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.demo-status-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,212,170,0.08);
  border: 1px solid rgba(0,212,170,0.2);
  border-radius: 50px;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  color: #00d4aa;
}
.status-dot-anim {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #00d4aa;
  animation: livePulse 1.4s infinite;
}

.demo-btns {
  display: flex;
  gap: 6px;
}
.demo-btn {
  flex: 1;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg3);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  color: var(--text2);
  cursor: pointer;
  transition: all var(--transition);
}
.demo-btn.active {
  background: linear-gradient(135deg, rgba(255,45,85,0.15), rgba(255,107,53,0.1));
  border-color: rgba(255,45,85,0.35);
  color: var(--red);
}

.demo-progress-wrap { display: flex; flex-direction: column; gap: 8px; }
.demo-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text2);
  font-weight: 500;
}
.demo-count { color: var(--text3); }
.demo-bar-track {
  height: 5px;
  background: var(--bg3);
  border-radius: 50px;
  overflow: hidden;
}
.demo-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--grad);
  border-radius: 50px;
  transition: width 0.2s ease;
  position: relative;
  overflow: hidden;
}
.demo-bar-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.5s linear infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* =============================================
   CLOCK VISUALIZER
   ============================================= */
.clock-visualizer {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  flex-shrink: 0;
}

.clock-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid var(--border2);
  pointer-events: none;
}
.clock-ring-outer {
  inset: 0;
}
.clock-ring-inner {
  inset: 24px;
  border-color: var(--border);
  border-style: dashed;
}

.clock-ticks {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.clock-tick {
  position: absolute;
  width: 2px;
  border-radius: 2px;
  background: var(--border2);
  top: 50%;
  left: 50%;
  transform-origin: 0 -108px;
}
.clock-tick.major {
  height: 10px;
  background: var(--text3);
  margin-top: -108px;
  margin-left: -1px;
}
.clock-tick.minor {
  height: 6px;
  margin-top: -108px;
  margin-left: -1px;
}

.clock-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 4;
  pointer-events: none;
}
.clock-center-num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.2s;
}
.clock-center-label {
  font-size: 10px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.clock-avatars {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.clock-avatar {
  position: absolute;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  top: 50%; left: 50%;
  transform-origin: 50% 50%;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 3;
}
.clock-avatar.pop-in {
  animation: avatarPopIn 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes avatarPopIn {
  from { transform: translate(-50%, -50%) scale(0) rotate(-180deg); opacity: 0; }
  to   { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
}

/* Clock hands */
.clock-hand {
  position: absolute;
  bottom: 50%; left: 50%;
  transform-origin: 50% 100%;
  border-radius: 50px;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 5;
}
.clock-hand-hour {
  width: 4px;
  height: 55px;
  margin-left: -2px;
  background: var(--grad);
  box-shadow: 0 0 8px rgba(255,45,85,0.5);
}
.clock-hand-minute {
  width: 3px;
  height: 75px;
  margin-left: -1.5px;
  background: linear-gradient(to top, rgba(255,107,53,0.6), transparent);
}
.clock-hand-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--grad);
  z-index: 6;
  box-shadow: 0 0 0 3px rgba(255,45,85,0.2);
}

/* Mini stats below clock */
.demo-mini-stats {
  display: flex;
  justify-content: space-between;
  background: var(--bg3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}
.mini-stat { text-align: center; }
.mini-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mini-label {
  font-size: 10px;
  color: var(--text3);
  letter-spacing: 0.04em;
}

/* Floating badges on demo */
.demo-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  box-shadow: var(--shadow-md);
  animation: floatBadge 4s ease-in-out infinite;
  z-index: 10;
}
.badge-top-right {
  top: 12px; right: -20px;
  animation-delay: 0s;
}
.badge-bottom-left {
  bottom: 20px; left: -20px;
  animation-delay: 1.5s;
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  padding: 4px 16px;
  background: rgba(255,45,85,0.07);
  border-radius: 50px;
  border: 1px solid rgba(255,45,85,0.14);
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section-desc {
  color: var(--text2);
  margin-top: 12px;
  font-size: 1rem;
}

/* =============================================
   FEATURES
   ============================================= */
.features { background: var(--bg2); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s cubic-bezier(0.4,0,0.2,1);
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,45,85,0.2);
  box-shadow: var(--shadow-md), inset 0 0 40px rgba(255,45,85,0.03);
}

.feature-icon-wrap {
  margin-bottom: 20px;
}
.feature-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255,45,85,0.1), rgba(255,107,53,0.06));
  border: 1px solid rgba(255,45,85,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  transition: all var(--transition);
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(255,45,85,0.18), rgba(255,107,53,0.12));
  box-shadow: 0 4px 20px rgba(255,45,85,0.2);
  transform: scale(1.05) rotate(-3deg);
}

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.7;
}
.feature-glow {
  position: absolute;
  bottom: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,45,85,0.06), transparent 70%);
  transition: all var(--transition);
  pointer-events: none;
}
.feature-card:hover .feature-glow { transform: scale(1.4); opacity: 1.5; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works { background: var(--bg); }

.steps-wrap {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.steps-line {
  position: absolute;
  left: 25px;
  top: 25px;
  bottom: 25px;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), var(--orange), transparent);
  opacity: 0.25;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}
.step.visible {
  opacity: 1;
  transform: translateX(0);
}
.step-num {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid rgba(255,45,85,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--red);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}
.step:hover .step-num {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-red);
  transform: scale(1.1);
}
.step-body { padding-top: 8px; }
.step-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.step-body p { font-size: 0.9rem; color: var(--text2); line-height: 1.7; }

/* =============================================
   PRICING
   ============================================= */
.pricing { background: var(--bg2); }

.billing-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-bottom: 40px;
  font-weight: 500;
  font-size: 0.95rem;
}
.switch {
  position: relative;
  display: inline-block;
  width: 50px; height: 26px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider-pill {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 50px;
  transition: all var(--transition);
}
.slider-pill::before {
  content: '';
  position: absolute;
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background: var(--text3);
  border-radius: 50%;
  transition: all var(--transition);
}
input:checked + .slider-pill { background: rgba(255,45,85,0.15); border-color: rgba(255,45,85,0.3); }
input:checked + .slider-pill::before { transform: translateX(24px); background: var(--red); }

.badge-save {
  background: rgba(255,45,85,0.12);
  color: var(--red);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 600;
  margin-left: 6px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,45,85,0.2);
  box-shadow: var(--shadow-md);
}
.pricing-card.featured {
  background: linear-gradient(135deg, rgba(255,45,85,0.08), rgba(255,107,53,0.05));
  border-color: rgba(255,45,85,0.28);
  box-shadow: var(--shadow-red);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 12px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 6px;
}
.price-currency { font-size: 1.1rem; color: var(--text2); }
.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-period { font-size: 0.8rem; color: var(--text3); margin-left: 4px; }
.plan-desc { font-size: 0.82rem; color: var(--text2); margin-bottom: 18px; line-height: 1.5; }

.plan-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text2);
}
.check { color: var(--red); font-weight: 700; flex-shrink: 0; }
.plan-btn { width: 100%; justify-content: center; margin-top: auto; }

.plan-mega {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid rgba(255,45,85,0.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.plan-mega::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0.04;
  pointer-events: none;
}
.plan-mega-badge {
  display: inline-block;
  background: rgba(255,45,85,0.1);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.plan-mega-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.plan-mega-desc { font-size: 0.9rem; color: var(--text2); max-width: 380px; }
.plan-mega-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  flex-shrink: 0;
}
.plan-mega-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.plan-mega-price span { font-size: 0.9rem; color: var(--text3); -webkit-text-fill-color: var(--text3); }

/* =============================================
   REVIEWS
   ============================================= */
.reviews { background: var(--bg); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.review-card::before {
  content: '"';
  position: absolute;
  top: -10px; left: 16px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--red);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(255,45,85,0.15); }
.review-stars { color: #ffb800; font-size: 1rem; margin-bottom: 12px; }
.review-card p { font-size: 0.9rem; color: var(--text2); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.reviewer { font-size: 0.82rem; color: var(--text3); font-weight: 500; }

/* =============================================
   FAQ
   ============================================= */
.faq { background: var(--bg2); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: rgba(255,45,85,0.2); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  gap: 12px;
}
.faq-arrow {
  flex-shrink: 0;
  color: var(--text3);
  transition: transform var(--transition);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); color: var(--red); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.7;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner { background: var(--bg); padding: 100px 0; }
.cta-inner {
  position: relative;
  background: linear-gradient(135deg, rgba(255,45,85,0.09), rgba(108,71,255,0.07));
  border: 1px solid rgba(255,45,85,0.18);
  border-radius: var(--radius-xl);
  padding: 72px 40px;
  text-align: center;
  overflow: hidden;
}
.cta-orbs { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.25;
}
.cta-orb1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #ff2d55, transparent 70%);
  top: -150px; left: -100px;
  animation: orbFloat 7s ease-in-out infinite;
}
.cta-orb2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #6c47ff, transparent 70%);
  bottom: -120px; right: -80px;
  animation: orbFloat 9s ease-in-out infinite reverse;
}
.cta-orb3 {
  width: 250px; height: 250px;
  background: radial-gradient(circle, #00b4ff, transparent 70%);
  top: 30%; left: 50%;
  animation: orbFloat 12s ease-in-out infinite;
  opacity: 0.15;
}
.cta-inner h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
}
.cta-inner p {
  color: var(--text2);
  font-size: 1.05rem;
  margin-bottom: 36px;
  position: relative;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 260px; }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--text2);
  margin-top: 14px;
  line-height: 1.7;
}
.footer-dev {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text3);
}
.footer-dev strong { color: var(--text2); }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text3);
  margin-bottom: 4px;
}
.footer-col a { font-size: 0.9rem; color: var(--text2); transition: color var(--transition); }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text3); }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Particle */
.particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--red);
  pointer-events: none;
  opacity: 0;
  animation: particleFly var(--duration, 8s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes particleFly {
  0%   { opacity: 0; transform: translate(0, 0) scale(0); }
  10%  { opacity: 0.8; transform: translate(var(--tx1), var(--ty1)) scale(1); }
  90%  { opacity: 0.4; transform: translate(var(--tx2), var(--ty2)) scale(0.5); }
  100% { opacity: 0; transform: translate(var(--tx2), var(--ty2)) scale(0); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-live-badge { display: none; }
}

@media (max-width: 768px) {
  .nav-pill-wrap, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: none; }
  .mobile-menu.open { display: flex; }

  .hero-stats { gap: 16px; padding: 14px 20px; }
  .stat-num { font-size: 1.2rem; }

  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }

  .plan-mega { flex-direction: column; align-items: flex-start; gap: 20px; }
  .plan-mega-right { align-items: flex-start; }

  .footer-top { flex-direction: column; }
  .footer-links { gap: 32px; }
  .steps-line { display: none; }
  .cta-inner { padding: 48px 24px; }

  .badge-top-right, .badge-bottom-left { display: none; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .stat-divider { display: none; }
  .clock-visualizer { width: 180px; height: 180px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
