/* Homepage only — glossy dark hero, glass cards, gradient accents */
:root {
  --ink: #060918;
  --ink-2: #0b1030;
  --indigo: #3b82f6;
  --violet: #8b5cf6;
  --fuchsia: #d946ef;
  --cyan: #22d3ee;
  --glass: rgba(255,255,255,0.06);
  --glass-line: rgba(255,255,255,0.12);
  --shine: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0) 55%);
  --brand-grad: linear-gradient(#2563eb, #2563eb);
  --accent: #2563eb;
}

/* ---------- Header on the homepage: glossy white glass ---------- */
body.is-landing { background: #f6f7fb; }
.is-landing .topbar {
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,250,255,0.82) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(15,23,42,0.06), 0 10px 30px -12px rgba(4,5,26,0.45);
}
.is-landing .topbar .brand { color: #0f172a; }
.is-landing .topbar .brand-sub { color: #2563eb; }
.is-landing .nav-link { color: #475569; font-weight: 600; }
.is-landing .nav-link:hover { color: #2563eb; }
.is-landing .nav-cta {
  background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0) 55%), #2563eb; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 8px 20px -8px rgba(37,99,235,0.7);
}
.is-landing .nav-cta:hover { background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0) 55%), #1d4ed8; }
@media (max-width: 640px) {
  .is-landing .menu-btn { background: #eff6ff; }
  .is-landing .menu-btn span { background: #0f172a; }
  .is-landing .mobile-menu { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .is-landing .mobile-menu a:first-child { background: linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0) 55%), #2563eb; box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 10px 22px -10px rgba(37,99,235,0.7); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: #04051a;
  color: #e2e8f0;
  padding: 72px 24px 170px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }

/* Rich colour mesh that slowly shifts hue */
.mesh {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 50% at 78% 18%, rgba(37,99,235,0.7), transparent 70%),
    radial-gradient(35% 45% at 95% 70%, rgba(236,72,153,0.55), transparent 70%),
    radial-gradient(40% 45% at 10% 25%, rgba(37,99,235,0.55), transparent 70%),
    radial-gradient(30% 40% at 30% 95%, rgba(6,182,212,0.40), transparent 70%),
    radial-gradient(60% 60% at 50% 50%, #0b0d2e 0%, #04051a 70%);
  filter: saturate(140%);
  animation: meshShift 22s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0%   { transform: translate3d(0,0,0) rotate(0deg); filter: saturate(140%) hue-rotate(0deg); }
  100% { transform: translate3d(-3%,2%,0) rotate(4deg); filter: saturate(150%) hue-rotate(-18deg); }
}

/* Soft glowing blobs on top of the mesh */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); mix-blend-mode: screen; animation: drift 16s ease-in-out infinite alternate; }
.o1 { width: 460px; height: 460px; top: -140px; right: 4%; background: radial-gradient(circle, #8b5cf6, transparent 65%); opacity: .8; }
.o2 { width: 380px; height: 380px; bottom: 60px; right: 18%; background: radial-gradient(circle, #ec4899, transparent 65%); opacity: .55; animation-delay: -5s; }
.o3 { width: 420px; height: 420px; top: 18%; left: -120px; background: radial-gradient(circle, #3b82f6, transparent 65%); opacity: .55; animation-delay: -9s; }
.o4 { width: 260px; height: 260px; top: 8%; left: 38%; background: radial-gradient(circle, #22d3ee, transparent 65%); opacity: .28; animation-delay: -13s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(50px,36px) scale(1.15); } }

/* Spotlight beam from the top */
.beam {
  position: absolute; top: -30%; left: 50%; width: 140%; height: 120%; transform: translateX(-50%);
  background: conic-gradient(from 180deg at 50% 0%, transparent 155deg, rgba(167,139,250,0.22) 172deg, rgba(255,255,255,0.10) 180deg, rgba(167,139,250,0.22) 188deg, transparent 205deg);
  filter: blur(12px);
  mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 85%);
  animation: beamPulse 8s ease-in-out infinite;
}
@keyframes beamPulse { 0%,100% { opacity: .75; } 50% { opacity: 1; } }

/* 3D perspective floor grid */
.floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 70%;
  background-image:
    linear-gradient(rgba(167,139,250,0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167,139,250,0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(600px) rotateX(62deg);
  transform-origin: 50% 0%;
  mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 55%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 55%, transparent 90%);
  opacity: .45;
  animation: floorMove 6s linear infinite;
}
@keyframes floorMove { from { background-position: 0 0; } to { background-position: 0 64px; } }

/* Glowing horizon arc */
.horizon {
  position: absolute; left: 50%; bottom: -1290px; width: 2400px; height: 1400px; transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, #04051a 92%, transparent 100%);
  box-shadow:
    0 -2px 0 0 rgba(255,255,255,0.55),
    0 -10px 40px 0 rgba(167,139,250,0.85),
    0 -40px 120px 10px rgba(37,99,235,0.6),
    0 -80px 220px 40px rgba(236,72,153,0.25);
}

/* Fine twinkling sparkles */
.sparkles {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1.5px 1.5px at 46% 14%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 63% 40%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 82% 12%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 91% 55%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 6% 80%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 55% 78%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 72% 88%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 36% 36%, rgba(255,255,255,0.5), transparent);
  animation: twinkle 5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .45; } to { opacity: 1; } }

/* Film grain for a premium finish */
.grain {
  position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16);
  color: #dbeafe; font-weight: 600; font-size: 0.85rem; padding: 7px 14px; border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); backdrop-filter: blur(8px);
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; margin: 22px 0 18px; }
.grad { color: #60a5fa; text-shadow: 0 0 32px rgba(96,165,250,0.45); }
.lead { font-size: 1.18rem; color: #b4bdd3; line-height: 1.65; max-width: 540px; margin: 0 0 22px; }
.hero .ticks li { color: #e2e8f0; }
.hero .ticks li::before { background: rgba(34,197,94,0.16); color: #4ade80; box-shadow: inset 0 0 0 1px rgba(74,222,128,0.35); }

.ticks { list-style: none; padding: 0; margin: 0 0 30px; }
.ticks li { position: relative; padding-left: 30px; margin: 11px 0; font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: #16a34a; font-size: 0.72rem; font-weight: 800; display: grid; place-items: center; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { text-shadow: 0 1px 8px rgba(4,5,26,0.9); display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 26px; color: #94a3b8; font-size: 0.88rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { width: 16px; height: 16px; stroke: #93c5fd; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn-lg {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-align: center; text-decoration: none; cursor: pointer; border: 0; overflow: hidden;
  background: var(--shine), var(--brand-grad); color: #fff;
  font: inherit; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em;
  padding: 16px 30px; border-radius: 14px; min-height: 0; margin: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -2px 6px rgba(0,0,0,0.15), 0 14px 34px -10px rgba(37,99,235,0.7);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-lg::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-lg:hover { transform: translateY(-2px); filter: brightness(1.08); background: var(--shine), var(--brand-grad); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 20px 40px -12px rgba(37,99,235,0.85); }
.btn-lg:hover::after { left: 120%; }
.btn-lg:disabled { opacity: .7; cursor: wait; transform: none; }
.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; text-decoration: none;
  font-weight: 650; color: #fff; padding: 15px 26px; border-radius: 14px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); backdrop-filter: blur(8px);
  transition: background .18s, border-color .18s, transform .18s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.32); transform: translateY(-2px); text-decoration: none; }
.btn-block { display: flex; width: 100%; }
.btn-white {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  background: linear-gradient(180deg, #ffffff, #eef0ff); color: #1e40af; font-weight: 750;
  padding: 16px 30px; border-radius: 14px; border: 0; cursor: pointer; font: inherit; font-weight: 700; min-height: 0; margin: 0;
  box-shadow: inset 0 1px 0 #fff, 0 14px 34px -12px rgba(0,0,0,0.5);
  transition: transform .18s ease;
}
.btn-white:hover { transform: translateY(-2px); background: #fff; text-decoration: none; }

/* ---------- Phone mockup ---------- */
.hero-phone { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.phone-glow { position: absolute; width: 360px; height: 360px; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,0.55), rgba(59,130,246,0.15) 55%, transparent 70%); filter: blur(30px); }
.phone {
  position: relative; width: 280px; height: 572px; border-radius: 48px; padding: 11px;
  background: linear-gradient(145deg, #3a3f5c 0%, #10132a 35%, #05060f 70%, #2a2f4a 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,0.18),
    inset 0 0 0 5px #06070f,
    0 50px 100px -30px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.05);
  transform: rotateY(-14deg) rotateX(6deg) rotate(-2deg);
  transform-style: preserve-3d;
  animation: phoneFloat 7s ease-in-out infinite;
}
@keyframes phoneFloat { 0%,100% { transform: rotateY(-14deg) rotateX(6deg) rotate(-2deg) translateY(0); } 50% { transform: rotateY(-10deg) rotateX(4deg) rotate(-2deg) translateY(-12px); } }
.phone::before, .phone::after { content: ""; position: absolute; right: -3px; width: 3px; border-radius: 0 2px 2px 0; background: linear-gradient(180deg, #4b5070, #1a1d33); }
.phone::before { top: 120px; height: 60px; }
.phone::after { top: 196px; height: 36px; }
.phone-notch { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #000; border-radius: 20px; z-index: 3; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05); }
.phone-screen { position: relative; height: 100%; border-radius: 38px; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #f5f3ff 100%); display: flex; flex-direction: column; color: #0f172a; }
.phone-glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: 38px; background: linear-gradient(115deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0.08) 28%, transparent 42%, transparent 100%); mix-blend-mode: screen; }
.phone-status { display: flex; justify-content: space-between; padding: 16px 26px 0; font-size: 0.7rem; font-weight: 700; }
.phone-splash { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.phone-icon {
  position: relative; width: 96px; height: 96px; border-radius: 26px; overflow: hidden; display: grid; place-items: center;
  background: var(--brand-grad); color: #fff; font-size: 2.5rem; font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 18px 34px -10px rgba(37,99,235,0.6);
}
.phone-icon::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent 50%); pointer-events: none; }
.phone-icon img { width: 100%; height: 100%; object-fit: cover; background: #fff; }
.phone-name { margin-top: 18px; font-weight: 800; font-size: 1.2rem; max-width: 210px; overflow-wrap: anywhere; letter-spacing: -0.02em; }
.phone-url { color: #64748b; font-size: 0.8rem; margin-top: 4px; max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-lines { width: 100%; margin-top: 28px; }
.phone-lines i { display: block; height: 10px; border-radius: 6px; margin: 11px auto; width: 80%; background: linear-gradient(90deg, #ede9fe, #dbeafe, #ede9fe); background-size: 200% 100%; animation: shimmer 2.4s linear infinite; }
.phone-lines i.short { width: 50%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.phone-banner { display: flex; align-items: center; justify-content: space-between; gap: 6px; background: #0f172a; color: #fff; font-size: 0.66rem; padding: 11px 14px 16px; }
.phone-banner b { background: var(--brand-grad); color: #fff; border-radius: 7px; padding: 5px 8px; white-space: nowrap; }
.float-card {
  position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 4px;
  background: rgba(17,20,48,0.78); color: #fff; border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 14px; padding: 11px 15px; font-weight: 700; font-size: 0.86rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 18px 40px -14px rgba(0,0,0,0.6);
  animation: float 5s ease-in-out infinite;
}
.float-card .ic-sm { stroke: #c4b5fd; }
.fc-1 { top: 70px; left: -6px; }
.fc-2 { bottom: 96px; right: -6px; animation-delay: 1.8s; }
.fc-2 .ic-sm { stroke: #4ade80; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Build form (glass card with gradient edge) ---------- */
.build { padding: 0 20px; margin-top: -120px; position: relative; z-index: 2; scroll-margin-top: 80px; }
.build-card {
  position: relative; max-width: 880px; margin: 0 auto; border-radius: 26px; padding: 40px;
  background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(180deg, rgba(59,130,246,0.55), rgba(59,130,246,0.12)) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 50px 100px -40px rgba(30,27,75,0.55), 0 20px 40px -24px rgba(37,99,235,0.35);
}
.build-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.build-head h2 { font-size: 1.75rem; margin: 0 0 4px; letter-spacing: -0.03em; }
.build-head p { color: var(--muted); margin: 0; }
.build-secure { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 700; color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 6px 11px; border-radius: 999px; }
.build-secure svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 22px; }
.build label { margin-top: 12px; font-weight: 650; color: #1e293b; }
.build input[type=text], .build input[type=email] {
  padding: 14px 15px; border-radius: 12px; border: 1.5px solid #e2e8f0; background: #f8fafc;
  transition: border-color .15s, box-shadow .15s, background .15s; font: inherit; font-size: 16px;
}
.build input[type=text]:hover, .build input[type=email]:hover { border-color: #bfdbfe; }
.build input:focus { outline: none; background: #fff; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(59,130,246,0.16); }
.drop {
  display: flex !important; align-items: center; gap: 12px; margin: 0 !important; padding: 12px 14px; min-height: 52px;
  border: 1.5px dashed #93c5fd; border-radius: 12px; background: #f5f9ff; cursor: pointer;
  font-weight: 400 !important; font-size: 0.9rem !important; transition: background .15s, border-color .15s, transform .15s;
}
.drop:hover, .drop.drag { background: #eff6ff; border-color: var(--indigo); }
.drop.has-file { border-style: solid; border-color: #86efac; background: #f0fdf4; }
.drop img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #fff; flex: none; }
.drop small { color: var(--muted); }
.field { position: relative; }
.visually-hidden { position: absolute !important; left: 0; bottom: 0; margin: 0; padding: 0; border: 0; opacity: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-foot { text-align: center; color: var(--muted); font-size: 0.85rem; margin: 12px 0 0; }

/* Trial / buy-now choice */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 20px; }
.plan { position: relative; margin: 0 !important; cursor: pointer; font-weight: 400 !important; font-size: 1rem !important; }
.plan input { position: absolute; opacity: 0; }
.plan-body {
  display: flex; flex-direction: column; gap: 3px; height: 100%;
  padding: 18px 18px 18px 50px; border: 1.5px solid #e2e8f0; border-radius: 16px; background: #fff;
  transition: border-color .15s, box-shadow .15s, background .15s, transform .15s; position: relative;
}
.plan-body::before {
  content: ""; position: absolute; left: 18px; top: 21px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid #cbd5e1; background: #fff; transition: all .15s;
}
.plan:hover .plan-body { border-color: #93c5fd; transform: translateY(-1px); }
.plan input:checked + .plan-body {
  border-color: transparent;
  background: #f5f9ff padding-box, var(--brand-grad) border-box;
  box-shadow: 0 14px 30px -18px rgba(37,99,235,0.55);
}
.plan input:checked + .plan-body::before { border-color: #2563eb; background: radial-gradient(circle, #2563eb 45%, #fff 50%); }
.plan input:focus-visible + .plan-body { outline: 2px solid var(--indigo); outline-offset: 2px; }
.plan-title { font-weight: 700; }
.plan-price { font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; }
.plan-price small { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.plan-desc { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.plan-tag { position: absolute; top: -11px; right: 14px; background: var(--shine), var(--brand-grad); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(37,99,235,0.7); }

/* Publish add-on on the build form */
.build .addon { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px !important; padding: 14px; border: 1.5px dashed #93c5fd; border-radius: 14px; background: #f5f9ff; font-weight: 400 !important; font-size: 0.95rem !important; cursor: pointer; line-height: 1.45; }
.build .addon[hidden] { display: none; }
.build .addon input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: #2563eb; }
.build .addon em { font-style: normal; color: #1d4ed8; font-weight: 800; }
.build .addon small { color: var(--muted); }
.build .addon:has(input:checked) { border-style: solid; border-color: #3b82f6; background: #eff6ff; }

/* ---------- Stats strip ---------- */
.stats { max-width: 1000px; margin: 56px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { text-align: center; padding: 20px 12px; border-radius: 18px; background: #fff; border: 1px solid #e8eaf3; box-shadow: 0 12px 30px -22px rgba(30,27,75,0.35); }
.stat b { display: block; font-size: 1.7rem; letter-spacing: -0.03em; color: #2563eb; }
.stat span { color: var(--muted); font-size: 0.88rem; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: 96px 24px; max-width: 1160px; margin: 0 auto; scroll-margin-top: 60px; }
.section.alt { max-width: none; background: linear-gradient(180deg, #eef0fb 0%, #f6f7fb 100%); }
.section.alt > * { max-width: 1160px; margin-left: auto; margin-right: auto; }
.eyebrow { display: block; width: max-content; margin: 0 auto 12px !important; font-size: 0.78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #2563eb; background: #eff6ff; padding: 6px 12px; border-radius: 999px; }
.section-title { text-align: center; font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.035em; margin: 0 0 10px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 52px; font-size: 1.08rem; }
.center { text-align: center; }
.center a, .faq a { color: #2563eb; font-weight: 700; }

.steps-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps-grid::before { content: ""; position: absolute; top: 52px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg, transparent, #c4b5fd, #93c5fd, transparent); z-index: 0; }
.step { position: relative; z-index: 1; background: #fff; border: 1px solid #e8eaf3; border-radius: 22px; padding: 30px; box-shadow: 0 20px 40px -30px rgba(30,27,75,0.35); transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -28px rgba(37,99,235,0.4); }
.step-num { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.15rem; background: var(--shine), var(--brand-grad); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 10px 20px -8px rgba(37,99,235,0.6); }
.step h3, .feature h3 { margin: 18px 0 6px; font-size: 1.12rem; letter-spacing: -0.01em; }
.step p, .feature p { margin: 0; color: #475569; line-height: 1.6; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  position: relative; border-radius: 22px; padding: 28px; overflow: hidden;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(#dbeafe, #dbeafe) border-box;
  border: 1px solid transparent; transition: transform .2s, box-shadow .2s;
}
.feature::after { content: ""; position: absolute; width: 180px; height: 180px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,0.10), transparent 70%); transition: transform .3s; }
.feature:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(37,99,235,0.45); }
.feature:hover::after { transform: scale(1.4); }
.f-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--shine), var(--brand-grad); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 12px 24px -10px rgba(37,99,235,0.55); }
.f-icon .ic { stroke: #fff; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 26px; align-items: stretch; }
.price-card { position: relative; background: #fff; border: 1px solid #e8eaf3; border-radius: 26px; padding: 36px; display: flex; flex-direction: column; box-shadow: 0 24px 50px -36px rgba(30,27,75,0.4); }
.price-card .ticks { flex: 1; margin-top: 20px; }
.price-card .btn-ghost { color: #1e293b; background: #fff; border: 1.5px solid #e2e8f0; backdrop-filter: none; box-shadow: none; }
.price-card .btn-ghost:hover { border-color: #93c5fd; color: #1d4ed8; background: #f8fbff; }
.price-card.featured {
  color: #e2e8f0; border: 1.5px solid transparent;
  background: radial-gradient(400px 220px at 80% 0%, rgba(59,130,246,0.45), transparent 70%) padding-box, linear-gradient(160deg, #141842, #070a1c) padding-box, linear-gradient(rgba(96,165,250,0.75), rgba(96,165,250,0.75)) border-box;
  box-shadow: 0 40px 80px -30px rgba(37,99,235,0.65);
  transform: translateY(-8px);
}
.price-card.featured .price-tag { color: #fff; }
.price-card.featured .price-name, .price-card.featured .price-tag small { color: #93c5fd; }
.price-card.featured .ticks li::before { background: rgba(74,222,128,0.15); color: #4ade80; }
.badge-top { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--shine), #f59e0b; color: #fff; font-size: 0.75rem; font-weight: 800; letter-spacing: .04em; padding: 6px 14px; border-radius: 999px; box-shadow: 0 8px 18px -6px rgba(245,158,11,0.6); white-space: nowrap; }
.price-tag { font-size: 2.9rem; font-weight: 800; letter-spacing: -0.04em; }
.price-tag small { font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.price-name { color: var(--muted); font-weight: 600; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto 24px !important; }
.faq details { background: #fff; border: 1px solid #e8eaf3; border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; transition: box-shadow .2s, border-color .2s; }
.faq details:hover { border-color: #bfdbfe; }
.faq details[open] { border-color: #c4b5fd; box-shadow: 0 18px 36px -26px rgba(124,58,237,0.5); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--brand-grad); font-size: 1.1rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #475569; margin: 12px 0 0; line-height: 1.65; }

/* iOS band */
.ios-band { position: relative; overflow: hidden; background: linear-gradient(120deg, #0b1030, #060918 60%, #1a0f3a); color: #fff; padding: 40px 24px; }
.ios-band::before { content: ""; position: absolute; width: 400px; height: 400px; right: 10%; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,0.4), transparent 70%); }
.ios-band-inner { position: relative; max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.ios-band h2 { margin: 0 0 4px; font-size: 1.5rem; letter-spacing: -0.02em; }
.ios-band p { margin: 0; color: #b4bdd3; }

/* Final CTA */
.cta-band { position: relative; overflow: hidden; isolation: isolate; text-align: center; color: #fff; padding: 96px 24px; background: radial-gradient(900px 400px at 50% 120%, #2563eb 0%, transparent 60%), linear-gradient(180deg, #0b1030, #060918); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%); }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px; letter-spacing: -0.04em; }
.cta-band p { color: #b4bdd3; margin: 0 0 30px; font-size: 1.12rem; }

/* iPhone waitlist link + modal */
.ios-modal { width: min(440px, calc(100vw - 24px)); border: 0; border-radius: 24px; padding: 28px 22px 22px; box-shadow: 0 50px 100px -30px rgba(6,9,24,0.7); }
.ios-modal::backdrop { background: rgba(6,9,24,0.65); backdrop-filter: blur(6px); }
.ios-modal h2 { margin: 0 0 6px; font-size: 1.4rem; letter-spacing: -0.02em; }
.ios-modal .muted { color: var(--muted); font-weight: 400; }
.ios-modal label { margin-top: 12px; }
.ios-modal input[type=text], .ios-modal input[type=email] { padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--border); background: #f8fafc; font: inherit; font-size: 16px; width: 100%; }
.ios-modal .ios-also { display: flex; gap: 10px; align-items: center; margin: 16px 0 !important; padding: 12px; border: 1.5px dashed #93c5fd; border-radius: 12px; background: #f5f9ff; font-weight: 500; cursor: pointer; }
.ios-modal .ios-also input { width: 20px; height: 20px; accent-color: #2563eb; }
.ios-close-form { position: absolute; top: 10px; right: 10px; margin: 0; }
.ios-close { width: 36px; height: 36px; min-height: 0; padding: 0; margin: 0; border-radius: 50%; background: #f1f5f9; color: #334155; font-size: 1.4rem; line-height: 1; box-shadow: none; }
.ios-close:hover { background: #e2e8f0; transform: none; }
.ios-done { text-align: center; }
.ios-tick { width: 64px; height: 64px; margin: 4px auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; color: #fff; background: #16a34a; }
.ios-line { text-align: center; margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--border); color: var(--muted); font-size: 0.9rem; }
.link-btn { background: none; border: 0; padding: 0; margin: 0; min-height: 0; box-shadow: none; font: inherit; font-weight: 700; color: #2563eb; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { background: none; color: #4c1d95; transform: none; }

.ic { width: 24px; height: 24px; stroke: #2563eb; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 15px; height: 15px; vertical-align: -2px; margin-right: 4px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Gentle reveal on scroll (only when JS adds .reveal) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .orb, .phone, .float-card, .phone-lines i, .mesh, .beam, .floor, .sparkles { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 44px 18px 150px; }
  .hero-phone { display: none; }
  .steps-grid, .features { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 2.35rem; }
  .lead { font-size: 1.05rem; }
  .build { padding: 0 14px; }
  .build-card { padding: 24px 18px; border-radius: 20px; }
  .grid-2, .steps-grid, .features, .pricing, .plans { grid-template-columns: 1fr; }
  .section { padding: 64px 16px; }
  .hero-actions a { flex: 1; }
  .price-card.featured { transform: none; }
  .ios-band .btn-white { width: 100%; }
  .stats { gap: 10px; margin-top: 36px; }
  .stat { padding: 16px 8px; }
  .stat b { font-size: 1.35rem; }
}

/* Footer matches the dark hero on the homepage */
.is-landing .site-footer { background: var(--ink); border-top: 1px solid rgba(255,255,255,0.06); }
.is-landing .footer-bottom { border-top-color: rgba(255,255,255,0.08); }
@media (max-width: 640px) {
  .hero-actions .btn-lg, .hero-actions .btn-ghost { padding: 14px 12px; font-size: 0.95rem; white-space: nowrap; }
}

@media (max-width: 640px) {
  .horizon { bottom: -1320px; width: 1500px; }
  .floor { height: 55%; opacity: .35; }
  .o1 { width: 320px; height: 320px; }
}
/* Keep phones smooth: the heavy background animations run on larger screens only */
@media (max-width: 900px) { .mesh, .floor { animation: none; } }

/* Trust items as small glass pills: readable over any background */
.hero-trust { gap: 7px; margin-top: 24px; text-shadow: none; }
.hero-trust span {
  padding: 6px 11px; border-radius: 999px; color: #dbe1f0; font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  background: rgba(10,12,40,0.55); border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
@media (max-width: 640px) { .hero-trust span { font-size: 0.8rem; padding: 6px 10px; } }

/* Phones: same look, fewer expensive effects (blur + blend + grain are costly to paint) */
@media (max-width: 900px) {
  .orb, .beam, .sparkles { animation: none; }
  .orb { mix-blend-mode: normal; filter: blur(50px); }
  .grain { display: none; }
  .float-card, .pill, .btn-ghost, .hero-trust span { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
