/* =========================
   Root & Reset
========================= */
:root{
  --teal-700:#0f766e;
  --teal-500:#14b8a6;
  --teal-100:#ecfeff;
  --bg:#f8fafc;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border:#e2e8f0;
  --radius:16px;
  --shadow:0 10px 24px rgba(2, 6, 23, 0.08);
}

*,
*::before,
*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{ text-decoration:none; color:inherit; }
img{ max-width:100%; display:block; }
h1,h2,h3{ line-height:1.25; margin:0 0 12px; }
p{ margin:0 0 12px; color:var(--muted); }

.homepage section{
  padding:48px 16px;
}

.homepage h2{
  font-size:1.6rem;
  margin-bottom:18px;
}

/* =========================
   Buttons
========================= */
.btn-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:#ffffff;
  color:var(--teal-700);
  padding:12px 18px;
  border-radius:12px;
  font-weight:700;
  border:2px solid transparent;
  transition:.2s ease;
}

.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:var(--shadow);
}

.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:transparent;
  color:#ffffff;
  padding:12px 18px;
  border-radius:12px;
  font-weight:700;
  border:2px solid rgba(255,255,255,.6);
  transition:.2s ease;
}

.btn-secondary:hover{
  background:rgba(255,255,255,.1);
}

.btn-primary.small{
  padding:10px 14px;
  font-size:.9rem;
}

/* =========================
   Hero
========================= */
.hero-pro{
  background:linear-gradient(135deg, var(--teal-700), var(--teal-500));
  color:#ffffff;
  padding:72px 16px 64px;
  border-radius:0 0 28px 28px;
}

.hero-text{
  max-width:1100px;
  margin:0 auto;
}

.hero-pro h1{
  font-size:clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom:10px;
}

.hero-pro p{
  color:#e6fffb;
  max-width:680px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:16px 0 12px;
}

.hero-trust{
  font-size:.9rem;
  opacity:.95;
}

/* =========================
   Common Containers
========================= */
.exam-cats,
.features,
.updates-pro,
.materials-pro,
.leaderboard-pro,
.how-start{
  max-width:1100px;
  margin:0 auto;
}

/* =========================
   Grids & Cards
========================= */
.cat-grid,
.feature-grid,
.materials-grid,
.updates-grid,
.steps{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(150px,1fr));
  gap:16px;
}

.cat-card,
.feature-card,
.update-card,
.material-card,
.step{
  background:var(--card);
  border-radius:var(--radius);
  padding:18px;
  border:1px solid var(--border);
  box-shadow:0 6px 16px rgba(2, 6, 23, 0.05);
  transition:.2s ease;
}

.cat-card{
  text-align:center;
  font-weight:700;
  color:var(--teal-700);
  background:linear-gradient(180deg, #ffffff, #f0fdfa);
}

.cat-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}

.feature-card{
  text-align:center;
  font-weight:600;
}

.update-card h3{
  margin-bottom:10px;
}

.update-card ul{
  padding-left:18px;
  margin:0;
}

.update-card li{
  font-size:.95rem;
  margin-bottom:6px;
}

/* =========================
   Study Materials
========================= */
.material-card{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.material-card h3{
  font-size:1.05rem;
}

.material-card p{
  font-size:.92rem;
}

.material-card .price{
  font-weight:700;
  color:var(--teal-700);
}

.material-card a{
  display:inline-block;
  margin-right:8px;
  margin-top:6px;
  font-size:.9rem;
  padding:8px 12px;
  border-radius:10px;
  border:1px solid var(--border);
}

.material-card .sample-btn{
  background:#f0fdfa;
  color:var(--teal-700);
}

.material-card .buy-btn{
  background:var(--teal-700);
  color:#ffffff;
  border-color:transparent;
}

/* =========================
   Leaderboard
========================= */
.leaderboard-pro{
  background:var(--teal-100);
  border-radius:24px;
  padding:32px 20px;
}

.leaderboard-pro ol{
  padding-left:18px;
  margin:12px 0;
}

.leaderboard-pro li{
  font-weight:600;
  margin-bottom:6px;
}

/* =========================
   How to Start
========================= */
.step{
  text-align:center;
  font-weight:700;
  background:#ffffff;
}

/* =========================
   Responsive Tweaks
========================= */
@media (max-width: 640px){
  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .btn-primary,
  .btn-secondary{
    width:100%;
    text-align:center;
  }

  .homepage section{
    padding:36px 14px;
  }
}
/* =========================
   Header / Navbar
========================= */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:#ffffffcc;
  backdrop-filter: blur(8px);
  border-bottom:1px solid var(--border);
}

.nav-wrap{
  max-width:1100px;
  margin:0 auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.logo{
  font-weight:800;
  font-size:1.2rem;
  color:var(--teal-700);
}

.nav-links{
  display:flex;
  align-items:center;
  gap:16px;
}

.nav-links a{
  font-weight:600;
  color:var(--text);
  opacity:.9;
}

.nav-links a:hover{
  color:var(--teal-700);
}

.btn-outline{
  padding:8px 12px;
  border-radius:10px;
  border:1px solid var(--teal-700);
  color:var(--teal-700);
  font-weight:700;
}

.nav-toggle{
  display:none;
  background:none;
  border:none;
  font-size:1.4rem;
  cursor:pointer;
}

/* Mobile Menu */
@media (max-width: 768px){
  .nav-links{
    position:absolute;
    top:60px;
    right:16px;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:14px;
    padding:12px;
    display:none;
    flex-direction:column;
    box-shadow:var(--shadow);
  }

  .nav-links.active{
    display:flex;
  }

  .nav-toggle{
    display:block;
  }
}

.home-exams{
  padding:60px 20px;
  text-align:center;
}

.home-exam-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin-top:30px;
}

.home-exam-card{
  background:#fff;
  padding:20px;
  border-radius:12px;
  text-decoration:none;
  color:#111;
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  transition:0.3s;
}

.home-exam-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 25px rgba(0,0,0,0.15);
}

.home-exam-card.urgent{
  border:2px solid #ef4444;
  background:#fff5f5;
}