/* ==========================================================================
   Ekasha Academy — Design System
   Colors: Deep Black-Plum #170F17 · Royal Purple #5F3C55 · Gold #BD9553 · Teal #2A5C63 · White #ffffff
   Accents: Lavender #DCC2D8 · Sage #95A489
   ========================================================================== */

:root {
  --black: #14101a;
  --purple: #5F3C55;
  --gold: #BD9553;
  --gold-light: #D9BC8B;
  --teal: #2A5C63;
  --lavender: #DCC2D8;
  --sage: #95A489;
  --white: #ffffff;

  --bg-primary: var(--black);
  --bg-secondary: var(--teal);
  --bg-tertiary: var(--purple);

  --text-light: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.62);

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
  --radius: 2px;
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--text-light);
  line-height: 1.7;
  font-weight: 300;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1.1rem;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

section { position: relative; padding: 6.5rem 0; }
@media (max-width: 768px) { section { padding: 4rem 0; } }

.bg-black    { background: var(--black); }
.bg-teal     { background: var(--teal); }
.bg-purple   { background: var(--purple); }
.bg-gold     { background: var(--gold); color: var(--black); }
.bg-lavender { background: var(--lavender); color: #33202e; }

.divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1.4rem 0 1.8rem;
}
.divider.center { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-lavender { color: var(--lavender); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.95rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.btn:hover { background: var(--gold); color: var(--black); }

.btn-solid {
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
}
.btn-solid:hover { background: transparent; color: var(--gold); }

.btn-white {
  border-color: var(--white);
  color: var(--white);
}
.btn-white:hover { background: var(--white); color: var(--black); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition);
  background: linear-gradient(to bottom, rgba(20,16,26,0.75), transparent);
}
.site-header.scrolled {
  background: rgba(20,16,26,0.94);
  padding: 14px 0;
  border-bottom: 1px solid rgba(189, 149, 83, 0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--white);
  font-weight: 600;
}
.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.25s;
  position: relative;
  padding-bottom: 6px;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
}

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.6rem 1.4rem;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }
.nav-extra-link {
  margin-left: 2.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.25s;
}
.nav-extra-link:hover, .nav-extra-link.active { color: var(--gold); }
@media (max-width: 900px) {
  .nav-extra-link { display: block; margin-left: 0; margin-top: 1rem; text-align: center; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100;
}
.nav-toggle span {
  width: 26px; height: 1px;
  background: var(--white);
  transition: var(--transition);
}

@media (max-width: 900px) {
  .nav-links, .nav-cta-wrap { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--black);
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    z-index: 1050;
  }
  .nav-links.open a { font-size: 1rem; }
  .nav-cta-wrap.open {
    display: block;
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1060;
  }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--black);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(42,92,99,0.5), transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(189,149,83,0.16), transparent 55%);
  z-index: 1;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: grayscale(15%) contrast(1.05);
}
.hero-media.hero-media-contain {
  background: var(--purple);
}
.hero-media.hero-media-contain img {
  position: absolute;
  inset: 0;
}
.hero-media.hero-media-contain .hero-bg-blur {
  object-fit: cover;
  filter: blur(45px) grayscale(10%) brightness(0.5) contrast(1.05);
  transform: scale(1.25);
  opacity: 0.7;
}
.hero-media.hero-media-contain img:not(.hero-bg-blur) {
  object-fit: contain;
  opacity: 0.55;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,26,0.55) 0%, rgba(20,16,26,0.35) 40%, rgba(20,16,26,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 6rem;
}
.hero-content.wide { max-width: 1040px; }
h1.tight { font-size: clamp(2.1rem, 3.6vw, 3.4rem); }
.hero-checklist-heading {
  font-size: 1.05rem;
  color: var(--text-light);
  font-weight: 500;
  margin: 1.6rem 0 1rem;
}
.hero-checklist {
  list-style: none;
  max-width: 620px;
  margin: 0 0 2.4rem;
  display: grid;
  gap: 0.6rem;
}
.hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
}
.hero-checklist li::before {
  content: "\2713";
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 1.6rem 0 2.4rem;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

/* ---------- Grid / layout helpers ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.6rem;
}
@media (max-width: 1000px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-5 { grid-template-columns: 1fr; } }

.media-frame {
  position: relative;
  border: 1px solid rgba(189,149,83,0.35);
  padding: 10px;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cards ---------- */
.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(189,149,83,0.22);
  padding: 2.4rem 2rem;
  transition: var(--transition);
}
.card:hover { border-color: var(--gold); background: rgba(189,149,83,0.06); }
.card-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.card-icon .icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(189,149,83,0.1);
  border: 1px solid rgba(189,149,83,0.35);
}
.card-icon svg {
  width: 26px;
  height: 26px;
  color: var(--gold);
}
.card .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
}

/* ---------- Course cards ---------- */
.course-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(189,149,83,0.22);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.course-card:hover { border-color: var(--gold); }
.course-card .course-media { aspect-ratio: 16/10; overflow: hidden; }
.course-card .course-media img { width: 100%; height: 100%; object-fit: cover; }
.course-card .course-body { padding: 1.8rem 1.8rem 2rem; display: flex; flex-direction: column; flex: 1; }
.course-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(189,149,83,0.4);
  padding: 0.3rem 0.7rem;
  margin-bottom: 1rem;
  align-self: flex-start;
}
.course-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-light);
  margin: 1rem 0 1.4rem;
}
.course-meta {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

/* Pillars list */
.pillar {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.4rem;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pillar:last-child { border-bottom: none; }
.pillar .num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold);
  opacity: 0.85;
}

/* FAQ list */
.faq-item {
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-item:last-child { border-bottom: none; }
.faq-item h3 { color: var(--gold); margin-bottom: 0.6rem; }

/* Testimonials */
.testimonial {
  background: rgba(255,255,255,0.03);
  border-left: 2px solid var(--gold);
  padding: 2rem 2.2rem;
  height: 100%;
}
.testimonial p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 1.2rem; }
.testimonial .who { font-size: 0.8rem; letter-spacing: 0.06em; color: var(--gold); text-transform: uppercase; }
.testimonial .role { font-size: 0.76rem; color: var(--text-muted); }

/* Stats strip */
.stat-strip {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}
.stat-strip .stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
}
.stat-strip .stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 1.4rem; }
.form-field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  border-radius: var(--radius);
  transition: border-color 0.25s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.radio-row { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.radio-option {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; color: var(--text-light);
  cursor: pointer;
}
.form-msg { font-size: 0.85rem; margin-top: 1rem; display: none; }
.form-msg.success { color: #7fd18a; display: block; }
.form-msg.error { color: #e28787; display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(189,149,83,0.2);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-heading {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: color 0.25s; }
.footer-links a:hover { color: var(--gold); }
.footer-icon-link { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-icon { width: 16px; height: 16px; flex-shrink: 0; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- Section CTA ---------- */
.cta-band {
  text-align: center;
  padding: 5rem 0;
}
.cta-band h2 { margin-bottom: 1.2rem; }
.cta-band .hero-sub { margin-left: auto; margin-right: auto; text-align: center; }

/* Fade-in on scroll */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Utility spacing */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
