/* ---- Reset & base ---- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
:root {
  --bg: #05060f;
  --bg-2: #0b0d1e;
  --fg: #f3f4ff;
  --fg-dim: #a0a5c4;
  --fg-mute: #6d7293;
  --hairline: rgba(255,255,255,0.08);
  --card: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.09);
  --blue: #3d5bff;
  --violet: #8b4dff;
  --pink: #ff59b4;
  --cyan: #00d4ff;
  --grad: linear-gradient(135deg, #3d5bff 0%, #8b4dff 50%, #ff59b4 100%);
  --grad-soft: linear-gradient(135deg, rgba(61,91,255,0.6) 0%, rgba(255,89,180,0.6) 100%);
}
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* ---- Animated AI background ---- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, #12143a 0%, #05060f 55%),
              linear-gradient(180deg, #06071a 0%, #05060f 100%);
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.55;
  mix-blend-mode: screen;
}
.aurora::before {
  width: 560px; height: 560px;
  background: radial-gradient(circle, #3d5bff 0%, transparent 70%);
  top: -180px; left: -120px;
  animation: drift-1 22s ease-in-out infinite alternate;
}
.aurora::after {
  width: 620px; height: 620px;
  background: radial-gradient(circle, #ff59b4 0%, transparent 70%);
  top: 20%; right: -200px;
  animation: drift-2 26s ease-in-out infinite alternate;
}
.aurora-blob-3 {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #8b4dff 0%, transparent 70%);
  filter: blur(110px);
  opacity: 0.5;
  top: 55%; left: 30%;
  mix-blend-mode: screen;
  animation: drift-3 28s ease-in-out infinite alternate;
}
@keyframes drift-1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(120px,80px) scale(1.15); }
}
@keyframes drift-2 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-140px,60px) scale(1.1); }
}
@keyframes drift-3 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(80px,-100px) scale(1.2); }
}

/* Floating sparkles layer */
.sparkles {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.sparkle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(255,255,255,0.8);
  opacity: 0;
  animation: sparkle-float linear infinite;
}
.sparkle.big   { width: 5px; height: 5px; box-shadow: 0 0 14px 4px rgba(171,148,255,0.9); background: #c9b8ff; }
.sparkle.pink  { box-shadow: 0 0 10px 3px rgba(255,89,180,0.9); background: #ffb4dc; }
.sparkle.cyan  { box-shadow: 0 0 10px 3px rgba(0,212,255,0.9);  background: #a6f0ff; }
@keyframes sparkle-float {
  0%   { opacity: 0; transform: translateY(20px) scale(0.6); }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(-120px) scale(1.2); }
}

/* Subtle star dust (static grid of tiny dots) */
.stardust {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.35) 50%, transparent 51%),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.25) 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 80%, rgba(255,255,255,0.3)  50%, transparent 51%),
    radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.3)  50%, transparent 51%),
    radial-gradient(1px 1px at 10% 65%, rgba(255,255,255,0.2)  50%, transparent 51%),
    radial-gradient(1px 1px at 55% 20%, rgba(255,255,255,0.25) 50%, transparent 51%);
  background-size: 600px 600px;
  opacity: 0.7;
  animation: stardust-pan 120s linear infinite;
}
@keyframes stardust-pan {
  0% { background-position: 0 0; }
  100% { background-position: 600px -600px; }
}

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,6,15,0.65);
  backdrop-filter: saturate(160%) blur(22px);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--fg); }
.brand-mark { font-size: 22px; filter: drop-shadow(0 0 10px rgba(139,77,255,0.5)); }
.brand.small { font-size: 14px; }
.nav-links { display: flex; gap: 28px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--fg-dim); }
.nav-links a { position: relative; padding: 4px 0; transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(139,77,255,0.8);
}
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 9px 18px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
  font-size: 11px; font-weight: 800; letter-spacing: 0.1em;
  color: var(--fg);
  transition: all .2s;
}
.nav-cta:hover {
  background: var(--grad) border-box;
  color: #fff;
  box-shadow: 0 8px 28px rgba(139,77,255,0.35);
}

