:root {
  --bg: #0b111b;
  --bg-2: #0f1726;
  --panel: #121c2e;
  --panel-2: #0e1626;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .76);
  --muted-2: rgba(255, 255, 255, .62);
  --line: rgba(255, 255, 255, .12);
  --gold: #f3c84b;
  --gold-2: #f7d66a;
  --shadow: 0 18px 40px rgba(0, 0, 0, .35);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans";
  color: var(--text);
  background:
    radial-gradient(1000px 450px at 22% 18%, rgba(243, 200, 75, .18), transparent 55%),
    radial-gradient(900px 500px at 85% 25%, rgba(255, 255, 255, .08), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 55%, var(--bg));
  line-height: 1.35;
}

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

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

.wrap,
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- NAV --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(11, 17, 27, .78);
  border-bottom: 1px solid var(--line);
  overflow: visible;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.brand {
  font-weight: 900;
  letter-spacing: .02em;
  font-size: 20px;
  text-transform: lowercase;
}

.menu {
  display: flex;
  gap: 26px;
  align-items: center;
}

.menu a {
  font-size: 14px;
  color: var(--muted);
  padding: 10px 6px;
  border-radius: 10px;
  transition: all .15s ease;
}

.menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
}

/* --- MOBILE MENU DEFAULTS --- */
.nav-toggle {
  display: none;
}

.mobile-only-btn {
  display: none !important;
}

.nav-toggle-label {
  display: none;
}

/* --- SECTIONS & SPACING --- */
section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}

.hero {
  padding: 60px 0 40px;
  border-bottom: 0;
}

.grid-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: center;
}

h1 {
  margin: 10px 0 14px;
  font-size: clamp(38px, 4.3vw, 56px);
  line-height: 1.02;
  font-weight: 950;
}

h2 {
  margin: 5px 0 10px;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.1;
  font-weight: 950;
}

h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.2;
}

p {
  margin: 0;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 15px;
}

.kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--muted);
}

.kicker::before,
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 999px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  border-radius: 999px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  cursor: pointer;
  transition: all .12s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .10);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #1c2433 !important;
  border-color: rgba(0, 0, 0, .08);
  box-shadow: 0 14px 30px rgba(243, 200, 75, .18);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}

