/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(202, 255, 4, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(202, 255, 4, 0.08);
  border: 1px solid rgba(202, 255, 4, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 32px;
  animation: fadeDown 0.6s ease both;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero h1 {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 24px;
  animation: fadeDown 0.6s ease 0.1s both;
}

.hero h1 .accent {
  color: var(--lime);
  position: relative;
}

.hero h1 .thin {
  font-weight: 300;
  color: var(--light-gray);
}

.hero-sub {
  font-size: 18px;
  color: var(--light-gray);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 48px;
  font-weight: 400;
  animation: fadeDown 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  animation: fadeDown 0.6s ease 0.3s both;
}

/* ─── SEARCH PREVIEW ─── */
.search-preview {
  margin-top: 64px;
  width: 100%;
  max-width: 640px;
  animation: fadeDown 0.6s ease 0.4s both;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.search-preview:hover {
  border-color: rgba(202, 255, 4, 0.3);
}

.search-results-preview {
  margin-top: 12px;
  width: 100%;
  max-width: 640px;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  margin: 12px auto 0;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
}

.search-icon {
  color: var(--gray);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  width: 24px;
  height: 24px;
  padding: 0;
  margin: 0;
}

.search-input {
  flex: 1;
  min-width: 0;
  color: var(--gray);
  font-size: 15px;
  font-family: 'Space Mono', monospace;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
}

input.search-input {
  color: var(--white);
}

input.search-input::placeholder {
  color: var(--gray);
}

input.search-input:focus {
  outline: none;
}

.search-shortcut {
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-family: 'Space Mono', monospace;
  color: var(--gray);
  border: 1px solid rgba(255, 255, 255, 0.08);
}


.search-result-item {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.2s;
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

.search-result-item:last-child {
  border: none;
}

.search-result-item:hover {
  background: rgba(202, 255, 4, 0.03);
}

.sr-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sr-rank {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  color: var(--lime);
  width: 28px;
  font-weight: 700;
}

.sr-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}

.sr-meta {
  font-size: 12px;
  color: var(--gray);
  margin-top: 2px;
}

.sr-rating {
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 16px;
}

.sr-rating.high {
  color: var(--lime);
}

.sr-rating.mid {
  color: var(--orange);
}

.search-time {
  padding: 10px 20px;
  font-size: 11px;
  color: var(--gray);
  font-family: 'Space Mono', monospace;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-time .fast {
  color: var(--lime);
  font-weight: 700;
}

/* ─── SPEED METRICS ─── */
.speed-section {
  padding: 100px 40px;
  text-align: center;
}

.speed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 900px;
  margin: 48px auto 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  overflow: hidden;
}

.speed-card {
  background: var(--dark-card);
  padding: 48px 32px;
  transition: background 0.3s;
}

.speed-card:hover {
  background: var(--dark-card-hover);
}

.speed-number {
  font-family: 'Space Mono', monospace;
  font-size: 48px;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
}

.speed-unit {
  font-size: 14px;
  color: var(--gray);
  font-family: 'Space Mono', monospace;
  margin-top: 8px;
}

.speed-label {
  font-size: 14px;
  color: var(--light-gray);
  margin-top: 16px;
  font-weight: 500;
}

/* ─── FEATURES ─── */
.features {
  padding: 80px 40px 120px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--lime);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 64px;
}

.section-title .dim {
  color: var(--gray);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--dark-card);
  padding: 40px;
  transition: background 0.3s;
  position: relative;
}

.feature-card:hover {
  background: var(--dark-card-hover);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
}

.fi-lime {
  background: rgba(202, 255, 4, 0.1);
  color: var(--lime);
}

.fi-orange {
  background: rgba(255, 107, 53, 0.1);
  color: var(--orange);
}

.fi-cyan {
  background: rgba(0, 229, 204, 0.1);
  color: var(--cyan);
}

.fi-red {
  background: rgba(255, 59, 92, 0.1);
  color: var(--red);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 14px;
  color: var(--light-gray);
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-family: 'Space Mono', monospace;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--gray);
}

/* ─── SCOUTING ─── */
.scouting {
  padding: 80px 40px 120px;
  max-width: 1100px;
  margin: 0 auto;
}

.scout-card {
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.scout-left h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.scout-left p {
  color: var(--light-gray);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.scout-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
}

.scout-stat {
  background: var(--mid);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scout-stat-label {
  font-size: 13px;
  color: var(--light-gray);
}

.scout-stat-bar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-bar-track {
  width: 120px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease;
}

.stat-bar-fill.lime {
  background: var(--lime);
}

.stat-bar-fill.orange {
  background: var(--orange);
}

.stat-bar-fill.cyan {
  background: var(--cyan);
}

.stat-bar-fill.red {
  background: var(--red);
}

.stat-val {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  width: 36px;
  text-align: right;
}

/* ─── EXTENSION ─── */
.extension {
  padding: 80px 40px 120px;
  max-width: 1100px;
  margin: 0 auto;
}

.ext-card {
  background: linear-gradient(135deg, rgba(202, 255, 4, 0.04), rgba(0, 229, 204, 0.03));
  border: 1px solid rgba(202, 255, 4, 0.12);
  border-radius: 16px;
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ext-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(202, 255, 4, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.ext-icon {
  width: 64px;
  height: 64px;
  background: rgba(202, 255, 4, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 28px;
}

.ext-card h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.ext-card p {
  color: var(--light-gray);
  font-size: 15px;
  line-height: 1.7;
  max-width: 500px;
  margin: 0 auto 32px;
}

.ext-steps {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  position: relative;
}

.ext-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 180px;
}

.ext-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.ext-step-text {
  font-size: 13px;
  color: var(--light-gray);
  line-height: 1.5;
  text-align: center;
}

.ext-step-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
  }

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

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

  .scout-card {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .ext-steps {
    flex-direction: column;
    align-items: center;
  }

  .ext-card {
    padding: 40px 24px;
  }
}
