/* ═══════════════════════════════════════════════════
   Revna v9 — Dark Mode Edition
   Orange + Turquoise on Deep Dark
   ═══════════════════════════════════════════════════ */

/* ─── Variables ─── */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a24;
  --bg-elevated: #22222e;

  --orange: #FF6B35;
  --orange-light: #FF8F5C;
  --orange-glow: rgba(255, 107, 53, 0.15);
  --orange-glow-strong: rgba(255, 107, 53, 0.25);

  --turquoise: #06B6D4;
  --turquoise-light: #22D3EE;
  --turquoise-glow: rgba(6, 182, 212, 0.15);

  --green: #10B981;
  --purple: #A855F7;
  --red: #EF4444;

  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-tertiary: rgba(255, 255, 255, 0.4);
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --max-width: 1200px;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── Decorative Elements ─── */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.glow-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--turquoise), transparent);
  opacity: 0.3;
}
.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: float-shape 20s ease-in-out infinite;
}
@keyframes float-shape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -30px) rotate(90deg); }
  50% { transform: translate(-10px, 20px) rotate(180deg); }
  75% { transform: translate(30px, 10px) rotate(270deg); }
}
.pulse-ring {
  position: absolute;
  border: 1px solid var(--turquoise);
  border-radius: 50%;
  opacity: 0;
  animation: pulse-ring 3s ease-out infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 0.6; }
  100% { transform: scale(2); opacity: 0; }
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }

/* ─── Typography ─── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; }

/* 1. Base gradient on .accent */
.accent {
  background-image: linear-gradient(90deg, var(--orange) 0%, var(--turquoise) 50%, var(--orange) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-flow 3s ease-in-out infinite alternate;
}

/* 2. Propagate gradient to .word children (fix for inline-block breaking clip) */
.accent .word {
  background: inherit;
  background-size: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-flow 3s ease-in-out infinite alternate;
}

@keyframes gradient-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--turquoise);
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-top: 0.75rem;
  color: var(--text-primary);
}
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════════
   Navigation
   ═══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: transform 0.3s, background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav.hidden {
  transform: translateY(-100%);
}

/* Scroll progress bar */
.nav-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--turquoise));
  transition: width 0.1s linear;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: transform 0.2s;
}
.nav-brand:hover {
  transform: scale(1.02);
}
.nav-brand:hover .nav-logo {
  transform: rotate(-5deg) scale(1.1);
}
.nav-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
}
.nav-links a {
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}
.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-spots {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  background: var(--bg-card);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.nav-spots span {
  color: var(--orange);
  font-weight: 600;
}
.nav-cta {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: white;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.3);
}

/* Hamburger menu */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu a:hover {
  color: var(--text-primary);
  transform: scale(1.05);
}
.mobile-menu-cta {
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: white !important;
  border-radius: 100px;
  font-size: 1.1rem !important;
}

/* ═══════════════════════════════════════════════════
   Hero
   ═══════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 4rem 2rem 6rem;
  overflow: visible;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}
.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.hero-raven-watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 700px;
  opacity: 0.03;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: var(--orange);
  top: -20%;
  right: 10%;
  animation: float-orb 15s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: var(--turquoise);
  bottom: 0;
  left: -10%;
  animation: float-orb 18s ease-in-out infinite reverse;
}
.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--purple);
  top: 40%;
  left: 40%;
  animation: float-orb 20s ease-in-out infinite 3s;
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 20px) scale(0.9); }
}

/* ─── Scroll Indicator ─── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-tertiary);
  animation: scroll-fade 2s ease-in-out infinite;
  cursor: pointer;
  z-index: 10;
}
.scroll-indicator span {
  display: none;
}
.scroll-indicator:hover {
  color: var(--text-secondary);
}
.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-tertiary);
  border-radius: 12px;
  position: relative;
}
.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--turquoise);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 18px; opacity: 0.3; }
}
@keyframes scroll-fade {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* ─── Floating Particles ─── */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--turquoise);
  border-radius: 50%;
  opacity: 0;
  animation: particle-drift 15s linear infinite;
}
.hero-particle:nth-child(odd) {
  background: var(--orange);
}
.hero-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 18s; }
.hero-particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 15s; }
.hero-particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 20s; }
.hero-particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 16s; }
.hero-particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 14s; }
.hero-particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 19s; }
.hero-particle:nth-child(7) { left: 70%; animation-delay: 2.5s; animation-duration: 17s; }
.hero-particle:nth-child(8) { left: 80%; animation-delay: 0.5s; animation-duration: 21s; }
.hero-particle:nth-child(9) { left: 90%; animation-delay: 4.5s; animation-duration: 13s; }
.hero-particle:nth-child(10) { left: 15%; animation-delay: 6s; animation-duration: 22s; }
.hero-particle:nth-child(11) { left: 45%; animation-delay: 7s; animation-duration: 16s; }
.hero-particle:nth-child(12) { left: 75%; animation-delay: 8s; animation-duration: 18s; }

@keyframes particle-drift {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.6;
    transform: translateY(80vh) scale(1);
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-10vh) scale(0.5);
    opacity: 0;
  }
}

