:root {
  --bg: #07111c;
  --panel: rgba(10, 21, 35, 0.8);
  --panel-light: rgba(17, 34, 54, 0.78);
  --line: rgba(160, 202, 237, 0.14);
  --line-strong: rgba(160, 202, 237, 0.24);
  --text: #eef6ff;
  --muted: #a2b6ca;
  --navy: #7fc9ff;
  --cyan: #51d6ff;
  --teal: #68efcf;
  --gold: #f4c47a;
  --glow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(81, 214, 255, 0.15), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(183, 167, 255, 0.14), transparent 20%),
    radial-gradient(circle at bottom right, rgba(104, 239, 207, 0.08), transparent 22%),
    linear-gradient(180deg, #040b13 0%, #091321 48%, #050b14 100%);
}

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

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 28px), var(--max));
  margin: 0 auto;
  padding: 18px 0 84px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 22px;
  margin-bottom: 28px;
  background: rgba(7, 17, 28, 0.72);
  border: 1px solid var(--line);
  border-radius: 26px;
  backdrop-filter: blur(18px);
  box-shadow: var(--glow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
}

.brand img {
  width: 150px;
}

.site-nav {
  display: flex;
  gap: 20px;
}

.site-nav a,
.header-cta,
.primary-btn,
.secondary-btn {
  text-decoration: none;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.header-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.92rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.header-cta,
.primary-btn {
  color: #04111d;
  background: linear-gradient(135deg, #9ae8ff, #68efcf);
  box-shadow: 0 14px 36px rgba(81, 214, 255, 0.18);
}

.secondary-btn {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
}

.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

section {
  margin-top: 72px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: center;
  min-height: 82vh;
  padding: 26px 0 10px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 800;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 7vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.35rem, 4vw, 4.1rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-subhead,
.section-heading p,
.genie-card p,
.travel-benefits li,
.voice-card p,
.capsule-anatomy p,
.capsule-card p,
.future-card span,
.final-cta p,
.hero-panel p,
.chat-bubble,
.compare-card li,
.privacy-card li,
.privacy-card small,
.layer-card p,
.layer-card li,
.micro-copy,
.bob-subtext {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 18px;
}

.support-line {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.98rem;
}

.hero-pills,
.capsule-meta,
.response-list,
.output-strip,
.world-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills span,
.capsule-meta span,
.response-list span,
.output-strip span,
.world-tags span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  color: #d6eaff;
}

.hero-stage,
.genie-card,
.travel-benefits article,
.voice-card,
.capsule-anatomy,
.capsule-card,
.future-card,
.final-cta,
.compare-card,
.privacy-card,
.bob-card-large,
.bob-side-card,
.layer-card,
.insight-figure {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--glow);
  backdrop-filter: blur(14px);
}

.hero-stage {
  position: relative;
  min-height: 720px;
  padding: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(104, 239, 207, 0.08), transparent 20%),
    radial-gradient(circle at 82% 18%, rgba(81, 214, 255, 0.1), transparent 20%),
    linear-gradient(180deg, rgba(10, 21, 35, 0.95), rgba(7, 16, 26, 0.98));
}

.hero-stage::after {
  content: "";
  position: absolute;
  inset: 24px;
  border-radius: 30px;
  border: 1px solid rgba(154, 232, 255, 0.08);
  pointer-events: none;
}

.bangkok-stage {
  min-height: 620px;
  display: grid;
  align-content: start;
  gap: 18px;
}

.scenario-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.scenario-header span {
  color: #d4e8f8;
  font-size: 0.92rem;
}

.hero-phone,
.hero-panel {
  position: absolute;
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.28);
}

.hero-panel {
  padding: 22px;
  background: rgba(17, 34, 54, 0.84);
}

.hero-primary-card,
.hero-secondary-card {
  position: relative;
  width: min(100%, 420px);
}

.hero-primary-card {
  margin-top: 8px;
}

.hero-secondary-card {
  margin-left: auto;
  background:
    radial-gradient(circle at top left, rgba(244, 196, 122, 0.08), transparent 28%),
    rgba(17, 34, 54, 0.84);
}

.hero-list {
  margin: 16px 0 18px;
  padding-left: 20px;
  color: #deeffe;
}

.hero-list li + li {
  margin-top: 10px;
}

.hero-list.compact {
  margin-bottom: 0;
}

.phone-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 18px rgba(104, 239, 207, 0.8);
}

.phone-top p {
  font-weight: 700;
  color: #eaf7ff;
}

.chat-bubble {
  margin-top: 12px;
  padding: 14px 16px;
  border-radius: 20px;
}

.chat-bubble.user {
  background: rgba(154, 232, 255, 0.08);
  border: 1px solid rgba(154, 232, 255, 0.2);
}

