:root {
  --bg: #090a0c;
  --panel: #111317;
  --panel-2: #171a20;
  --panel-3: #0d1416;
  --line: rgba(229, 231, 235, 0.14);
  --text: #f4f6f8;
  --muted: #9aa3af;
  --accent: #a78bfa;
  --cyan: #22d3ee;
  --violet: #7c3aed;
  --warning: #f5c451;
  --danger: #f87171;
  --max: 1180px;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.13), transparent 360px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.06), transparent 42%),
    var(--bg);
  color: var(--text);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(9, 10, 12, 0.86);
  backdrop-filter: blur(12px);
}

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

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.nav a:hover,
.app-link:hover,
.secondary-action:hover {
  color: var(--text);
}

.app-link,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.app-link {
  border-color: rgba(167, 139, 250, 0.38);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 20px 48px;
}

section {
  scroll-margin-top: 92px;
}

.booking-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 452px);
  gap: 24px;
  align-items: start;
  min-height: calc(100vh - 86px);
  padding-top: 12px;
}

.booking-shell > * {
  min-width: 0;
}

.booking-copy {
  padding: 14px 0 0;
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(44px, 6.5vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: 0;
}

p {
  max-width: min(660px, 100%);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
  overflow-wrap: break-word;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(100%, 680px);
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.hero-proof div {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 13px;
  background: rgba(17, 19, 23, 0.82);
}

.hero-proof strong {
  font-size: 20px;
}

.hero-proof span {
  color: var(--muted);
  font-size: 12px;
}

.market-panel {
  width: min(100%, 680px);
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.12), transparent 42%),
    linear-gradient(180deg, #171a20, #0b0d10);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.market-head {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.market-head span,
.market-head small,
.metric-strip small,
.ticker-meta,
.field label,
.form-status,
.footer {
  color: var(--muted);
}

.market-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 800;
}

.market-head strong {
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: 0;
}

.market-head em {
  color: var(--cyan);
  font-style: normal;
  font-weight: 700;
}

.market-head em.down,
.ticker-change.down {
  color: var(--danger);
}

.chart-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 12px 16px 0;
  color: var(--muted);
  font-size: 12px;
}

.chart-toolbar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeframe-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.035);
}

.timeframe-tabs button {
  min-width: 36px;
  min-height: 28px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.timeframe-tabs button:hover,
.timeframe-tabs button.active {
  background: rgba(124, 58, 237, 0.22);
  color: var(--text);
}

.price-line {
  --candle-count: 24;
  display: grid;
  grid-template-columns: repeat(var(--candle-count), minmax(4px, 1fr));
  align-items: stretch;
  gap: 8px;
  height: 180px;
  padding: 18px 16px 16px;
}

.candle {
  position: relative;
  min-width: 4px;
  height: 100%;
}

.candle i,
.candle b {
  position: absolute;
  left: 50%;
  display: block;
  transform: translateX(-50%);
}

.candle i {
  top: var(--wick-top);
  width: 1px;
  height: var(--wick-height);
  border-radius: 999px;
  background: rgba(244, 246, 248, 0.58);
}

.candle b {
  top: var(--body-top);
  width: min(14px, 82%);
  min-height: 3px;
  height: var(--body-height);
  border-radius: 3px;
}

.candle.up b {
  background: linear-gradient(180deg, var(--violet), var(--cyan));
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.2);
}

.candle.down b {
  background: linear-gradient(180deg, var(--danger), rgba(245, 196, 81, 0.82));
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.15);
}

.price-line.loading .candle {
  opacity: 0.42;
}

.ticker-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.ticker-card {
  min-height: 92px;
  padding: 12px;
  border: 0;
  background: var(--panel-3);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}

.ticker-card:hover,
.ticker-card.active {
  background: #121a1d;
}

.ticker-card.active {
  box-shadow: inset 0 2px 0 var(--violet);
}

.ticker-card strong,
.ticker-card span {
  display: block;
}

.ticker-card strong {
  margin-bottom: 8px;
  font-size: 13px;
}

.ticker-price {
  font-weight: 780;
}

.ticker-change {
  color: var(--cyan);
  font-size: 13px;
}

.ticker-meta {
  margin-top: 6px;
  font-size: 12px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.metric-strip div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-right: 1px solid var(--line);
}

.metric-strip div:last-child {
  border-right: 0;
}

.checkout,
.result-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%),
    var(--panel);
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.checkout-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.checkout-head h2 {
  margin-bottom: 0;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.status-pill.ready {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08);
}

.status-pill.error {
  color: var(--warning);
  border-color: rgba(245, 196, 81, 0.38);
  background: rgba(245, 196, 81, 0.08);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
}

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

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d0f13;
  color: var(--text);
  padding: 0 12px;
  font: inherit;
  outline: none;
}