/* ─── Data Flow Lines ─── */
.data-flow-container {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.data-flow-svg {
  display: block;
  overflow: visible;
}
.data-flow-path {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 4 8;
  animation: data-flow-dash 3s linear infinite;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.data-flow-path.visible {
  opacity: 0.8;
}
.data-flow-path.turquoise {
  stroke: var(--turquoise);
  filter: drop-shadow(0 0 3px var(--turquoise));
}
.data-flow-path.orange {
  stroke: var(--orange);
  filter: drop-shadow(0 0 3px var(--orange));
}
.data-flow-path.purple {
  stroke: var(--purple);
  filter: drop-shadow(0 0 3px var(--purple));
}
@keyframes data-flow-dash {
  0% { stroke-dashoffset: 24; }
  100% { stroke-dashoffset: 0; }
}
.data-dot {
  r: 4;
  fill: var(--turquoise);
  filter: drop-shadow(0 0 6px var(--turquoise));
  opacity: 0.9;
}
.data-dot.orange {
  fill: var(--orange);
  filter: drop-shadow(0 0 6px var(--orange));
}
.data-dot.purple {
  fill: var(--purple);
  filter: drop-shadow(0 0 6px var(--purple));
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
/* Hero Entrance Animations */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-badge-new,
.hero-logo,
.hero-title,
.hero-sub,
.waitlist-form,
.hero-reassurance,
.hero-wearables {
  animation: hero-fade-up 0.8s ease-out forwards;
}
.hero-badge-new { animation-delay: 0.1s; opacity: 0; }
.hero-logo { animation-delay: 0.2s; opacity: 0; }
.hero-title { animation-delay: 0.3s; opacity: 0; }
.hero-sub { animation-delay: 0.5s; opacity: 0; }
.waitlist-form { animation-delay: 0.6s; opacity: 0; }
.hero-reassurance { animation-delay: 0.7s; opacity: 0; }
.hero-wearables { animation-delay: 0.8s; opacity: 0; }

/* Hero Badge New */
.hero-badge-new {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

/* Hero Logo */
.hero-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.hero-logo-img {
  width: 56px;
  height: 56px;
  filter: brightness(0) invert(1) drop-shadow(0 0 25px rgba(255, 107, 53, 0.6));
}
.hero-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-sub strong { color: var(--text-primary); font-weight: 600; }

/* Waitlist form */
.waitlist-form {
  display: flex;
  gap: 0.5rem;
  max-width: 500px;
}
.input-wrapper {
  position: relative;
  flex: 1;
}
.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-tertiary);
  pointer-events: none;
}
.waitlist-form input {
  width: 100%;
  padding: 0.9rem 1.2rem 0.9rem 2.8rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.waitlist-form input::placeholder { color: var(--text-tertiary); }
.waitlist-form input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}
.waitlist-form input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--orange);
}
.waitlist-form button {
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: cta-pulse 2.5s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3); }
  50% { box-shadow: 0 4px 25px rgba(255, 107, 53, 0.6); }
}
.waitlist-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4);
  animation: none;
}
.waitlist-form button.loading {
  pointer-events: none;
  opacity: 0.8;
}
.waitlist-form button.success {
  display: none;
}
.waitlist-form button.error {
  background: var(--red);
}

/* Success state - elegant card */
.waitlist-form.submitted {
  display: block;
  max-width: 500px;
}
.waitlist-form.submitted input,
.waitlist-form.submitted button {
  display: none;
}

.success-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.success-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--orange) 0%, var(--turquoise) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: success-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes success-pop {
  0% { transform: scale(0); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}
.success-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.success-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}
.success-text strong {
  color: var(--orange);
}

.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.waitlist-form input.error {
  border-color: var(--red);
}
.form-success {
  display: none;
}

/* Confetti animation */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  opacity: 0;
  animation: confetti-fall 3s ease-out forwards;
}
.confetti.circle { border-radius: 50%; }
.confetti.square { border-radius: 2px; }
.confetti.triangle {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid var(--orange);
  background: transparent !important;
}
@keyframes confetti-fall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg) scale(0.5);
  }
}

/* Title word animation */
.hero-title .word,
.section-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  animation: word-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* Accent words: gradient animation starts after word reveal */
.hero-title .word.accent,
.section-title .word.accent {
  animation:
    word-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    gradient-flow 3s ease-in-out 0.8s infinite alternate;
}

/* Words inside .accent containers */
.hero-title .accent .word,
.section-title .accent .word {
  background: inherit;
  background-size: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation:
    word-reveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    gradient-flow 3s ease-in-out 0.8s infinite alternate;
}
@keyframes word-reveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-title .line {
  display: block;
}

/* Fallback if JS doesn't load - show title immediately */
.hero-title {
  opacity: 1;
}

/* Social proof */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.hero-avatars {
  display: flex;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  border: 2px solid var(--bg-primary);
  margin-left: -8px;
  opacity: 0;
  transform: scale(0) translateY(10px);
  animation: avatar-pop 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}
.avatar:nth-child(1) { animation-delay: 0.8s; }
.avatar:nth-child(2) { animation-delay: 0.95s; }
.avatar:nth-child(3) { animation-delay: 1.1s; }
.avatar:nth-child(4) { animation-delay: 1.25s; }
.avatar:nth-child(5) { animation-delay: 1.4s; }
.avatar:nth-child(6) { animation-delay: 1.55s; }
.avatar:first-child { margin-left: 0; }
@keyframes avatar-pop {
  0% { opacity: 0; transform: scale(0) translateY(10px); }
  70% { transform: scale(1.2) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.hero-proof-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Hero Reassurance */
.hero-reassurance {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 1rem;
}

/* Hero Wearables */
.hero-wearables {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.hero-wearables > span {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.wearable-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.wearable-logos img {
  height: 22px;
  width: auto;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
  object-fit: contain;
}
.wearable-logos img[alt="Garmin"] {
  height: 18px;
  transform: scale(3.5);
  margin: 0 2rem;
}
.wearable-logos img:hover {
  opacity: 0.9;
}
.wearable-more {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--turquoise);
  padding: 0.3rem 0.6rem;
  background: var(--turquoise-glow);
  border-radius: 6px;
}

/* ═══════════════════════════════════════════════════
   iPhone 3D Mockup
   ═══════════════════════════════════════════════════ */
.hero-phone {
  display: flex;
  justify-content: center;
  perspective: 1000px;
  /* Container for floating widgets */
  position: relative;
}

/* Hero phone in split layout sticky column */
.phone-sticky .hero-phone {
  position: relative;
  top: auto;
}

.iphone-wrapper {
  position: relative;
  transform-style: preserve-3d;
  animation: float-phone 8s ease-in-out infinite;
  cursor: grab;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.iphone-wrapper:active {
  cursor: grabbing;
}

@keyframes float-phone {
  0% { transform: rotateY(-12deg) rotateX(4deg) translateY(0) translateZ(0); }
  25% { transform: rotateY(-8deg) rotateX(2deg) translateY(-8px) translateZ(10px); }
  50% { transform: rotateY(-5deg) rotateX(5deg) translateY(-12px) translateZ(20px); }
  75% { transform: rotateY(-10deg) rotateX(3deg) translateY(-6px) translateZ(5px); }
  100% { transform: rotateY(-12deg) rotateX(4deg) translateY(0) translateZ(0); }
}

.iphone {
  position: relative;
  transform-style: preserve-3d;
}

.iphone-frame {
  width: 290px;
  height: 590px;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 40%, #0d0d0d 100%);
  border-radius: 46px;
  padding: 10px;
  position: relative;
  box-shadow:
    /* Inner highlights */
    inset 0 1px 2px rgba(255,255,255,0.15),
    inset 0 -1px 2px rgba(0,0,0,0.4),
    inset 1px 0 1px rgba(255,255,255,0.05),
    /* Bezel edge */
    0 0 0 1px rgba(255,255,255,0.08),
    /* Layered shadows for depth */
    -2px 2px 8px rgba(0,0,0,0.4),
    -8px 8px 20px rgba(0,0,0,0.35),
    -16px 16px 40px rgba(0,0,0,0.3),
    -24px 24px 60px rgba(0,0,0,0.25),
    -32px 32px 80px rgba(0,0,0,0.2),
    /* Colored glow */
    0 0 80px rgba(255, 107, 53, 0.15),
    0 0 120px rgba(6, 182, 212, 0.1);
  transform-style: preserve-3d;
  transform: translateZ(0);
}

.iphone-frame::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 48px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.2) 0%,
    rgba(255,255,255,0.05) 30%,
    rgba(0,0,0,0.1) 70%,
    rgba(255,255,255,0.1) 100%
  );
  z-index: -1;
}

/* Side buttons */
.iphone-btn {
  position: absolute;
  background: linear-gradient(90deg, #2a2a2a, #3a3a3a, #2a2a2a);
  border-radius: 2px;
}
.iphone-btn-silent {
  left: -3px;
  top: 100px;
  width: 3px;
  height: 28px;
}
.iphone-btn-volume-up {
  left: -3px;
  top: 150px;
  width: 3px;
  height: 50px;
}
.iphone-btn-volume-down {
  left: -3px;
  top: 210px;
  width: 3px;
  height: 50px;
}
.iphone-btn-power {
  right: -3px;
  top: 160px;
  width: 3px;
  height: 70px;
}

/* Screen */
.iphone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
/* Ensure all screen content is above glare effects */
.iphone-screen > * {
  position: relative;
  z-index: 60;
}

.iphone-screen {
  --glare-x: 30%;
  --glare-y: 30%;
}
/* Screen reflection/glare effect */
.iphone-screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    /* Moving glare spot */
    radial-gradient(
      ellipse 80% 50% at var(--glare-x) var(--glare-y),
      rgba(255,255,255,0.15) 0%,
      rgba(255,255,255,0.05) 30%,
      transparent 60%
    ),
    /* Static top reflection */
    linear-gradient(
      165deg,
      rgba(255,255,255,0.08) 0%,
      rgba(255,255,255,0.02) 15%,
      transparent 40%
    );
  pointer-events: none;
  z-index: 50;
  border-radius: 38px;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}
.iphone-wrapper:hover .iphone-screen::before {
  opacity: 0.8;
}

/* Ambient light reflection on edges */
.iphone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 38px;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.08),
    inset 0 -1px 0 rgba(255,255,255,0.03);
  pointer-events: none;
  z-index: 51;
}

