:root {
  --bg: #05070d;
  --surface: rgba(14, 16, 26, 0.88);
  --surface-strong: rgba(18, 21, 33, 0.96);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #e9edf8;
  --muted: #9aa2be;
  --muted-strong: #cdd4ea;
  --accent: #6e83ff;
  --accent-soft: rgba(110, 131, 255, 0.16);
  --amber: #f2b15d;
  --amber-soft: rgba(242, 177, 93, 0.14);
  --green: #66d8a8;
  --shadow: 0 32px 100px rgba(0, 0, 0, 0.45);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", "Inter", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 50% 4%, rgba(110, 131, 255, 0.18), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(139, 92, 246, 0.08), transparent 18%),
    radial-gradient(circle at 20% 26%, rgba(255, 255, 255, 0.03), transparent 20%),
    linear-gradient(180deg, #05070d 0%, #070a12 52%, #05070d 100%);
}

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

button {
  font: inherit;
}

.landing-page {
  min-height: 100vh;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(16px);
}

.landing-brand,
.brand-copy {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #5b7fff, #8b5cf6 56%, #43d6a9);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.eyebrow,
.section-tag,
.reason-label,
.mini-label,
.scene-eyebrow {
  display: inline-block;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.landing-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  margin-right: 10px;
}

.landing-links a {
  color: var(--muted);
  font-size: 13px;
}

.landing-links a:hover {
  color: var(--text);
}

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

.nav-button,
.hero-button,
.preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.nav-button:hover,
.hero-button:hover,
.preview-button:hover {
  transform: translateY(-1px);
}

.nav-button {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
}

.nav-button--ghost {
  background: transparent;
  color: var(--muted-strong);
}

.nav-button--primary,
.hero-button--primary,
.preview-button {
  background: linear-gradient(180deg, #6e83ff, #4d62eb);
  border-color: rgba(110, 131, 255, 0.35);
  color: #fff;
  box-shadow: 0 18px 34px rgba(77, 98, 235, 0.24);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 67px);
  padding: 56px 24px 80px;
}

.hero-glow {
  position: absolute;
  top: 80px;
  left: 50%;
  width: min(980px, 88vw);
  height: 540px;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(110, 131, 255, 0.18), rgba(110, 131, 255, 0.05) 38%, transparent 72%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100vw - 48px));
  margin: 0 auto 44px;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(110, 131, 255, 0.22);
  background: rgba(110, 131, 255, 0.09);
  color: #dbe2ff;
  font-size: 12px;
  font-weight: 600;
}

.tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}

.hero h1 {
  margin: 20px 0 12px;
  font-family: var(--serif);
  font-size: clamp(54px, 8vw, 92px);
  line-height: 0.95;
  font-weight: 400;
  letter-spacing: -0.05em;
}

.hero h1 em {
  display: block;
  font-style: italic;
  color: transparent;
  background: linear-gradient(135deg, #7a8eff, #b090ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.65;
}

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

.hero-button {
  min-height: 48px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 700;
}

.hero-button--secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
}

.hero-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.preview-frame {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 42px 120px rgba(0, 0, 0, 0.56);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.preview-dot.red { background: #ff8e8e; }
.preview-dot.amber { background: #f2b15d; }
.preview-dot.green { background: #66d8a8; }

.preview-url {
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
}

.preview-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 270px;
  min-height: 420px;
}

.preview-left,
.preview-right {
  padding: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.preview-left {
  border-right: 1px solid var(--border);
}

.preview-right {
  border-left: 1px solid var(--border);
  display: grid;
  align-content: start;
  gap: 12px;
}

.mini-badge,
.preview-tab,
.mini-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.mini-badge {
  width: fit-content;
  border: 1px solid rgba(110, 131, 255, 0.2);
  background: rgba(110, 131, 255, 0.1);
  color: #dbe2ff;
}

.mini-progress {
  margin-top: 18px;
  display: grid;
  gap: 6px;
}

.mini-progress span,
.preview-panel p,
.workflow-item p,
.reason p,
.reason-points p,
.final-cta p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.mini-progress strong,
.preview-panel strong,
.workflow-item h3,
.reason h2,
.section-copy h2,
.final-cta h2 {
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0;
}

.mini-bar {
  height: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.mini-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), var(--accent));
  animation: grow 1s ease forwards;
}

.mini-steps {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.mini-step {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--muted-strong);
  font-size: 12px;
}

.mini-step span {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
}

.mini-step.is-done span {
  background: rgba(102, 216, 168, 0.12);
  color: #b6edd3;
  border-color: rgba(102, 216, 168, 0.18);
}

.mini-step.is-active span {
  background: rgba(110, 131, 255, 0.16);
  color: #dbe2ff;
  border-color: rgba(110, 131, 255, 0.26);
}

.preview-scene {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 62%, rgba(242, 177, 93, 0.09), transparent 20%),
    linear-gradient(180deg, #050a15 0%, #070913 100%);
}

.preview-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 84px 84px;
  opacity: 0.35;
}

.scene-card {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  width: min(320px, calc(100% - 36px));
  padding: 16px 18px;
  border: 1px solid rgba(242, 177, 93, 0.18);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(34, 26, 22, 0.92), rgba(13, 15, 22, 0.78));
}