.chat-bubble.genie {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.response-list {
  margin-top: 14px;
}

.response-list span {
  background: rgba(104, 239, 207, 0.08);
}

.panel-label,
.capsule-label,
.genie-tag,
.compare-label,
.layer-index {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin-bottom: 14px;
}

.genie-grid,
.travel-layout,
.marketplace-layout,
.privacy-layout,
.future-grid,
.bob-layout,
.architecture-flow,
.presenz-grid,
.compare-layout {
  display: grid;
  gap: 20px;
}

.genie-grid {
  grid-template-columns: repeat(3, 1fr);
}

.genie-card,
.travel-benefits article,
.voice-card,
.capsule-anatomy,
.capsule-card,
.future-card,
.compare-card,
.privacy-card,
.bob-card-large,
.bob-side-card,
.layer-card {
  padding: 24px;
}

.genie-card.featured {
  background:
    radial-gradient(circle at top left, rgba(81, 214, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(17, 34, 54, 0.92), rgba(11, 24, 39, 0.96));
}

.bob-layout {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
}

.bob-card-large ul,
.privacy-card ul,
.capsule-list,
.layer-card ul,
.compare-card ul,
.travel-benefits ul {
  margin-top: 14px;
  padding-left: 20px;
}

.capsule-list li + li,
.privacy-card li + li,
.compare-card li + li,
.travel-benefits li + li,
.layer-card li + li,
.bob-card-large li + li {
  margin-top: 10px;
}

.bob-subtext {
  margin-top: 18px;
  color: var(--gold);
}

.architecture-flow {
  grid-template-columns: repeat(3, 1fr);
}

.layer-card {
  min-height: 260px;
}

.output-strip {
  margin-top: 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(81, 214, 255, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(14, 28, 43, 0.96), rgba(9, 18, 29, 0.98));
}

.output-strip strong {
  font-size: 1.05rem;
}

.travel-layout,
.marketplace-layout,
.privacy-layout,
.presenz-story-layout {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.memory-loop {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.memory-footer {
  margin-top: 16px;
}

.presenz-story-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.story-card {
  padding: 26px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--glow);
  backdrop-filter: blur(14px);
}

.story-primary {
  background:
    radial-gradient(circle at top left, rgba(81, 214, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(15, 31, 48, 0.96), rgba(9, 20, 31, 0.98));
}

.story-decision {
  background:
    radial-gradient(circle at top right, rgba(104, 239, 207, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(16, 32, 49, 0.96), rgba(10, 21, 33, 0.98));
}

.story-lead {
  margin-top: 12px;
  color: #d8ebff;
}

.story-checks {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.story-check {
  display: grid;
  gap: 5px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.story-check strong {
  color: #f4fbff;
  font-size: 0.96rem;
}

.story-check span {
  color: #b7cce2;
  line-height: 1.5;
}

.decision-card {
  margin-top: 20px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(104, 239, 207, 0.18);
  background:
    radial-gradient(circle at top left, rgba(104, 239, 207, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.03);
}

.decision-label {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(104, 239, 207, 0.2);
  background: rgba(104, 239, 207, 0.08);
  color: #9de8d6;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.decision-card strong {
  display: block;
  margin-bottom: 14px;
  color: #f4fbff;
  font-size: 1.25rem;
  line-height: 1.25;
}

.story-outcome {
  margin-top: 18px;
  color: var(--gold);
  font-size: 1.02rem;
  font-weight: 700;
}

.travel-benefits {
  display: grid;
  gap: 20px;
}

.scenario-voice {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.dialog-row {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.genie-prompt {
  background: rgba(81, 214, 255, 0.08);
  border-color: rgba(81, 214, 255, 0.24);
  box-shadow: 0 0 0 1px rgba(81, 214, 255, 0.08), 0 16px 36px rgba(40, 116, 178, 0.16);
}

.user-response {
  background: rgba(255, 255, 255, 0.02);
}

.dialog-row.genie-reply {
  background: rgba(104, 239, 207, 0.06);
}

.memory-updated {
  background: rgba(244, 196, 122, 0.08);
  border-color: rgba(244, 196, 122, 0.2);
}

.dialog-row span {
  display: block;
  margin-bottom: 8px;
  color: #f4fbff;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.micro-copy {
  margin-top: 4px;
  color: var(--gold);
}

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

.deepworks-section .section-heading {
  max-width: 920px;
}

.capsule-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.capsule-combos {
  display: grid;
  gap: 14px;
  margin: 22px 0 18px;
}

.combo-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.combo-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #dcefff;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.35;
}

.combo-row strong {
  color: var(--gold);
  font-size: 1.2rem;
}

.capsule-card.premium {
  grid-column: span 2;
  background:
    radial-gradient(circle at top left, rgba(244, 196, 122, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(18, 31, 46, 0.96), rgba(11, 23, 36, 0.98));
}

.capsule-meta span {
  background: rgba(255, 255, 255, 0.04);
}

.compare-layout {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 20px;
}

.muted-side {
  background: linear-gradient(180deg, rgba(20, 27, 37, 0.9), rgba(11, 20, 30, 0.94));
}

.strong-side {
  background:
    radial-gradient(circle at top left, rgba(81, 214, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(16, 36, 53, 0.96), rgba(11, 24, 39, 0.96));
}

.compare-visual {
  margin-top: 14px;
}

.compare-proof,
.deepworks-stack,
.privacy-visual {
  display: grid;
  gap: 18px;
}

.proof-card {
  padding: 24px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(81, 214, 255, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(15, 31, 48, 0.96), rgba(9, 20, 31, 0.98));
  box-shadow: var(--glow);
}

.proof-card h3 {
  margin: 8px 0 18px;
}

.proof-flow,
.deepworks-stack {
  grid-template-columns: 1fr;
}

.proof-node,
.stack-card,
.privacy-pill {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.proof-node strong,
.stack-card strong,
.privacy-pill strong {
  color: #f4fbff;
  font-size: 1rem;
}

.proof-node span,
.stack-card p,
.privacy-pill span {
  color: #b7cce2;
  line-height: 1.5;
}

.proof-arrow {
  text-align: center;
  color: var(--gold);
  font-size: 1.4rem;
  font-weight: 700;
}

.stack-card {
  background:
    radial-gradient(circle at top left, rgba(104, 239, 207, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.03);
}

.stack-index {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(81, 214, 255, 0.2);
  background: rgba(81, 214, 255, 0.08);
  color: #9fdfff;
  font-size: 0.9rem;
  font-weight: 700;
}

.privacy-visual {
  margin: 12px 0 14px;
}

.privacy-pill {
  background:
    radial-gradient(circle at top left, rgba(244, 196, 122, 0.08), transparent 30%),
    rgba(255, 255, 255, 0.03);
}

.insight-figure {
  margin: 0;
  overflow: visible;
}

.insight-figure img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  aspect-ratio: auto;
}

.compare-figure img,
.privacy-figure img,
.deepworks-figure img {
  aspect-ratio: auto;
}

.deepworks-figure {
  margin-top: 10px;
  padding: 22px;
  overflow: visible;
  background:
    radial-gradient(circle at top right, rgba(81, 214, 255, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(17, 29, 44, 0.96), rgba(10, 20, 31, 0.98));
}

.deepworks-figure img {
  aspect-ratio: auto;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.compare-figure,
.privacy-figure {
  padding: 18px;
}

.compare-figure img,
.privacy-figure img {
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border-radius: 24px;
}

.privacy-card.visual {
  background:
    radial-gradient(circle at center, rgba(104, 239, 207, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(12, 24, 38, 0.98), rgba(7, 16, 26, 0.98));
}

.future-grid {
  grid-template-columns: repeat(4, 1fr);
}

.future-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.future-card strong {
  font-size: 1.24rem;
}

.final-cta {
  padding: 34px;
  text-align: center;
  background:
    radial-gradient(circle at top center, rgba(81, 214, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(12, 24, 38, 0.98), rgba(7, 16, 26, 0.98));
}

.final-cta h2 {
  max-width: 12ch;
  margin: 0 auto 16px;
}

.final-cta p {
  max-width: 820px;
  margin: 0 auto;
}

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

.js-enhanced .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js-enhanced .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero,
  .bob-layout,
  .travel-layout,
  .marketplace-layout,
  .privacy-layout,
  .presenz-grid,
  .presenz-story-layout {
    grid-template-columns: 1fr;
  }

  .architecture-flow,
  .future-grid,
  .genie-grid,
  .compare-layout,
  .memory-loop {
    grid-template-columns: repeat(2, 1fr);
  }

  .combo-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  h1 {
    max-width: none;
    font-size: clamp(3rem, 13vw, 5rem);
  }

  h2 {
    max-width: none;
  }

  .hero-stage {
    min-height: auto;
    padding-bottom: 24px;
  }

  .hero-panel {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .genie-grid,
  .future-grid,
  .architecture-flow,
  .compare-layout,
  .capsule-showcase,
  .memory-loop,
  .presenz-story-layout {
    grid-template-columns: 1fr;
  }

  .capsule-card.premium {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 18px), var(--max));
    padding-top: 10px;
  }

  .site-header {
    top: 8px;
    padding: 14px;
    border-radius: 22px;
  }

  .brand {
    flex-direction: column;
    text-align: center;
  }

  .brand img {
    width: 132px;
  }

  .header-cta,
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-pills span,
  .capsule-meta span,
  .response-list span,
  .output-strip span,
  .world-tags span {
    width: 100%;
    text-align: center;
  }

  .genie-card,
  .travel-benefits article,
  .voice-card,
  .capsule-anatomy,
  .capsule-card,
  .future-card,
  .final-cta,
  .compare-card,
  .privacy-card,
  .bob-card-large,
  .bob-side-card,
  .layer-card,
  .hero-stage {
    padding: 20px;
    border-radius: 24px;
  }
}