/* Dynamic Island */
.dynamic-island {
  width: 95px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.8);
}

/* Status bar */
.iphone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px 8px;
  position: relative;
  z-index: 5;
}
.iphone-time {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
}
.iphone-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}
.signal-icon, .wifi-icon {
  opacity: 0.9;
}
.battery-icon {
  width: 24px;
  height: 11px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 3px;
  padding: 1.5px;
  position: relative;
}
.battery-icon::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 0 1px 1px 0;
}
.battery-level {
  width: 80%;
  height: 100%;
  background: var(--green);
  border-radius: 1px;
}

/* App Header */
.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 12px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.app-back {
  padding: 4px;
  cursor: pointer;
}
.app-back svg path {
  stroke: var(--orange);
}
.app-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--turquoise) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.app-avatar-img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}
.app-info {
  flex: 1;
}
.app-name {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
}
.app-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
}
.online-dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}
.app-actions {
  padding: 4px;
  cursor: pointer;
}

/* Chat Input Bar */
.chat-input-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 24px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(20px);
}
.chat-input-field {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.chat-send-btn {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--turquoise) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.chat-send-btn:hover {
  transform: scale(1.1);
}
.chat-send-btn svg {
  margin-left: 2px;
}

/* Home Indicator */
.home-indicator {
  width: 120px;
  height: 4px;
  background: rgba(255,255,255,0.5);
  border-radius: 4px;
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
}

/* 3D Shadow beneath phone */
.iphone-shadow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%) rotateX(80deg);
  width: 260px;
  height: 60px;
  background:
    radial-gradient(ellipse 100% 100% at center, rgba(0, 0, 0, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at center, rgba(255, 107, 53, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at center, rgba(6, 182, 212, 0.15) 0%, transparent 60%);
  filter: blur(20px);
  animation: shadow-pulse 8s ease-in-out infinite;
}

@keyframes shadow-pulse {
  0%, 100% {
    transform: translateX(-50%) rotateX(80deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) rotateX(80deg) scale(1.1);
    opacity: 0.8;
  }
}
.chat {
  flex: 1;
  min-height: 200px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
}
.chat::-webkit-scrollbar {
  width: 3px;
}
.chat::-webkit-scrollbar-track {
  background: transparent;
}
.chat::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
}
.bubble {
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 0.78rem;
  line-height: 1.5;
  position: relative;
}
.bubble p { margin-bottom: 4px; }
.bubble p:last-of-type { margin-bottom: 0; }
.bubble.bot {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  border-bottom-left-radius: 4px;
  max-width: 90%;
}
.bubble.user {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  max-width: 80%;
}
.bubble .tip {
  color: var(--turquoise-light);
  font-style: italic;
  font-size: 0.75rem;
}
.bubble .time {
  display: block;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  text-align: right;
  margin-top: 4px;
}
.bubble.user .time { color: rgba(255,255,255,0.6); }
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  width: fit-content;
  border-bottom-left-radius: 4px;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--turquoise);
  border-radius: 50%;
  animation: typing 1.4s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.15s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.3; }
  30% { transform: translateY(-4px); opacity: 0.8; }
}

/* ─── Activity Card ─── */
.activity-alert {
  background: linear-gradient(135deg, var(--orange-glow), rgba(255,255,255,0.08)) !important;
  border: 1px solid rgba(255, 107, 53, 0.3);
}
.activity-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.activity-icon {
  font-size: 1.1rem;
}
.activity-badge {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--orange);
  color: white;
  padding: 3px 8px;
  border-radius: 20px;
}
.activity-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px !important;
}
.activity-metrics {
  display: flex;
  gap: 12px;
  background: rgba(0,0,0,0.2);
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 6px;
}
.metric {
  flex: 1;
  text-align: center;
}
.metric-val {
  display: block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: white;
}
.metric-label {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* ─── Chat Enhancements ─── */
.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--turquoise-light);
  margin-bottom: 6px !important;
}
.insight-list {
  list-style: none;
  padding: 0;
  margin: 0 0 4px 0;
}
.insight-list li {
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem;
}
.insight-list li:last-child {
  border-bottom: none;
}

