/* family+ landing — custom styles
   Pure CSS, no preprocessor. Layered over Tailwind via CDN. */

:root {
  --text:        hsl(0 0% 96%);
  --text-dim:    hsl(245 10% 76%);
  --text-mute:   hsl(245 10% 56%);
  --bg:          hsl(245 30% 6%);
  --surface:     hsl(245 25% 9%);
  --surface-2:   hsl(245 25% 13%);
  --line:        hsla(245 20% 38% / 0.18);
  --line-strong: hsla(245 20% 38% / 0.35);
  --brand-1:     hsl(258 90% 70%);
  --brand-2:     hsl(190 80% 60%);
  --brand-3:     hsl(330 90% 70%);
  --brand-grad:  linear-gradient(135deg, var(--brand-1), var(--brand-2));
}

html { scroll-behavior: smooth; }
body { font-feature-settings: "kern", "liga", "calt"; }

/* ─────────────────────────────────────────────── Aurora background */
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
  will-change: transform;
}
.aurora-blob-1 {
  width: 50vw; height: 50vw;
  top: -10%; right: -10%;
  background: radial-gradient(circle, hsl(258 90% 60% / 0.5), transparent 70%);
  animation: blob1 24s ease-in-out infinite;
}
.aurora-blob-2 {
  width: 45vw; height: 45vw;
  bottom: 10%; left: -15%;
  background: radial-gradient(circle, hsl(190 80% 50% / 0.45), transparent 70%);
  animation: blob2 30s ease-in-out infinite;
}
.aurora-blob-3 {
  width: 40vw; height: 40vw;
  top: 50%; left: 30%;
  background: radial-gradient(circle, hsl(330 80% 55% / 0.35), transparent 70%);
  animation: blob3 36s ease-in-out infinite;
}
@keyframes blob1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-10vw, 5vw) scale(1.1); }
  66%      { transform: translate(5vw, 10vw) scale(0.9); }
}
@keyframes blob2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(10vw, -10vw) scale(1.15); }
}
@keyframes blob3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-30%, -60%) scale(1.2); }
}

.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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
}

/* ─────────────────────────────────────────────── Nav */
#nav.scrolled {
  background: hsla(245 30% 6% / 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.nav-link { position: relative; transition: color 0.2s ease; }
.nav-link:hover { color: var(--text); }
.nav-link::after {
  content: ""; position: absolute; bottom: -6px; right: 0;
  width: 0; height: 2px;
  background: var(--brand-grad);
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-link:hover::after { width: 100%; }

/* ─────────────────────────────────────────────── Logo tile */
.logo-tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--brand-grad);
  box-shadow: 0 0 24px hsl(258 90% 70% / 0.4);
  color: white;
}

/* ─────────────────────────────────────────────── Buttons */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-grad);
  color: white;
  box-shadow: 0 4px 20px hsl(258 90% 70% / 0.35);
  position: relative;
  /* Simple filter-based hover brightens the gradient without an overlay
     pseudo-element — earlier `::before` approaches risked painting over
     the button text when any of it wasn't wrapped in a span. */
}
.btn-primary:hover {
  filter: brightness(1.15) saturate(1.1);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px hsl(258 90% 70% / 0.6), 0 0 40px hsl(190 80% 60% / 0.3);
}

