:root {
  --ink: #111a2d;
  --muted: #68758b;
  --line: #dce4ef;
  --brand: #2f68e8;
  --brand-soft: #edf3ff;
  --teal: #0f9f8f;
  --violet: #7c4ded;
  --surface: #fff;
  --page: #f3f6fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
  background: #dfe6f1;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.showcase-hero {
  position: relative;
  overflow: hidden;
  padding: max(18px, env(safe-area-inset-top)) 20px 46px;
  background:
    radial-gradient(circle at 84% 16%, rgba(55, 113, 245, .55), transparent 30%),
    radial-gradient(circle at 5% 60%, rgba(15, 159, 143, .23), transparent 29%),
    linear-gradient(150deg, #0c172b 0%, #182d54 100%);
  color: #fff;
}

.showcase-hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 30px 30px;
  content: "";
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.topbar,
.hero-copy,
.hero-proof,
.hero-device { position: relative; z-index: 1; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 12px; box-shadow: 0 10px 25px rgba(21,73,188,.42); }
.brand span { display: flex; flex-direction: column; }
.brand strong { font-size: 13px; letter-spacing: -.02em; }
.brand small { margin-top: 2px; color: #93a6c8; font-size: 9px; }

.open-app {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
  backdrop-filter: blur(10px);
}

.hero-copy { margin-top: 56px; }
.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: #9fc0ff;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 9.3ch;
  margin: 0;
  font-size: clamp(42px, 13vw, 60px);
  line-height: .98;
  letter-spacing: -.065em;
}

.hero-copy p {
  max-width: 37ch;
  margin: 23px 0 0;
  color: #c1cee1;
  font-size: 14px;
  line-height: 1.7;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 30px;
}

.hero-proof div {
  padding: 13px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(10px);
}
.hero-proof strong { display: block; font-size: 20px; letter-spacing: -.04em; }
.hero-proof span { display: block; margin-top: 3px; color: #9cadc8; font-size: 8px; line-height: 1.35; }

.hero-device { margin: 38px 18px 0; }
.hero-device::before {
  position: absolute;
  inset: 11% -14% -6%;
  border-radius: 50%;
  background: rgba(71, 126, 246, .32);
  filter: blur(35px);
  content: "";
}
.hero-device figcaption { position: relative; margin-top: 14px; color: #aebdd5; font-size: 10px; text-align: center; }

.phone-shell,
.phone-frame {
  position: relative;
  overflow: hidden;
  border: 7px solid #111b2e;
  border-radius: 32px;
  background: #111b2e;
  box-shadow: 0 28px 70px rgba(2, 8, 23, .34);
}
.phone-shell { border-width: 8px; }
.phone-shell img,
.phone-frame img { width: 100%; aspect-ratio: 480 / 930; object-fit: cover; background: #f4f7fb; }
.phone-speaker {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: 62px;
  height: 13px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #111b2e;
}

.section-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(148,163,184,.25);
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 24px rgba(15,23,42,.06);
  scrollbar-width: none;
  backdrop-filter: blur(16px);
}
.section-nav::-webkit-scrollbar { display: none; }
.section-nav a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #526078;
  font-size: 10px;
  font-weight: 750;
  text-decoration: none;
}

main { background: var(--page); }
.feature-section { padding: 60px 16px 18px; scroll-margin-top: 58px; }
.feature-section + .feature-section { border-top: 1px solid #e1e7f0; }
.section-heading { padding: 0 4px 24px; }
.section-heading > span { color: var(--brand); font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.section-heading h2 { margin: 10px 0 0; font-size: 31px; line-height: 1.03; letter-spacing: -.055em; }
.section-heading p { margin: 14px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.feature-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  padding: 22px 18px 0;
  border: 1px solid rgba(148,163,184,.23);
  border-radius: 25px;
  background:
    radial-gradient(circle at 100% 0, rgba(47,104,232,.08), transparent 28%),
    #fff;
  box-shadow: 0 18px 45px rgba(15,23,42,.07);
}
.feature-card:nth-of-type(3n) { background: radial-gradient(circle at 100% 0, rgba(124,77,237,.09), transparent 29%), #fff; }
.feature-card:nth-of-type(4n) { background: radial-gradient(circle at 100% 0, rgba(15,159,143,.09), transparent 29%), #fff; }
.feature-card--lead { border-color: rgba(47,104,232,.2); }
.feature-copy { position: relative; z-index: 1; }
.role-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.feature-copy h3 { margin: 13px 0 0; font-size: 23px; line-height: 1.05; letter-spacing: -.045em; }
.feature-copy p { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.feature-copy ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0 0; padding: 0; list-style: none; }
.feature-copy li { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; color: #526078; font-size: 8px; font-weight: 700; }
.phone-frame { width: min(78%, 270px); margin: 25px auto -114px; border-width: 6px; border-radius: 27px; box-shadow: 0 24px 55px rgba(15,23,42,.22); }
.feature-card { padding-bottom: 138px; }
.compact-card .phone-frame { margin-bottom: -190px; }
.compact-card { padding-bottom: 214px; }

.vibing-feature {
  padding-bottom: 58px;
  background:
    radial-gradient(circle at 92% 8%, rgba(47,104,232,.25), transparent 28%),
    radial-gradient(circle at 5% 92%, rgba(15,159,143,.18), transparent 30%),
    linear-gradient(150deg, #0b1427, #13284b 62%, #113344);
  color: #fff;
}
.vibing-feature .section-heading > span { color: #9fbeff; }
.vibing-feature .section-heading p { color: #b3c1d7; }
.vibing-demo {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 27px;
  background: #f5f7fb;
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(2,8,23,.35);
}
.vibing-demo-top {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  background: #101a2f;
  color: #fff;
}
.vibing-demo-brand { display: flex; align-items: center; gap: 10px; }
.vibing-demo-brand > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #2f68e8, #7c4ded 58%, #13a89a);
  box-shadow: 0 9px 24px rgba(47,104,232,.32);
  font-size: 16px;
  font-weight: 900;
}
.vibing-demo-brand strong,
.vibing-demo-brand small { display: block; }
.vibing-demo-brand strong { font-size: 12px; }
.vibing-demo-brand small { margin-top: 2px; color: #8fa0bd; font-size: 7px; }
.vibing-connected { color: #a9e7ca; font-size: 8px; font-weight: 850; }
.vibing-demo-project { padding: 18px 18px 14px; border-bottom: 1px solid #dfe6f0; background: #fff; }
.vibing-demo-project span { display: block; margin-bottom: 4px; color: #75839a; font-size: 7px; font-weight: 850; letter-spacing: .08em; }
.vibing-demo-project strong { font-size: 15px; }
.vibing-demo-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 9px 12px; border-bottom: 1px solid #dfe6f0; background: #fff; }
.vibing-demo-modes span { padding: 8px; border-radius: 9px; color: #7a8799; background: #f3f6fa; font-size: 8px; font-weight: 850; text-align: center; }
.vibing-demo-modes span.is-active { color: #315fce; background: #eaf1ff; box-shadow: inset 0 0 0 1px #cddcff; }
.vibing-demo-chat { display: grid; gap: 10px; padding: 18px; }
.vibing-demo-chat p { max-width: 88%; margin: 0; padding: 11px 12px; border: 1px solid #dbe3ee; border-radius: 14px 14px 14px 4px; background: #fff; color: #4d5b71; font-size: 9px; line-height: 1.6; }
.vibing-demo-chat p.is-user { margin-left: auto; border: 0; border-radius: 14px 14px 4px 14px; background: linear-gradient(135deg, #3269e8, #704add); color: #fff; }
.vibing-demo-tasks { display: grid; gap: 6px; padding: 11px 12px; border: 1px solid #dbe4f1; border-radius: 13px; background: #f9fbff; }
.vibing-demo-tasks span { color: #526178; font-size: 8px; font-weight: 750; }
.vibing-demo-ready { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 11px; border: 1px solid #c7eadb; border-radius: 12px; background: #effbf6; color: #146a53; font-size: 8px; }
.vibing-demo-ready span { padding: 5px 8px; border-radius: 7px; background: #15936f; color: #fff; font-weight: 850; }
.vibing-analysis-card { margin: 0 18px 18px; padding: 15px; border: 1px solid #bfe8df; border-radius: 15px; background: linear-gradient(145deg,#f1fffb,#eef8ff); }
.vibing-analysis-card > span { display: block; margin-bottom: 7px; color: #118676; font-size: 7px; font-weight: 900; letter-spacing: .1em; }
.vibing-analysis-card strong { display: block; font-size: 12px; line-height: 1.4; }
.vibing-analysis-card p { margin: 7px 0 0; color: #5b6a80; font-size: 8px; line-height: 1.6; }
.vibing-demo-flow { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 9px; border-block: 1px solid #dfe6ef; background: #fff; color: #68768c; font-size: 7px; font-weight: 800; }
.vibing-demo-flow span { padding: 6px 7px; border-radius: 999px; background: #eef3fb; }
.vibing-demo-flow b { color: #3d6fe2; }
.vibing-demo-preview { position: relative; display: grid; min-height: 455px; place-items: center; overflow: hidden; padding: 58px 20px 24px; background: radial-gradient(circle at 50% 38%, #fff, #eaf1f9 69%); }
.vibing-demo-preview > div:first-child { position: absolute; top: 18px; left: 18px; }
.vibing-demo-preview > div:first-child span,
.vibing-demo-preview > div:first-child strong { display: block; }
.vibing-demo-preview > div:first-child span { margin-bottom: 3px; color: #7b889c; font-size: 7px; font-weight: 850; }
.vibing-demo-preview > div:first-child strong { font-size: 13px; }
.vibing-demo-live { position: absolute; top: 18px; right: 18px; padding: 6px 8px; border: 1px solid #bce5d3; border-radius: 999px; background: #f1fff8; color: #0a7c5f; font-size: 7px; }
.vibing-demo-phone { width: min(68%, 250px); padding: 7px; border-radius: 29px; background: #0e1729; box-shadow: 0 24px 56px rgba(15,23,42,.27); }
.vibing-demo-phone img { width: 100%; aspect-ratio: 480 / 930; border-radius: 22px; object-fit: cover; object-position: top; }
.vibing-demo-note { margin: 15px 6px 0; color: #91a2bd; font-size: 9px; line-height: 1.6; text-align: center; }

.showcase-cta {
  padding: 74px 24px max(70px, calc(48px + env(safe-area-inset-bottom)));
  background:
    radial-gradient(circle at 100% 0, rgba(47,104,232,.38), transparent 34%),
    linear-gradient(150deg, #0d1729, #172c51);
  color: #fff;
  text-align: center;
}
.showcase-cta h2 { margin: 0; font-size: 36px; line-height: 1.02; letter-spacing: -.055em; }
.showcase-cta p { margin: 17px auto 0; color: #b8c6dc; font-size: 12px; line-height: 1.7; }
.showcase-cta a {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  padding: 0 19px;
  border-radius: 14px;
  background: #fff;
  color: #19305b;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(0,0,0,.18);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: #091221;
  color: #7585a0;
  font-size: 8px;
}
footer a { color: #a8b7cf; font-weight: 700; text-decoration: none; }

@media (min-width: 481px) {
  body { box-shadow: 0 0 80px rgba(15,23,42,.18); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
