:root {
  --bg: #f7f8ff;
  --surface: #ffffff;
  --surface-soft: #f4f7ff;
  --text: #1e2340;
  --text-soft: #5f6885;
  --line: #dfe6f4;
  --primary: #5d61ff;
  --primary-2: #3f8cff;
  --primary-soft: #edf0ff;
  --green: #2ea76f;
  --red: #db4f67;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 36px rgba(28, 38, 92, 0.08);
  --shadow-soft: 0 8px 22px rgba(22, 33, 75, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 8%, rgba(102, 149, 255, 0.1), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(173, 120, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #f8f9ff 0%, #f4f7ff 100%);
  min-height: 100vh;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(114, 134, 196, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 134, 196, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.1;
  pointer-events: none;
  z-index: -2;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(72px);
  pointer-events: none;
  z-index: -1;
}

.bg-orb-a {
  width: 340px;
  height: 340px;
  right: 4vw;
  top: -80px;
  background: rgba(129, 94, 255, 0.3);
}

.bg-orb-b {
  width: 290px;
  height: 290px;
  left: -80px;
  top: 40vh;
  background: rgba(55, 172, 255, 0.2);
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

#journey .container {
  width: min(1600px, calc(100vw - 56px));
}

.section {
  padding: 82px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 249, 255, 0.88);
  border-bottom: 1px solid rgba(135, 153, 206, 0.24);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a2246;
  text-decoration: none;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(41, 66, 160, 0.22);
  flex-shrink: 0;
}

.coming-soon-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #d6def7;
  background: #eef2ff;
  color: #5864a6;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

nav a {
  color: #4f5d88;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

nav a:hover {
  color: #293271;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-family: inherit;
  color: #ffffff;
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  box-shadow: 0 12px 26px rgba(68, 103, 255, 0.28);
  padding: 11px 20px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(68, 103, 255, 0.32);
}

.btn-small {
  padding: 9px 15px;
  font-size: 0.92rem;
}

.btn-ghost {
  border-color: #d8e1f6;
  background: #ffffff;
  color: #384173;
  box-shadow: none;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #eef2ff;
  color: #5662a4;
  border: 1px solid #d9e3ff;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.hero {
  padding-top: 94px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
  align-items: stretch;
}

.hero-main {
  display: grid;
  align-content: start;
}

.hero-side {
  display: grid;
  gap: 12px;
  align-content: start;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  line-height: 1.2;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.65rem);
  max-width: 14.5ch;
  color: #151c3f;
}

h1 span {
  background: linear-gradient(120deg, #6b5bff, #2f8fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 18px;
  max-width: 58ch;
  color: #4a537d;
  font-size: 1.02rem;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-waitlist {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: 560px;
}

.hero-waitlist input {
  flex: 1;
  min-width: 230px;
  border: 1px solid #d5def2;
  border-radius: 999px;
  padding: 11px 14px;
  font: inherit;
  background: #ffffff;
  color: #1f2a4d;
  box-shadow: var(--shadow-soft);
}

.hero-note {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #535f8c;
}

.hero-chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chips span {
  border: 1px solid #dce4f6;
  color: #404d7f;
  background: #ffffff;
  border-radius: 999px;
  font-size: 0.83rem;
  padding: 6px 10px;
}

.hero-stats {
  display: grid;
  gap: 12px;
}

.hero-flow-card {
  padding: 18px;
  border: 1px solid #dbe2f6;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #f9fbff, #f2f6ff);
  box-shadow: var(--shadow-soft);
}

.hero-flow-card h3 {
  margin-bottom: 10px;
}

.hero-flow-card ol {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.inline-link {
  display: inline-flex;
  margin-top: 10px;
  font-weight: 700;
  color: #3549d7;
  text-decoration: none;
}

.inline-link:hover {
  color: #2538bf;
}

.stat-card,
.feature-card,
.journey-shell,
.use-card,
.price-card,
.waitlist-card,
.build-vs-buy,
.matrix-wrap,
.geo-preview,
.addon-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 18px;
}

.stat-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.stat-card p {
  margin: 5px 0;
  color: var(--text-soft);
}

.stat-value {
  margin: 6px 0;
  color: #4656ff;
  font-size: 1.85rem;
  font-weight: 800;
}

.section-head {
  margin-bottom: 22px;
}

.section-tight {
  padding-top: 28px;
  padding-bottom: 28px;
}

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

.signal-item {
  border: 1px solid #dce4f8;
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, #ffffff, #f6f9ff);
  padding: 14px;
}

.signal-kicker {
  margin: 0 0 6px;
  color: #6574a4;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.signal-item h3 {
  margin-bottom: 6px;
  font-size: 1.03rem;
}

.signal-item p {
  margin: 0;
  color: #4f5e8f;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.65vw, 2.45rem);
  color: #20284f;
}

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

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

.platform-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.platform-stage {
  border: 1px solid #dbe4f8;
  border-radius: var(--radius-sm);
  background: #f9fbff;
  padding: 14px;
}

.platform-stage p {
  margin: 0 0 4px;
  color: #6a79ab;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
}

.platform-stage h3 {
  margin-bottom: 5px;
}

.platform-stage span {
  display: block;
  color: #4e5d8e;
  font-size: 0.93rem;
}

.feature-card {
  padding: 18px;
}

.feature-card h3 {
  margin-bottom: 8px;
}

ul {
  margin: 0;
  padding-left: 18px;
}

li {
  margin-bottom: 6px;
  color: #3f4b78;
}

.geo-preview {
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
}

.demo-preview-note {
  margin: 8px 0 0;
  color: #62729f;
  font-size: 0.9rem;
  max-width: 78ch;
}

.geo-topbar,
.geo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
}

.geo-topbar {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, #f8faff, #f2f6ff);
}

.geo-title-block {
  display: grid;
  gap: 2px;
}

.geo-topbar strong {
  font-size: 1.03rem;
}

.geo-title-block span {
  color: #5f6990;
  font-size: 0.86rem;
}

.geo-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.map-select {
  display: grid;
  gap: 3px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7482ac;
  font-family: "IBM Plex Mono", monospace;
}

.map-select select {
  min-width: 126px;
  width: auto;
  border-radius: 8px;
  border: 1px solid #d4ddf2;
  background: #ffffff;
  color: #2d3a67;
  padding: 7px 8px;
  font-size: 0.85rem;
  font-family: "Outfit", sans-serif;
}

.map-theme-btn {
  border: 1px solid #cfdaf3;
  background: #eef2ff;
  color: #3b4a82;
  border-radius: 9px;
  padding: 7px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.map-theme-btn.active {
  background: #14243a;
  color: #d4e3f5;
  border-color: #2f4662;
}

.status-pill {
  border: 1px solid #bdeccb;
  background: #e9fff1;
  color: #287e4f;
  border-radius: 999px;
  font-size: 0.81rem;
  font-weight: 600;
  padding: 4px 10px;
}

.geo-filter-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, #f6f9ff, #edf3ff);
}

.geo-filter-strip .map-select select,
.geo-filter-strip .map-select input {
  width: 100%;
  min-width: 0;
}

.geo-body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 14px;
  padding: 16px;
}

.world-wrap {
  border: 1px solid #d5dff2;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #f9fbff, #eef3ff);
  position: relative;
  padding: 12px;
  min-height: 352px;
}

.map-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6d79a4;
  font-size: 0.8rem;
}

.legend-scale {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.legend-swatch {
  width: 15px;
  height: 8px;
  border-radius: 999px;
}

.legend-swatch.lv1 {
  background: #71afff;
}

.legend-swatch.lv2 {
  background: #6de48f;
}

.legend-swatch.lv3 {
  background: #efd659;
}

.legend-swatch.lv4 {
  background: #f4a453;
}

.map-mini-actions {
  display: flex;
  gap: 6px;
}

.map-mini-actions button {
  border: 1px solid #d2ddf3;
  background: #ffffff;
  color: #4e5d92;
  border-radius: 7px;
  padding: 5px 8px;
  font-size: 0.77rem;
  font-weight: 600;
  cursor: pointer;
}

.map-mini-actions button.active {
  background: #12263f;
  border-color: #28425f;
  color: #d5e5f8;
}

.world-canvas {
  --map-bg-a: #111a26;
  --map-bg-b: #08111d;
  --map-border: #2f4258;
  --map-glow: rgba(56, 87, 120, 0.18);
  --map-grid-color: rgba(92, 125, 156, 0.08);
  --map-grid-size: 20px;
  --land-fill-a: #2f3f4f;
  --land-fill-b: #243342;
  --land-stroke: #3b5068;
  border-radius: 10px;
  height: 312px;
  overflow: hidden;
  border: 1px solid var(--map-border);
  background:
    radial-gradient(circle at 48% 45%, var(--map-glow), transparent 56%),
    linear-gradient(180deg, var(--map-bg-a), var(--map-bg-b));
  position: relative;
  width: 100%;
}

.world-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--map-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--map-grid-color) 1px, transparent 1px);
  background-size: var(--map-grid-size) var(--map-grid-size);
  pointer-events: none;
  z-index: 2;
}

