/* ═══════════════════════════════════════════════════════════════════
   FlowEnergy AI — Landing page styles (no violet · blue + green only)
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --background: 220 45% 4%;
  --foreground: 40 6% 95%;
  --hero-sub:   40 6% 82%;
}

html, body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  scroll-behavior: smooth;
}

/* ═══ Fixed background video (spans full page) ═══════════════════════ */
.bg-video-fixed {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.bg-video-fixed.loaded { opacity: 1; }

/* Slight hue shift toward blue/green to tone down violet */
.bg-video-tint {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(0, 122, 255, 0.18), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(51, 199, 102, 0.12), transparent 55%);
  mix-blend-mode: screen;
}

/* Dark overlay for text readability over video */
.bg-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(4, 8, 18, 0.35) 0%,
      rgba(4, 8, 18, 0.55) 60vh,
      rgba(4, 8, 18, 0.65) 100vh);
}

/* All page content sits above video + overlays */
body > section,
body > footer {
  position: relative;
  z-index: 10;
}

/* ═══ Typography utilities ═══════════════════════════════════════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: hsl(var(--foreground) / 0.55);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.dot-blue {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #66B3FF, #33C766);
  box-shadow: 0 0 12px rgba(102, 179, 255, 0.7);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 12px rgba(102, 179, 255, 0.7); }
  50%      { box-shadow: 0 0 18px rgba(51, 199, 102, 0.9); }
}
.headline-lg {
  font-family: "General Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.03;
  letter-spacing: -0.024em;
  max-width: 900px;
  margin: 0 auto;
}
.headline-md {
  font-family: "General Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.024em;
}
.sub-lg {
  color: hsl(var(--hero-sub));
  opacity: 0.72;
  font-size: 17px;
  line-height: 1.6;
  max-width: 580px;
  margin: 22px auto 0;
}
.sub-md {
  color: hsl(var(--hero-sub));
  opacity: 0.72;
  font-size: 16px;
  line-height: 1.65;
  margin-top: 18px;
  max-width: 480px;
}
.grad-text {
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ═══ Section halos (hidden — video now the shared backdrop) ═════════ */
.section-halo { display: none; }

.section-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  opacity: 0.55;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}
.section-glow-blue {
  background: radial-gradient(ellipse at center, rgba(0,122,255,0.45), transparent 70%);
}
.section-glow-green {
  background: radial-gradient(ellipse at center, rgba(51,199,102,0.35), rgba(0,122,255,0.25) 50%, transparent 75%);
}

/* ═══ Navbar ═════════════════════════════════════════════════════════ */
.nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: hsl(var(--foreground) / 0.9);
  transition: color 200ms ease;
  padding: 6px 0;
}
.nav-item:hover { color: hsl(var(--foreground)); }

/* ═══ Liquid glass (core design token) ═══════════════════════════════ */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ═══ Press marquee (hero) ═══════════════════════════════════════════ */
.marquee-track {
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-press {
  font-family: "General Sans", serif;
  font-size: 22px;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.55);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color 200ms ease;
}
.marquee-press:hover { color: hsl(var(--foreground) / 0.9); }

/* ═══ App Store button ═══════════════════════════════════════════════ */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1a1d28, #0b0d14);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 10px 30px -10px rgba(0, 122, 255, 0.4),
    0 4px 12px -4px rgba(0,0,0,0.5);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease;
  position: relative;
  overflow: hidden;
}
.app-store-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15), transparent 70%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
}
.app-store-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    0 16px 40px -10px rgba(0, 122, 255, 0.55);
}
.app-store-btn:hover::after { transform: translateX(120%); }

/* ═══ Phone showcase wrapper (bulletproof width) ═════════════════════ */
.phone-showcase {
  position: relative;
  width: 280px;
  flex-shrink: 0;
  flex-grow: 0;
}

/* ═══ Phone frame ════════════════════════════════════════════════════ */
.phone-frame {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  margin: 0 auto;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(135deg, #3d4356 0%, #181b24 50%, #2e3344 100%);
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.14),
    inset 0 0 0 1px rgba(102, 179, 255, 0.08),
    0 30px 80px -20px rgba(0, 122, 255, 0.35),
    0 20px 60px -10px rgba(0, 0, 0, 0.75);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 500ms ease;
}
.phone-frame.phone-hero {
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(102, 179, 255, 0.12),
    0 40px 100px -20px rgba(0, 122, 255, 0.45),
    0 25px 70px -10px rgba(51, 199, 102, 0.15),
    0 20px 60px -10px rgba(0, 0, 0, 0.8);
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 98px;
  height: 28px;
  border-radius: 999px;
  background: #000;
  z-index: 3;
  box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.08);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: #0a0f1c;
}
.phone-screen[data-loaded="true"] .phone-fallback { display: none; }

