:root {
  --bg: #07070b;
  --surface: #0f0e16;
  --surface-2: #151224;
  --line: #2a2340;
  --text: #fbfaff;
  --muted: #aaa5b8;
  --purple: #8b5cf6;
  --purple-2: #6d28d9;
  --green: #5ee0a0;
  --max: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 72% 10%, rgba(109, 40, 217, .15), transparent 30%), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(167, 139, 250, .72);
  outline-offset: 3px;
}

.container {
  width: min(var(--max), calc(100% - 36px));
  margin: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  background: rgba(7, 7, 11, .78);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #a855f7, #5b21b6);
  box-shadow: 0 8px 22px rgba(57, 27, 112, .28);
}

.brand-mark svg {
  width: 20px;
}

.navlinks {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: #d8d4e2;
  font-size: 14px;
}

.navlinks a,
.mini-link {
  text-underline-offset: 4px;
}

.navlinks a:hover,
.mini-link:hover {
  text-decoration: underline;
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.btn {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #11101a;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 10px 28px rgba(67, 34, 131, .28);
}

@media (hover: hover) and (pointer: fine) {
  .btn:not(:disabled):hover {
    transform: translateY(-1px);
    border-color: #4a3b70;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
  }

  .btn.primary:not(:disabled):hover {
    box-shadow: 0 14px 34px rgba(80, 41, 154, .34);
  }
}

.menu-btn {
  width: 44px;
  height: 44px;
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: white;
  font-size: 24px;
}

.hero {
  min-height: 730px;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #08070b 0%, rgba(8, 7, 11, .94) 39%, rgba(8, 7, 11, .38) 72%, rgba(8, 7, 11, .82)),
    url("/assets/images/hero-ecommerce.jpg") center / cover no-repeat;
  opacity: .8;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 65% 48%, rgba(124, 58, 237, .16), transparent 27%),
    linear-gradient(180deg, transparent 70%, var(--bg));
}

.hero-grid {
  padding: 70px 0 100px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
  align-items: center;
  gap: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(139, 92, 246, .3);
  border-radius: 999px;
  background: rgba(18, 14, 29, .76);
  color: #ded2ff;
  font-size: 12px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
}

.hero h1 {
  max-width: 760px;
  margin: 22px 0 20px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero h1 em {
  background: linear-gradient(90deg, #b8a4ff, #8b5cf6);
  color: transparent;
  font-style: normal;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  max-width: 650px;
  color: #c8c3d1;
  font-size: 18px;
  line-height: 1.7;
}

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

.hero-actions .btn {
  min-height: 54px;
  padding: 0 24px;
}

.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #c1bbcb;
  font-size: 12px;
}

.trust-row span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.trust-row i {
  color: var(--green);
  font-style: normal;
}

.mascot-stage {
  position: relative;
  min-width: 0;
  height: 500px;
}

.stage-ring {
  display: none;
}

.mascot-host {
  position: absolute;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  isolation: isolate;
}

.mascot-host.nexo {
  left: 34%;
  bottom: 32px;
  z-index: 3;
  width: 220px;
  height: 410px;
}

.mascot-host.laya {
  left: -3%;
  bottom: 34px;
  z-index: 2;
  width: 205px;
  height: 390px;
}

.mascot-host.comi {
  right: 1%;
  bottom: 22px;
  z-index: 2;
  width: 195px;
  height: 375px;
}

.alki-mascot-frame {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  user-select: none;
}

.mascot-host:focus {
  outline: 0;
}

.mascot-host:focus-visible::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  z-index: 4;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: #c4b5fd;
  transform: translateX(-50%);
}

.tip-bubble {
  position: absolute;
  z-index: 8;
  max-width: 230px;
  padding: 13px 14px;
  border: 1px solid rgba(139, 92, 246, .4);
  border-radius: 16px;
  background: rgba(12, 10, 19, .96);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .32);
  color: #eee9f7;
  font-size: 12px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.tip-bubble.show {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.tip-bubble b {
  display: block;
  margin-bottom: 4px;
  color: white;
}

.tip-bubble a {
  display: inline-flex;
  margin-top: 8px;
  color: #c4b5fd;
  font-weight: 800;
}

.tip-nexo {
  right: 2%;
  top: 58px;
}

.tip-laya {
  left: 0;
  bottom: 16px;
}

.tip-comi {
  right: 0;
  bottom: 76px;
}

.section {
  padding: 92px 0;
}

.section-head {
  margin-bottom: 30px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-head h2 {
  margin: 10px 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
  line-height: 1.65;
}

.assistant-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.assistant-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #14111e, #0b0a10);
}

.assistant-card h3 {
  margin: 0 0 5px;
  font-size: 25px;
}

.assistant-role {
  color: #b79dff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.assistant-copy {
  position: relative;
  z-index: 2;
  max-width: 300px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.card-mascot {
  right: -4px;
  bottom: -10px;
  width: 168px;
  height: 280px;
}

.card-actions {
  position: absolute;
  bottom: 26px;
  left: 24px;
  z-index: 3;
}

.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ded2ff;
  font-size: 13px;
  font-weight: 800;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0e0d14;
}

.step-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, .13);
  color: #c0aaff;
  font-weight: 900;
}