#geo-world-map {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

#geo-world-map .js-plotly-plot,
#geo-world-map .plot-container,
#geo-world-map .svg-container {
  width: 100% !important;
  height: 100% !important;
}

#geo-world-map .modebar {
  display: none !important;
}

.map-fallback {
  margin: 0;
  display: grid;
  place-items: center;
  height: 100%;
  color: #8ea4bc;
  font-size: 0.88rem;
}

.world-canvas.dark-map #geo-world-map .main-svg {
  background: transparent !important;
}

.world-canvas.light-map #geo-world-map .main-svg {
  background: transparent !important;
}

.world-canvas.light-map {
  --map-bg-a: #f2f6ff;
  --map-bg-b: #e6ecff;
  --map-border: #d4def5;
  --land-fill-a: #7eaef8;
  --land-fill-b: #689eea;
  --land-stroke: #4d84d4;
}

.map-controls {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 4px;
  z-index: 4;
}

.map-controls button {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid #3f5870;
  color: #c4d4e7;
  background: #122235;
  font-size: 1.15rem;
}

.world-canvas.light-map .map-controls button {
  border-color: #cfdaf1;
  color: #506194;
  background: #ffffff;
}

.map-resizer {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(78, 113, 152, 0.9);
  box-shadow: 0 0 0 1px rgba(186, 209, 236, 0.75);
  cursor: nwse-resize;
  z-index: 5;
}