/* ═══ Phone fallback UI mock (shows when no screenshot) ══════════════ */
.phone-fallback {
  position: absolute;
  inset: 0;
  padding: 32px 16px 16px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 30% 15%, rgba(102, 179, 255, 0.30), transparent 60%),
    radial-gradient(ellipse at 75% 85%, rgba(51, 199, 102, 0.22), transparent 60%),
    linear-gradient(180deg, #0d1424 0%, #0a0f1c 60%, #081224 100%);
  color: #fff;
}
.pf-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Geist", sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 0 12px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}
.pf-icons { display: flex; gap: 5px; opacity: 0.9; }
.pf-greet {
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  padding: 0 12px;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.pf-ring-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 14px 0 18px;
}
.pf-ring {
  width: 130px;
  height: 130px;
  filter: drop-shadow(0 0 14px rgba(102, 179, 255, 0.5));
}
.pf-ring-fill {
  animation: ring-draw 2s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes ring-draw {
  from { stroke-dashoffset: 364; }
}
.pf-ring-label {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.pf-ring-num {
  font-family: "General Sans", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
}
.pf-ring-unit {
  font-family: "General Sans", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
}
.pf-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 12px;
  margin-bottom: 12px;
}
.pf-card {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
}
.pf-card-label {
  font-family: "Geist", sans-serif;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.45);
  margin-bottom: 3px;
}
.pf-card-val {
  font-family: "General Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}
.pf-bottom {
  margin-top: auto;
  padding: 0 12px 8px;
}
.pf-fix {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(102,179,255,0.15), rgba(51,199,102,0.08));
  border: 1px solid rgba(102,179,255,0.2);
}
.pf-fix-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #66B3FF, #007AFF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  box-shadow: 0 4px 14px -4px rgba(0, 122, 255, 0.7);
}
.pf-fix-title {
  font-family: "General Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.pf-fix-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
}

/* ═══ Phone fallback — Apple Health vitals mock ══════════════════════ */
.pf-vitals-mock {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
}
.pfv-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}
.pfv-icon {
  width: 24px; height: 24px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pfv-label {
  flex: 1;
  font-family: "Geist", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
}
.pfv-val {
  font-family: "General Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.pfv-unit {
  font-size: 9px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-left: 2px;
}

/* ═══ Phone fallback — Coach messages mock ══════════════════════════ */
.pf-coach-msgs {
  flex: 1;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}
.pf-coach-msg {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 14px;
  font-family: "Geist", sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.35;
}
.pf-coach-msg-ai {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.85);
  align-self: flex-start;
  max-width: 88%;
}
.pf-coach-msg-user {
  background: linear-gradient(135deg, #66B3FF, #007AFF);
  color: #fff;
  align-self: flex-end;
  max-width: 78%;
  box-shadow: 0 4px 14px -4px rgba(0, 122, 255, 0.6);
}
.pf-coach-icon {
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1;
  margin-top: -1px;
}

/* ═══ Floating chips on phones ═══════════════════════════════════════ */
.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(16, 20, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 24px -4px rgba(0,0,0,0.6);
  white-space: nowrap;
  z-index: 4;
  animation: chip-float 5s ease-in-out infinite;
}
.floating-chip-tr { top: 10%;    right: -16%; animation-delay: 0.4s; }
.floating-chip-tl { top: 10%;    left: -16%;  animation-delay: 0.4s; }
.floating-chip-bl { bottom: 14%; left: -18%;  animation-delay: 1.2s; }
.floating-chip-br { bottom: 14%; right: -18%; animation-delay: 1.2s; }
.chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ═══ Liquid-glass chips (differentiator benefits) ═══════════════════ */
.lg-chip {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.015);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 300ms ease, transform 300ms ease, background 300ms ease;
  position: relative;
  overflow: hidden;
}
.lg-chip::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.lg-chip:hover {
  border-color: rgba(102, 179, 255, 0.25);
  background: rgba(255,255,255,0.025);
  transform: translateX(4px);
}
.lg-chip-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px -6px rgba(0, 122, 255, 0.4);
}
.lg-chip-title {
  font-family: "General Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.lg-chip-sub {
  font-size: 13px;
  color: hsl(var(--hero-sub) / 0.65);
  line-height: 1.45;
}

