:root {
  --bg: #140d0a;
  --bg-2: #201310;
  --surface: rgba(31, 18, 14, 0.78);
  --surface-strong: rgba(25, 14, 11, 0.94);
  --line: rgba(255, 255, 255, 0.08);
  --text: #fff5ef;
  --muted: #d0beb5;
  --claude: #f07a2f;
  --claude-soft: #ffb36d;
  --openclaw: #d9412f;
  --openclaw-soft: #ff7b68;
  --max-width: 1180px;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(240, 122, 47, 0.22), transparent 28%),
    radial-gradient(circle at 87% 16%, rgba(217, 65, 47, 0.22), transparent 28%),
    linear-gradient(180deg, #130b08 0%, #1a0f0c 48%, #120907 100%);
}

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

svg {
  display: block;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.glow {
  position: fixed;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.52;
  pointer-events: none;
}

.glow-claude {
  top: 4%;
  left: -8%;
  width: 360px;
  height: 360px;
  background: rgba(240, 122, 47, 0.2);
}

.glow-openclaw {
  top: 12%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: rgba(217, 65, 47, 0.18);
}

.noise-layer {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
  pointer-events: none;
}

.section {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.hero {
  padding: 34px 0 84px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
  gap: 24px;
  width: 100%;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--claude-soft);
}

.brand-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.brand-link:hover {
  transform: translateY(-2px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-claude {
  color: #ffe6d4;
}

.brand-openclaw {
  color: #ffe0dc;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Syne", sans-serif;
  letter-spacing: -0.05em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 5.2vw, 5rem);
  line-height: 0.98;
}

h2 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.24rem;
  line-height: 1.08;
}

.hero-text,
.roadmap-card p,
.cta-text,
.checkout-note {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.03rem;
}

.hero-text {
  max-width: 60ch;
  margin: 26px 0 32px;
  font-size: 1.08rem;
}

.hero-card,
.roadmap-card,
.cta-box {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-card::after,
.roadmap-card::after,
.cta-box::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.hero-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  background:
    radial-gradient(circle at top right, rgba(217, 65, 47, 0.12), transparent 34%),
    radial-gradient(circle at top left, rgba(240, 122, 47, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--surface-strong);
}

.hero-card-top {
  display: flex;
  gap: 8px;
}

.hero-card-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.panel-label {
  margin: 0 0 16px;
  color: var(--claude-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-card-body {
  display: grid;
  gap: 20px;
}

.hero-card-stack {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

.stack-label {
  margin: 0;
  color: #f7d2bf;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 600;
}

.stack-chip-claude {
  background: rgba(240, 122, 47, 0.12);
  color: #ffd8c0;
}

.stack-chip-openclaw {
  background: rgba(217, 65, 47, 0.12);
  color: #ffd3cc;
}

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

.stack-box {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stack-box strong {
  font-family: "Syne", sans-serif;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.stack-box span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.signal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.signal-list li {
  position: relative;
  padding-left: 18px;
  color: #fff0e6;
  line-height: 1.6;
}

.signal-list li::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--claude), var(--openclaw));
}

.price-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.price-kicker {
  color: var(--muted);
  font-size: 0.92rem;
}

.price-panel strong {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  letter-spacing: -0.06em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--claude), var(--openclaw-soft));
  color: #170d09;
  box-shadow: 0 16px 34px rgba(240, 122, 47, 0.26);
}

.button-large {
  min-height: 60px;
  padding: 0 30px;
}

.roadmap {
  padding: 0 0 88px;
}

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

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

.roadmap-step {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--claude-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.final-cta {
  padding: 0 0 56px;
}

.cta-box {
  text-align: center;
  padding: 36px;
  background:
    radial-gradient(circle at top, rgba(240, 122, 47, 0.14), transparent 30%),
    radial-gradient(circle at bottom, rgba(217, 65, 47, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--surface-strong);
}

.cta-box h2 {
  margin: 0 auto 18px;
}

.cta-text {
  max-width: 58ch;
  margin: 0 auto 24px;
}

.cta-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.cta-meta span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: #ffe9de;
  font-size: 0.92rem;
}

.checkout-note {
  margin: 0;
  font-size: 0.93rem;
}

.checkout-note code {
  color: #fff0e6;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  margin-top: 28px;
  text-align: left;
}

.checkout-summary,
.payment-form {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.checkout-summary {
  display: grid;
  gap: 14px;
  align-content: start;
}

.summary-label {
  margin: 0;
  color: var(--claude-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.summary-row,
.summary-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-row span,
.summary-total span {
  color: var(--muted);
}

.summary-row strong,
.summary-total strong {
  max-width: 60%;
  text-align: right;
}

.summary-total {
  align-items: end;
  padding-top: 8px;
}

.summary-total strong {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.summary-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.payment-form {
  display: grid;
  gap: 18px;
}

.form-section {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.form-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.form-section-label {
  margin: 0;
  color: var(--claude-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
}

.country-switch {
  padding: 0;
  border: 0;
  background: transparent;
  color: #f7d2bf;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.country-switch:hover {
  color: #ffe7da;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field span {
  color: #f6ddd0;
  font-size: 0.9rem;
  font-weight: 600;
}

.field input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(14, 8, 7, 0.5);
  color: var(--text);
  font: inherit;
}

.field select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(14, 8, 7, 0.5);
  color: var(--text);
  font: inherit;
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: rgba(240, 122, 47, 0.55);
  box-shadow: 0 0 0 3px rgba(240, 122, 47, 0.12);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: rgba(255, 122, 122, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 122, 122, 0.1);
}

.field-full {
  grid-column: 1 / -1;
}

.field-phone input {
  min-height: 56px;
  font-size: 1rem;
}

.card-input-wrap {
  position: relative;
}

.card-brand {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--claude-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.payment-status {
  min-height: 1.5rem;
  margin: 0;
  color: #ffe7da;
  font-size: 0.95rem;
}

.payment-modal[hidden] {
  display: none;
}

.payment-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 20px;
}

.payment-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 3, 2, 0.72);
  backdrop-filter: blur(10px);
}

.payment-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top, rgba(240, 122, 47, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--surface-strong);
  box-shadow: var(--shadow);
}

.payment-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.payment-modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  border-radius: 18px;
  font-family: "Syne", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
}

.payment-modal-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
}

.payment-modal-title {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 0.98;
}

.payment-modal-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.payment-modal.is-success .payment-modal-icon {
  background: rgba(240, 122, 47, 0.14);
  color: #ffd9c4;
}

.payment-modal.is-success .payment-modal-kicker {
  color: var(--claude-soft);
}

.payment-modal.is-error .payment-modal-icon {
  background: rgba(217, 65, 47, 0.16);
  color: #ffd2cb;
}

.payment-modal.is-error .payment-modal-kicker {
  color: #ffb4aa;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 760ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-card.reveal {
  animation-delay: 120ms;
}

.roadmap-card:nth-child(2).reveal,
.roadmap-card:nth-child(5).reveal {
  animation-delay: 90ms;
}

.roadmap-card:nth-child(3).reveal,
.roadmap-card:nth-child(6).reveal {
  animation-delay: 180ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-grid,
  .roadmap-grid {
    grid-template-columns: 1fr;
  }

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

  .checkout-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .brand-links,
  .cta-meta {
    flex-direction: column;
  }

  .button,
  .button-large,
  .brand-link {
    width: 100%;
  }

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

  .hero-card,
  .roadmap-card,
  .cta-box,
  .checkout-summary,
  .payment-form {
    padding: 22px;
    border-radius: 24px;
  }

  .form-section {
    padding: 16px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .button,
  .brand-link {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}