.btn-ghost {
  background: hsla(245 25% 16% / 0.4);
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────────── Hero */
.chip-glow {
  background: hsla(258 90% 70% / 0.12);
  border: 1px solid hsla(258 90% 70% / 0.3);
  color: hsl(258 90% 85%);
  box-shadow: 0 0 20px hsla(258 90% 70% / 0.15);
}

.grad-text {
  background: linear-gradient(135deg, hsl(258 90% 75%), hsl(190 80% 65%), hsl(330 80% 70%));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gradMove 8s ease-in-out infinite;
}
@keyframes gradMove {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ─────────────────────────────────────────────── Phone mockup */
.phone-wrap {
  position: relative;
  perspective: 1500px;
  padding: 40px 20px;
}
.phone-glow {
  position: absolute;
  inset: 20px;
  background: radial-gradient(ellipse at center, hsl(258 90% 70% / 0.4), transparent 70%);
  filter: blur(60px);
  z-index: -1;
}
.phone-shell {
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #1a1d2e, #0f1119);
  border-radius: 42px;
  padding: 14px;
  box-shadow:
    0 0 0 2px hsla(245 20% 30% / 0.4),
    0 50px 100px -20px rgba(0, 0, 0, 0.7),
    0 0 80px hsla(258 90% 70% / 0.15);
  position: relative;
  animation: phoneFloat 8s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotateY(-8deg) rotateX(2deg); }
  50%      { transform: translateY(-12px) rotateY(-6deg) rotateX(1deg); }
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 10;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

/* Mock app inside phone */
.mock-app {
  padding: 32px 14px 14px;
  font-size: 12px;
  height: 100%;
  overflow: hidden;
}
.mock-status-bar {
  position: absolute; top: 8px; left: 12px; right: 12px;
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 700;
  color: var(--text);
  z-index: 5;
  padding-left: 60px; padding-right: 0;
}
.mock-header {
  display: flex; align-items: center; gap: 8px;
  background: hsla(258 90% 70% / 0.10);
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.mock-icon-tile {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: hsl(var(--c) / 0.2);
  border: 1px solid hsl(var(--c) / 0.4);
  color: hsl(var(--c));
  font-size: 14px;
}
.mock-input {
  display: flex; gap: 6px;
  background: hsla(245 25% 16% / 0.4);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 3px 6px 3px 3px;
  margin-bottom: 12px;
}
.mock-input input {
  flex: 1; min-width: 0;
  background: transparent; border: 0; outline: 0;
  color: var(--text);
  font-size: 11px;
  padding: 6px 4px;
}
.mock-input input::placeholder { color: var(--text-mute); font-size: 10px; }
.mock-mic, .mock-plus {
  width: 26px; height: 26px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  border: 0;
  cursor: pointer;
}
.mock-mic {
  background: hsla(245 25% 16% / 0.4);
  border: 1px solid var(--line);
  color: var(--text-dim);
}
.mock-plus {
  background: var(--brand-grad);
  color: white;
  font-weight: 700;
}
.mock-aisle {
  background: hsla(245 25% 16% / 0.3);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
}
.mock-aisle-head {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  background: hsla(258 60% 60% / 0.08);
  border-bottom: 1px solid var(--line);
}
.mock-count {
  background: hsla(258 90% 70% / 0.18);
  color: hsl(258 90% 85%);
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 10px; font-weight: 700;
}
.mock-row {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 10px;
  font-size: 11px;
  border-top: 1px solid hsla(245 20% 38% / 0.08);
}
.mock-row:first-of-type { border-top: 0; }
.mock-row.checked { opacity: 0.5; text-decoration: line-through; }
.mock-check {
  width: 14px; height: 14px;
  border-radius: 4px;
  border: 1.5px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
}
.mock-check.on {
  background: hsl(160 65% 45%);
  border-color: hsl(160 65% 45%);
  color: white;
}
.mock-qty {
  background: var(--line);
  padding: 1px 5px; border-radius: 5px;
  font-size: 9px; font-weight: 700; color: var(--text-dim);
  margin-right: auto;
}

/* Floating chips around phone */
.floater {
  position: absolute;
  animation: floatChip 6s ease-in-out infinite;
}
.floater-1 {
  top: 14%; right: -20px;
  animation-delay: 0s;
}
.floater-2 {
  top: 50%; left: -10px;
  animation-delay: 1.5s;
}
.floater-3 {
  bottom: 14%; right: 10px;
  animation-delay: 3s;
}
.float-card {
  display: flex; align-items: center; gap: 10px;
  background: hsla(245 30% 12% / 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  color: var(--text);
  white-space: nowrap;
}
@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes bounce-slow {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, -8px); }
}
.animate-bounce-slow { animation: bounce-slow 2.5s ease-in-out infinite; }

/* ─────────────────────────────────────────────── Stats counter */
.stat-card {
  background: hsla(245 25% 16% / 0.4);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: hsla(258 90% 70% / 0.3);
  box-shadow: 0 8px 30px hsla(258 90% 70% / 0.15);
}
.stat-num {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 500;
}

/* ─────────────────────────────────────────────── Section headers */
.section-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: hsla(258 90% 70% / 0.12);
  border: 1px solid hsla(258 90% 70% / 0.3);
  color: hsl(258 90% 85%);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.section-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─────────────────────────────────────────────── Feature cards */
.feature-card {
  background: hsla(245 25% 16% / 0.4);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, hsl(258 90% 70% / 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: hsla(258 90% 70% / 0.4);
  box-shadow: 0 12px 40px hsla(258 90% 70% / 0.15);
}
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: hsl(var(--c) / 0.15);
  border: 1px solid hsl(var(--c) / 0.35);
  color: hsl(var(--c));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.feature-desc {
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.6;
}
.feature-list {
  list-style: none;
  padding: 0;
  font-size: 13px;
  color: var(--text-mute);
}
.feature-list li {
  display: flex; align-items: start; gap: 8px;
  padding: 4px 0;
}
.feature-list li::before {
  content: "✓";
  color: hsl(150 70% 55%);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────── AI Showcase */
.ai-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at center, hsl(190 80% 50% / 0.15), transparent 70%);
  pointer-events: none;
}
.ai-bullet {
  display: flex; gap: 14px; align-items: start;
}
.ai-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c, hsl(258 90% 70%));
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 16px var(--c, hsl(258 90% 70%));
}