/* ─── Suggestion Cards ─── */
.suggestion-cards {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.suggestion-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  font-size: 0.7rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: 1px solid transparent;
}
.suggestion-card:hover {
  background: var(--turquoise-glow);
  border-color: rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
}
.suggestion-icon {
  font-size: 1.2rem;
}

/* ─── Chat Animation ─── */
.chat-animate {
  animation: chatSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes chatSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.bubble.user.chat-animate {
  animation: chatSlideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes chatSlideInRight {
  from {
    opacity: 0;
    transform: translateX(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* ─── Sleep Visualization ─── */
.sleep-insight {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(255,255,255,0.08)) !important;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.sleep-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 10px 0;
}
.sleep-stage {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
}
.sleep-label {
  width: 50px;
  color: rgba(255,255,255,0.6);
}
.sleep-bar-track {
  flex: 1;
  height: 8px;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  overflow: hidden;
}
.sleep-bar {
  height: 100%;
  background: var(--purple);
  border-radius: 4px;
  transition: width 0.8s ease-out;
}
.sleep-bar.light {
  background: var(--turquoise);
}
.sleep-bar.rem {
  background: var(--orange-light);
}
.sleep-val {
  width: 35px;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.7);
}

/* ═══════════════════════════════════════════════════
   Logos Bar
   ═══════════════════════════════════════════════════ */
.logos {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  background: var(--bg-secondary);
}
.logos-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
}
.logos-track {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.logo-item {
  height: 24px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  opacity: 0.4;
  filter: invert(1) grayscale(1);
  transition: opacity 0.3s;
}
.logo-item:hover {
  opacity: 0.8;
}
.logo-more {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 12px;
  background: var(--turquoise-glow);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 20px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--turquoise);
}

/* ═══════════════════════════════════════════════════
   Sticky Phone Container (Hero through Features)
   ═══════════════════════════════════════════════════ */
.sticky-phone-container {
  position: relative;
  background: var(--bg-primary);
  /* Note: overflow must NOT be hidden/auto/scroll for sticky to work */
}

/* Hero background spans full width behind both columns */
.sticky-phone-container > .hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden; /* Contain particles/orbs here instead of parent */
}

/* Two-column sticky layout */
.sticky-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Left column: scrolling content */
.scroll-column {
  display: flex;
  flex-direction: column;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Hero section within scroll column */
.hero-section {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 4rem;
}

.hero-section .hero-text {
  max-width: 100%;
}

/* Reset section padding within scroll column */
.scroll-column .stats,
.scroll-column .how,
.scroll-column .features {
  padding: 4rem 0;
  background: transparent;
}

.scroll-column .stats::before {
  display: none;
}

.scroll-column .stats-grid,
.scroll-column .how-grid,
.scroll-column .bento-grid {
  max-width: none;
}

.scroll-column .section-header {
  text-align: left;
}

/* Stats in scroll column - 2x2 grid */
.scroll-column .stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

/* How in scroll column - vertical stack */
.scroll-column .how {
  background: transparent;
}

.scroll-column .how-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.scroll-column .how-connector {
  display: none;
}

/* Bento in scroll column - 2 columns */
.scroll-column .bento-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.scroll-column .bento-large {
  grid-column: span 2;
  grid-row: span 1;
}

.scroll-column .bento-wide {
  grid-column: span 2;
}

.scroll-column .bento-medium {
  grid-column: span 2;
}

/* Right column: sticky phone */
.phone-column {
  position: relative;
  padding-top: 8rem;
}

.phone-sticky {
  position: sticky;
  top: 80px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: fit-content;
  padding-bottom: 4rem;
}

/* Blur orbs behind the phone */
.phone-sticky::before,
.phone-sticky::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.phone-sticky::before {
  width: 400px;
  height: 400px;
  background: var(--orange);
  top: 0;
  right: -50px;
  animation: float-orb 15s ease-in-out infinite;
}

.phone-sticky::after {
  width: 350px;
  height: 350px;
  background: var(--turquoise);
  bottom: 100px;
  left: -50px;
  animation: float-orb 18s ease-in-out infinite reverse;
}

/* Phone in sticky column */
.phone-sticky .hero-phone {
  position: relative;
  top: auto;
  z-index: 1;
}

/* Scroll indicator positioning in hero */
.hero-section .scroll-indicator {
  position: relative;
  bottom: auto;
  top: auto;
  left: 0;
  transform: none;
  z-index: 10;
  margin-top: 3rem;
}

/* ═══════════════════════════════════════════════════
   Stats
   ═══════════════════════════════════════════════════ */
.stats {
  padding: 4rem 0;
  background: var(--bg-primary);
  position: relative;
}
.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--turquoise), transparent);
}
.stats-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-block {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.stat-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--turquoise));
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-block:hover {
  transform: translateY(-4px);
  border-color: var(--turquoise);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px var(--turquoise-glow);
}
.stat-block:hover::before {
  opacity: 1;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text-primary);
  line-height: 1;
  display: inline;
}
.stat-plus {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--orange);
  line-height: 1;
}
.stat-num.special {
  background: linear-gradient(135deg, var(--orange) 0%, var(--turquoise) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════
   How It Works
   ═══════════════════════════════════════════════════ */
.how {
  padding: 4rem 0;
  background: var(--bg-secondary);
}
.how-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.how-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.how-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--turquoise));
  opacity: 0;
  transition: opacity 0.3s;
}
.how-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.how-card:hover::before {
  opacity: 1;
}
.how-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--turquoise);
  margin-bottom: 1rem;
  font-weight: 500;
}
.how-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--orange-glow);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 1.25rem;
}
.how-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.how-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How Card Logos */
.how-logos-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
}
.how-logo {
  height: 28px;
  width: auto;
  opacity: 1;
  transition: transform 0.3s;
}
.how-card:hover .how-logo {
  transform: scale(1.1);
}
.how-logo-more {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-tertiary);
  padding: 0.25rem 0.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-xs);
}

.how-revna-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--orange-glow), var(--turquoise-glow));
  border-radius: var(--radius-sm);
  position: relative;
}
.how-revna-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--orange), var(--turquoise));
  border-radius: var(--radius-sm);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s;
}
.how-card:hover .how-revna-wrap::before {
  opacity: 0.5;
}
.how-revna-logo {
  width: 40px;
  height: 40px;
}