/* ═══ Rating card ════════════════════════════════════════════════════ */
.lg-rating {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255,255,255,0.015);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.lg-rating::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

/* ═══ Pillar cards (4 icon-only cards) ═══════════════════════════════ */
.pillar-card {
  position: relative;
  padding: 28px 26px 26px;
  border-radius: 22px;
  background: rgba(255,255,255,0.015);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.07);
  transition: transform 400ms ease, border-color 400ms ease, background 400ms ease;
  overflow: hidden;
}
.pillar-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}
.pillar-card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 0%, rgba(102, 179, 255, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
}
.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(102, 179, 255, 0.22);
  background: rgba(255,255,255,0.025);
}
.pillar-card:hover::after { opacity: 1; }
.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 28px -8px rgba(0, 122, 255, 0.5);
  position: relative;
  z-index: 1;
}
.pillar-title {
  font-family: "General Sans", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.pillar-desc {
  color: hsl(var(--hero-sub) / 0.7);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 18px;
}
.pillar-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.55);
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}
.pillar-meta-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

/* ═══ Check row (feature lists) ══════════════════════════════════════ */
.check-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: hsl(var(--foreground) / 0.9);
  font-size: 15px;
}
.check-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #66B3FF, #007AFF);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -2px rgba(0, 122, 255, 0.5);
}

/* ═══ Vitals (Apple Health section) ══════════════════════════════════ */
.vital {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.vital-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 6px 14px -4px rgba(0,0,0,0.4);
}
.vital-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: hsl(var(--foreground) / 0.45);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.vital-val {
  font-family: "General Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
}
.vital-unit {
  font-size: 12px;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.5);
  margin-left: 2px;
}

/* ═══ AI accent card (glass, dark with blue/green halo) ══════════════ */
.ai-accent-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(0, 122, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 85% 85%, rgba(51, 199, 102, 0.18), transparent 55%),
    linear-gradient(145deg, rgba(10, 16, 32, 0.92) 0%, rgba(6, 12, 26, 0.88) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 40px 100px -30px rgba(0, 122, 255, 0.35),
    0 20px 60px -20px rgba(51, 199, 102, 0.15);
}
.ai-accent-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102, 179, 255, 0.5), rgba(51, 199, 102, 0.4), transparent);
}
.ai-accent-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(102, 179, 255, 0.1), transparent 45%);
  pointer-events: none;
}

/* ═══ Big liquid-glass card (Notifications) ══════════════════════════ */
.lg-card {
  position: relative;
  border-radius: 26px;
  background: rgba(255,255,255,0.015);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: border-color 400ms ease;
}
.lg-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
}
.lg-card:hover { border-color: rgba(102, 179, 255, 0.18); }

.notif-wide {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
}
.notif-wide > div:first-child { min-width: 280px; }
.notif-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 22px 0;
  flex: 1;
  min-width: 280px;
  justify-content: center;
}
.notif-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.025);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  animation: notif-slide 600ms cubic-bezier(.2,.8,.2,1) both;
  animation-play-state: paused;
}
.reveal.is-visible .notif-item { animation-play-state: running; }
.reveal.is-visible .notif-item:nth-child(1) { animation-delay: 100ms; }
.reveal.is-visible .notif-item:nth-child(2) { animation-delay: 250ms; }
.reveal.is-visible .notif-item:nth-child(3) { animation-delay: 400ms; }
@keyframes notif-slide {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}
.notif-icon {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 14px -4px rgba(0,122,255,0.35);
}

/* ═══ Reviews marquee ════════════════════════════════════════════════ */
.reviews-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
          mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.reviews-track {
  display: flex;
  gap: 18px;
  animation: reviews-scroll 60s linear infinite;
  width: max-content;
  will-change: transform;
}
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
@keyframes reviews-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.liquid-glass-card {
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
}
.liquid-glass-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.review-card {
  width: 320px;
  flex-shrink: 0;
  padding: 22px;
  border-radius: 20px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #66B3FF, #007AFF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.review-body {
  font-size: 14px;
  line-height: 1.55;
  color: hsl(var(--foreground) / 0.85);
}

