/* ─────────────────────────────────────────────────────────────────────────────
   Pragya Course — placeholder stylesheet.

   This is intentionally minimal. Replace it entirely with your real design
   when you're ready. The page structure (nav / hero / cards / form) is all
   semantic HTML, so swapping CSS shouldn't break behaviour.
   ────────────────────────────────────────────────────────────────────────── */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1c1917;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Nav ─────────────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid #e7e5e4;
}
.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.nav-links a, .nav-links button {
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  color: #44403c;
}
.nav-links .cta {
  background: #16a34a;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-links .cta:hover { background: #15803d; }
.nav-links .back { color: #78716c; }

/* ── Home ────────────────────────────────────────────────────────────────── */
.home { max-width: 720px; margin: 0 auto; padding: 80px 24px; }
.hero { text-align: center; }
.hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero p {
  font-size: 17px;
  color: #44403c;
  margin-bottom: 32px;
}
.hero-cta {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
}
.hero-cta:hover { background: #15803d; }

/* ── Auth pages ──────────────────────────────────────────────────────────── */
.auth { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.auth-card {
  max-width: 420px;
  width: 100%;
  text-align: center;
  padding: 36px 28px;
  border: 1px solid #e7e5e4;
  border-radius: 16px;
  background: #fff;
}
.auth-card h1 { font-size: 24px; margin-bottom: 12px; }
.auth-card p { color: #44403c; margin-bottom: 22px; }
.auth-btn {
  background: #16a34a;
  color: #fff;
  border: 0;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.auth-btn:hover { background: #15803d; }
.auth-note { margin-top: 18px; font-size: 13px; color: #78716c; }

/* ── Course / About ─────────────────────────────────────────────────────── */
.course, .about { max-width: 720px; margin: 0 auto; padding: 56px 24px; }
.course h1, .about h1 { font-size: 28px; margin-bottom: 14px; }
.course p, .about p { color: #44403c; margin-bottom: 14px; }
.logout {
  background: none; border: 0; cursor: pointer; font: inherit;
  color: #78716c; font-size: 14px;
}
.logout:hover { color: #1c1917; }

/* ── Contact form ────────────────────────────────────────────────────────── */
.contact { max-width: 560px; margin: 0 auto; padding: 56px 24px; }
.contact h1 { font-size: 28px; margin-bottom: 10px; }
.contact > p { color: #44403c; margin-bottom: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form span { font-size: 13px; font-weight: 600; color: #44403c; }
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #e7e5e4;
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
}
.contact-btn {
  align-self: flex-start;
  background: #16a34a;
  color: #fff;
  border: 0;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.contact-btn:hover { background: #15803d; }
.contact-status { font-size: 13.5px; min-height: 1.2em; }
.contact-status.success { color: #166534; }
.contact-status.error   { color: #991b1b; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid #e7e5e4;
  padding: 36px 32px;
  font-size: 13px;
  color: #78716c;
  text-align: center;
}
.footer .disclaimer { margin-top: 10px; max-width: 720px; margin-left: auto; margin-right: auto; font-size: 11.5px; }

/* ── Mobile ──────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .nav { padding: 12px 18px; }
  .nav-links { gap: 12px; font-size: 13px; }
  .home { padding: 56px 18px; }
  .auth-card { padding: 28px 22px; }
  .course, .about, .contact { padding: 36px 18px; }
}
