:root {
  color-scheme: dark;
  --primary: #d0bcff;
  --primary-dark: #4f378b;
  --primary-light: #eaddff;
  --background: #141218;
  --surface: #1d1b20;
  --card: #211f26;
  --input: #2b2930;
  --divider: #49454f;
  --text: #e6e1e5;
  --muted: #cac4d0;
  --green: #6dd58c;
  --red: #f2b8b5;
  --blue: #7fcfff;
  --yellow: #ffd966;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(208, 188, 255, 0.16), transparent 22rem),
    radial-gradient(circle at 88% 12%, rgba(127, 207, 255, 0.10), transparent 20rem),
    linear-gradient(180deg, rgba(79, 55, 139, 0.10), rgba(20, 18, 24, 0));
  z-index: -2;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(234, 221, 255, 0.10);
  border-radius: 999px;
  background: rgba(29, 27, 32, 0.76);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-header.is-elevated {
  border-color: rgba(208, 188, 255, 0.24);
  background: rgba(29, 27, 32, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 36px;
  height: 36px;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--primary-light);
}

.nav-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 750;
}

.nav-cta,
.primary-action {
  background: var(--primary);
  color: var(--primary-dark);
  padding: 0 18px;
}

.secondary-action {
  border: 1px solid rgba(234, 221, 255, 0.22);
  color: var(--primary-light);
  padding: 0 18px;
}

.play-action {
  gap: 10px;
}

.play-action img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 178px;
  min-height: 54px;
  padding: 8px 16px 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: #050505;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.store-badge:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.store-badge img {
  width: 28px;
  height: 28px;
}

.store-badge span {
  display: grid;
  gap: 1px;
  text-align: left;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.store-badge small {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: center;
  padding: 112px 20px 76px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18vh;
  background: linear-gradient(180deg, rgba(20, 18, 24, 0), var(--background));
  pointer-events: none;
}

.hero-scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  perspective: 1300px;
  background:
    linear-gradient(110deg, rgba(20, 18, 24, 0.78), rgba(20, 18, 24, 0.20) 52%, rgba(20, 18, 24, 0.88)),
    repeating-linear-gradient(90deg, rgba(234, 221, 255, 0.04) 0 1px, transparent 1px 110px),
    repeating-linear-gradient(0deg, rgba(234, 221, 255, 0.03) 0 1px, transparent 1px 110px);
}

.phone {
  position: absolute;
  width: clamp(220px, 24vw, 330px);
  aspect-ratio: 0.49;
  border: 10px solid #0e0d12;
  border-radius: 38px;
  background: #0e0d12;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.48);
  overflow: hidden;
  transition: transform 220ms ease;
}

.phone-primary {
  right: max(5vw, calc((100vw - var(--max)) / 2));
  top: 18vh;
  transform: rotate(-6deg) translate3d(var(--mx, 0), var(--my, 0), 0);
}

.phone-secondary {
  right: max(27vw, calc((100vw - 640px) / 2));
  top: 28vh;
  width: clamp(180px, 19vw, 260px);
  opacity: 0.92;
  transform: rotate(8deg) translate3d(calc(var(--mx, 0) * -0.6), calc(var(--my, 0) * -0.6), -70px);
}

.phone-top {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 50%;
  width: 72px;
  height: 20px;
  border-radius: 999px;
  background: #0e0d12;
  transform: translateX(-50%);
}

.app-screen,
.scan-screen {
  height: 100%;
  padding: 44px 16px 18px;
  background:
    linear-gradient(180deg, rgba(208, 188, 255, 0.15), transparent 32%),
    var(--surface);
}

.screen-bar,
.receipt-list span,
.safe-panel,
.action-grid span,
.scan-frame,
.insight-card,
.plan,
.workflow-panel,
.feature-grid article {
  border: 1px solid rgba(234, 221, 255, 0.08);
  background: rgba(33, 31, 38, 0.88);
}

.screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  font-size: 12px;
  color: var(--muted);
}

.screen-bar strong {
  color: var(--green);
}

.safe-panel {
  margin-top: 12px;
  padding: 16px;
  border-radius: 24px;
}

.safe-panel span,
.insight-card span {
  color: var(--muted);
  font-size: 13px;
}

.safe-panel strong {
  display: block;
  margin-top: 6px;
  color: var(--primary);
  font-size: 28px;
}

.meter {
  height: 8px;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--input);
  overflow: hidden;
}

.meter i {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.action-grid span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 750;
}

.receipt-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.receipt-list span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 15px;
  font-size: 12px;
}

.receipt-list em {
  color: var(--primary);
  font-style: normal;
}

.scan-screen {
  display: grid;
  align-content: center;
  gap: 16px;
}

.scan-frame {
  position: relative;
  min-height: 260px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background: rgba(20, 18, 24, 0.58);
}

