@import url("https://use.typekit.net/pyn1zac.css");

:root {
  --ink: #131626;
  --ink-2: #222638;
  --muted: #69707f;
  --line: #e6e1d8;
  --paper: #fbf7ef;
  --white: #ffffff;
  --volt: #ffb000;
  --orange: #ff6a2a;
  --amber: #ffd76a;
  --green: #22b573;
  --blue: #3b82f6;
  --shadow: 0 28px 80px rgba(19, 22, 38, 0.18);
  --radius-xl: 34px;
  --radius-lg: 24px;
  color: var(--ink);
  font-family: neue-haas-grotesk-display, "Helvetica Neue", Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.voltage-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: lowercase;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background:
    linear-gradient(135deg, transparent 47%, var(--white) 47% 56%, transparent 56%),
    linear-gradient(135deg, var(--orange), var(--volt));
  box-shadow: inset 0 0 0 1px rgba(19, 22, 38, 0.12), 0 12px 28px rgba(255, 106, 42, 0.32);
}

.prototype-stage {
  min-height: 100vh;
  position: relative;
}

.variant-shell {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  padding-bottom: 110px;
}

.kicker {
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 800;
}

.small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.price {
  font-size: clamp(42px, 7vw, 86px);
  letter-spacing: -0.08em;
  line-height: 0.88;
  font-weight: 900;
}

.btn-primary {
  width: 100%;
  border-radius: 18px;
  padding: 17px 22px;
  background: var(--ink);
  color: white;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 18px 36px rgba(19, 22, 38, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(19, 22, 38, 0.3);
  filter: saturate(1.08);
}

.btn-orange {
  background: linear-gradient(135deg, var(--orange), var(--volt));
  color: var(--ink);
}

.input-row {
  display: grid;
  gap: 8px;
}

.input-row label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fake-input {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 750;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(19, 22, 38, 0.1);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 181, 115, 0.16);
}

/* Variant A — embedded trust-first checkout */
.variant-a {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 176, 0, 0.26), transparent 28%),
    radial-gradient(circle at 80% 8%, rgba(255, 106, 42, 0.22), transparent 34%),
    linear-gradient(180deg, #fffdf9 0%, #f8f1e6 100%);
  padding: 26px;
}

.variant-a::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(19, 22, 38, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 22, 38, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
  z-index: -1;
}

.a-nav,
.b-nav,
.c-nav {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.a-grid {
  max-width: 1180px;
  margin: 62px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 46px;
  align-items: center;
}

.a-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.84;
  letter-spacing: -0.085em;
  max-width: 710px;
}

.a-copy p {
  max-width: 570px;
  color: #555d6a;
  font-size: 20px;
  line-height: 1.45;
}

.a-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  max-width: 680px;
}

.a-proof {
  border: 1px solid rgba(19, 22, 38, 0.09);
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(14px);
}

.a-proof strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.05em;
}

.a-card {
  border-radius: var(--radius-xl);
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  position: relative;
}

.a-card::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 42px;
  z-index: -1;
  background: conic-gradient(from 180deg, rgba(255, 176, 0, 0.6), transparent, rgba(255, 106, 42, 0.48), transparent, rgba(255, 176, 0, 0.6));
  filter: blur(18px);
  opacity: 0.48;
}

.checkout-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 8px 22px;
}

.merchant {
  display: flex;
  gap: 12px;
  align-items: center;
}

.merchant-avatar {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background-image: url("./assets/home-video-thumbnail.webp");
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.form-card {
  background: var(--white);
  border-radius: 26px;
  padding: 22px;
  display: grid;
  gap: 16px;
  box-shadow: inset 0 0 0 1px rgba(19, 22, 38, 0.06);
}

.network-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.network-option {
  border-radius: 18px;
  padding: 16px;
  background: #fff8ea;
  border: 1px solid rgba(255, 176, 0, 0.34);
}

.network-option.dark {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 18px 2px 4px;
}

/* Variant B — developer/API console checkout */
.variant-b {
  background: #0b0d14;
  color: #f6f1e7;
  padding: 22px;
  overflow: hidden;
}

.variant-b::before {
  content: "";
  position: fixed;
  inset: -30%;
  background:
    radial-gradient(circle at 35% 18%, rgba(255, 176, 0, 0.22), transparent 20%),
    radial-gradient(circle at 75% 70%, rgba(255, 106, 42, 0.18), transparent 24%),
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.045) 38% 39%, transparent 39% 100%);
  animation: drift 18s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) rotate(-2deg); }
  to { transform: translate3d(3%, 2%, 0) rotate(2deg); }
}

.b-nav {
  color: #f6f1e7;
}