.how-telegram-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  color: #26A5E4;
  transition: background 0.3s, transform 0.3s;
}
.how-card:hover .how-telegram-wrap {
  background: #26A5E4;
  color: white;
  transform: scale(1.05);
}
.how-telegram-logo {
  width: 32px;
  height: 32px;
}

/* How Connectors */
.how-connector {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4rem;
  height: 20px;
  color: var(--turquoise);
  opacity: 0.4;
  z-index: 10;
}
.how-connector svg {
  width: 100%;
  height: 100%;
}
.how-card:last-child .how-connector {
  display: none;
}

/* Final card icon glow */
.how-icon-final {
  background: var(--turquoise-glow);
  border-color: rgba(6, 182, 212, 0.2);
  color: var(--turquoise);
}

/* ═══════════════════════════════════════════════════
   How Flow Diagram (Vertical)
   ═══════════════════════════════════════════════════ */
.how-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 100%;
  padding: 1rem;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.flow-step:hover {
  transform: scale(1.02);
  border-color: var(--border-light);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--border-light);
}

.flow-step-main {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(6, 182, 212, 0.08));
  border-color: rgba(255, 107, 53, 0.2);
}
.flow-step-main:hover {
  transform: scale(1.02);
  border-color: var(--orange);
  box-shadow: 0 8px 40px rgba(255, 107, 53, 0.2), 0 0 0 1px var(--orange);
}

/* Wearable icon (single smartwatch) */
.flow-wearable-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: transform 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}
.flow-wearable-icon svg {
  width: 32px;
  height: 32px;
}
.flow-step:hover .flow-wearable-icon {
  color: var(--turquoise);
  border-color: var(--turquoise);
  transform: scale(1.08);
  box-shadow: 0 0 20px var(--turquoise-glow);
}

/* Revna logo */
.flow-revna {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--orange-glow-strong), var(--turquoise-glow));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.flow-revna::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--orange), var(--turquoise));
  border-radius: var(--radius-sm);
  z-index: -1;
  opacity: 0.4;
}
.flow-revna-logo {
  width: 36px;
  height: 36px;
  filter: invert(1);
}

/* Telegram logo */
.flow-telegram {
  width: 56px;
  height: 56px;
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #26A5E4;
  transition: background 0.3s, transform 0.3s;
  flex-shrink: 0;
}
.flow-telegram svg {
  width: 28px;
  height: 28px;
}
.flow-step:hover .flow-telegram {
  background: #26A5E4;
  color: white;
  transform: scale(1.08);
}

/* Text content */
.flow-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.flow-label {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.flow-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Animated connectors */
.flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 0;
  position: relative;
}
.flow-line {
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--turquoise) 100%);
  border-radius: 2px;
  opacity: 0.4;
}
.flow-dot {
  width: 6px;
  height: 6px;
  background: var(--turquoise);
  border-radius: 50%;
  opacity: 0;
  animation: flow-dot-pulse 2s ease-in-out infinite;
}
.flow-dot:nth-child(2) {
  animation-delay: 0s;
}
.flow-dot:nth-child(3) {
  animation-delay: 0.3s;
}
.flow-dot:nth-child(4) {
  animation-delay: 0.6s;
}

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

/* ═══════════════════════════════════════════════════
   Features — Bento Grid
   ═══════════════════════════════════════════════════ */
.features {
  padding: 4rem 0;
  background: var(--bg-primary);
}

/* Bento Grid */
.bento-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto auto;
  gap: 1.5rem;
}


.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
  pointer-events: none;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bento-large { grid-column: span 2; grid-row: span 2; padding: 2rem; }
.bento-small { grid-column: span 1; }
.bento-medium { grid-column: span 2; }
.bento-wide { grid-column: span 3; }

.bento-dark { background: var(--bg-secondary); }
.bento-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, var(--bg-card) 100%);
  border-color: rgba(168, 85, 247, 0.2);
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin-bottom: 0.75rem;
  display: block;
}
.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.bento-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.bento-card > p strong { color: var(--text-primary); }
.bento-caption {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: auto;
}
.bento-visual {
  margin-top: 1.5rem;
}

/* Notification Stack */
.notif-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.notif-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}
.notif-card:hover {
  transform: translateX(8px);
  box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.2);
}
.notif-icon { font-size: 1.25rem; }
.notif-content { flex: 1; }
.notif-title {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-primary);
}
.notif-desc {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.notif-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  background: var(--orange-glow);
  color: var(--orange);
  border-radius: 4px;
}
.notif-badge.turquoise {
  background: var(--turquoise-glow);
  color: var(--turquoise);
}
.notif-badge.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
}

/* Readiness Ring */
.readiness-display {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
}
.readiness-ring {
  width: 100px;
  height: 100px;
}
.readiness-value {
  position: absolute;
  text-align: center;
}
.readiness-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--text-primary);
  line-height: 1;
}
.readiness-label {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* HRV Mini */
.hrv-mini {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.5rem 0;
}
.hrv-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--text-primary);
}
.hrv-value small {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-tertiary);
}
.hrv-trend {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
}
.hrv-trend.up { color: var(--green); }
.hrv-sparkline {
  width: 100%;
  height: 40px;
  margin: 0.5rem 0;
}

/* Training Mini Bars */
.training-mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 80px;
  margin: 1rem 0;
}
.tmb {
  flex: 1;
  height: var(--h);
  background: var(--c);
  border-radius: 4px 4px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 4px;
  transition: height 0.8s ease-out;
}
.tmb span {
  font-size: 0.6rem;
  color: var(--text-tertiary);
  padding-bottom: 4px;
  transform: translateY(20px);
}
.training-mini-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.training-mini-stats strong { color: var(--text-primary); }
.training-mini-stats .accent { color: var(--orange); }

/* Empathy Mini */
.empathy-mini {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.empathy-q {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--orange-glow);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius-sm);
}
.empathy-q-icon { font-size: 1.25rem; }
.empathy-q p {
  font-size: 0.9rem;
  color: var(--orange);
  font-style: italic;
  margin: 0;
}
.empathy-a {
  display: flex;
  gap: 0.75rem;
}
.empathy-a-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--turquoise) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.empathy-a-logo {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}
.empathy-a-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}
.empathy-a-content strong { color: var(--text-primary); }
.empathy-tip {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--turquoise);
  padding: 0.25rem 0.5rem;
  background: var(--turquoise-glow);
  border-radius: 4px;
}

