/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1a56db 100%);
  color: #fff;
  padding: var(--sp-16) var(--sp-4);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 720px; margin: 0 auto; }
.hero h1 { color: #fff; margin-bottom: var(--sp-3); }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.75);
  margin-bottom: var(--sp-8);
}

/* Search box */
.hero-search {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: var(--sp-2);
  display: flex;
  gap: var(--sp-2);
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.hero-search-type {
  border: none; background: var(--bg);
  border-radius: var(--r-lg);
  padding: 0 var(--sp-3);
  font-size: 0.875rem; color: var(--text);
  cursor: pointer; outline: none;
  min-width: 130px;
}
.hero-search-input {
  flex: 1; border: none; background: transparent;
  padding: var(--sp-3) var(--sp-3);
  font-size: 1rem; color: var(--text); outline: none;
}
.hero-search-input::placeholder { color: var(--text-light); }
.hero-search-btn {
  background: var(--primary);
  color: #fff; border: none;
  border-radius: var(--r-md);
  padding: 0 var(--sp-5);
  font-size: 0.95rem; font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.hero-search-btn:hover { background: var(--primary-dark); }

/* Example links */
.search-examples {
  margin-top: var(--sp-4);
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-2); flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(255,255,255,.6);
}
.example-link {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.12);
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: 0.8rem; font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.example-link:hover { background: rgba(255,255,255,.22); text-decoration: none; }

/* ── Stats strip ─────────────────────────────────────────────────────────────── */
.stats-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-5) 0;
}
.stats-strip .container {
  display: flex; justify-content: center;
  gap: var(--sp-10); flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-value { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* ── Features section ────────────────────────────────────────────────────────── */
.features { padding: var(--sp-12) 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: center;
  transition: box-shadow .2s;
}
.feature-card:hover { box-shadow: var(--shadow-md); }
.feature-icon { font-size: 2.2rem; margin-bottom: var(--sp-3); }
.feature-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: var(--sp-2); }
.feature-desc  { font-size: 0.85rem; color: var(--text-muted); }

/* ── CTA ─────────────────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; text-align: center;
  padding: var(--sp-12) var(--sp-4);
  border-radius: var(--r-xl);
  margin: 0 var(--sp-4) var(--sp-10);
}
.cta-section h2 { color: #fff; margin-bottom: var(--sp-3); }
.cta-section p  { color: rgba(255,255,255,.8); margin-bottom: var(--sp-6); font-size: 1rem; }
.btn-white {
  background: #fff; color: var(--primary);
  font-weight: 700; border: none;
}
.btn-white:hover { background: var(--primary-light); color: var(--primary); text-decoration: none; }

@media (max-width: 600px) {
  .hero-search { flex-direction: column; }
  .hero-search-type { min-width: unset; width: 100%; padding: var(--sp-3); }
  .hero-search-btn  { width: 100%; padding: var(--sp-3); }
}
