/* ═══════════════════════════════════════════════════
   Homepage Styles - CannabisNearMe.co.uk
   ═══════════════════════════════════════════════════ */

/* ── Hero Section ── */
.hero {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-700) 50%, var(--green-600) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 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.05'%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");
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Search Box ── */
.search-box {
  background: var(--white);
  border-radius: 60px;
  padding: 8px;
  display: flex;
  max-width: 580px;
  margin: 0 auto 30px;
  box-shadow: var(--shadow-lg);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 24px;
  font-size: 1.05rem;
  border-radius: 50px;
  color: var(--gray-800);
}

.search-box button {
  background: var(--green-700);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.search-box button:hover {
  background: var(--green-600);
}

/* ── Trust Bar ── */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.trust-item strong {
  font-size: 1.2rem;
}

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  padding: 40px 0;
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--green-700);
  margin-bottom: 4px;
}

.stat-item p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* ── Eligibility Quiz ── */
.quiz-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.quiz-progress {
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  margin-bottom: 30px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: var(--green-600);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-step h3 {
  margin-bottom: 20px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  padding: 14px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.quiz-option:hover {
  border-color: var(--green-400);
  background: var(--green-50);
}

.quiz-option.selected {
  border-color: var(--green-600);
  background: var(--green-100);
}

/* ── Responsive ── */
@media (max-width: 968px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 20px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .search-box {
    flex-direction: column;
    border-radius: var(--radius-md);
  }
  .search-box input {
    border-radius: var(--radius-sm);
  }
  .search-box button {
    border-radius: var(--radius-sm);
    width: 100%;
    justify-content: center;
  }
  .trust-bar {
    gap: 20px;
  }
}