input:focus,
select:focus {
  border-color: rgba(167, 139, 250, 0.72);
}

.selected-product {
  min-height: 72px;
  margin-bottom: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-2);
}

.selected-product strong {
  display: block;
  margin-bottom: 6px;
}

.selected-product span {
  color: var(--muted);
  font-size: 14px;
}

.selected-product p {
  margin: 8px 0 10px;
  font-size: 13px;
  line-height: 1.45;
}

.selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.selected-chips small,
.product-specs small {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(167, 139, 250, 0.28);
  border-radius: 999px;
  color: var(--text);
  background: rgba(124, 58, 237, 0.1);
  font-size: 11px;
}

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

.payment-options label,
.checkline {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0d0f13;
  color: var(--muted);
  font-size: 14px;
}

.payment-options input,
.checkline input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--violet);
}

.checkline {
  margin-bottom: 14px;
}

.primary-action {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #060712;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.primary-action:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.form-status {
  min-height: 24px;
  margin-top: 10px;
  font-size: 14px;
}

.form-status.error {
  color: var(--danger);
}

.result-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px) auto;
  gap: 18px;
  align-items: center;
  margin: 12px 0 28px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(34, 211, 238, 0.08));
}

.result-panel[hidden] {
  display: none;
}

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

.instructions div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 10, 12, 0.42);
}

.payment-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #060712;
  font-weight: 800;
}

.band,
.process-band,
.experience-band,
.info-grid,
.reward-grid,
.faq-band,
.support-band {
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

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

.band-copy {
  max-width: 460px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}

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

.process-step {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 172px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0.055), transparent 48%),
    var(--panel);
}

.process-step small {
  color: var(--accent);
  font-weight: 800;
}

.process-step strong {
  font-size: 17px;
}

.process-step span,
.experience-list span,
.reward-list span {
  color: var(--muted);
  line-height: 1.45;
}

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

.product-card {
  min-height: 244px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.08), transparent 45%),
    var(--panel);
  cursor: pointer;
  color: var(--text);
  text-align: left;
}

.product-card:hover,
.product-card.active {
  border-color: rgba(167, 139, 250, 0.58);
}

.product-card strong,
.product-card span {
  display: block;
}

.product-card .price {
  margin-top: 16px;
  font-size: 24px;
  font-weight: 820;
}

.product-summary {
  min-height: 60px;
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.45;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

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

.experience-band,
.info-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
}

.experience-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.experience-list div,
.reward-list div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.app-preview {
  align-self: stretch;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.13), transparent 45%),
    #0d0f13;
  overflow: hidden;
}

.app-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.app-preview-head span {
  color: var(--muted);
}

.app-preview-head strong {
  color: var(--cyan);
}

.app-preview-chart {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  align-items: end;
  gap: 10px;
  height: 150px;
  padding: 26px 20px 18px;
}

.app-preview-chart span {
  min-height: 18px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--violet), var(--cyan));
}

.app-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.app-preview-grid div {
  display: grid;
  gap: 6px;
  padding: 16px;
  background: #0d0f13;
}

.app-preview-grid small {
  color: var(--muted);
}

.rule-list {
  display: grid;
  gap: 10px;
}

.rule-list div {
  display: grid;
  gap: 5px;
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.rule-list span {
  color: var(--muted);
}

.reward-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.72fr);
  gap: 28px;
}

.reward-list {
  display: grid;
  gap: 10px;
}

.compliance-note {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid rgba(245, 196, 81, 0.26);
  border-radius: var(--radius);
  background: rgba(245, 196, 81, 0.07);
  font-size: 14px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.faq-list summary {
  cursor: pointer;
  padding: 16px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.5;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 20px 34px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 980px) {
  .booking-shell,
  .experience-band,
  .info-grid,
  .reward-grid,
  .result-panel {
    grid-template-columns: 1fr;
  }

  .process-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ticker-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  main {
    padding-inline: 14px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.04;
  }

  .booking-shell {
    min-height: auto;
  }

  .split-fields,
  .payment-options,
  .hero-proof,
  .process-grid,
  .faq-list,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof div {
    min-height: 62px;
  }

  .market-head {
    grid-template-columns: 1fr;
  }

  .chart-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .timeframe-tabs {
    width: 100%;
  }

  .timeframe-tabs button {
    flex: 1;
  }

  .price-line {
    height: 118px;
    gap: 5px;
    padding: 16px 14px 10px;
  }

  .ticker-list {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .ticker-card {
    min-width: 148px;
    min-height: 82px;
    scroll-snap-align: start;
  }

  .metric-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .metric-strip div {
    padding: 12px 10px;
  }

  .metric-strip small {
    font-size: 11px;
  }

  .band-head,
  .support-band,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
