:root {
  color-scheme: dark;
  --bg: #10151f;
  --panel: #18202d;
  --panel-2: #202938;
  --text: #f6f2ea;
  --muted: #a8b2c2;
  --line: #303b4d;
  --accent: #ffcf5a;
  --accent-2: #51d6a7;
  --danger: #ff7669;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 8%, rgba(81, 214, 167, 0.18), transparent 28rem),
    linear-gradient(145deg, #0e131c 0%, #121927 48%, #171b22 100%);
  color: var(--text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(16, 21, 31, 0.82);
  backdrop-filter: blur(18px);
}

.brand, nav { display: flex; align-items: center; gap: 18px; }
.brand { font-weight: 800; letter-spacing: 0.01em; }
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 34px rgba(81, 214, 167, 0.22);
}
nav a { color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--text); }
.nav-cta {
  color: #111722;
  background: var(--accent);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}

.hero {
  min-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5.55vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}
h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}
h3 { margin-bottom: 10px; font-size: 21px; }
.lead {
  max-width: 700px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
}
.primary { background: var(--accent); color: #121722; }
.secondary { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.04); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin: 0;
}
.proof-grid div, .product-panel, .steps article, .feature-grid article, .calculator, .price-card {
  border: 1px solid var(--line);
  background: rgba(24, 32, 45, 0.76);
  border-radius: 8px;
}
.proof-grid div { padding: 16px; }
.proof-grid dt { color: var(--accent); font-size: 24px; font-weight: 900; }
.proof-grid dd { margin: 4px 0 0; color: var(--muted); }

.product-panel {
  padding: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.34);
  transform: rotate(1deg);
}
.panel-toolbar { display: flex; gap: 8px; margin-bottom: 16px; }
.panel-toolbar span { width: 12px; height: 12px; border-radius: 50%; background: #6c7686; }
.face-grid { display: grid; gap: 12px; }
.face-card { min-height: 92px; padding: 16px; border-radius: 8px; background: var(--panel-2); border: 1px solid transparent; }
.face-card.active { border-color: var(--accent-2); }
.face-card span { color: var(--muted); display: block; margin-bottom: 18px; }
.face-card strong { font-size: 25px; }
.review-strip {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
}
.scan-box {
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 38%, var(--accent-2) 38% 42%, transparent 42%),
    linear-gradient(0deg, transparent 38%, var(--accent-2) 38% 42%, transparent 42%),
    linear-gradient(135deg, #293449, #111722);
}
.review-strip p { color: var(--muted); margin-bottom: 6px; }

.section { padding: 92px clamp(20px, 5vw, 72px); }
.section, .product-panel {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.section.is-visible, .product-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.product-panel.is-visible { transform: rotate(1deg); }
.steps, .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps article, .feature-grid article { padding: 22px; }
.steps span { color: var(--accent); font-weight: 900; }
.steps p, .feature-grid p, .split p, .faq p { color: var(--muted); line-height: 1.6; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.calculator { padding: 24px; }
.calculator label { display: grid; gap: 10px; margin-bottom: 20px; color: var(--muted); }
input[type="range"] { accent-color: var(--accent-2); width: 100%; }
output {
  display: block;
  padding: 18px;
  border-radius: 8px;
  background: #0f1520;
  color: var(--accent);
  font-size: 22px;
  font-weight: 900;
}

.licensing { background: rgba(255,255,255,0.03); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.price-card {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px;
}
.price-card p { color: var(--muted); line-height: 1.6; }
.price-card .button { margin-top: auto; }
.price-value {
  margin: -2px 0 2px;
  color: var(--accent);
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1;
  font-weight: 900;
}
.price-value span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}
.tax-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.plan-label {
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.payment-status {
  min-height: 24px;
  margin: 4px 0 0;
  color: var(--accent);
  font-weight: 800;
}
.trial-note {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: -4px 0 2px;
  padding: 0 12px;
  border: 1px solid rgba(81, 214, 167, 0.42);
  border-radius: 8px;
  background: rgba(81, 214, 167, 0.08);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}
.recovery-form {
  width: 100%;
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.recovery-form label {
  display: grid;
  gap: 8px;
  width: 100%;
  color: var(--muted);
  font-size: 13px;
}
.recovery-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0b1019;
  color: var(--text);
  padding: 0 12px;
}
.subscription-options {
  width: 100%;
  display: grid;
  gap: 12px;
}
.subscription-option {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(160px, 220px);
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
}
.subscription-option strong {
  display: block;
  color: var(--text);
}
.subscription-option span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}
.paypal-subscription-button {
  justify-content: center;
  width: 100%;
  min-height: 58px;
}
.license-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.license-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  max-width: 860px;
}
.faq summary { cursor: pointer; font-size: 20px; font-weight: 800; }

code {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 12px 14px;
  border-radius: 8px;
  background: #0b1019;
  color: var(--accent-2);
}

footer {
  display: flex;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.checkout-page {
  min-height: 100vh;
}
.checkout-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px);
}
.checkout-card {
  width: min(760px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(24, 32, 45, 0.92);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
}
.checkout-card .brand {
  margin-bottom: 34px;
}
.checkout-card h1 {
  max-width: 680px;
  font-size: clamp(38px, 5vw, 64px);
}
.checkout-status {
  margin: 28px 0 0;
  padding: 18px;
  border: 1px solid rgba(81, 214, 167, 0.34);
  border-radius: 8px;
  background: rgba(81, 214, 167, 0.08);
}
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 900px) {
  nav { display: none; }
  .hero, .split, .steps, .feature-grid, .pricing-grid { grid-template-columns: 1fr; }
  .subscription-option { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .proof-grid { grid-template-columns: 1fr; }
  .product-panel, .product-panel.is-visible { transform: none; }
}