/* Chat mockup */
.chat-mock {
  background: hsla(245 30% 8% / 0.95);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px hsl(190 80% 60% / 0.15);
  backdrop-filter: blur(20px);
}
.chat-mock-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.chat-mock-body {
  display: flex; flex-direction: column;
  gap: 14px;
  max-height: 480px; overflow: hidden;
}
.chat-msg {
  display: flex;
}
.chat-msg.ai .bubble {
  background: hsla(245 25% 16% / 0.6);
  border: 1px solid var(--line);
  border-bottom-right-radius: 4px;
}
.chat-msg.user {
  justify-content: flex-end;
}
.chat-msg.user .bubble {
  background: var(--brand-grad);
  color: white;
  border-bottom-left-radius: 4px;
}
.bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.mini-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.mini-stats > div {
  display: flex; flex-direction: column;
  background: hsla(245 25% 16% / 0.5);
  padding: 6px;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.mini-stats span {
  font-size: 9px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mini-stats strong {
  font-size: 13px;
  color: var(--text);
}
.action-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 10px;
  background: hsla(150 70% 45% / 0.2);
  color: hsl(150 70% 65%);
  border: 1px solid hsla(150 70% 45% / 0.4);
  border-radius: 99px;
  font-size: 11px; font-weight: 600;
}
.chat-mock-input {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: hsla(245 25% 16% / 0.5);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 18px;
}
.chat-mic {
  width: 32px; height: 32px;
  background: var(--brand-grad);
  color: white;
  border: 0; border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}

/* ─────────────────────────────────────────────── Screens gallery */
.screen-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}
.screen-block.reversed {
  direction: ltr;
}
.screen-block.reversed > * {
  direction: rtl;
}
@media (max-width: 768px) {
  .screen-block {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }
}
.screen-text {
  padding: 20px 0;
}
.screen-eyebrow {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  background: hsl(var(--c) / 0.15);
  border: 1px solid hsl(var(--c) / 0.4);
  color: hsl(var(--c));
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.screen-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.screen-desc {
  color: var(--text-dim);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.screen-list {
  list-style: none;
  padding: 0;
  color: var(--text-mute);
  font-size: 14px;
}
.screen-list li {
  display: flex; gap: 10px; align-items: start;
  padding: 6px 0;
}
.screen-list li::before {
  content: "→";
  color: var(--brand-1);
  font-weight: 700;
}

.screen-mock {
  display: flex; justify-content: center;
  perspective: 1500px;
}
.screen-phone {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1a1d2e, #0f1119);
  border-radius: 38px;
  padding: 12px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 50px hsla(258 90% 70% / 0.1);
  transform: rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s;
}
.screen-block:hover .screen-phone {
  transform: rotateY(0) rotateX(0);
}
.screen-phone .mock-app {
  background: var(--bg);
  border-radius: 28px;
  padding: 16px 12px;
  height: 100%;
  overflow: hidden;
}

/* Product card mock (Pension) */
.prod-card {
  background: hsla(245 25% 16% / 0.4);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 8px;
  overflow: hidden;
}
.prod-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px;
}
.prod-strip {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 4px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  font-size: 9px;
}
.prod-strip > div {
  display: flex; align-items: center; gap: 3px;
  justify-content: center;
}
.prod-strip span { color: var(--text-mute); }
.prod-strip strong { color: var(--text); }
.prod-strip .tiny { font-size: 8px; color: var(--text-mute); }
.text-good { color: hsl(150 70% 55%); }
.text-danger { color: hsl(0 80% 65%); }

/* Calendar mock */
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin: 8px 0;
}
.cal-day-head {
  text-align: center;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-mute);
  padding: 4px 0;
}
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--text-dim);
  border-radius: 6px;
  position: relative;
}
.cal-day.has-evt::after {
  content: ""; position: absolute;
  bottom: 3px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--evt-color, hsl(258 90% 70%));
}
.cal-day.purple { --evt-color: hsl(258 90% 70%); }
.cal-day.teal   { --evt-color: hsl(190 80% 60%); }
.cal-day.pink   { --evt-color: hsl(330 90% 70%); }
.cal-day.today {
  background: var(--brand-grad);
  color: white;
  font-weight: 700;
  box-shadow: 0 0 12px hsl(258 90% 70% / 0.5);
}
.evt-row {
  display: flex; gap: 8px; align-items: center;
  padding: 7px 10px;
  background: hsl(var(--c) / 0.10);
  border-right: 3px solid hsl(var(--c));
  border-radius: 8px;
  margin-bottom: 5px;
}
.evt-time {
  font-size: 11px;
  font-weight: 700;
  color: hsl(var(--c));
  min-width: 36px;
}