.scan-frame > span {
  position: absolute;
  width: 34px;
  height: 34px;
  border-color: var(--primary);
}

.scan-frame > span:nth-child(1) { top: 16px; left: 16px; border-top: 3px solid; border-left: 3px solid; }
.scan-frame > span:nth-child(2) { top: 16px; right: 16px; border-top: 3px solid; border-right: 3px solid; }
.scan-frame > span:nth-child(3) { bottom: 16px; left: 16px; border-bottom: 3px solid; border-left: 3px solid; }
.scan-frame > span:nth-child(4) { bottom: 16px; right: 16px; border-bottom: 3px solid; border-right: 3px solid; }

.paper {
  width: 112px;
  padding: 16px;
  border-radius: 8px 8px 18px 18px;
  background: var(--primary-light);
  color: var(--primary-dark);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.paper b,
.paper strong {
  display: block;
}

.paper i {
  display: block;
  height: 5px;
  margin-top: 9px;
  border-radius: 999px;
  background: rgba(79, 55, 139, 0.28);
}

.paper strong {
  margin-top: 14px;
}

.scan-screen p {
  margin: 0;
  text-align: center;
  color: var(--primary-light);
  font-size: 13px;
}

.floating-chip {
  position: absolute;
  max-width: 220px;
  padding: 10px 14px;
  border: 1px solid rgba(234, 221, 255, 0.14);
  border-radius: 999px;
  background: rgba(29, 27, 32, 0.84);
  color: var(--primary-light);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 750;
}

.chip-one { right: 17vw; top: 17vh; }
.chip-two { right: 8vw; bottom: 25vh; }
.chip-three { right: 34vw; bottom: 19vh; }

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  margin-left: max(0px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 132px;
  line-height: 0.86;
  letter-spacing: 0;
}

.page-title {
  font-size: 76px;
  line-height: 0.96;
}

.hero-lede {
  max-width: 560px;
  color: var(--muted);
  font-size: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.tester-note {
  max-width: 430px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.proof-strip,
.section,
.final-cta,
footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.proof-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: -34px;
  border: 1px solid rgba(234, 221, 255, 0.10);
  border-radius: 24px;
  overflow: hidden;
  background: var(--divider);
}

.proof-strip div {
  padding: 22px;
  background: rgba(33, 31, 38, 0.92);
}

.proof-strip strong,
.proof-strip span {
  display: block;
}

.proof-strip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 104px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: 62px;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-grid article {
  min-height: 280px;
  padding: 24px;
  border-radius: 26px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 48px;
  border-radius: 16px;
  background: var(--primary-dark);
  color: var(--primary-light);
  font-weight: 900;
}

.feature-grid p,
.workflow-panel p,
.insight-card p,
.plan li,
.final-cta p {
  color: var(--muted);
}

.workflow-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  padding: 32px;
  border-radius: 30px;
}

.faq-page {
  padding-top: 132px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(234, 221, 255, 0.08);
  border-radius: 24px;
  background: rgba(33, 31, 38, 0.88);
}

.faq-sidebar a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.faq-sidebar a:hover {
  background: rgba(208, 188, 255, 0.10);
  color: var(--primary-light);
}

.faq-list {
  display: grid;
  gap: 28px;
}

.faq-list section {
  display: grid;
  gap: 10px;
}

.faq-list h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.faq-list details {
  border: 1px solid rgba(234, 221, 255, 0.08);
  border-radius: 20px;
  background: rgba(33, 31, 38, 0.88);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--primary-light);
  font-weight: 850;
}

.faq-list details[open] summary {
  border-bottom: 1px solid rgba(234, 221, 255, 0.08);
}

.faq-list details p {
  margin: 0;
  padding: 18px 20px 20px;
  color: var(--muted);
}

.faq-list a {
  color: var(--primary-light);
  font-weight: 750;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding: 18px;
  border-radius: 20px;
  background: rgba(43, 41, 48, 0.74);
}

.steps span {
  display: block;
  color: var(--primary-light);
  font-weight: 800;
}

.steps p {
  margin: 4px 0 0;
}

.insight-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 14px;
}

.insight-card {
  min-height: 230px;
  padding: 26px;
  border-radius: 28px;
}

.insight-card.wide {
  grid-row: span 2;
  min-height: 474px;
  display: grid;
  align-content: end;
  background:
    linear-gradient(180deg, rgba(208, 188, 255, 0.11), transparent 40%),
    rgba(33, 31, 38, 0.88);
}

.insight-card strong {
  display: block;
  margin: 8px 0 14px;
  color: var(--primary);
  font-size: 56px;
  line-height: 1;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}

.plan {
  position: relative;
  padding: 26px;
  border-radius: 28px;
}

