:root {
  --bg: #030712;
  --bg-2: #060e1e;
  --bg-card: #0a1628;
  --fg: #dde4f0;
  --fg-muted: #6b7fa3;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --amber: #f59e0b;
  --amber-dim: rgba(245, 158, 11, 0.12);
  --red: #ff3b5c;
  --green: #10b981;
  --border: rgba(0, 212, 255, 0.08);
  --border-bright: rgba(0, 212, 255, 0.2);
  --font-display: 'Syne', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 60px;
  max-width: 1140px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--fg);
}
.nav-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 20%, black 0%, transparent 80%);
}
.hero-content { position: relative; z-index: 2; max-width: 820px; }
.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.badge-dark {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-bright);
  padding: 4px 10px;
  border-radius: 2px;
}
.hero-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 24px;
}
.hero-lede {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.stat-label {
  font-size: 12px;
  color: var(--fg-muted);
}
.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--border-bright);
  margin: 0 32px;
}

/* SECTION SHARED */
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 48px;
}

/* FEATURES */
.features { padding: 100px 0; background: var(--bg-2); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.feature-card {
  background: var(--bg-card);
  padding: 36px 32px;
  transition: background 0.2s;
}
.feature-card:hover { background: rgba(10, 22, 40, 0.8); }
.feature-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* LOYALTY SCORE */
.score-section { padding: 100px 0; background: var(--bg); }
.score-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.score-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.score-factors {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.score-factors li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--fg-muted);
}
.factor-marker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.05em;
}
/* Gauge */
.score-gauge { display: flex; flex-direction: column; align-items: center; }
.gauge-ring {
  width: 220px; height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gauge-arc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 140deg,
    var(--accent) 0deg,
    var(--accent) calc(73 * 2.52deg),
    rgba(0, 212, 255, 0.1) calc(73 * 2.52deg),
    rgba(0, 212, 255, 0.1) 280deg,
    transparent 280deg
  );
  mask: radial-gradient(transparent 75px, black 76px);
  -webkit-mask: radial-gradient(transparent 75px, black 76px);
}
.gauge-center {
  position: relative;
  z-index: 2;
  text-align: center;
}
.gauge-value {
  font-family: var(--font-mono);
  font-size: 52px;
  font-weight: 600;
  color: var(--accent);
  display: block;
  line-height: 1;
}
.gauge-max {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg-muted);
}
.gauge-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
}
.gauge-low, .gauge-high {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
}
.gauge-label-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
/* Score bands */
.score-bands {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 32px;
}
.band {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  letter-spacing: 0.06em;
}
.band span { color: var(--fg-muted); }
.band-low { background: rgba(255, 59, 92, 0.1); color: var(--red); border: 1px solid rgba(255, 59, 92, 0.2); }
.band-mid { background: rgba(245, 158, 11, 0.1); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.2); }
.band-high { background: rgba(16, 185, 129, 0.1); color: var(--green); border: 1px solid rgba(16, 185, 129, 0.2); }
.band-prime { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--border-bright); }

/* TIERS */
.tiers-section { padding: 100px 0; background: var(--bg-2); }
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}
.tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 24px;
  position: relative;
}
.tier-featured {
  border-color: var(--border-bright);
  background: rgba(0, 212, 255, 0.04);
}
.tier-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--bg);
  background: var(--accent);
  padding: 3px 10px;
  white-space: nowrap;
}
.tier-name {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 12px;
}
.tier-price {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
}
.tier-price span { font-size: 15px; color: var(--fg-muted); font-weight: 400; }
.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tier-features li {
  font-size: 13px;
  color: var(--fg-muted);
  padding-left: 16px;
  position: relative;
}
.tier-features li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
}

/* CLOSING */
.closing { padding: 120px 0; background: var(--bg); }
.closing-inner { text-align: center; }
.closing-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.closing-line { flex: 1; max-width: 80px; height: 1px; background: var(--border-bright); }
.closing-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.closing-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.closing-body {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 48px;
}
.closing-terminal {
  max-width: 560px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  text-align: left;
}
.terminal-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.terminal-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.1);
}
.terminal-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  margin-left: 8px;
  letter-spacing: 0.06em;
}
.terminal-body { padding: 20px 24px; background: var(--bg-card); }
.terminal-line {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  line-height: 2;
}
.terminal-line.t-dim { color: var(--fg-muted); }
.terminal-line.t-active { color: var(--accent); }
.t-prompt { color: var(--accent); margin-right: 8px; }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-logo {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}
.footer-links {
  margin-left: auto;
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 13px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--fg); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .score-inner { grid-template-columns: 1fr; gap: 48px; }
  .tiers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 40px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-stat-sep { display: none; }
  .tiers-grid { grid-template-columns: 1fr; }
  .score-bands { grid-template-columns: 1fr 1fr; }
  .nav-tag { display: none; }
}