.b-grid {
  max-width: 1220px;
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.b-left {
  border-radius: 32px;
  background: #111522;
  border: 1px solid rgba(255, 255, 255, 0.09);
  min-height: 720px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.b-left h1 {
  font-family: p22-mackinac-pro, Georgia, serif;
  margin: 22px 0 16px;
  font-size: clamp(46px, 6vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.code-window {
  border-radius: 24px;
  background: #080a10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: #dce3ef;
}

.window-dots {
  display: flex;
  gap: 7px;
  padding: 13px 16px;
  background: #111522;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6a2a;
}

.window-dots span:nth-child(2) { background: #ffcf5a; }
.window-dots span:nth-child(3) { background: #22b573; }

.code-window pre {
  margin: 0;
  padding: 18px;
  white-space: pre-wrap;
  line-height: 1.65;
}

.token { color: #ffb000; }
.token2 { color: #72e0ff; }
.token3 { color: #ff8b5a; }

.b-checkout {
  border-radius: 32px;
  overflow: hidden;
  background: #f8f1e6;
  color: var(--ink);
  display: grid;
  grid-template-columns: 230px 1fr;
  min-height: 720px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.46);
}

.b-sidebar {
  background: var(--ink);
  color: white;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.b-sidebar::after {
  content: "";
  position: absolute;
  inset: auto -50px -70px -50px;
  height: 230px;
  background: url("./assets/voltage-og.webp") center / cover;
  opacity: 0.24;
  filter: saturate(1.2);
}

.b-flow-step {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 18px 0;
  color: rgba(255,255,255,.58);
  font-size: 14px;
  font-weight: 750;
}

.b-flow-step.active { color: white; }
.b-flow-step i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  font-style: normal;
  font-size: 11px;
}

.b-flow-step.active i {
  background: linear-gradient(135deg, var(--orange), var(--volt));
  color: var(--ink);
}

.b-main {
  padding: 30px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.b-main h2 {
  font-size: 42px;
  line-height: 0.94;
  letter-spacing: -0.07em;
  margin: 0;
}

.rail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rail {
  border-radius: 22px;
  padding: 18px;
  background: white;
  border: 1px solid rgba(19,22,38,.08);
}

.rail.selected {
  background: #fff4d5;
  border-color: rgba(255,176,0,.55);
  box-shadow: 0 16px 34px rgba(255,176,0,.18);
}

.api-status {
  border-radius: 22px;
  padding: 18px;
  background: #111522;
  color: #eaf0fb;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  display: grid;
  gap: 10px;
}

.status-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}

/* Variant C — enterprise settlement cockpit */
.variant-c {
  background:
    linear-gradient(90deg, rgba(19, 22, 38, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(19, 22, 38, 0.06) 1px, transparent 1px),
    #f6f2ea;
  background-size: 72px 72px;
  padding: 24px;
}

.c-grid {
  max-width: 1280px;
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: stretch;
}

.c-panel {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(19,22,38,.09);
  box-shadow: 0 24px 64px rgba(19, 22, 38, 0.12);
  backdrop-filter: blur(16px);
}

.c-left {
  padding: 22px;
  min-height: 740px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.c-left h1 {
  font-family: p22-mackinac-pro, Georgia, serif;
  font-size: 44px;
  line-height: 0.96;
  letter-spacing: -0.045em;
  margin: 18px 0;
}

.c-map {
  height: 230px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 28% 42%, var(--orange) 0 5px, transparent 6px),
    radial-gradient(circle at 58% 35%, var(--volt) 0 6px, transparent 7px),
    radial-gradient(circle at 73% 62%, var(--green) 0 5px, transparent 6px),
    url("./assets/voltage-og.webp") center / cover;
  filter: saturate(1.1) contrast(.95);
  position: relative;
  overflow: hidden;
}

.c-map::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(246,242,234,.18), rgba(19,22,38,.34)),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,.18) 29px 30px);
}

.c-center {
  padding: 18px;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
}

.c-ticket {
  border-radius: 28px;
  background: var(--ink);
  color: white;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.c-ticket::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -160px;
  top: -180px;
  background: radial-gradient(circle, rgba(255,176,0,.52), transparent 64%);
}

.c-ticket h2 {
  margin: 14px 0;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .86;
  letter-spacing: -0.08em;
  position: relative;
}

.settlement-table {
  display: grid;
  gap: 10px;
}

.settlement-row {
  display: grid;
  grid-template-columns: 1.3fr .75fr .75fr;
  gap: 12px;
  align-items: center;
  border-radius: 18px;
  padding: 14px 16px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(19,22,38,.07);
  font-weight: 750;
}

.settlement-row.header {
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  border: 0;
}

.c-right {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.receipt-card {
  border-radius: 26px;
  background: #fff;
  padding: 20px;
  border: 1px solid rgba(19,22,38,.08);
}

.qr {
  height: 168px;
  border-radius: 22px;
  background:
    linear-gradient(90deg, var(--ink) 10px, transparent 10px) 0 0 / 22px 22px,
    linear-gradient(var(--ink) 10px, transparent 10px) 0 0 / 22px 22px,
    #fff;
  border: 15px solid white;
  box-shadow: inset 0 0 0 2px rgba(19,22,38,.08), 0 16px 28px rgba(19,22,38,.12);
}

.audit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(19,22,38,.08);
}

.audit-item:last-child { border-bottom: 0; }

/* Prototype switcher */
.prototype-switcher {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: 999px;
  background: rgba(19, 22, 38, 0.92);
  color: white;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.prototype-switcher button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-size: 20px;
}

.prototype-switcher button:hover {
  background: linear-gradient(135deg, var(--orange), var(--volt));
  color: var(--ink);
}

.switch-label {
  min-width: 245px;
  text-align: center;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.switch-label small {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .a-grid,
  .b-grid,
  .c-grid,
  .b-checkout {
    grid-template-columns: 1fr;
  }
  .b-left,
  .c-left {
    min-height: auto;
  }
  .a-proof-strip,
  .rail-grid {
    grid-template-columns: 1fr;
  }
  .b-sidebar {
    min-height: 300px;
  }
  .c-grid {
    max-width: 720px;
  }
}

@media (max-width: 620px) {
  .variant-a,
  .variant-b,
  .variant-c {
    padding: 14px;
  }
  .a-nav,
  .b-nav,
  .c-nav {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .price { font-size: 48px; }
  .switch-label { min-width: 170px; }
  .settlement-row { grid-template-columns: 1fr; }
}