/* Sleep Mini */
.sleep-mini {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0.5rem 0;
}
.sleep-score {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--purple);
}
.sleep-bars-mini {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sbm {
  height: 8px;
  width: var(--w);
  background: var(--purple);
  border-radius: 4px;
  position: relative;
}
.sbm.light { background: var(--turquoise); }
.sbm.rem { background: var(--orange-light); }
.sbm span {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translate(100%, -50%);
  font-size: 0.55rem;
  color: var(--text-tertiary);
  padding-left: 6px;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   Interactive Charts & Graphs
   ═══════════════════════════════════════════════════ */

/* Readiness Ring - hover interaction */
.readiness-display {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.readiness-display:hover {
  transform: scale(1.05);
}
.readiness-ring circle:last-of-type {
  transition: stroke-dashoffset 0.8s ease, filter 0.3s ease;
}
.readiness-display:hover .readiness-ring circle:last-of-type {
  filter: drop-shadow(0 0 8px var(--turquoise));
}
.readiness-display:hover .readiness-num {
  color: var(--turquoise);
  transition: color 0.3s ease;
}

/* HRV Sparkline - interactive with hover points */
.hrv-sparkline {
  cursor: crosshair;
  transition: filter 0.3s ease;
}
.hrv-sparkline:hover {
  filter: drop-shadow(0 0 6px var(--turquoise));
}
.hrv-sparkline polyline {
  transition: stroke-width 0.3s ease;
}
.hrv-sparkline:hover polyline {
  stroke-width: 3;
}

/* Training Bars - hover with tooltip */
.tmb {
  cursor: pointer;
  position: relative;
  transition: height 0.8s ease-out, transform 0.2s ease, filter 0.2s ease;
}
.tmb:hover {
  transform: scaleY(1.1);
  transform-origin: bottom;
  filter: brightness(1.2) drop-shadow(0 0 8px var(--c));
}
.tmb::after {
  content: attr(data-value);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-primary);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}
.tmb:hover::after {
  opacity: 1;
}

/* Sleep Bars - hover interaction */
.sbm {
  cursor: pointer;
  transition: width 0.5s ease, transform 0.2s ease, filter 0.2s ease;
}
.sbm:hover {
  transform: scaleX(1.05);
  transform-origin: left;
  filter: brightness(1.3);
}
.sleep-bars-mini {
  cursor: pointer;
}
.sleep-mini:hover .sleep-score {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Notification Stack - hover to expand */
.notif-stack {
  cursor: pointer;
}
.notif-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.notif-stack:hover .notif-1 {
  transform: translateY(-8px);
}
.notif-stack:hover .notif-2 {
  transform: translateY(-4px);
}
.notif-stack:hover .notif-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ═══════════════════════════════════════════════════
   Testimonials
   ═══════════════════════════════════════════════════ */
.testimonials {
  padding: 6rem 2rem;
  background: var(--bg-secondary);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--turquoise));
  opacity: 0;
  transition: opacity 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.testimonial-card:hover::before {
  opacity: 1;
}
.testimonial-quote {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  color: var(--orange);
  opacity: 0.2;
}
.testimonial-quote svg {
  width: 100%;
  height: 100%;
}
.testimonial-content {
  flex: 1;
  margin-bottom: 1.5rem;
}
.testimonial-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.testimonial-content strong {
  color: var(--turquoise);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
}
.testimonial-name {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════════════ */
.cta {
  padding: 6rem 2rem;
  background: var(--bg-primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--orange-glow-strong) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-origin {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.cta-em {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-secondary);
}
.cta-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 2.5rem;
}
.cta .waitlist-form {
  max-width: 500px;
  margin: 0 auto;
}

/* CTA Background */
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.cta-orb-1 {
  width: 400px;
  height: 400px;
  background: var(--orange);
  top: -100px;
  right: -100px;
  animation: float-shape 20s ease-in-out infinite;
}
.cta-orb-2 {
  width: 300px;
  height: 300px;
  background: var(--turquoise);
  bottom: -100px;
  left: -100px;
  animation: float-shape 25s ease-in-out infinite reverse;
}

/* CTA Badge */
.cta-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-glow);
  border: 1px solid rgba(255, 107, 53, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
}

/* CTA Reassurance */
.cta-reassurance {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 1rem;
}

/* CTA Form pulse animation */
.cta-form button {
  animation: cta-pulse 2s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════ */
footer {
  padding: 3rem 2rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}
.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-main {
  text-align: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.footer-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--orange);
}
.footer-link svg {
  width: 18px;
  height: 18px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}
.footer-made {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════ */

/* Large screens - adjust sticky layout gap */
@media (max-width: 1200px) {
  .sticky-layout {
    gap: 2rem;
    padding: 0 1.5rem;
  }
  .phone-sticky .iphone-frame {
    width: 260px;
    height: 530px;
  }
}

/* Medium screens - single column, phone hidden */
@media (max-width: 900px) {
  .sticky-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .scroll-column {
    padding-top: 3rem;
  }

  .hero-section {
    min-height: 60vh;
    text-align: center;
  }

  .hero-section .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-section .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section .waitlist-form {
    margin: 0 auto;
  }

  .hero-section .hero-wearables {
    justify-content: center;
  }

  .phone-column {
    display: none;
  }

  .hero-section .scroll-indicator {
    margin-top: 2rem;
  }

  .scroll-column .stats,
  .scroll-column .how,
  .scroll-column .features {
    padding: 4rem 0;
  }

  .scroll-column .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .scroll-column .how-grid {
    max-width: 480px;
    margin: 0 auto;
  }

  .scroll-column .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title { font-size: clamp(2rem, 7vw, 3rem); }
  .hero-raven-watermark { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-block { padding: 1.5rem; }

  .how-grid { grid-template-columns: 1fr; max-width: 480px; }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large { grid-column: span 2; grid-row: span 1; }
  .bento-wide { grid-column: span 2; }
  .bento-medium { grid-column: span 2; }

  .nav-links { display: none; }
  .nav-spots { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 600px) {
  .nav { padding: 0.75rem 1rem; }
  .nav-brand { font-size: 1.1rem; }
  .nav-brand span { display: none; }

  .sticky-layout {
    padding: 0 1.25rem;
  }

  .scroll-column {
    padding-top: 3rem;
  }

  .hero-section {
    min-height: 50vh;
  }

  .waitlist-form { flex-direction: column; }
  .waitlist-form button { width: 100%; padding: 0.9rem; }

  .iphone-frame { width: 250px; height: 510px; }
  .iphone-wrapper { animation: none; transform: rotateY(0) rotateX(0); }

  .scroll-column .stats,
  .scroll-column .how,
  .scroll-column .features {
    padding: 3rem 0;
  }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .scroll-column .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .how, .features, .testimonials { padding: 4rem 1.25rem; }
  .scroll-column .how { padding: 3rem 0; }
  .section-header { margin-bottom: 1.5rem; }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .scroll-column .bento-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .bento-large,
  .bento-wide,
  .bento-medium,
  .bento-small,
  .scroll-column .bento-large,
  .scroll-column .bento-wide,
  .scroll-column .bento-medium {
    grid-column: span 1;
    grid-row: span 1;
  }
  .bento-card { padding: 1.25rem; }

  .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Hide connectors on mobile */
  .how-connector { display: none; }

  /* Footer mobile */
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .footer-links { flex-direction: column; gap: 1rem; }
}

/* ═══════════════════════════════════════════════════
   Smartwatch Visual
   ═══════════════════════════════════════════════════ */
.smartwatch-float {
  position: absolute;
  top: -20px;
  left: -120px;
  z-index: 10;
  animation: float-watch 5s ease-in-out infinite;
}
@keyframes float-watch {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-15px) rotate(-3deg); }
}
.smartwatch {
  width: 90px;
  height: 110px;
  background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 20px;
  padding: 6px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.4),
    0 0 60px var(--turquoise-glow),
    inset 0 1px 1px rgba(255,255,255,0.1);
  position: relative;
}
.smartwatch::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 14px;
  background: linear-gradient(180deg, #333 0%, #222 100%);
  border-radius: 4px 4px 0 0;
}
.smartwatch::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 14px;
  background: linear-gradient(180deg, #222 0%, #333 100%);
  border-radius: 0 0 4px 4px;
}
.smartwatch-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  gap: 4px;
}
.sw-time {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-tertiary);
}
.sw-metric {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sw-ring {
  position: absolute;
  width: 100%;
  height: 100%;
}
.sw-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--text-primary);
}
.sw-label {
  font-size: 0.5rem;
  color: var(--turquoise);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sw-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  margin-top: 4px;
}
.sw-bars span {
  width: 6px;
  background: linear-gradient(180deg, var(--orange) 0%, var(--turquoise) 100%);
  border-radius: 2px;
  animation: sw-bar-pulse 2s ease-in-out infinite;
}
.sw-bars span:nth-child(1) { animation-delay: 0s; }
.sw-bars span:nth-child(2) { animation-delay: 0.2s; }
.sw-bars span:nth-child(3) { animation-delay: 0.4s; }
.sw-bars span:nth-child(4) { animation-delay: 0.6s; }
.sw-bars span:nth-child(5) { animation-delay: 0.8s; }
@keyframes sw-bar-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.sw-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 120px;
  border: 1px solid var(--turquoise);
  border-radius: 24px;
  opacity: 0;
  animation: sw-pulse-anim 3s ease-out infinite;
}
.sw-pulse-2 {
  animation-delay: 1.5s;
}
@keyframes sw-pulse-anim {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* ═══════════════════════════════════════════════════
   Data Visualization Animations
   ═══════════════════════════════════════════════════ */
/* Animated gradient lines */
.data-flow-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--turquoise), var(--orange), transparent);
  background-size: 200% 100%;
  animation: data-flow 3s linear infinite;
}
@keyframes data-flow {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Glowing dots */
.glow-dot {
  width: 6px;
  height: 6px;
  background: var(--turquoise);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--turquoise), 0 0 20px var(--turquoise);
  animation: glow-pulse 2s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Animated icon wrapper */
.icon-animated {
  position: relative;
}
.icon-animated::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow) 0%, transparent 70%);
  opacity: 0;
  animation: icon-glow 3s ease-in-out infinite;
}
@keyframes icon-glow {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Floating particles */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--turquoise);
  border-radius: 50%;
  opacity: 0.3;
  animation: particle-float 10s ease-in-out infinite;
}
@keyframes particle-float {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(30px, -20px); }
  50% { transform: translate(10px, 30px); }
  75% { transform: translate(-20px, 10px); }
}