/* ---- Hero ---- */
.hero {
  text-align: center;
  padding: 88px 0 20px;
  position: relative;
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(61,91,255,0.1);
  color: #c4ccff;
  border: 1px solid rgba(61,91,255,0.3);
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #8b4dff;
  box-shadow: 0 0 10px rgba(139,77,255,0.9);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(42px, 7vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--fg);
}
.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 30px rgba(139,77,255,0.4));
}
.lede {
  max-width: 620px; margin: 0 auto;
  font-size: 18px; color: #e8ebff; line-height: 1.6;
  text-shadow: 0 0 40px rgba(139,77,255,0.25);
}
.cta-row {
  display: flex; gap: 16px; justify-content: center; align-items: center;
  margin: 36px 0 56px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: rgba(255,255,255,0.06);
  color: var(--fg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
  backdrop-filter: blur(10px);
}
.btn-primary:hover { transform: translateY(-2px); background: rgba(255,255,255,0.1); box-shadow: 0 12px 30px rgba(0,0,0,0.4); }
.btn-primary.disabled { opacity: 0.55; cursor: not-allowed; }
.btn-primary.disabled:hover { transform: none; background: rgba(255,255,255,0.06); }
.btn-ghost {
  font-size: 15px; font-weight: 600; color: var(--fg-dim);
  padding: 14px 8px;
  transition: color .2s;
}
.btn-ghost:hover { color: var(--fg); }

.btn-accent {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px;
  background: var(--grad);
  color: #fff;
  border-radius: 999px;
  font-size: 15px; font-weight: 700;
  transition: transform .2s, box-shadow .2s, filter .2s;
  box-shadow: 0 10px 40px -8px rgba(139,77,255,0.6), 0 4px 20px rgba(61,91,255,0.4);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}
.btn-accent::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s;
}
.btn-accent:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 16px 50px -8px rgba(139,77,255,0.7), 0 8px 28px rgba(255,89,180,0.35); }
.btn-accent:hover::before { transform: translateX(100%); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 2s infinite; display: inline-block; box-shadow: 0 0 10px rgba(255,255,255,0.9); }

