:root {
  --bg: #0d0c12;
  --bg-soft: #15121c;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.085);
  --border: rgba(255, 255, 255, 0.10);
  --text: #f8f5ff;
  --muted: #b8b1c7;
  --muted-2: #8c849d;
  --purple: #b68cff;
  --purple-strong: #9a68f0;
  --pink: #f3a8d6;
  --blue: #8fb7ff;
  --radius: 28px;
  --max: 1180px;
  --shadow: 0 30px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 4%, rgba(154, 104, 240, 0.12), transparent 25%),
    radial-gradient(circle at 88% 16%, rgba(243, 168, 214, 0.08), transparent 24%),
    var(--bg);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.ambient {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -1;
  opacity: .16;
}
.ambient-a { top: 16%; left: -180px; background: var(--purple); }
.ambient-b { right: -180px; top: 55%; background: var(--pink); }

.site-header {
  width: min(calc(100% - 36px), var(--max));
  margin: 18px auto 0;
  padding: 13px 14px 13px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  position: sticky;
  top: 14px;
  z-index: 20;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(13, 12, 18, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Manrope"; font-weight: 800; font-size: 18px; }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #130d1b;
  box-shadow: 0 0 24px rgba(182, 140, 255, .3);
}

.nav { justify-self: center; display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
.nav a { transition: .25s ease; }
.nav a:hover { color: var(--text); }

.button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding-inline: 18px; font-size: 14px; }
.button-primary {
  color: #17101f;
  background: linear-gradient(135deg, #c6a7ff, #f0b6d9);
  box-shadow: 0 14px 34px rgba(182, 140, 255, .22);
}
.button-ghost { border: 1px solid var(--border); background: rgba(255,255,255,.035); }
.button-ghost:hover { border-color: rgba(182, 140, 255, .55); }
.button-link { color: var(--muted); padding-inline: 8px; }
.full { width: 100%; }

.hero {
  width: min(calc(100% - 40px), var(--max));
  min-height: 780px;
  margin: 0 auto;
  padding: 108px 0 74px;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 72px;
}

.eyebrow, .section-kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 12px;
  font-weight: 800;
  color: var(--purple);
}

.hero h1, .section h2 {
  font-family: "Manrope";
  letter-spacing: -.045em;
  margin: 18px 0 22px;
  line-height: 1.02;
}
.hero h1 { font-size: clamp(48px, 6vw, 82px); max-width: 800px; }
.hero h1 span { color: var(--muted-2); }
.hero-text { max-width: 660px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.72; }
.hero-actions { display: flex; gap: 12px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.micro-proof { margin-top: 28px; display: flex; gap: 9px; align-items: center; color: var(--muted-2); font-size: 13px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #8be4b2; box-shadow: 0 0 0 7px rgba(139,228,178,.08); }

.hero-visual { min-height: 570px; position: relative; display: grid; place-items: center; }
.portrait-glow {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(182,140,255,.35), rgba(243,168,214,.18));
  filter: blur(48px);
}
.portrait-shell {
  width: min(88%, 455px);
  aspect-ratio: .82;
  padding: 1px;
  border-radius: 42% 42% 30px 30px;
  background: linear-gradient(145deg, rgba(255,255,255,.25), rgba(182,140,255,.4), rgba(255,255,255,.05));
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}
.portrait-placeholder {
  height: 100%;
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 52% 28%, rgba(243,168,214,.24), transparent 15%),
    radial-gradient(circle at 50% 42%, rgba(182,140,255,.22), transparent 30%),
    linear-gradient(180deg, #1a1622, #121017);
}
.portrait-placeholder::before {
  content: "";
  width: 58%;
  aspect-ratio: .75;
  border-radius: 50% 50% 40% 40%;
  position: absolute;
  top: 12%;
  left: 21%;
  background: linear-gradient(165deg, #272130, #15111b);
  box-shadow: inset -22px 0 35px rgba(182,140,255,.08), 0 40px 70px rgba(0,0,0,.25);
}
.portrait-placeholder::after {
  content: "";
  position: absolute;
  top: 24%; left: 58%;
  width: 10%; height: 20%;
  transform: rotate(12deg);
  border-radius: 999px;
  background: linear-gradient(var(--purple), #68459f);
  filter: blur(.2px);
}
.portrait-placeholder span, .portrait-placeholder strong, .portrait-placeholder small { position: relative; z-index: 3; }
.portrait-eyebrow { color: var(--purple); font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.portrait-placeholder strong { margin-top: 6px; font-family: "Manrope"; font-size: 24px; }
.portrait-placeholder small { color: var(--muted-2); margin-top: 6px; }

.floating-note {
  position: absolute;
  z-index: 4;
  min-width: 165px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  background: rgba(20,17,27,.72);
  box-shadow: 0 18px 48px rgba(0,0,0,.3);
}
.floating-note span { display: block; color: var(--muted-2); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 3px; }
.floating-note strong { font-size: 14px; }
.note-one { left: -10px; top: 24%; }
.note-two { right: -8px; bottom: 19%; }

.section { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 118px 0; }
.section h2 { font-size: clamp(38px, 5vw, 66px); }
.section-heading { max-width: 820px; }
.section-heading > p { color: var(--muted); font-size: 18px; line-height: 1.7; }

.manifesto { border-top: 1px solid var(--border); }
.manifesto-grid { display: grid; grid-template-columns: 1fr .78fr; gap: 100px; align-items: start; }
.manifesto-grid h2 { margin-top: 26px; }
.manifesto-copy { padding-top: 36px; }
.manifesto-copy p { color: var(--muted); font-size: 19px; line-height: 1.8; margin: 0 0 26px; }

.presence-card {
  margin-top: 58px;
  padding: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
}
.chat-line { display: flex; gap: 14px; margin-bottom: 28px; max-width: 74%; }
.chat-line:last-child { margin-bottom: 0; }
.chat-line small { color: var(--muted-2); font-weight: 700; }
.chat-line p { margin: 6px 0 0; padding: 16px 18px; border-radius: 18px; font-size: 17px; line-height: 1.5; }
.chat-luna p { background: rgba(182, 140, 255, .12); border: 1px solid rgba(182,140,255,.12); }
.chat-user { margin-left: auto; text-align: right; justify-content: flex-end; }
.chat-user p { background: rgba(255,255,255,.07); }
.avatar { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 38px; display: grid; place-items: center; background: linear-gradient(135deg, var(--purple), var(--pink)); color: #19101f; font-weight: 800; }

.capability-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.capability { min-height: 250px; padding: 30px; border: 1px solid var(--border); border-radius: 24px; background: var(--panel); transition: transform .25s ease, background .25s ease, border-color .25s ease; }
.capability:hover { transform: translateY(-4px); background: var(--panel-strong); border-color: rgba(182,140,255,.28); }
.capability-index { color: var(--purple); font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.capability h3 { margin: 56px 0 10px; font-family: "Manrope"; font-size: 25px; }
.capability p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 500px; }

.identity-panel { padding: 58px; border-radius: 32px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: end; background: linear-gradient(135deg, rgba(182,140,255,.12), rgba(243,168,214,.06)); border: 1px solid rgba(182,140,255,.16); }
.identity-panel h2 { margin-bottom: 0; }
.identity-panel p { color: var(--muted); font-size: 18px; line-height: 1.75; margin: 0; }

.plans-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 58px; max-width: 960px; }
.plan { min-height: 410px; padding: 34px; border: 1px solid var(--border); border-radius: 28px; background: var(--panel); display: flex; flex-direction: column; position: relative; }
.plan-featured { border-color: rgba(182,140,255,.38); background: linear-gradient(145deg, rgba(182,140,255,.12), rgba(255,255,255,.045)); }
.plan-label { color: var(--purple); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .13em; }
.plan h3 { font-family: "Manrope"; font-size: 28px; margin: 18px 0 22px; }
.price { margin: 0 0 20px; display: flex; align-items: baseline; gap: 7px; }
.price strong { font-size: 38px; font-family: "Manrope"; }
.price span { color: var(--muted-2); }
.plan-description { color: var(--muted); line-height: 1.7; margin: 0 0 28px; }
.plan .button { margin-top: auto; }
.popular { position: absolute; top: 22px; right: 22px; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #1c1225; background: #d8c0ff; border-radius: 999px; padding: 7px 10px; font-weight: 800; }

.final-cta { text-align: center; padding-top: 150px; padding-bottom: 150px; }
.final-cta h2 { max-width: 900px; margin: 22px auto 38px; }

footer {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid var(--border);
  color: var(--muted-2);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}
.footer-brand { color: var(--text); }
footer p { text-align: center; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto 1fr; }
  .nav { display: none; }
  .site-header > .button { justify-self: end; }
  .hero { grid-template-columns: 1fr; padding-top: 90px; gap: 30px; }
  .hero-copy { text-align: center; }
  .hero-text { margin-inline: auto; }
  .hero-actions, .micro-proof { justify-content: center; }
  .hero-visual { min-height: 510px; }
  .manifesto-grid, .identity-panel { grid-template-columns: 1fr; gap: 20px; }
  .manifesto-copy { padding-top: 0; }
  .capability-grid, .plans-grid { grid-template-columns: 1fr; }
  .identity-panel { padding: 38px; }
}

@media (max-width: 620px) {
  .site-header { width: calc(100% - 22px); margin-top: 10px; top: 9px; }
  .site-header > .button { padding-inline: 14px; }
  .hero, .section, footer { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding-top: 72px; min-height: auto; }
  .hero h1 { font-size: clamp(44px, 14vw, 60px); }
  .hero-text { font-size: 17px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 440px; }
  .portrait-shell { width: 86%; }
  .note-one { left: -4px; top: 21%; }
  .note-two { right: -4px; bottom: 15%; }
  .floating-note { min-width: 135px; padding: 12px; }
  .section { padding: 86px 0; }
  .section h2 { font-size: 40px; }
  .presence-card { padding: 20px; }
  .chat-line { max-width: 92%; }
  .chat-line p { font-size: 15px; }
  .capability { min-height: 220px; }
  .identity-panel { padding: 28px; }
  .plan { padding: 28px; }
  .popular { position: static; width: fit-content; margin-bottom: 18px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-content: center; }
  footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Luna official visual assets */
.luna-scene {
  width: min(calc(100% - 40px), var(--max));
  margin: 10px auto 34px;
}

.luna-scene-link {
  display: block;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(182, 140, 255, .22);
  background: #15111d;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
  position: relative;
}

.luna-scene-link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}

.luna-scene-link img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}

.luna-scene-link:hover img {
  transform: scale(1.012);
  filter: saturate(1.05) brightness(1.03);
}

.luna-meet {
  padding-top: 46px;
}

.luna-meet-card {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(390px, .98fr) 1.02fr;
  align-items: center;
  gap: 34px;
  overflow: hidden;
  border: 1px solid rgba(182, 140, 255, .18);
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 45%, rgba(154, 104, 240, .22), transparent 38%),
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: var(--shadow);
  padding: 14px 52px 0 12px;
}

.luna-meet-visual {
  align-self: stretch;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.luna-meet-glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  left: 10%;
  top: 22%;
  border-radius: 50%;
  background: rgba(153, 87, 255, .25);
  filter: blur(58px);
}

.luna-meet-visual img {
  width: min(118%, 560px);
  max-width: none;
  max-height: 725px;
  object-fit: contain;
  object-position: bottom center;
  position: relative;
  z-index: 2;
  transform: translateY(18px) scale(1.08);
  transform-origin: bottom center;
  filter: drop-shadow(0 30px 45px rgba(0,0,0,.34));
}

.luna-meet-copy {
  padding: 62px 0 68px;
  max-width: 650px;
}

.luna-meet-copy h2 {
  margin: 18px 0 22px;
  font-family: "Manrope";
  letter-spacing: -.045em;
  line-height: 1.02;
  font-size: clamp(40px, 5vw, 66px);
}

.luna-meet-copy p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
}

.luna-meet-copy .luna-meet-signature {
  margin-top: 26px;
  color: var(--purple);
  font-weight: 800;
}

@media (max-width: 900px) {
  .luna-scene {
    width: min(calc(100% - 28px), var(--max));
  }

  .luna-meet-card {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 28px 28px 0;
  }

  .luna-meet-copy {
    order: 1;
    padding: 32px 8px 10px;
    text-align: center;
    margin-inline: auto;
  }

  .luna-meet-visual {
    order: 2;
    min-height: 500px;
  }

  .luna-meet-visual img {
    max-height: 520px;
  }
}

@media (max-width: 620px) {
  .luna-scene {
    margin-top: 20px;
    margin-bottom: 8px;
  }

  .luna-scene-link {
    border-radius: 20px;
  }

  .luna-meet {
    padding-top: 50px;
  }

  .luna-meet-card {
    padding: 22px 16px 0;
    border-radius: 26px;
  }

  .luna-meet-copy {
    padding-inline: 4px;
  }

  .luna-meet-copy h2 {
    font-size: 39px;
  }

  .luna-meet-copy p {
    font-size: 16px;
  }

  .luna-meet-visual {
    min-height: 420px;
  }

  .luna-meet-visual img {
    width: 95%;
    max-height: 450px;
  }
}


/* Real conversation preview */
.real-chat { align-items: flex-start; }
.chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 44px;
  border: 1px solid rgba(182,140,255,.28);
  background: rgba(182,140,255,.08);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.chat-content { display: flex; flex-direction: column; gap: 7px; }
.chat-content-user { align-items: flex-end; }
.chat-content p { margin-top: 0; }
.chat-followup {
  background: transparent !important;
  border: 0 !important;
  padding: 5px 4px 0 !important;
  color: var(--text);
  max-width: 650px;
  line-height: 1.75 !important;
}

.capability-wide { grid-column: 1 / -1; min-height: 210px; }
.capability-note {
  margin-top: 18px;
  padding: 28px 30px;
  border-radius: 24px;
  border: 1px solid rgba(182,140,255,.18);
  background: linear-gradient(135deg, rgba(182,140,255,.09), rgba(243,168,214,.035));
}
.capability-note strong {
  display: block;
  font-family: "Manrope";
  font-size: 21px;
  margin-bottom: 8px;
}
.capability-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 900px;
}


@media (max-width: 900px) {
  .luna-meet-visual img {
    width: min(108%, 540px);
    max-height: 560px;
    transform: translateY(18px) scale(1.04);
  }
  .capability-wide { grid-column: auto; }
}

@media (max-width: 620px) {
  .chat-avatar { width: 38px; height: 38px; flex-basis: 38px; }
  .chat-followup { padding-left: 0 !important; }
  .luna-meet-visual img {
    width: 108%;
    max-height: 500px;
    transform: translateY(14px) scale(1.03);
  }
}
