/* ============================================
   PrepX - welcome.css
   Styles only for the welcome page (index.html)
   ============================================ */

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 70px 0 60px;
  overflow: hidden;
}

/* Soft glow in the background */
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero-text h1 {
  margin: 18px 0;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-visual img {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  animation: float 5s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  inset: 8% 8%;
  background: var(--grad-main);
  filter: blur(80px);
  opacity: 0.25;
  border-radius: 50%;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ---------- ALTERNATE SECTION BACKGROUND ---------- */
.section-alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- EXAM CHIPS ---------- */
.exam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.exam-chip {
  padding: 18px;
  text-align: center;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s, color 0.2s;
}

.exam-chip:hover {
  transform: translateY(-3px);
  border-color: var(--amber);
  color: var(--amber);
}

.exam-more {
  text-align: center;
  margin-top: 22px;
  font-size: 0.95rem;
}

/* ---------- FEATURE CARDS ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-grid .card h3,
.soon-grid .card h3 {
  margin-bottom: 8px;
}

/* ---------- STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.step {
  text-align: center;
  padding: 10px 20px;
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a1206;
  background: var(--grad-main);
  border-radius: 50%;
  box-shadow: var(--glow);
}

.step h3 { margin-bottom: 8px; }

/* ---------- COMING SOON ---------- */
.soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.soon-grid .badge { margin-bottom: 14px; }

/* ---------- FINAL CTA ---------- */
.cta-box {
  text-align: center;
  padding: 56px 24px;
  background: var(--surface);
  border: 1px solid rgba(255, 179, 71, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--glow);
}

.cta-box p { margin: 12px 0 26px; }

/* ---------- MOBILE ---------- */
@media (max-width: 860px) {
  .hero { padding: 40px 0; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub { margin: 0 auto; }
  .hero-buttons,
  .hero-points { justify-content: center; }

  .hero-visual { order: -1; }
  .hero-visual img { max-width: 300px; }
}