/* Memory grid mock */
.mem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.mem-tile {
  aspect-ratio: 1;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  overflow: hidden;
}
.throwback {
  background: hsla(258 90% 70% / 0.10);
  border: 1px solid hsla(258 90% 70% / 0.3);
  border-radius: 10px;
  padding: 8px;
}

/* Document card mock */
.doc-card {
  display: flex; align-items: center; gap: 8px;
  background: hsla(245 25% 16% / 0.4);
  border: 1px solid var(--line);
  border-right: 3px solid hsl(var(--c));
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 6px;
}
.doc-icon {
  width: 30px; height: 30px;
  background: hsl(var(--c) / 0.15);
  border: 1px solid hsl(var(--c) / 0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}
.doc-pill {
  background: hsla(245 25% 16% / 0.4);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9px;
  color: var(--text-dim);
}
.doc-pill.warn {
  background: hsla(0 80% 60% / 0.12);
  border-color: hsla(0 80% 60% / 0.4);
  color: hsl(0 80% 75%);
}

/* ─────────────────────────────────────────────── Why us */
.why-card {
  background: hsla(245 25% 16% / 0.4);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: hsla(258 90% 70% / 0.4);
  box-shadow: 0 12px 40px hsla(258 90% 70% / 0.15);
}
.why-num {
  font-size: 80px;
  font-weight: 900;
  line-height: 1;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.4;
  margin-bottom: 12px;
}
.why-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}
.why-desc {
  color: var(--text-dim);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────── Beta callout */
.beta-card {
  background: linear-gradient(135deg, hsla(258 90% 70% / 0.12), hsla(190 80% 60% / 0.08));
  border: 1px solid hsla(258 90% 70% / 0.3);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.beta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, hsla(258 90% 70% / 0.25), transparent 60%);
  pointer-events: none;
}
.beta-card > * { position: relative; }
.beta-badge {
  display: inline-block;
  padding: 6px 14px;
  background: hsla(38 95% 55% / 0.15);
  border: 1px solid hsla(38 95% 55% / 0.5);
  color: hsl(38 95% 70%);
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* ─────────────────────────────────────────────── FAQ */
.faq-item {
  background: hsla(245 25% 16% / 0.4);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item[open] {
  border-color: hsla(258 90% 70% / 0.4);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding-left: 50px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--brand-1);
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}
.faq-item p {
  padding: 0 22px 18px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ─────────────────────────────────────────────── Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0ms);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────── Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 5px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: hsla(258 90% 70% / 0.5); }

/* Smooth scroll for iOS */
@supports (-webkit-overflow-scrolling: touch) {
  body { -webkit-overflow-scrolling: touch; }
}

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