:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #161d2e;
  --bg-card-hover: #1c2540;
  --fg-primary: #e8ecf4;
  --fg-secondary: #8892a8;
  --fg-muted: #5a6478;
  --accent: #00e676;
  --accent-dim: rgba(0, 230, 118, 0.15);
  --accent-glow: rgba(0, 230, 118, 0.3);
  --score-excellent: #00e676;
  --score-good: #66bb6a;
  --score-neutral: #ffa726;
  --score-warn: #ff7043;
  --score-bad: #ef5350;
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-display);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px clamp(24px, 6vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 80%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(0, 230, 118, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 32px;
  border: 1px solid rgba(0, 230, 118, 0.2);
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero h1 br + * {
  color: var(--accent);
}

.hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--fg-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--fg-primary);
  font-family: var(--font-mono);
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--fg-muted);
  margin-top: 4px;
  letter-spacing: 0.3px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
}

/* Radar animation */
.radar-visual {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 230, 118, 0.12);
}

.ring-1 { width: 200px; height: 200px; }
.ring-2 { width: 340px; height: 340px; }
.ring-3 { width: 480px; height: 480px; border-color: rgba(0, 230, 118, 0.06); }

.radar-sweep {
  position: absolute;
  width: 240px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform-origin: left center;
  animation: sweep 4s linear infinite;
  opacity: 0.6;
}

@keyframes sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}

.dot-1 { top: 30%; left: 55%; animation-delay: 0s; }
.dot-2 { top: 45%; left: 70%; animation-delay: 0.4s; }
.dot-3 { top: 60%; left: 45%; animation-delay: 0.8s; }
.dot-4 { top: 35%; left: 35%; animation-delay: 1.2s; }
.dot-5 { top: 55%; left: 60%; animation-delay: 1.6s; width: 8px; height: 8px; opacity: 0.7; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
}

/* ===== SECTION TAGS ===== */
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}

/* ===== SCORE SECTION ===== */
.score-section {
  padding: 120px clamp(24px, 6vw, 120px);
  background: var(--bg-secondary);
}

.score-container {
  max-width: 1200px;
  margin: 0 auto;
}

.score-header {
  max-width: 600px;
  margin-bottom: 64px;
}

.score-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.score-header p {
  font-size: 17px;
  color: var(--fg-secondary);
  line-height: 1.7;
}

.score-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.score-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: transform 0.2s, border-color 0.2s;
}

.score-card:hover {
  transform: translateY(-4px);
}

.score-card.excellent:hover { border-color: rgba(0, 230, 118, 0.3); }
.score-card.average:hover { border-color: rgba(255, 167, 38, 0.3); }
.score-card.risky:hover { border-color: rgba(239, 83, 80, 0.3); }

.score-number {
  font-family: var(--font-mono);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.excellent .score-number { color: var(--score-excellent); }
.average .score-number { color: var(--score-neutral); }
.risky .score-number { color: var(--score-bad); }

.score-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.badge-excellent { background: rgba(0, 230, 118, 0.12); color: var(--score-excellent); }
.badge-average { background: rgba(255, 167, 38, 0.12); color: var(--score-neutral); }
.badge-risky { background: rgba(239, 83, 80, 0.12); color: var(--score-bad); }

.score-route {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--fg-primary);
}

.score-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.detail {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.detail-label { color: var(--fg-muted); }
.detail-value { font-family: var(--font-mono); font-weight: 500; }
.detail-value.good { color: var(--score-excellent); }
.detail-value.neutral { color: var(--score-neutral); }
.detail-value.warn { color: var(--score-warn); }
.detail-value.bad { color: var(--score-bad); }

.score-explain {
  font-size: 14px;
  color: var(--fg-secondary);
  font-style: italic;
  line-height: 1.6;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ===== FEATURES ===== */
.features-section {
  padding: 120px clamp(24px, 6vw, 120px);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-container h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 64px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-block {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s;
}

.feature-block:hover {
  border-color: rgba(0, 230, 118, 0.15);
}

.feature-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 0 24px;
  padding: 48px;
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0, 230, 118, 0.03) 100%);
}

.feature-large .feature-icon {
  grid-row: 1 / 3;
  align-self: start;
}

.feature-icon {
  font-size: 28px;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-block h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-block p {
  font-size: 15px;
  color: var(--fg-secondary);
  line-height: 1.7;
}

/* ===== PRICING ===== */
.pricing-section {
  padding: 120px clamp(24px, 6vw, 120px);
  background: var(--bg-secondary);
}

.pricing-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.pricing-container h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 64px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.price-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(0, 230, 118, 0.08);
}

.price-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--bg-primary);
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 600;
}

.price-tier {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-secondary);
  margin-bottom: 8px;
}

.price-amount {
  font-size: 48px;
  font-weight: 700;
  font-family: var(--font-mono);
  margin-bottom: 28px;
}

.price-period {
  font-size: 16px;
  color: var(--fg-muted);
  font-weight: 400;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-features li {
  font-size: 14px;
  color: var(--fg-secondary);
  padding-left: 20px;
  position: relative;
}

.price-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ===== CLOSING ===== */
.closing-section {
  padding: 120px clamp(24px, 6vw, 120px);
  text-align: center;
}

.closing-container {
  max-width: 700px;
  margin: 0 auto;
}

.closing-container h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.closing-container p {
  font-size: 17px;
  color: var(--fg-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.closing-accent {
  font-size: 22px !important;
  color: var(--accent) !important;
  font-weight: 600;
  margin-top: 32px;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 40px clamp(24px, 6vw, 120px);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--fg-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 60px 24px 40px;
  }

  .radar-visual {
    height: 300px;
    margin-top: 40px;
  }

  .ring-3 { width: 280px; height: 280px; }
  .ring-2 { width: 200px; height: 200px; }
  .ring-1 { width: 120px; height: 120px; }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .stat-divider { width: 40px; height: 1px; }

  .score-cards {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-large {
    grid-template-columns: 1fr;
  }

  .feature-large .feature-icon {
    grid-row: auto;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .footer-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .score-number {
    font-size: 42px;
  }

  .price-amount {
    font-size: 36px;
  }
}