.world-canvas.light-map .map-resizer {
  background: rgba(136, 157, 198, 0.95);
  box-shadow: 0 0 0 1px rgba(94, 119, 162, 0.5);
}

.map-customize {
  margin-top: 9px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  align-items: end;
}

.map-customize h4 {
  margin: 0;
  grid-column: 1 / -1;
  font-size: 0.88rem;
  color: #5f6d99;
}

.map-customize label {
  display: grid;
  gap: 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7381ac;
  font-family: "IBM Plex Mono", monospace;
}

.map-customize select,
.map-customize input {
  border: 1px solid #d0dcf3;
  background: #ffffff;
  color: #2d3b6a;
  border-radius: 8px;
  padding: 6px 8px;
  height: 34px;
}

.map-customize input[type="range"] {
  padding: 0;
}

.map-note {
  margin: 9px 0 0;
  color: #7a86b1;
  font-size: 0.78rem;
}

.country-list {
  border: 1px solid #d5dff2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f9fbff;
}

.country-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: #f0f5ff;
  border-bottom: 1px solid #d6e0f4;
  padding: 11px 12px;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.77rem;
  color: #5f6f9d;
}

.country-head-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.city-back-btn {
  border: 1px solid #c8d5f2;
  border-radius: 999px;
  background: #ffffff;
  color: #40558a;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  cursor: pointer;
}

.city-back-btn:hover {
  background: #eef4ff;
}

.country-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#country-list-body li {
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid #dde6f7;
}

#country-list-body li:last-child {
  border-bottom: none;
}

.country-item {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.country-item:hover {
  background: #f0f5ff;
}

.country-item.active {
  background: #e8f0ff;
}

.country-item:focus-visible {
  outline: 2px solid #4f7eff;
  outline-offset: -2px;
}

.city-item {
  cursor: default;
}

.country-row-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.93rem;
  color: #303e6e;
}

.country-row-top strong {
  font-size: 0.9rem;
  color: #273765;
}

.country-row-meta {
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
}

.country-bar {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: #e4ebfa;
  overflow: hidden;
}

.country-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--country-bar-a, #5a7cff), var(--country-bar-b, #3ea4ff));
}

.up {
  color: var(--green);
}

.down {
  color: var(--red);
}