/* Grid pattern animation */
.grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: grid-shift 20s linear infinite;
  pointer-events: none;
}
@keyframes grid-shift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

/* Scanning line effect */
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--turquoise), transparent);
  animation: scan 4s ease-in-out infinite;
}
@keyframes scan {
  0%, 100% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Corner brackets decoration */
.corner-bracket {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--turquoise);
  opacity: 0.3;
}
.corner-bracket.top-left {
  top: 0; left: 0;
  border-right: none; border-bottom: none;
}
.corner-bracket.top-right {
  top: 0; right: 0;
  border-left: none; border-bottom: none;
}
.corner-bracket.bottom-left {
  bottom: 0; left: 0;
  border-right: none; border-top: none;
}
.corner-bracket.bottom-right {
  bottom: 0; right: 0;
  border-left: none; border-top: none;
}

/* ═══════════════════════════════════════════════════
   Section Decorations
   ═══════════════════════════════════════════════════ */
.section-deco {
  position: absolute;
  pointer-events: none;
}

/* Stats section enhancements */
.stats {
  position: relative;
  overflow: hidden;
}
.stats .floating-shape-1 {
  position: absolute;
  top: 20%;
  left: -5%;
  width: 200px;
  height: 200px;
  background: var(--orange);
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.1;
}
.stats .floating-shape-2 {
  position: absolute;
  bottom: 10%;
  right: -5%;
  width: 150px;
  height: 150px;
  background: var(--turquoise);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.1;
}

/* How section decorations */
.how {
  position: relative;
  overflow: visible;
}
.how .grid-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}
.how-card .how-icon-wrap {
  transition: transform 0.3s, box-shadow 0.3s;
}
.how-card:hover .how-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 30px var(--orange-glow);
}

/* Features section glow lines */
.features {
  position: relative;
}
.features::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--turquoise) 50%, transparent 100%);
  opacity: 0.1;
}
.features::after {
  content: '';
  position: absolute;
  bottom: 30%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--orange) 50%, transparent 100%);
  opacity: 0.1;
}