/* ---- Beta form section ---- */
.beta {
  padding: 120px 0;
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 80px;
  position: relative;
}
.beta-card {
  max-width: 720px; margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  border-radius: 28px;
  padding: 48px;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 40px 100px -30px rgba(139,77,255,0.55), 0 0 80px -20px rgba(61,91,255,0.4), 0 0 0 1px rgba(255,255,255,0.06) inset;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
  transition: box-shadow .4s;
}
.beta-card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 28px;
  padding: 2px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.75;
  pointer-events: none;
}
.beta.flash .beta-card {
  animation: flash-border 1.2s ease;
}
@keyframes flash-border {
  0%   { box-shadow: 0 30px 80px -30px rgba(61,91,255,0.35), 0 0 0 0 rgba(139,77,255,0.5); }
  30%  { box-shadow: 0 30px 80px -30px rgba(61,91,255,0.35), 0 0 0 12px rgba(139,77,255,0.25); }
  100% { box-shadow: 0 30px 80px -30px rgba(61,91,255,0.35), 0 0 0 0 rgba(139,77,255,0); }
}
.beta-head { text-align: center; margin-bottom: 36px; position: relative; z-index: 1; }
.beta-badge {
  display: inline-block;
  padding: 7px 14px;
  background: rgba(139,77,255,0.15);
  color: #d5c4ff;
  border: 1px solid rgba(139,77,255,0.35);
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.beta-head h2 { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; color: #ffffff; }
.beta-lede { color: #e8ebff; font-size: 16px; max-width: 480px; margin: 0 auto; line-height: 1.55; }

.beta-form { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px; font-weight: 700; color: #ffffff; letter-spacing: 0.04em;
}
.field .req { color: #ff59b4; }
.field .opt { color: #a0a5c4; font-weight: 400; font-size: 12px; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 15px;
  color: #ffffff;
  padding: 14px 16px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  transition: border-color .15s, background .15s, box-shadow .15s;
  outline: none;
  width: 100%;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(232,235,255,0.5); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(139,77,255,0.7);
  background: rgba(255,255,255,0.07);
  box-shadow: 0 0 0 4px rgba(139,77,255,0.18);
}
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field select option { background: #0b0d1e; color: var(--fg); }

.beta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 4px; }
.beta-actions .btn-primary {
  background: var(--grad);
  color: #fff;
  border: none;
  box-shadow: 0 10px 40px -8px rgba(139,77,255,0.6);
}
.beta-actions .btn-primary:hover { filter: brightness(1.1); box-shadow: 0 16px 50px -8px rgba(139,77,255,0.7); }
.beta-actions .btn-primary:disabled { opacity: 0.65; cursor: wait; transform: none; }
.privacy-note { font-size: 12px; color: #a0a5c4; }

.beta-success {
  text-align: center; padding: 40px 20px;
  position: relative; z-index: 1;
}
.success-icon {
  width: 64px; height: 64px;
  background: var(--grad);
  color: #fff;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800;
  margin-bottom: 20px;
  box-shadow: 0 10px 40px -8px rgba(139,77,255,0.6);
}
.beta-success h3 { font-size: 24px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.01em; color: var(--fg); }
.beta-success p { color: var(--fg-dim); font-size: 15px; max-width: 380px; margin: 0 auto; line-height: 1.55; }

@media (max-width: 640px) {
  .beta-card { padding: 32px 22px; border-radius: 20px; }
  .beta-head h2 { font-size: 28px; }
  .field-row { grid-template-columns: 1fr; }
}

/* ---- Phone mockups ---- */
.phones {
  position: relative;
  display: flex; justify-content: center; align-items: flex-end;
  gap: 18px;
  padding: 40px 0 0;
  min-height: 620px;
}
.phone { position: relative; transition: transform .4s ease; }
.phone-left { transform: translateY(30px) rotate(-4deg); }
.phone-center { transform: translateY(0); z-index: 2; }
.phone-right { transform: translateY(30px) rotate(4deg); }
.phone-left:hover  { transform: translateY(20px) rotate(-4deg); }
.phone-right:hover { transform: translateY(20px) rotate(4deg); }
.phone-center:hover { transform: translateY(-8px); }

.phone-frame {
  position: relative;
  width: 280px;
  aspect-ratio: 9 / 19.5;
  background: #0a0b1a;
  border-radius: 42px;
  padding: 10px;
  box-shadow:
    0 0 0 2px #2a2d42,
    0 0 60px -10px rgba(139,77,255,0.5),
    0 40px 80px -20px rgba(0,0,0,0.7),
    0 20px 40px -20px rgba(61,91,255,0.3);
  overflow: hidden;
}
.phone-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 42px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(139,77,255,0.4), transparent 40%, transparent 60%, rgba(255,89,180,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.phone-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px;
  background: #0a0b1a;
  border-radius: 999px;
  z-index: 2;
}

/* Phone-carousel dots: hidden on desktop, shown inside the mobile media query */
.phones-dots { display: none; }

/* ---- Features ---- */
.features {
  padding: 140px 0 120px;
  border-top: 1px solid var(--hairline);
  position: relative;
}
.features h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
  color: var(--fg);
}
.section-lede { text-align: center; font-size: 18px; color: var(--fg-dim); margin-bottom: 48px; }

/* Feature carousel — one card visible, swipe/scroll for the rest */
.feature-carousel {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.feature-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 20px;
}
.feature-track::-webkit-scrollbar { display: none; }
.feature-track .feature {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  padding: 44px 36px;
  border-radius: 24px;
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 50px -20px rgba(61,91,255,0.3), 0 0 0 1px rgba(255,255,255,0.03) inset;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.feature-track .feature::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(139,77,255,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.feature-track .feature:hover { transform: translateY(-4px); box-shadow: 0 28px 60px -20px rgba(139,77,255,0.45); }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--card-border);
  color: var(--fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6);
  transition: transform .2s, box-shadow .2s, opacity .2s, background .2s;
  z-index: 3;
  backdrop-filter: blur(12px);
}
.carousel-arrow:hover { transform: translateY(-50%) scale(1.06); background: rgba(255,255,255,0.14); }
.carousel-arrow:disabled { opacity: 0.3; cursor: default; transform: translateY(-50%); }
.carousel-arrow--prev { left: -22px; }
.carousel-arrow--next { right: -22px; }

.feature-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.feature-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s, width .2s;
}
.feature-dots button:hover { background: rgba(255,255,255,0.35); }
.feature-dots button[aria-current="true"] {
  background: var(--grad);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(139,77,255,0.6);
}
.carousel-hint {
  text-align: center;
  font-size: 14px;
  color: #e8ebff;
  font-weight: 500;
  margin-top: 18px;
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
  margin-bottom: 22px;
  position: relative;
}
.feature-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.6;
}
.feature-icon--blue   { background: rgba(61,91,255,0.16);  color: #9eaeff; }
.feature-icon--green  { background: rgba(52,199,89,0.16);  color: #7bf0a2; }
.feature-icon--orange { background: rgba(255,149,0,0.16);  color: #ffc06e; }
.feature-icon--purple { background: rgba(139,77,255,0.18); color: #c7a8ff; }
.feature-icon--pink   { background: rgba(255,89,180,0.18); color: #ff9fd1; }
.feature-icon--cyan   { background: rgba(0,212,255,0.15);  color: #85e5ff; }
.feature-icon--red    { background: rgba(255,89,112,0.16); color: #ff9aae; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; color: var(--fg); }
.feature p { font-size: 14.5px; color: var(--fg-dim); line-height: 1.6; }

/* ---- CTA ---- */
.cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  border-top: 1px solid var(--hairline);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(139,77,255,0.18), transparent 70%);
  pointer-events: none;
}
.cta h2 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(139,77,255,0.4));
}
.cta p { font-size: 18px; color: #e8ebff; margin-bottom: 32px; max-width: 520px; margin-left: auto; margin-right: auto; text-shadow: 0 0 40px rgba(139,77,255,0.25); }

/* ---- Footer ---- */
footer {
  padding: 36px 0;
  border-top: 1px solid var(--hairline);
  background: rgba(0,0,0,0.3);
  position: relative;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.muted { color: var(--fg-mute); font-size: 13px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { padding: 56px 0 20px; }

  /* Turn the phones row into a swipeable snap carousel on mobile */
  .phones {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 30px 0 10px;
    min-height: auto;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }
  .phones::-webkit-scrollbar { display: none; }
  .phone {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    transform: none !important;
  }
  .phone:hover { transform: none !important; }
  .phone-frame { width: 230px; border-radius: 36px; padding: 8px; }
  .phone-frame img { border-radius: 28px; }
  .phone-notch { width: 76px; height: 22px; top: 12px; }

  .phones-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }
  .phones-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background .2s, width .2s;
  }
  .phones-dots button[aria-current="true"] {
    background: var(--grad);
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(139,77,255,0.6);
  }

  .feature-carousel { max-width: 100%; }
  .carousel-arrow { display: none; }
  .feature-track { gap: 14px; padding: 8px 0 16px; }
  .feature-track .feature { padding: 36px 28px; min-height: 240px; }
}


@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .nav-inner { padding: 12px 18px; }
  .brand-mark { font-size: 20px; }
  .brand { font-size: 16px; }
  .nav-cta { display: none; }

  .hero { padding: 40px 0 10px; }
  .hero h1 { font-size: 38px; line-height: 1.05; margin-bottom: 18px; }
  .lede { font-size: 15px; }
  .badge { margin-bottom: 22px; font-size: 10px; padding: 6px 12px; }
  .cta-row { gap: 10px; margin: 26px 0 40px; }
  .btn-primary, .btn-accent { padding: 12px 18px; font-size: 14px; }
  .btn-ghost { padding: 10px 6px; font-size: 14px; }

  .phones { padding-top: 20px; min-height: 460px; }
  .phone-frame { width: 210px; }

  .features { padding: 72px 0 80px; }
  .features h2 { font-size: 32px; margin-bottom: 12px; }
  .section-lede { font-size: 15px; margin-bottom: 36px; }
  .feature-track .feature { padding: 32px 24px; min-height: 220px; border-radius: 20px; }
  .feature h3 { font-size: 17px; }
  .feature p { font-size: 14px; }

  .cta { padding: 80px 0; }
  .cta h2 { font-size: 36px; }
  .cta p { font-size: 16px; }

  .beta { padding: 72px 0; }
  .beta-card { padding: 30px 22px; border-radius: 20px; }
  .beta-head { margin-bottom: 26px; }
  .beta-head h2 { font-size: 26px; }
  .beta-lede { font-size: 14px; }
  .field-row { grid-template-columns: 1fr; gap: 14px; }
  .beta-form { gap: 14px; }
  .field input, .field select, .field textarea { font-size: 16px; /* prevent iOS zoom */ }
  .beta-actions { align-items: stretch; }
  .beta-actions .btn-primary { justify-content: center; width: 100%; }

  footer { padding: 24px 0; }
  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .phone-frame { width: 190px; }
  .features h2 { font-size: 28px; }
}