.geo-footer {
  border-top: 1px solid var(--line);
  background: #f9fbff;
}

.geo-footer span {
  color: #586594;
}

.geo-footer a {
  color: #334ff0;
  font-weight: 700;
  text-decoration: none;
}

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

.journey-intro {
  margin: 10px 0 0;
  max-width: 74ch;
  color: #4d5a87;
}

.journey-shell {
  width: 100%;
  padding: 20px;
  background:
    radial-gradient(circle at 12% 14%, rgba(100, 132, 255, 0.14), transparent 40%),
    linear-gradient(145deg, #ffffff, #f6f9ff);
}

.journey-progress {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding: 0 38px;
}

.journey-progress::before {
  content: "";
  position: absolute;
  left: 42px;
  right: 42px;
  height: 2px;
  background: linear-gradient(90deg, rgba(76, 104, 255, 0.55), rgba(63, 143, 255, 0.3));
}

.journey-progress-dot {
  position: relative;
  z-index: 1;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: #98a7d8;
  box-shadow: 0 0 0 5px rgba(110, 125, 214, 0.14);
}

.journey-progress-dot.active {
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
}

.journey-step {
  position: relative;
  padding: 18px;
  border: 1px solid #d7e0f5;
  border-radius: var(--radius-sm);
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(32, 51, 116, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.journey-step::after {
  content: "";
  position: absolute;
  top: 36px;
  right: -13px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #88a0ee, transparent);
}

.journey-step:last-child::after {
  content: none;
}

.journey-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.journey-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, #4259f6, #3f8dff);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.86rem;
  box-shadow: 0 10px 20px rgba(66, 93, 235, 0.28);
}

.journey-step-kicker {
  margin: 0;
  color: #5969a8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.69rem;
  font-family: "IBM Plex Mono", monospace;
}

.journey-step h3 {
  margin: 0;
  font-size: 1.12rem;
}

.journey-step > p {
  margin: 0;
  color: #55618e;
}

.journey-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.journey-chip-row span {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #d6def8;
  color: #56629a;
  font-size: 0.72rem;
  font-weight: 700;
}

.journey-snippet {
  margin-top: 2px;
  padding: 12px;
  border-radius: 11px;
  border: 1px solid #d8e0f4;
  background: linear-gradient(170deg, #f8faff, #f2f6ff);
}

.journey-snippet-label {
  margin: 0 0 8px;
  color: #58669b;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "IBM Plex Mono", monospace;
}

.journey-step pre {
  margin: 0;
  border: 1px solid #d2ddf6;
  background: #f8faff;
}

.journey-step code {
  color: #2d3a68;
}

pre {
  margin: 10px 0 0;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #d9e2f5;
  background: #f7f9ff;
  color: #2f3d6e;
  font-size: 0.78rem;
  overflow-x: auto;
  font-family: "IBM Plex Mono", monospace;
}

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

.use-case-purpose-head {
  margin-top: 20px;
}

.use-card {
  padding: 16px;
}

.use-card p {
  margin-bottom: 0;
  color: var(--text-soft);
}

.build-vs-buy {
  margin-top: 14px;
  padding: 18px;
}

.conversion-cta {
  border: 1px solid #d3ddf5;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 80% 20%, rgba(108, 132, 255, 0.12), transparent 38%),
    linear-gradient(145deg, #ffffff, #f5f8ff);
  box-shadow: var(--shadow);
  padding: 22px;
}

.conversion-cta h2 {
  margin: 0;
  max-width: 28ch;
}

.conversion-cta .cta-row {
  margin-top: 16px;
}

.bvb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.price-card {
  padding: 16px;
  position: relative;
}

.price {
  margin: 6px 0;
  font-size: 2rem;
  font-weight: 800;
  color: #3f5bff;
}

.cap {
  margin: 0 0 10px;
  min-height: 2.4em;
  color: var(--text-soft);
}

.tag {
  position: absolute;
  top: 10px;
  right: 12px;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  background: #ecf0ff;
  color: #4d5cb3;
  border: 1px solid #d7dfff;
  font-family: "IBM Plex Mono", monospace;
}

.featured {
  border-color: #c7d4ff;
  box-shadow: 0 14px 36px rgba(85, 109, 230, 0.16);
}

.toggle-wrap {
  display: inline-flex;
  border: 1px solid #d4dff5;
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
}

.billing-btn {
  border: none;
  background: transparent;
  color: #616f98;
  padding: 8px 12px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
}

.billing-btn.active {
  background: linear-gradient(120deg, #595fff, #4f95ff);
  color: #ffffff;
}

.matrix-wrap {
  margin-top: 14px;
  padding: 16px;
}

.matrix-wrap table {
  width: 100%;
  border-collapse: collapse;
}

.matrix-wrap th,
.matrix-wrap td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #e2e9f7;
}

.matrix-wrap th {
  color: #596998;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-family: "IBM Plex Mono", monospace;
}

.matrix-status-yes {
  color: #2e8e5e;
  font-weight: 700;
}

.matrix-status-no {
  color: #b2455a;
  font-weight: 700;
}

.addon-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.addon-card {
  padding: 14px;
}

.addon-card p {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.waitlist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.waitlist-grid-single {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

.waitlist-card {
  padding: 18px;
}

.wtp-buttons {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wtp-btn {
  border: 1px solid #d4def5;
  background: #ffffff;
  color: #495a8d;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
}

.wtp-btn.active {
  color: #3343a9;
  border-color: #b8c9ff;
  background: #edf2ff;
}

.wtp-output {
  margin-top: 10px;
  color: #65729a;
}

.pilot-form {
  display: grid;
  gap: 10px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
  color: #3f4b78;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d3ddf3;
  border-radius: 10px;
  padding: 10px;
  background: #ffffff;
  color: #25305a;
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: #6b769f;
  font-size: 0.88rem;
}

.form-preview-note {
  margin-top: 2px;
}

.form-note.success {
  color: #2e8e5e;
}

.form-note.error {
  color: #b2455a;
}

.site-footer {
  border-top: 1px solid rgba(138, 153, 204, 0.22);
  background: rgba(247, 249, 255, 0.82);
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  color: #67739d;
  font-size: 0.9rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-icon {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  flex-shrink: 0;
}

.reveal,
.reveal-stagger {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible,
.reveal-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero.reveal {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal-stagger {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-grid,
  .geo-body,
  .journey-grid,
  .use-case-grid,
  .pricing-grid,
  .waitlist-grid,
  .bvb-grid,
  .addon-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .signal-strip,
  .platform-flow {
    grid-template-columns: 1fr 1fr;
  }

  .journey-progress {
    padding: 0 8px;
  }

  .journey-progress::before {
    left: 12px;
    right: 12px;
  }

  .journey-step::after {
    content: none;
  }

  .pricing-grid .price-card:last-child {
    grid-column: span 2;
  }

  .geo-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .geo-toolbar {
    width: 100%;
  }

  .geo-filter-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .map-customize {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 760px) {
  #journey .container {
    width: min(1140px, 92vw);
  }

  .header-inner {
    min-height: 64px;
  }

  nav {
    display: none;
  }

  .section {
    padding: 62px 0;
  }

  .section-tight {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-grid,
  .geo-body,
  .journey-grid,
  .use-case-grid,
  .pricing-grid,
  .waitlist-grid,
  .bvb-grid,
  .addon-grid,
  .feature-grid,
  .pricing-grid .price-card:last-child {
    grid-template-columns: 1fr;
  }

  .signal-strip,
  .platform-flow {
    grid-template-columns: 1fr;
  }

  .journey-shell {
    width: 100%;
    padding: 16px;
  }

  .journey-progress {
    margin-bottom: 14px;
  }

  .section-head.between {
    flex-direction: column;
    align-items: flex-start;
  }

  .geo-topbar,
  .geo-footer {
    padding: 12px;
  }

  .geo-filter-strip {
    grid-template-columns: 1fr 1fr;
    padding: 10px 12px 12px;
    gap: 8px;
  }

  .geo-body {
    padding: 12px;
  }

  .world-wrap {
    min-height: 300px;
  }

  .world-canvas {
    height: 260px;
  }

  .geo-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 8px;
  }

  .map-select select {
    width: 100%;
    min-width: 0;
  }

  .map-theme-btn {
    width: 100%;
  }

  .map-headline {
    align-items: flex-start;
  }

  .map-mini-actions {
    display: none;
  }

  .map-customize {
    grid-template-columns: 1fr;
  }

  .map-controls {
    right: 8px;
    top: 50%;
  }

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

  .hero-waitlist input {
    width: 100%;
    min-width: 100%;
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* Page Polish Layer */
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  background:
    radial-gradient(circle at 6% 8%, rgba(71, 138, 255, 0.11), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(62, 196, 174, 0.1), transparent 34%),
    linear-gradient(180deg, #f7f9ff 0%, #eef4ff 100%);
}

body::before {
  opacity: 0.14;
}

.site-header {
  background: rgba(248, 251, 255, 0.93);
  border-bottom: 1px solid rgba(129, 151, 205, 0.3);
  box-shadow: 0 8px 24px rgba(20, 38, 88, 0.07);
}

.site-header nav {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #d8e3f8;
  border-radius: 999px;
  padding: 5px 8px;
  gap: 6px;
}

.site-header nav a {
  padding: 6px 11px;
  border-radius: 999px;
  color: #425182;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header nav a:hover {
  background: #edf3ff;
  color: #233465;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding-top: 34px;
  padding-bottom: 34px;
}

.section-head {
  margin-bottom: 26px;
}

.section-head h2 {
  max-width: 20ch;
  letter-spacing: -0.015em;
}

.journey-intro,
.lead {
  color: #4a5c8c;
}

.hero-grid {
  gap: 28px;
}

.hero-main {
  padding: 8px 2px 2px;
}

.hero-waitlist input {
  border-color: #cbd8f4;
}

.stat-card,
.feature-card,
.journey-shell,
.use-card,
.price-card,
.waitlist-card,
.build-vs-buy,
.matrix-wrap,
.geo-preview,
.addon-card,
.signal-item {
  box-shadow: 0 14px 32px rgba(30, 53, 112, 0.08);
}

.feature-card,
.use-card,
.price-card,
.addon-card,
.waitlist-card,
.signal-item,
.journey-step,
.platform-stage {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card:hover,
.use-card:hover,
.price-card:hover,
.addon-card:hover,
.waitlist-card:hover,
.signal-item:hover,
.journey-step:hover,
.platform-stage:hover {
  transform: translateY(-3px);
  border-color: #c7d6f5;
  box-shadow: 0 18px 34px rgba(35, 61, 122, 0.14);
}

.geo-preview {
  border-color: #ccd9f4;
  box-shadow: 0 20px 42px rgba(22, 46, 101, 0.1);
}

.geo-topbar {
  padding-top: 15px;
  padding-bottom: 15px;
}

.geo-filter-strip {
  background: linear-gradient(130deg, #f4f8ff, #eaf2ff);
  border-top: 1px solid #dbe6fa;
  border-bottom: 1px solid #d7e3f9;
}

.world-wrap,
.country-list {
  border-color: #cfdcf7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.map-customize {
  margin-top: 12px;
}

.country-head {
  background: linear-gradient(180deg, #f3f7ff, #edf4ff);
}

.country-item:hover {
  background: #edf4ff;
}

.country-item.active {
  background: #dfeeff;
}

.pricing-grid {
  gap: 14px;
}

.price-card.featured {
  border-width: 1px;
  background:
    radial-gradient(circle at 85% 12%, rgba(80, 155, 255, 0.13), transparent 38%),
    linear-gradient(155deg, #ffffff, #f4f8ff);
}

.tag {
  font-weight: 600;
}

.matrix-wrap {
  margin-top: 18px;
}

.matrix-wrap table {
  border-radius: 12px;
  overflow: hidden;
}

.matrix-wrap thead th {
  background: #f4f8ff;
}

.waitlist-card {
  border-color: #d2def6;
  background: linear-gradient(165deg, #ffffff, #f6f9ff);
}

.waitlist-card h3 {
  margin-bottom: 8px;
}

input:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #5b8fff;
  outline-offset: 2px;
}

.site-footer {
  background: linear-gradient(180deg, rgba(246, 249, 255, 0.94), rgba(239, 245, 255, 0.94));
}

@media (max-width: 1080px) {
  section[id] {
    scroll-margin-top: 92px;
  }

  .site-header nav {
    padding: 4px 6px;
  }
}

@media (max-width: 760px) {
  section[id] {
    scroll-margin-top: 82px;
  }

  .section {
    padding: 66px 0;
  }

  .section-tight {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