.scene-card p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.scene-plane {
  position: absolute;
  left: 18%;
  top: 38%;
  width: 54%;
  height: 40%;
  border-radius: 8px;
  background: rgba(96, 227, 237, 0.78);
  transform: rotate(39deg);
  box-shadow: 0 0 60px rgba(96, 227, 237, 0.18);
}

.scene-line {
  position: absolute;
  left: 28%;
  top: 63%;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, #ffd08c, #ffefb5);
  transform: rotate(-11deg);
  box-shadow: 0 0 18px rgba(255, 208, 140, 0.3);
}

.scene-callout,
.scene-payoff {
  position: absolute;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(110, 131, 255, 0.24);
  background: rgba(22, 24, 42, 0.88);
  color: #dbe2ff;
  font-size: 12px;
  font-weight: 700;
}

.scene-callout--plane {
  top: 52%;
  left: 46%;
}

.scene-callout--line {
  top: 66%;
  left: 38%;
}

.scene-payoff {
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  text-align: center;
  border-color: rgba(242, 177, 93, 0.22);
  background: linear-gradient(180deg, rgba(44, 30, 16, 0.9), rgba(22, 17, 15, 0.86));
  color: #ffdba8;
}

.preview-tab-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preview-tab {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.preview-tab.is-active {
  background: var(--amber-soft);
  color: #ffdfa9;
}

.preview-panel {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.preview-panel p {
  margin: 8px 0 0;
}

.preview-button {
  min-height: 44px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
}

.reason-strip,
.workflow,
.final-cta {
  width: min(1120px, calc(100vw - 48px));
  margin: 0 auto;
}

.reason-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  padding: 42px 0 28px;
}

.reason h2,
.section-copy h2,
.final-cta h2 {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
}

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

.reason-points strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.workflow {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  padding: 52px 0 64px;
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.workflow-item:last-child {
  border-bottom: 1px solid var(--border);
}

.workflow-index {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--mono);
}

.final-cta {
  padding: 0 0 90px;
  text-align: center;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@keyframes grow {
  from { width: 0; }
  to { width: 100%; }
}

@media (max-width: 1100px) {
  .preview-body,
  .reason-strip,
  .workflow {
    grid-template-columns: 1fr;
  }

  .preview-left,
  .preview-right {
    border: 0;
  }

  .preview-body {
    min-height: 0;
  }
}

@media (max-width: 840px) {
  .landing-nav {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 14px 16px;
  }

  .landing-links {
    order: 3;
    width: 100%;
    margin: 0;
    justify-content: center;
  }

  .hero,
  .reason-strip,
  .workflow,
  .final-cta {
    width: min(calc(100vw - 32px), 100%);
  }

  .preview-frame,
  .hero-copy {
    width: min(calc(100vw - 32px), 100%);
  }

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

  .reason-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 36px 16px 56px;
  }

  .hero-copy {
    margin-bottom: 30px;
  }

  .preview-scene {
    min-height: 320px;
  }

  .scene-plane {
    left: 15%;
    top: 42%;
    width: 62%;
  }

  .scene-line {
    left: 24%;
    width: 50%;
  }

  .scene-payoff {
    font-size: 11px;
  }
}
