/* ================================================================
 * 📄 File: style-landing.css
 * 📍 Path: /assets/css/style-landing.css
 * ✨ Purpose: Optimized, AdSense-friendly, lightweight landing layout
 * 📱 Design: Consistent with MCQUIZXAM header (blue–gold tone)
 * ================================================================ */

:root {
  --mcqxam-primary: #0073aa;   /* Deep blue (header base) */
  --mcqxam-accent: #f1c40f;    /* Gold accent */
  --mcqxam-lightblue: #00b4d8; /* Secondary tint */
  --mcqxam-bg: #f8f9fa;        /* Page background */
  --mcqxam-text: #333;
  --mcqxam-muted: #555;
}

/* ---------- Global ---------- */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--mcqxam-bg);
  color: var(--mcqxam-text);
  margin: 0;
  padding-top: 60px; /* header offset */
}

/* ================================================================
   🏠 HERO SECTION
   ================================================================ */
.landing-hero {
  background: linear-gradient(115deg, var(--mcqxam-primary) 0%, var(--mcqxam-lightblue) 100%);
  color: #fff;
  text-align: center;
  padding: 5px 0px 5px;
  margin-top: -18px;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.hero-title {
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 8px;
}

.hero-subtitle {
  font-size: 15.5px;
  opacity: 0.95;
  margin-bottom: 24px;
  line-height: 1.5;
}

/* 🔘 CTA Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 5px;
}

.hero-btn {
  display: inline-block;
  padding: 10px 5px;
  border-radius: 28px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  min-width: 110px;
  font-size: 15px;
}

.hero-btn.primary {
  background: var(--mcqxam-accent);
  color: #000;
  border: 2px solid var(--mcqxam-accent);
}
.hero-btn.primary:hover {
  background: #f7d652;
  transform: translateY(-1px);
}

.hero-btn.outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.9);
}
.hero-btn.outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-btn.light {
  background: #fff;
  color: var(--mcqxam-primary);
  border: 2px solid #fff;
}
.hero-btn.light:hover {
  background: #f1f1f1;
}

/* ================================================================
   🧠 FEATURE CARDS
   ================================================================ */
.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  padding: 50px 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 14px rgba(0,0,0,0.08);
}

.feature-card .icon {
  font-size: 34px;
  margin-bottom: 6px;
}
.feature-card h3 {
  font-size: 17px;
  color: var(--mcqxam-primary);
  margin: 6px 0;
}
.feature-card p {
  font-size: 14px;
  color: var(--mcqxam-muted);
  margin: 0;
}

/* ================================================================
   🎯 CALL-TO-ACTION (Bottom Section)
   ================================================================ */
.landing-cta {
  background: linear-gradient(120deg, var(--mcqxam-primary) 0%, #005f8c 100%);
  color: #fff;
  text-align: center;
  padding: 50px 16px;
}

.landing-cta h2 {
  font-size: 22px;
  margin: 0 0 12px;
  font-weight: 700;
}

.cta-btn {
  display: inline-block;
  background: var(--mcqxam-accent);
  color: #000;
  padding: 10px 24px;
  border-radius: 28px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.cta-btn:hover {
  background: #f5d25b;
  transform: translateY(-1px);
}

/* ================================================================
   📱 RESPONSIVE TWEAKS
   ================================================================ */
@media (max-width: 768px) {
  .hero-title { font-size: 26px; }
  .hero-subtitle { font-size: 14px; }
  .landing-hero { padding: 5px 0px 5px;margin-top: -18px; }
  .landing-features { padding: 36px 14px; gap: 12px; }
  .feature-card { padding: 16px 10px; }
  .landing-cta { padding: 40px 14px; }
}