/* --- HERO CHECKS --- */
.checks {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.check {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
}

.check i {
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(243, 200, 75, .12);
  border: 1px solid rgba(243, 200, 75, .25);
}

.check svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

/* --- HERO CARD & FLOW --- */
.hero-card {
  background:
    radial-gradient(700px 260px at 30% 10%, rgba(243, 200, 75, .10), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(243, 200, 75, .26);
  background: rgba(243, 200, 75, .12);
  color: rgba(255, 255, 255, .92);
  font-weight: 800;
  font-size: 12px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.muted2 {
  color: var(--muted-2);
  font-size: 13px;
}

.callflow {
  position: relative;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(14, 22, 38, .55);
  padding: 14px;
}

.flow-line-connector {
  position: absolute;
  left: 41px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.flow-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.flow-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.flow-right {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.pill {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .10);
  position: relative;
  z-index: 1;
}

.pill svg {
  width: 26px;
  height: 26px;
  fill: var(--gold);
}

.flow-title {
  font-weight: 850;
  color: var(--text);
}

.flow-sub {
  color: var(--muted-2);
  font-size: 13px;
  margin-top: 2px;
}

.active-pulse {
  box-shadow: 0 0 0 0 rgba(243, 200, 75, .35);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(243, 200, 75, .35);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(243, 200, 75, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(243, 200, 75, 0);
  }
}

/* --- GENERAL SECTIONS --- */
.section-head {
  display: block;
  margin-bottom: 50px;
}

.section-head .kicker {
  margin-bottom: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.card-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.card p {
  color: var(--muted);
}

.icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(243, 200, 75, .10);
  border: 1px solid rgba(243, 200, 75, .22);
}

.icon svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

/* --- DEMO FORM --- */
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}

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

.input-group label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.input-group input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.input-group input::placeholder {
  color: var(--muted-2);
}

.form-footer {
  grid-column: 1 / -1;
  margin-top: 4px;
}

/* --- PRICING SECTION --- */
.currency-toggle {
  display: inline-flex;
  gap: 8px;
  margin: 18px 0 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
}

.toggle-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.toggle-btn.is-active {
  background: linear-gradient(180deg, var(--gold), var(--gold-2));
  color: #1c2433;
}

.pricing-grid {
  margin-top: 8px;
}

.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.price-card {
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease;
}

.price-card.featured {
  border-color: rgba(243, 200, 75, 0.4);
  background:
    radial-gradient(circle at top left, rgba(243, 200, 75, 0.08), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.price-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: 8px;
}

.amount {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 10px;
}

.amount span {
  font-size: 20px;
  font-weight: 800;
  color: var(--muted);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.price-features li {
  display: flex;
  align-items: center;
}

.tick {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(243, 200, 75, .9);
  display: inline-block;
  margin-right: 10px;
  min-width: 10px;
}

.currency-note {
  margin-top: 15px;
  text-align: center;
  font-size: 13px;
  color: var(--muted-2);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  font-style: normal;
}

/* --- CTA & FOOTER --- */
.cta {
  padding: 20px 0 40px;
}

.cta-box {
  border-radius: var(--radius);
  border: 1px solid rgba(243, 200, 75, .28);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
}

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

.footer-small {
  margin-top: 10px;
}

/* Alternating background for sections */
section:nth-of-type(even) {
  background: rgba(255, 255, 255, 0.015);
}

/* --- FOCUS --- */
:focus-visible {
  outline: 3px solid rgba(243, 200, 75, .55);
  outline-offset: 3px;
  border-radius: 10px;
}

/* --- RESPONSIVE --- */
@media (max-width: 980px) {
  .nav-desktop-btn {
    display: none !important;
  }

  .nav-toggle-label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    padding: 10px;
    order: 3;
  }

  .nav-toggle-label span,
  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    display: block;
    background: var(--gold);
    height: 2px;
    width: 24px;
    border-radius: 2px;
    position: relative;
    transition: all .3s ease;
  }

  .nav-toggle-label span::before,
  .nav-toggle-label span::after {
    content: "";
    position: absolute;
  }

  .nav-toggle-label span::before {
    bottom: 8px;
  }

  .nav-toggle-label span::after {
    top: 8px;
  }

  .menu {
    display: none !important;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #0b111b;
    flex-direction: column !important;
    padding: 20px;
    gap: 0;
    border-bottom: 2px solid var(--gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 50;
  }

  #nav-toggle:checked ~ .menu {
    display: flex !important;
  }

  #nav-toggle:checked ~ .nav-toggle-label span {
    background: transparent;
  }

  #nav-toggle:checked ~ .nav-toggle-label span::before {
    transform: rotate(45deg);
    bottom: 0;
  }

  #nav-toggle:checked ~ .nav-toggle-label span::after {
    transform: rotate(-45deg);
    top: 0;
  }

  .menu a {
    width: 100%;
    padding: 15px 10px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

.mobile-only-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  order: 2;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
  color: #0b111b !important;
  background: linear-gradient(180deg, var(--gold), var(--gold-2)) !important;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 14px 30px rgba(243, 200, 75, .18);
  -webkit-text-fill-color: #0b111b !important;
}

  .grid-hero,
  .cards,
  .pricing,
  .demo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .wrap,
  .container {
    width: min(var(--max), calc(100% - 32px));
    padding: 0;
  }

  .brand {
    font-size: 18px;
  }

  .flow-row {
    align-items: flex-start;
  }

  .flow-right {
    font-size: 12px;
  }

  .amount {
    font-size: 40px;
  }
}