/* ═══ Scroll reveal animations ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 900ms cubic-bezier(.2,.8,.2,1),
              transform 900ms cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"].is-visible { transition-delay: 120ms; }
.reveal[data-delay="2"].is-visible { transition-delay: 240ms; }
.reveal[data-delay="3"].is-visible { transition-delay: 360ms; }

/* ═══ Continuous animations ═════════════════════════════════════════ */
.float { animation: float 6s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.pulse-glow {
  animation: pulse-glow 3.5s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1.5px rgba(255, 255, 255, 0.18),
      inset 0 0 0 1px rgba(102, 179, 255, 0.12),
      0 40px 100px -20px rgba(0, 122, 255, 0.4),
      0 20px 60px -10px rgba(0, 0, 0, 0.8);
  }
  50% {
    box-shadow:
      0 0 0 1.5px rgba(102, 179, 255, 0.3),
      inset 0 0 0 1px rgba(102, 179, 255, 0.2),
      0 50px 120px -20px rgba(0, 122, 255, 0.6),
      0 0 80px -10px rgba(51, 199, 102, 0.35),
      0 20px 60px -10px rgba(0, 0, 0, 0.8);
  }
}

.pulse-soft { animation: pulse-soft 2.4s ease-in-out infinite; }
@keyframes pulse-soft {
  0%, 100% { box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 0 0 0 rgba(102, 179, 255, 0); }
  50%      { box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 0 0 6px rgba(102, 179, 255, 0.1); }
}

.shimmer-text {
  background-size: 200% auto;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ═══ Scrollbar ══════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.15); }

/* ═══ Legal/Support pages prose ══════════════════════════════════════ */
.legal-prose { color: hsl(var(--foreground) / 0.85); font-size: 16px; line-height: 1.7; }
.legal-prose .lead { font-size: 18px; color: hsl(var(--foreground)); margin-bottom: 32px; padding: 20px 24px; border-radius: 16px; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.06); }
.legal-prose h2 { font-family: "General Sans", sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin-top: 40px; margin-bottom: 14px; color: hsl(var(--foreground)); }
.legal-prose h3 { font-family: "General Sans", sans-serif; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; margin-top: 28px; margin-bottom: 8px; color: hsl(var(--foreground)); }
.legal-prose p { margin-bottom: 14px; }
.legal-prose ul { list-style: none; padding-left: 0; margin-bottom: 18px; display: flex; flex-direction: column; gap: 10px; }
.legal-prose ul li { position: relative; padding-left: 22px; }
.legal-prose ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 12px; height: 2px; border-radius: 1px; background: linear-gradient(to right, #66B3FF, #33C766); }
.legal-prose strong { color: hsl(var(--foreground)); font-weight: 600; }
.legal-prose a { color: #66B3FF; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color 200ms ease; }
.legal-prose a:hover { color: #33C766; }

/* ═══ Support cards ══════════════════════════════════════════════════ */
.support-card { display: block; padding: 28px; border-radius: 22px; background: rgba(255,255,255,0.025); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.07); transition: transform 300ms ease, border-color 300ms ease, background 300ms ease; position: relative; overflow: hidden; }
.support-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); }
.support-card:hover { transform: translateY(-3px); border-color: rgba(102, 179, 255, 0.25); background: rgba(255,255,255,0.04); }
.support-icon { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 8px 22px -6px rgba(0, 122, 255, 0.45); }
.support-title { font-family: "General Sans", sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 4px; }
.support-sub { color: hsl(var(--foreground) / 0.75); font-size: 14px; margin-bottom: 12px; }
.support-meta { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: hsl(var(--foreground) / 0.45); }

/* ═══ Reduced motion ═════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .reviews-track, .shimmer-text, .float,
  .pulse-glow, .pulse-soft, .floating-chip, .pf-ring-fill, .dot-blue {
    animation: none !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* ═══ Responsive ═════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .floating-chip-tr, .floating-chip-br { right: -8%; }
  .floating-chip-tl, .floating-chip-bl { left: -8%; }
}
@media (max-width: 767px) {
  .phone-showcase { width: 260px; }
  .phone-frame { width: 260px; }
  .floating-chip-tr, .floating-chip-br { right: 0; }
  .floating-chip-tl, .floating-chip-bl { left: 0; }
  .notif-wide { flex-direction: column !important; }
  .notif-stack { padding: 0 22px 22px; }
  .reviews-track { animation-duration: 40s; }
}