/* Bento card enhancements */
.bento-card {
  position: relative;
  overflow: hidden;
}
.bento-card .scan-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: bento-scan 5s ease-in-out infinite;
}
@keyframes bento-scan {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  .hero-gradient-orb { animation: none; }
  .iphone-wrapper { animation: none; }
  .typing-indicator span { animation: none; opacity: 0.5; }
  .smartwatch-float { animation: none; transform: rotate(-5deg); }
  .sw-bars span { animation: none; opacity: 0.8; }
  .sw-pulse { animation: none; display: none; }
  .particle { animation: none; }
  .grid-pattern { animation: none; }
  .scan-line { animation: none; display: none; }
  .bento-card .scan-effect { animation: none; display: none; }
}

/* ═══════════════════════════════════════════════════
   Floating Data Widgets
   ═══════════════════════════════════════════════════ */

/* Base floating widget styles */
.floating-widget {
  position: absolute;
  background: rgba(26, 26, 36, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(6, 182, 212, 0.1);
  z-index: 5;
  pointer-events: none;
}

/* Pulse ring effect for all widgets */
.floating-widget::before,
.floating-widget::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--turquoise);
  border-radius: 20px;
  opacity: 0;
  animation: widget-pulse 3s ease-out infinite;
}
.floating-widget::after {
  animation-delay: 1.5s;
}
@keyframes widget-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0; }
}

/* Orange pulse variant */
.floating-widget.pulse-orange::before,
.floating-widget.pulse-orange::after {
  border-color: var(--orange);
}

/* Purple pulse variant */
.floating-widget.pulse-purple::before,
.floating-widget.pulse-purple::after {
  border-color: var(--purple);
}

/* HRV floating widget - top right of phone */
.floating-hrv {
  right: -130px;
  top: 20px;
  animation: float-widget 6s ease-in-out infinite;
}
.floating-hrv .widget-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--turquoise);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.floating-hrv .widget-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  line-height: 1;
}
.floating-hrv .widget-value small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-tertiary);
}
.floating-hrv .widget-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--green);
  margin-left: 8px;
}
.floating-hrv .mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
  margin-top: 8px;
}
.floating-hrv .mini-chart span {
  width: 4px;
  background: var(--turquoise);
  border-radius: 2px;
  opacity: 0.6;
}

@keyframes float-widget {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

/* Sleep score floating widget - bottom right of phone */
.floating-sleep {
  right: -130px;
  bottom: 60px;
  animation: float-widget-alt 7s ease-in-out infinite;
}
.floating-sleep .sleep-ring-mini {
  width: 50px;
  height: 50px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floating-sleep .sleep-ring-mini svg {
  position: absolute;
  width: 100%;
  height: 100%;
}
.floating-sleep .sleep-score-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--purple);
}
.floating-sleep .widget-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-sleep .sleep-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.floating-sleep .sleep-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.floating-sleep .sleep-duration {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

@keyframes float-widget-alt {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

/* Body battery floating widget */
.floating-battery {
  right: 8%;
  bottom: 30%;
  animation: float-widget 5s ease-in-out infinite 1s;
}
.floating-battery .battery-visual {
  display: flex;
  align-items: center;
  gap: 8px;
}
.floating-battery .battery-bar {
  width: 40px;
  height: 18px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.floating-battery .battery-bar::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 8px;
  background: rgba(255,255,255,0.2);
  border-radius: 0 2px 2px 0;
}
.floating-battery .battery-level-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--green));
  border-radius: 4px;
  transition: width 0.5s ease;
}
.floating-battery .battery-info {
  display: flex;
  flex-direction: column;
}
.floating-battery .battery-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1;
}
.floating-battery .battery-label {
  font-size: 0.55rem;
  color: var(--text-tertiary);
}

/* Heart rate floating widget - left of phone, middle */
.floating-hr {
  left: -120px;
  top: 200px;
  animation: float-widget-alt 6s ease-in-out infinite 0.5s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-hr .hr-icon {
  width: 32px;
  height: 32px;
  background: rgba(239, 68, 68, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: hr-pulse 1s ease-in-out infinite;
}
@keyframes hr-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.floating-hr .hr-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--red);
}
.floating-hr .hr-info {
  display: flex;
  flex-direction: column;
}
.floating-hr .hr-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  line-height: 1;
}
.floating-hr .hr-val small {
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-tertiary);
}
.floating-hr .hr-label {
  font-size: 0.55rem;
  color: var(--red);
  text-transform: uppercase;
}

/* Steps floating widget - right of phone */
.floating-steps {
  right: -140px;
  top: 240px;
  animation: float-widget 8s ease-in-out infinite 2s;
}
.floating-steps .steps-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.floating-steps .steps-icon {
  font-size: 1.2rem;
}
.floating-steps .steps-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}
.floating-steps .steps-progress {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.floating-steps .steps-progress-bar {
  height: 100%;
  width: 72%;
  background: linear-gradient(90deg, var(--turquoise), var(--orange));
  border-radius: 2px;
}
.floating-steps .steps-goal {
  font-size: 0.55rem;
  color: var(--text-tertiary);
  margin-top: 4px;
}

/* Calories floating widget - left bottom of phone */
.floating-calories {
  left: -130px;
  bottom: 60px;
  animation: float-widget-alt 7s ease-in-out infinite 1.5s;
}
.floating-calories .cal-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.floating-calories .cal-ring {
  width: 36px;
  height: 36px;
  position: relative;
}
.floating-calories .cal-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.floating-calories .cal-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}
.floating-calories .cal-info {
  display: flex;
  flex-direction: column;
}
.floating-calories .cal-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1;
}
.floating-calories .cal-label {
  font-size: 0.55rem;
  color: var(--text-tertiary);
}

/* Stress floating widget - left of phone, below heart rate */
.floating-stress {
  left: -120px;
  top: 320px;
  animation: float-widget 6s ease-in-out infinite 3s;
}
.floating-stress .stress-meter {
  display: flex;
  gap: 3px;
  margin-bottom: 4px;
}
.floating-stress .stress-meter span {
  width: 8px;
  height: 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}
.floating-stress .stress-meter span.active {
  background: var(--green);
}
.floating-stress .stress-meter span.active.medium {
  background: var(--orange);
}
.floating-stress .stress-label {
  font-size: 0.6rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* All 7 widgets now visible */

/* Smartwatch and widgets responsive for split layout */
@media (max-width: 1200px) {
  .phone-sticky .floating-widget {
    transform: scale(0.85);
  }
  .phone-sticky .smartwatch-float {
    transform: scale(0.9) rotate(-5deg);
  }
}

@media (max-width: 1100px) {
  .phone-sticky .floating-widget {
    transform: scale(0.75);
  }
}

/* Phone column hidden on mobile - widgets go with it */
@media (max-width: 900px) {
  .phone-column {
    display: none;
  }
}