.plan.featured {
  border-color: rgba(208, 188, 255, 0.46);
  background:
    linear-gradient(135deg, rgba(79, 55, 139, 0.50), rgba(33, 31, 38, 0.92)),
    var(--card);
}

.plan-badge {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 850;
}

.price {
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 32px;
  font-weight: 900;
}

.plan ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--green);
}

.aicore-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: 32px;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(13, 148, 136, 0.30), rgba(14, 13, 18, 0.18) 46%, rgba(16, 185, 129, 0.14)),
    rgba(33, 31, 38, 0.88);
  overflow: hidden;
}

.aicore-copy p {
  max-width: 520px;
  color: var(--muted);
  font-size: 18px;
}

.aicore-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.aicore-brand img {
  width: 78px;
  height: 78px;
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(13, 148, 136, 0.26);
}

.aicore-brand h2 {
  font-size: 58px;
}

.aicore-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.aicore-showcase {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.aicore-showcase::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 42%, rgba(45, 212, 191, 0.24), transparent 34%),
    radial-gradient(circle at 70% 55%, rgba(16, 185, 129, 0.20), transparent 36%);
  filter: blur(18px);
}

.aicore-phone {
  position: relative;
  width: min(29%, 172px);
  min-width: 130px;
  border-radius: 26px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
  transform: rotate(5deg) translateY(22px);
}

.aicore-phone-main {
  z-index: 2;
  width: min(37%, 220px);
  min-width: 168px;
  transform: translateY(-8px);
}

.aicore-phone:first-child + .aicore-phone {
  transform: rotate(-7deg) translateY(34px);
}

.aicore-feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.aicore-feature-row article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(234, 221, 255, 0.08);
  border-radius: 26px;
  background: rgba(33, 31, 38, 0.88);
}

.aicore-feature-row span {
  display: block;
  margin-bottom: 14px;
  color: var(--primary-light);
  font-size: 20px;
  font-weight: 850;
}

.aicore-feature-row p {
  margin: 0;
  color: var(--muted);
}

.final-cta {
  display: grid;
  justify-items: center;
  padding: 98px 20px;
  text-align: center;
}

.final-cta h2 {
  max-width: 680px;
}

.final-cta p {
  margin: 18px 0 26px;
  font-size: 18px;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-top: 0;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 40px;
  border-top: 1px solid rgba(234, 221, 255, 0.10);
  color: var(--muted);
}

footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 980px;
    align-items: start;
    padding-top: 118px;
  }

  .hero-copy {
    margin-left: 0;
  }

  h1 {
    font-size: 104px;
  }

  .page-title {
    font-size: 64px;
  }

  h2 {
    font-size: 48px;
  }

  .hero-lede {
    font-size: 23px;
  }

  .insight-card strong {
    font-size: 42px;
  }

  .phone-primary {
    right: 5vw;
    top: 455px;
  }

  .phone-secondary {
    right: auto;
    left: 6vw;
    top: 520px;
  }

  .chip-one { right: 5vw; top: 420px; }
  .chip-two { right: 5vw; bottom: 120px; }
  .chip-three { left: 6vw; right: auto; bottom: 80px; }

  .proof-strip,
  .feature-grid,
  .workflow-panel,
  .section-heading,
  .insight-layout,
  .pricing-grid,
  .aicore-layout,
  .aicore-feature-row,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    position: static;
  }

  .insight-card.wide {
    min-height: 280px;
  }

  .aicore-showcase {
    min-height: 430px;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 910px;
    padding-inline: 16px;
  }

  h1 {
    font-size: 74px;
  }

  .page-title {
    font-size: 46px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-lede {
    font-size: 19px;
  }

  .insight-card strong {
    font-size: 34px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .phone-primary {
    width: 220px;
    right: -18px;
    top: 470px;
  }

  .phone-secondary {
    width: 170px;
    left: -12px;
    top: 560px;
  }

  .floating-chip {
    display: none;
  }

  .proof-strip,
  .section,
  .final-cta,
  footer {
    width: min(calc(100% - 28px), var(--max));
  }

  .proof-strip div,
  .feature-grid article,
  .workflow-panel,
  .insight-card,
  .plan,
  .aicore-layout,
  .aicore-feature-row article,
  .faq-sidebar,
  .faq-list summary,
  .faq-list details p {
    padding: 20px;
  }

  .aicore-brand {
    grid-template-columns: 1fr;
  }

  .aicore-brand h2 {
    font-size: 38px;
  }

  .aicore-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .aicore-showcase {
    min-height: 340px;
    justify-content: flex-start;
    overflow-x: hidden;
  }

  .aicore-phone {
    width: 34%;
    min-width: 112px;
  }

  .aicore-phone-main {
    width: 44%;
    min-width: 146px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
