:root {
  --bg: #06080f;
  --bg-elevated: #0d1220;
  --bg-card: #111827;
  --fg: #f4f6fb;
  --muted: #94a3b8;
  --border: rgba(148, 163, 184, 0.14);
  --accent: #22d3ee;
  --accent-2: #818cf8;
  --accent-glow: rgba(34, 211, 238, 0.35);
  --success: #34d399;
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.dev-ribbon {
  position: fixed;
  top: 12px;
  right: -36px;
  z-index: 100;
  transform: rotate(45deg);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #020617;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 48px;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
  padding: 0 clamp(16px, 4vw, 40px);
  border-bottom: 1px solid var(--border);
  background: rgba(6, 8, 15, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fg);
  text-decoration: none;
}

.brand img {
  border-radius: 9px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--fg);
}

.nav-cta {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: var(--accent) !important;
  border: 1px solid rgba(34, 211, 238, 0.25);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--fg);
  border-radius: 2px;
  content: "";
}

.nav-toggle-bar::before {
  transform: translateY(-6px);
}

.nav-toggle-bar::after {
  transform: translateY(4px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 10vw, 96px) clamp(16px, 4vw, 40px);
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: calc(100vh - var(--header-h) - 80px);
  }
}

.hero-glow {
  position: absolute;
  inset: 10% 20% auto;
  height: 420px;
  background: radial-gradient(ellipse at center, var(--accent-glow), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 28px;
}

.lead strong {
  color: var(--fg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #38bdf8);
  color: #020617;
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.25);
}

.btn.ghost {
  border-color: var(--border);
  color: var(--fg);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stats strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.hero-stats span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.phone {
  width: min(100%, 300px);
  margin: 0 auto;
  padding: 12px;
  border-radius: 36px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 1px solid var(--border);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
}

.phone-notch {
  width: 96px;
  height: 24px;
  margin: 0 auto 12px;
  border-radius: 0 0 14px 14px;
  background: #020617;
}

.phone-screen {
  position: relative;
  border-radius: 28px;
  background: #0a1020;
  padding: 20px 16px 24px;
  min-height: 340px;
}

.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.checkout-label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.checkout-title {
  margin: 0 0 8px;
  font-weight: 600;
}

.checkout-price {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 2rem;
}

.checkout-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.pay-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.pay-chip.active {
  background: rgba(34, 211, 238, 0.15);
  color: var(--accent);
}

.checkout-cta {
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #020617;
}

.checkout-foot {
  margin: 12px 0 0;
  font-size: 11px;
  color: var(--success);
  text-align: center;
}

.recovery-toast {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  font-size: 12px;
  font-weight: 500;
}

.recovery-toast .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 40px);
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(129, 140, 248, 0.06), transparent);
}

.section-tag {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-grid,
.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.feature-card,
.payment-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature-card.highlight {
  border-color: rgba(34, 211, 238, 0.35);
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.08), var(--bg-elevated));
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.feature-card h3,
.payment-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.feature-card p,
.payment-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.check-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.acceptance-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.acceptance-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.acceptance-row span:last-child {
  color: var(--muted);
  text-align: right;
}

.status.ok {
  color: var(--success);
  font-weight: 600;
}

.status.low {
  color: var(--accent);
}

.acceptance-bar {
  height: 6px;
  margin: 20px 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.acceptance-fill {
  width: 87%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--success));
}

.acceptance-caption {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.section-support {
  border-top: 1px solid var(--border);
}

.support-inner {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .support-inner {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }
}

.support-cards {
  display: grid;
  gap: 12px;
}

.support-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}

.support-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.support-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

.cta-section {
  padding-bottom: 80px;
}

.cta-box {
  text-align: center;
  padding: clamp(32px, 6vw, 56px);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top, rgba(34, 211, 238, 0.12), transparent 55%),
    var(--bg-elevated);
}

.cta-box h2 {
  font-family: var(--font-display);
  margin: 0 0 12px;
}

.cta-box p {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px 48px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin: 0 0 8px;
}

.fine {
  font-size: 12px;
  opacity: 0.75;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    text-align: center;
  }
}