.step h3 {
  margin: 18px 0 8px;
}

.step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.proof-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, #0f0e17, #171126);
}

.proof-card h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.proof-card p {
  color: var(--muted);
  line-height: 1.65;
}

.bullet-list {
  margin-top: 22px;
  display: grid;
  gap: 11px;
}

.bullet-list span {
  display: flex;
  gap: 10px;
  color: #d8d3df;
  font-size: 14px;
}

.bullet-list i {
  color: #b79dff;
  font-style: normal;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0d0c12;
}

.plan.black {
  border-color: rgba(139, 92, 246, .55);
  background: linear-gradient(160deg, #171020, #0b0a10 65%);
  box-shadow: 0 22px 54px rgba(65, 31, 130, .14);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 900;
}

.plan h3 {
  margin: 0 0 14px;
}

.price {
  font-size: 37px;
  font-weight: 950;
  letter-spacing: -.04em;
}

.price small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.plan ul {
  margin: 22px 0;
  padding: 0;
  display: grid;
  gap: 11px;
  color: #c9c4d2;
  font-size: 13px;
  list-style: none;
}

.plan li::before {
  content: "✓";
  margin-right: 8px;
  color: #aa8cff;
}

.plan-availability {
  min-height: 36px;
  margin: -4px 0 16px;
  color: #f4c982;
  font-size: 12px;
  line-height: 1.45;
}

.plan-availability.ok {
  color: #8ee4b7;
}

.plan .btn[aria-disabled="true"] {
  opacity: .58;
}

.cta-final {
  padding: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(139, 92, 246, .38);
  border-radius: 28px;
  background: radial-gradient(circle at 80% 10%, rgba(124, 58, 237, .22), transparent 30%), #0d0b13;
}

.cta-final h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -.05em;
}

.footer {
  padding: 36px 0 max(50px, env(safe-area-inset-bottom));
  color: #938d9e;
  font-size: 12px;
}

.footer .container {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

@media (max-width: 980px) {
  .navlinks {
    display: none;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .nav-actions {
    display: none;
  }

  .nav.open {
    min-height: 72px;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .nav.open .navlinks,
  .nav.open .nav-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .mascot-stage {
    width: 100%;
    max-width: 620px;
    height: 430px;
    margin: auto;
  }

  .assistant-grid,
  .plans {
    grid-template-columns: 1fr;
  }

  .assistant-card {
    min-height: 360px;
  }

  .how-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .cta-final {
    display: block;
    padding: 38px;
  }

  .cta-final .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .topbar .nav {
    min-height: 64px;
  }

  .hero h1 {
    font-size: clamp(40px, 12.5vw, 50px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-grid {
    padding: 42px 0 64px;
  }

  .mascot-stage {
    height: 310px;
  }

  .mascot-host.nexo {
    left: 31%;
    bottom: 20px;
    width: 140px;
    height: 260px;
  }

  .mascot-host.laya {
    left: 0;
    bottom: 16px;
    width: 135px;
    height: 255px;
  }

  .mascot-host.comi {
    right: 0;
    bottom: 7px;
    width: 130px;
    height: 245px;
  }

  .tip-bubble {
    max-width: min(180px, 56vw);
    font-size: 11px;
  }

  .tip-nexo {
    top: 8px;
    right: 0;
  }

  .tip-laya {
    bottom: 0;
    left: 0;
  }

  .tip-comi {
    right: 0;
    bottom: 38px;
  }

  .section {
    padding: 66px 0;
  }

  .assistant-card {
    min-height: 340px;
    padding: 20px;
  }

  .assistant-copy {
    max-width: 58%;
  }

  .card-mascot {
    width: 145px;
    height: 245px;
  }

  .card-actions {
    left: 20px;
  }

  .how-grid {
    grid-template-columns: 1fr;
  }

  .cta-final {
    padding: 30px 22px;
  }

  .footer .container {
    display: block;
  }

  .footer .brand {
    margin-bottom: 16px;
  }
}

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

  .btn,
  .tip-bubble {
    transition: none;
  }
}
