/* ═══════════════════════════════════════════════
   kalinda — assets/css/style.css
   Deep navy + emerald theme · Space Grotesk / Manrope
   Shared across all pages
═══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --navy:        #0A2540;
  --navy-mid:    #123A5F;
  --navy-soft:   #0E2E4E;
  --emerald:     #10B981;
  --emerald-dk:  #059669;
  --emerald-lt:  #D1FAE5;
  --gold:        #FBBF24;
  --sky:         #38BDF8;
  --ink:         #10233B;
  --ink-mid:     #46617F;
  --ink-muted:   #8AA1B8;
  --bg:          #F5F8FB;
  --white:       #FFFFFF;
  --border:      #DCE6EF;
  --border-dk:   #1E4976;

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 3px rgba(10,37,64,.10);
  --shadow:    0 6px 20px rgba(10,37,64,.12);
  --shadow-lg: 0 16px 48px rgba(10,37,64,.18);

  --transition: .2s ease;

  --ff-head: 'Space Grotesk', sans-serif;
  --ff-body: 'Manrope', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--ff-body); cursor: pointer; }
input, textarea, select { font-family: var(--ff-body); font-size: .95rem; outline: none; }

/* ── UTILITIES ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 92px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.accent { color: var(--emerald); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-head);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}
.kicker::before { content: ''; width: 26px; height: 3px; background: var(--emerald); border-radius: 2px; }

.section-title {
  font-family: var(--ff-head);
  font-size: clamp(1.85rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.section-sub { font-size: 1.02rem; color: var(--ink-mid); max-width: 600px; line-height: 1.7; }
.section-dark .section-sub { color: #A9C2D8; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 700; font-size: .92rem;
  border-radius: var(--radius-sm);
  padding: 12px 26px;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--emerald); color: var(--navy); border-color: var(--emerald); }
.btn-primary:hover { background: var(--emerald-dk); border-color: var(--emerald-dk); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(16,185,129,.35); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-mid); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-ghost { background: transparent; color: var(--ink-mid); border-color: var(--border); }
.btn-ghost:hover { color: var(--navy); border-color: var(--navy); }
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ═════════ HEADER (dark) ═════════ */
#header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,37,64,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
#header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.nav-container { display: flex; align-items: center; height: 72px; gap: 12px; }
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo img { width: 36px; height: 36px; }
.logo-text { font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem; color: #fff; letter-spacing: -.01em; }
.logo-text b { color: var(--emerald); font-weight: 700; }
.nav-menu { display: flex; align-items: center; gap: 8px; margin-left: 200px; }
.nav-links { display: flex; align-items: center; gap: 5px; }
.nav-link {
  font-size: 16px; font-weight: 600; color: #B7CBDD;
  padding: 8px 14px; border-radius: var(--radius-sm);
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: var(--emerald); }
.nav-link.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; background: var(--emerald); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 120px; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; margin-left: auto; }
.hamburger span { display: block; width: 25px; height: 2.5px; background: #fff; border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ═════════ HOME HERO (dark) ═════════ */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 88px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 70px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.35);
  color: #7EE8C5;
  border-radius: 99px;
  padding: 7px 16px;
  font-size: .82rem; font-weight: 700;
  margin-bottom: 26px;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); animation: blink 1.8s infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hero h1 {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.07;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.hero h1 .underline {
  color: var(--emerald);
  position: relative; white-space: nowrap;
}
.hero h1 .underline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 9px; background: rgba(16,185,129,.25); border-radius: 4px; z-index: -1;
}
.hero-desc { font-size: 1.08rem; color: #A9C2D8; max-width: 470px; line-height: 1.75; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-metrics { display: flex; gap: 36px; flex-wrap: wrap; }
.metric strong {
  display: block;
  font-family: var(--ff-head); font-weight: 700;
  font-size: 1.75rem; color: #fff;
}
.metric strong em { font-style: normal; color: var(--emerald); }
.metric span { font-size: .8rem; color: #7DA5C8; font-weight: 600; }
.hero-visual img { width: 100%; height: auto; }

/* ═════════ TICKER ═════════ */
.ticker { background: var(--emerald); padding: 13px 0; overflow: hidden; }
.ticker-track { overflow: hidden; white-space: nowrap; }
.ticker-inner { display: inline-flex; gap: 36px; animation: ticker 26s linear infinite; }
.ticker-inner span { font-family: var(--ff-head); font-weight: 700; font-size: .88rem; color: var(--navy); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ticker:hover .ticker-inner { animation-play-state: paused; }

/* ═════════ PAGE HERO (subpages, dark) ═════════ */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 66px 0 84px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px; height: 54px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.page-hero h1 {
  font-family: var(--ff-head); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.9rem);
  letter-spacing: -.02em;
  margin-bottom: 8px;
}
.breadcrumb { font-size: .85rem; color: #7DA5C8; font-weight: 600; }
.breadcrumb a { color: var(--emerald); }
.breadcrumb a:hover { text-decoration: underline; }

/* ═════════ STEPS / HOW IT WORKS ═════════ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: all var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--emerald); }
.step-num {
  font-family: var(--ff-head); font-weight: 700;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--emerald-lt); color: var(--emerald-dk);
  display: grid; place-items: center;
  font-size: 1.1rem;
  margin-bottom: 18px;
}
.step-card h3 { font-family: var(--ff-head); font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: .87rem; color: var(--ink-mid); line-height: 1.6; }

/* ═════════ ABOUT ═════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.checklist { display: flex; flex-direction: column; gap: 16px; margin: 26px 0 32px; }
.check-item { display: flex; gap: 13px; align-items: flex-start; }
.check-badge {
  width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px;
  background: var(--emerald-lt); color: var(--emerald-dk);
  border-radius: 8px; display: grid; place-items: center;
  font-size: .8rem; font-weight: 800;
}
.check-item strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.check-item p { font-size: .87rem; color: var(--ink-mid); }

/* Mission / vision */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv-card {
  background: var(--white);
  border-top: 5px solid var(--emerald);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.mv-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.mv-card.gold { border-top-color: var(--gold); }
.mv-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.mv-card h3 { font-family: var(--ff-head); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.mv-card p { font-size: .92rem; color: var(--ink-mid); }

/* Milestones (horizontal on desktop) */
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.milestone {
  background: var(--navy-soft);
  border: 1px solid var(--border-dk);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: all var(--transition);
}
.milestone:hover { border-color: var(--emerald); transform: translateY(-3px); }
.milestone .year {
  font-family: var(--ff-head); font-weight: 700;
  color: var(--emerald); font-size: 1.3rem;
  display: block; margin-bottom: 8px;
}
.milestone h4 { font-family: var(--ff-head); font-size: .98rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.milestone p { font-size: .83rem; color: #A9C2D8; line-height: 1.6; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 20px;
  text-align: center; transition: all var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--emerald); }
.team-card img { width: 82px; height: 82px; border-radius: 24px; margin: 0 auto 16px; }
.team-card h4 { font-family: var(--ff-head); font-weight: 700; font-size: 1rem; }
.team-card span { font-size: .78rem; color: var(--emerald-dk); font-weight: 700; display: block; margin-bottom: 8px; }
.team-card p { font-size: .8rem; color: var(--ink-mid); }

/* ═════════ COURSES ═════════ */
.toolbar {
  display: flex; gap: 14px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; margin-bottom: 36px;
}
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--ff-head); font-weight: 700; font-size: .84rem;
  padding: 9px 18px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--white); color: var(--ink-mid);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy); color: var(--emerald); border-color: var(--navy);
}
.course-search { position: relative; min-width: 260px; flex: 1; max-width: 340px; }
.course-search input {
  width: 100%; padding: 11px 16px 11px 42px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--transition);
}
.course-search input:focus { border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
.course-search::before {
  content: '🔍'; position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%); font-size: .9rem;
}

.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.course-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--transition);
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--emerald); }
.course-thumb { position: relative; }
.course-thumb img { width: 100%; height: 158px; object-fit: cover; display: block; transition: transform .3s ease; }
.course-card:hover .course-thumb img { transform: scale(1.06); }
.course-flag {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy); color: var(--gold);
  font-family: var(--ff-head); font-size: .7rem; font-weight: 700;
  padding: 4px 11px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .05em;
}
.course-flag.gold { background: var(--gold); color: var(--navy); }
.course-rating-badge {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(10,37,64,.82); color: #fff;
  font-size: .74rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.course-body { padding: 18px 18px 0; display: flex; flex-direction: column; flex: 1; }
.course-cat {
  font-family: var(--ff-head); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--emerald-dk); margin-bottom: 8px;
}
.course-title-text { font-family: var(--ff-head); font-size: 1.04rem; font-weight: 700; line-height: 1.32; margin-bottom: 8px; }
.course-title-text a:hover { color: var(--emerald-dk); }
.course-desc {
  font-size: .84rem; color: var(--ink-mid); line-height: 1.6; margin-bottom: 4px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.course-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--ink-muted); font-weight: 600;
  margin: 10px 0 2px;
}
.course-meta img { width: 24px; height: 24px; border-radius: 8px; }
.course-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-muted); }
.course-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 16px 18px 0; padding: 16px 0 18px;
  border-top: 2px dashed var(--border);
  position: relative;
}
.course-footer::before, .course-footer::after {
  content: ''; position: absolute; width: 16px; height: 16px; background: var(--bg);
  border-radius: 50%; top: -9px;
}
.course-footer::before { left: -27px; }
.course-footer::after { right: -27px; }
.course-price { display: flex; flex-direction: column; }
.course-price s { font-size: .78rem; color: var(--ink-muted); }
.course-price strong { font-family: var(--ff-head); font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.course-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; flex-shrink: 0; }
.btn-add-cart, .btn-enroll-now {
  font-size: .78rem; font-weight: 700; padding: 8px 16px; border-radius: 999px;
  white-space: nowrap; text-align: center;
}
.btn-add-cart.added { background: var(--emerald); color: var(--navy); border-color: var(--emerald); }
.no-results { text-align: center; padding: 48px 0; color: var(--ink-muted); display: none; }
.courses-cta { text-align: center; margin-top: 44px; }

/* ═════════ COURSE DETAIL ═════════ */
.detail-hero { background: var(--navy); color: #fff; padding: 60px 0 72px; position: relative; }
.detail-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 50px;
  background: var(--bg); clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.detail-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 48px; align-items: start; position: relative; z-index: 2; }
.detail-cats { display: flex; gap: 8px; margin: 16px 0 14px; flex-wrap: wrap; }
.dtag {
  font-family: var(--ff-head); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  padding: 5px 12px; border-radius: 6px;
  background: rgba(16,185,129,.15); color: #7EE8C5;
  border: 1px solid rgba(16,185,129,.3);
}
.detail-content h1 {
  font-family: var(--ff-head); font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  line-height: 1.14; letter-spacing: -.015em;
  margin-bottom: 16px;
}
.detail-content .lead { font-size: 1.02rem; color: #A9C2D8; margin-bottom: 22px; max-width: 560px; }
.detail-facts { display: flex; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: #A9C2D8; font-weight: 600; }
.detail-facts strong { color: #fff; }

.detail-body { margin-top: 34px; max-width: 560px; }
.detail-body-h3 {
  font-family: var(--ff-head); font-weight: 700; color: #fff;
  font-size: 1.1rem; margin-bottom: 12px;
}
.detail-body-h3:not(:first-child) { margin-top: 28px; }
.detail-body-text { font-size: .92rem; color: #A9C2D8; line-height: 1.7; }
.detail-body-list { display: flex; flex-direction: column; gap: 10px; }
.detail-body-list li {
  font-size: .9rem; color: #A9C2D8; line-height: 1.6;
  display: flex; gap: 10px;
}
.detail-body-list li::before { content: '•'; color: var(--emerald); font-weight: 800; flex-shrink: 0; }

.enroll-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  position: sticky; top: 96px;
}
.enroll-card img { width: 100%; height: 172px; object-fit: cover; }
.enroll-body { padding: 24px; }
.enroll-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.enroll-price strong { font-family: var(--ff-head); font-size: 2rem; font-weight: 700; color: var(--navy); }
.enroll-price s { color: var(--ink-muted); }
.enroll-price .off {
  font-family: var(--ff-head); font-size: .74rem; font-weight: 700;
  color: var(--emerald-dk); background: var(--emerald-lt);
  padding: 3px 9px; border-radius: 6px;
}
.enroll-note { font-size: .78rem; color: var(--ink-muted); margin-bottom: 16px; }
.enroll-list { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.enroll-list li { font-size: .85rem; color: var(--ink-mid); display: flex; gap: 8px; }

.enroll-stats {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px dashed var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.enroll-stat-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .85rem; color: var(--ink-mid); font-weight: 600;
}
.enroll-stat-pill {
  font-family: var(--ff-head); font-size: .78rem; font-weight: 700;
  color: var(--navy); background: var(--emerald-lt);
  border: 1px solid rgba(16,185,129,.3);
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}

.enroll-salary-box {
  margin-top: 18px; padding: 18px; text-align: center;
  background: var(--emerald-lt); border-radius: var(--radius);
}
.enroll-salary-label {
  font-family: var(--ff-head); font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--emerald-dk); margin-bottom: 6px;
}
.enroll-salary-value {
  font-family: var(--ff-head); font-size: 1.5rem; font-weight: 700;
  color: var(--emerald-dk);
}

.detail-section { padding: 56px 0; }
.detail-section + .detail-section { border-top: 1px solid var(--border); }
.detail-section h2 { font-family: var(--ff-head); font-weight: 700; font-size: 1.45rem; margin-bottom: 22px; }
.learn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.learn-item {
  display: flex; gap: 10px; font-size: .9rem; color: var(--ink-mid);
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 13px 16px;
}
.learn-item::before { content: '✔'; color: var(--emerald-dk); font-weight: 800; flex-shrink: 0; }

/* Accordion */
.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.acc-item + .acc-item { border-top: 1px solid var(--border); }
.acc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: var(--white); border: none;
  padding: 17px 22px;
  font-family: var(--ff-head); font-weight: 700; font-size: .95rem; color: var(--ink);
  text-align: left; transition: background var(--transition);
}
.acc-head:hover { background: var(--bg); }
.acc-item.open .acc-head { background: var(--navy); color: #fff; }
.acc-arrow { transition: transform var(--transition); font-size: .75rem; color: var(--ink-muted); }
.acc-item.open .acc-arrow { transform: rotate(180deg); color: var(--emerald); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-item.open .acc-body { max-height: 420px; }
.acc-body ul { padding: 10px 22px 18px; }
.acc-body li {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: .87rem; color: var(--ink-mid);
  padding: 9px 0; border-bottom: 1px dashed var(--border);
}
.acc-body li:last-child { border-bottom: none; }
.acc-body li span:last-child { color: var(--ink-muted); font-size: .78rem; flex-shrink: 0; }

.instructor-box {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-left: 5px solid var(--emerald);
  border-radius: var(--radius); padding: 28px;
}
.instructor-box img { width: 84px; height: 84px; border-radius: 20px; flex-shrink: 0; }
.instructor-box h3 { font-family: var(--ff-head); font-weight: 700; margin-bottom: 2px; }
.instructor-box .role { font-size: .8rem; color: var(--emerald-dk); font-weight: 700; display: block; margin-bottom: 10px; }
.instructor-box p { font-size: .9rem; color: var(--ink-mid); }

/* ═════════ FEATURES (dark band) ═════════ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--navy-soft);
  border: 1px solid var(--border-dk);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all var(--transition);
}
.feature-card:hover { border-color: var(--emerald); transform: translateY(-4px); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(16,185,129,.14);
  display: grid; place-items: center; font-size: 24px;
  margin-bottom: 18px;
}
.feature-card h3 { font-family: var(--ff-head); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feature-card p { font-size: .86rem; color: #A9C2D8; line-height: 1.65; }

/* ═════════ TESTIMONIALS ═════════ */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
  transition: all var(--transition);
}
.tcard::before {
  content: '“';
  position: absolute; top: 10px; right: 22px;
  font-family: var(--ff-head);
  font-size: 4rem; line-height: 1;
  color: var(--emerald-lt);
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--emerald); }
.tcard-stars { color: var(--gold); font-size: .9rem; letter-spacing: 2px; margin-bottom: 14px; }
.tcard-text { font-size: .88rem; line-height: 1.7; color: var(--ink-mid); margin-bottom: 20px; }
.tcard-author { display: flex; align-items: center; gap: 12px; }
.tcard-author img { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; }
.tcard-author strong { display: block; font-family: var(--ff-head); font-size: .9rem; font-weight: 700; }
.tcard-author small { font-size: .76rem; color: var(--ink-muted); font-weight: 600; }

/* ═════════ CTA BANNER ═════════ */
.cta-banner {
  background: var(--navy);
  padding: 84px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(16,185,129,.12); filter: blur(10px);
}
.cta-banner::before { width: 380px; height: 380px; top: -190px; right: 6%; }
.cta-banner::after  { width: 280px; height: 280px; bottom: -140px; left: 4%; }
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
  font-family: var(--ff-head); font-weight: 700;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  color: #fff; letter-spacing: -.015em;
  margin-bottom: 14px;
}
.cta-banner p { font-size: 1.05rem; color: #A9C2D8; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═════════ CONTACT ═════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 16px; margin: 26px 0 30px; }
.cd-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 15px 18px;
  transition: border-color var(--transition);
}
.cd-item:hover { border-color: var(--emerald); }
.cd-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--emerald-lt); border-radius: 10px;
  display: grid; place-items: center; font-size: 17px;
}
.cd-item strong { display: block; font-family: var(--ff-head); font-size: .88rem; }
.cd-item p { font-size: .85rem; color: var(--ink-mid); }
.contact-illustration { margin-top: 28px; border-radius: var(--radius); overflow: hidden; }

.contact-form-wrap { position: relative; }
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 5px solid var(--emerald);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-family: var(--ff-head); font-size: 1.25rem; font-weight: 700; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: .8rem; font-weight: 700; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  transition: all var(--transition);
  width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--emerald); background: #fff;
  box-shadow: 0 0 0 3px rgba(16,185,129,.14);
}
.form-group textarea { resize: vertical; }
.form-note { font-size: .77rem; color: var(--ink-muted); text-align: center; margin-top: 10px; }
.form-success {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border);
  border-top: 5px solid var(--emerald);
  border-radius: var(--radius-lg);
  padding: 60px 36px; box-shadow: var(--shadow);
}
.form-success span { font-size: 46px; }
.form-success h3 { font-family: var(--ff-head); font-size: 1.35rem; font-weight: 700; }
.form-success p { color: var(--ink-mid); }

.faq-wrap { max-width: 760px; margin: 0 auto; }

/* ═════════ FOOTER ═════════ */
.footer {
  background: #071B30;
  color: #fff;
  padding: 60px 0 0;
  border-top: 3px solid var(--emerald);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 44px; padding-bottom: 44px; }
.footer-brand p { font-size: .87rem; color: #7DA5C8; margin-top: 14px; line-height: 1.7; max-width: 280px; }
.footer-address { font-weight: 400; }
.footer-address b { color: #fff; font-weight: 700; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--navy-soft);
  border: 1px solid var(--border-dk);
  border-radius: 10px;
  font-size: 15px;
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--emerald); transform: translateY(-2px); }
.footer-col h4 {
  font-family: var(--ff-head); font-weight: 700; font-size: .85rem;
  color: var(--emerald);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 16px;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .87rem; color: #A9C2D8; transition: color var(--transition); }
.footer-col a:hover { color: var(--emerald); }
.footer-contact-group { font-size: .87rem; color: #A9C2D8; line-height: 1.8; margin-bottom: 16px; }
.footer-contact-group:last-child { margin-bottom: 0; }
.footer-contact-group a { font-size: inherit; color: #A9C2D8; }
.footer-contact-group a:hover { color: var(--emerald); }
.footer-bottom {
  border-top: 1px solid #12314F;
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: .78rem; color: #6289AB; }

/* ═════════ SCROLL TOP ═════════ */
.scroll-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 46px; height: 46px;
  background: var(--emerald); color: var(--navy);
  border: none; border-radius: 12px;
  font-size: 1.2rem; font-weight: 900;
  box-shadow: var(--shadow);
  display: none; align-items: center; justify-content: center;
  transition: all var(--transition); z-index: 999;
}
.scroll-top:hover { background: var(--emerald-dk); color: #fff; transform: translateY(-3px); }
.scroll-top.visible { display: flex; }

/* ═════════ REVEAL ANIMATION ═════════ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].revealed { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: 90ms; }
[data-reveal][data-delay="2"] { transition-delay: 180ms; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .ticker-inner { animation: none; }
}

/* ═════════ AUTH-HIDDEN UTILITY ═════════ */
.auth-hidden { display: none !important; }

/* ═════════ CART LINK (header) ═════════ */
.cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  color: #cfe0ee; transition: all var(--transition);
}
.cart-link:hover { color: #fff; background: rgba(255,255,255,.08); }
.cart-link svg { width: 21px; height: 21px; }
.cart-badge {
  position: absolute; top: 1px; right: 1px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--emerald); color: var(--navy);
  border-radius: 99px; font-size: .68rem; font-weight: 800;
  display: none; align-items: center; justify-content: center;
  font-family: var(--ff-head);
}
.cart-badge.show { display: flex; }

/* ═════════ ACCOUNT MENU (header) ═════════ */
.account-menu { position: relative; }
.account-trigger {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 99px; padding: 6px 12px 6px 6px; color: #fff;
  font-family: var(--ff-body); font-weight: 700; font-size: .86rem;
  transition: all var(--transition);
}
.account-trigger:hover { background: rgba(255,255,255,.12); }
.profile-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--emerald); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 800; font-size: .78rem;
  flex-shrink: 0;
}
.account-caret { transition: transform var(--transition); opacity: .8; }
.account-trigger[aria-expanded="true"] .account-caret { transform: rotate(180deg); }
.account-dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 220px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all var(--transition); z-index: 300;
}
.account-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.account-dropdown-item {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: .88rem; font-weight: 600; color: var(--ink);
  background: none; border: none; text-align: left;
  font-family: var(--ff-body); transition: background var(--transition);
}
.account-dropdown-item svg { width: 16px; height: 16px; color: var(--ink-mid); flex-shrink: 0; }
.account-dropdown-item:hover { background: var(--bg); }
.account-dropdown-divider { height: 1px; background: var(--border); margin: 6px 4px; }
.account-dropdown-logout { color: #DC2626; }
.account-dropdown-logout svg { color: #DC2626; }
@media (max-width: 860px) {
  .account-menu { width: 100%; }
  .account-trigger { width: 100%; justify-content: flex-start; }
  .account-dropdown { position: static; box-shadow: none; border: 1px solid var(--border-dk); margin-top: 8px; background: var(--navy-soft); }
  .account-dropdown-item { color: #cfe0ee; }
  .account-dropdown-item:hover { background: rgba(255,255,255,.06); }
  .account-dropdown-item svg { color: #cfe0ee; }
}

/* ═════════ MODALS (login / signup / forgot password) ═════════ */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(10,20,33,.6); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal {
  position: relative; width: 100%; max-width: 420px;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 40px 34px 34px;
  transform: translateY(14px); transition: transform .25s ease;
  max-height: 90vh; overflow-y: auto;
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px;
  border: none; background: var(--bg); border-radius: 50%;
  font-size: 1.2rem; line-height: 1; color: var(--ink-mid); cursor: pointer;
}
.modal-close:hover { background: var(--border); color: var(--ink); }
.modal .kicker { margin-bottom: 8px; }
.modal h3 {
  font-family: var(--ff-head); font-weight: 700;
  font-size: 1.35rem; color: var(--navy); margin-bottom: 22px;
}
.modal form { display: flex; flex-direction: column; gap: 13px; }
.modal input {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--bg);
  font-size: .92rem; color: var(--ink); transition: border-color var(--transition);
}
.modal input:focus { border-color: var(--emerald); background: var(--white); }
.modal .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; }

/* ── Email verify + OTP (signup) ── */
.email-verify-wrap { display: flex; gap: 8px; align-items: stretch; }
.email-verify-wrap input { flex: 1; min-width: 0; }
.btn-verify {
  flex-shrink: 0; padding: 0 20px; font-size: .85rem;
  border-radius: 99px; background: transparent; color: var(--emerald-dk);
  border: 1.5px solid var(--emerald); white-space: nowrap;
}
.btn-verify:hover:not(:disabled) { background: var(--emerald); color: #fff; }
.btn-verify:disabled { opacity: .6; cursor: not-allowed; }
.email-verify-wrap input:disabled,
.email-verify-wrap input[readonly] { background: var(--bg); color: var(--ink-mid); }

.email-verified-badge {
  display: none; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 700; color: var(--emerald-dk);
  margin-top: -6px;
}
.email-verified-badge.show { display: flex; }

.otp-row { display: none; gap: 8px; }
.otp-row.show { display: flex; }
.otp-row input {
  flex: 1; min-width: 0; letter-spacing: .35em; text-align: center;
  font-weight: 700; font-family: var(--ff-head);
}
.btn-otp-confirm {
  flex-shrink: 0; padding: 0 18px; font-size: .85rem;
  border-radius: 99px; background: var(--emerald); color: var(--navy);
  border: 1.5px solid var(--emerald); white-space: nowrap;
}
.btn-otp-confirm:hover:not(:disabled) { background: var(--emerald-dk); color: #fff; }
.btn-otp-confirm:disabled { opacity: .6; cursor: not-allowed; }

.otp-resend {
  display: none; font-size: .8rem; color: var(--ink-mid); margin-top: -6px;
}
.otp-resend.show { display: block; }
.otp-resend a { color: var(--emerald-dk); font-weight: 700; }
.otp-resend a.disabled { color: var(--ink-muted); pointer-events: none; font-weight: 600; }
.otp-resend a:hover:not(.disabled) { text-decoration: underline; }
#otpTimer { color: var(--ink-muted); margin-left: 4px; }

.btn.btn-full:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; font-size: 1rem; padding: 6px; cursor: pointer;
}
.forgot-row { text-align: right; margin-top: -4px; }
.forgot-row a, .modal-foot a { color: var(--emerald-dk); font-weight: 700; }
.forgot-row a:hover, .modal-foot a:hover { text-decoration: underline; }
.modal-foot { text-align: center; font-size: .88rem; color: var(--ink-mid); margin-top: 18px; }

.auth-divider {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  text-align: center; margin: 18px 0; color: var(--ink-muted); font-size: .82rem;
}
.auth-divider::before, .auth-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.form-error {
  display: none; font-size: .85rem; font-weight: 600; color: #DC2626;
  background: #FEF2F2; border: 1px solid #FECACA; border-radius: var(--radius-sm);
  padding: 10px 13px;
}
.form-error.show { display: block; }
.form-error.info { color: var(--emerald-dk); background: var(--emerald-lt); border-color: #A7F3D0; }
.btn.is-loading { opacity: .65; pointer-events: none; }

/* ═════════ CART PAGE ═════════ */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.cart-loading { padding: 40px 0; color: var(--ink-mid); }
.cart-item {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  display: flex; gap: 18px; padding: 18px; margin-bottom: 16px; position: relative;
  border: 1px solid var(--border);
}
.cart-item img { width: 130px; height: 92px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--bg); }
.cart-item-info { flex: 1; display: flex; flex-direction: column; }
.cart-item-cat {
  align-self: flex-start; font-family: var(--ff-head); font-size: .68rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; background: var(--emerald-lt);
  color: var(--emerald-dk); padding: 3px 9px; border-radius: 99px; margin-bottom: 7px;
}
.cart-item-title { font-family: var(--ff-head); font-weight: 700; font-size: 1.02rem; color: var(--navy); }
.cart-item-meta { font-size: .82rem; color: var(--ink-mid); margin-top: 5px; }
.cart-item-price { display: flex; align-items: baseline; gap: 9px; margin-top: auto; padding-top: 8px; }
.cart-item-old { font-size: .78rem; color: var(--ink-muted); text-decoration: line-through; }
.cart-item-now { font-family: var(--ff-head); font-weight: 700; font-size: 1.05rem; color: var(--emerald-dk); }
.cart-item-remove {
  position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%;
  border: none; background: var(--bg); color: var(--ink-mid); font-size: 1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: all var(--transition);
}
.cart-item-remove:hover { background: #FEE2E2; color: #DC2626; }
.cart-summary, .checkout-summary {
  background: var(--navy); border-radius: var(--radius); padding: 26px; color: #fff;
  position: sticky; top: 96px;
}
.cart-summary h3, .checkout-summary h3 { font-family: var(--ff-head); font-size: 1.08rem; margin-bottom: 18px; }
.summary-row { display: flex; justify-content: space-between; font-size: .9rem; color: #A9C2D8; margin-bottom: 11px; }
.summary-row.total {
  border-top: 1px solid rgba(255,255,255,.15); margin-top: 12px; padding-top: 12px;
  font-family: var(--ff-head); font-size: 1.15rem; font-weight: 700; color: var(--gold);
}
.summary-row.discount-row { color: #7EE8C5; }
.cart-summary .btn, .checkout-summary .btn { width: 100%; margin-top: 16px; }
.cart-note { font-size: .74rem; color: #7DA5C8; margin-top: 12px; text-align: center; }
.empty-cart, .empty-checkout { text-align: center; padding: 70px 20px; }
.empty-cart h3, .empty-checkout h3 { font-family: var(--ff-head); font-size: 1.4rem; color: var(--navy); margin-bottom: 8px; }
.empty-cart p, .empty-checkout p { color: var(--ink-mid); margin-bottom: 22px; }
.coupon-row { display: flex; gap: 8px; margin-bottom: 6px; }
.coupon-row input {
  flex: 1; padding: 10px 12px; border-radius: var(--radius-sm); border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08); color: #fff; font-size: .85rem;
}
.coupon-row input::placeholder { color: #7DA5C8; }
.coupon-row .btn { width: auto; margin-top: 0; white-space: nowrap; }
.checkout-summary .coupon-row .btn-outline,
.cart-summary .coupon-row .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.checkout-summary .coupon-row .btn-outline:hover,
.cart-summary .coupon-row .btn-outline:hover { background: var(--emerald); border-color: var(--emerald); color: var(--navy); }
.coupon-msg { font-size: .78rem; margin-bottom: 14px; min-height: 1em; }
.coupon-msg.ok { color: #7EE8C5; }
.coupon-msg.err { color: #FCA5A5; }

/* ═════════ CHECKOUT PAGE ═════════ */
.checkout-section { padding: 56px 0 100px; }
.checkout-section h1 { font-family: var(--ff-head); font-size: clamp(1.7rem, 3.5vw, 2.3rem); color: var(--navy); margin: 8px 0 34px; }
.back-link { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--ink-mid); margin-bottom: 14px; }
.back-link:hover { color: var(--emerald-dk); }
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; align-items: start; }
.checkout-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.checkout-card h3 { font-family: var(--ff-head); font-size: 1.02rem; color: var(--navy); margin-bottom: 6px; }
.checkout-card h3.section-gap { margin-top: 22px; }
.checkout-subnote { font-size: .82rem; color: var(--ink-mid); margin-bottom: 18px; }
.field-label { display: block; font-size: .8rem; font-weight: 700; color: var(--ink-mid); margin: 12px 0 6px; }
.field-optional { font-weight: 500; color: var(--ink-muted); }
.checkout-card input, .checkout-card textarea, .checkout-card select,
.profile-card input, .profile-card textarea, .profile-card select {
  width: 100%; padding: 11px 13px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: var(--bg); font-size: .9rem; color: var(--ink);
  box-sizing: border-box; font-family: var(--ff-body);
}
.checkout-card input:focus, .checkout-card textarea:focus, .checkout-card select:focus,
.profile-card input:focus, .profile-card textarea:focus, .profile-card select:focus { border-color: var(--emerald); background: var(--white); }
.checkout-card input:disabled, .checkout-card textarea:disabled, .checkout-card select:disabled,
.profile-card input:disabled, .profile-card textarea:disabled, .profile-card select:disabled { opacity: .7; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* Space between the last form row and the Pay Now button */
#payNowBtn { margin-top: 28px; }
.pay-note { font-size: .76rem; color: var(--ink-muted); text-align: center; margin-top: 12px; }
.summary-items { margin-bottom: 16px; }
.summary-item { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.summary-item span:first-child { color: #cfe0ee; }
.summary-item span:last-child { font-weight: 700; }

/* ═════════ PAYMENT GATEWAY ═════════ */
.pg-section { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 60px 20px; }
.pg-card {
  width: 100%; max-width: 440px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 44px 34px; text-align: center;
}
.pg-logo { font-family: var(--ff-head); font-weight: 800; color: var(--navy); font-size: 1.1rem; margin-bottom: 26px; }
.pg-logo b { color: var(--emerald); }
.pg-spinner {
  width: 54px; height: 54px; border-radius: 50%; border: 4px solid var(--border);
  border-top-color: var(--emerald); margin: 0 auto 22px; animation: pgspin .8s linear infinite;
}
@keyframes pgspin { to { transform: rotate(360deg); } }
.pg-amount { font-family: var(--ff-head); font-weight: 700; font-size: 1.6rem; color: var(--navy); margin-bottom: 6px; }
.pg-status { color: var(--ink-mid); font-size: .92rem; margin-bottom: 4px; }
.pg-success-icon {
  width: 64px; height: 64px; border-radius: 50%; background: var(--emerald-lt); color: var(--emerald-dk);
  display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 20px;
}
.pg-fail-icon {
  width: 64px; height: 64px; border-radius: 50%; background: #FEE2E2; color: #DC2626;
  display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 20px;
}
.pg-step { display: none; }
.pg-step.active { display: block; }

/* ---- Review / confirm screen (shown before Razorpay opens) ---- */
#pgReview { text-align: left; }
.pg-review-brand {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 800; color: var(--navy); font-size: 1.05rem;
  margin-bottom: 22px; text-align: center;
}
.pg-review-brand img { width: 26px; height: 26px; }
.pg-review-brand b { color: var(--emerald); }
.pg-kicker {
  text-align: center; color: var(--emerald-dk); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px;
}
.pg-title {
  text-align: center; font-family: var(--ff-head); font-weight: 700; font-size: 1.35rem;
  color: var(--navy); margin-bottom: 10px;
}
.pg-sub { text-align: center; color: var(--ink-mid); font-size: .86rem; line-height: 1.5; margin-bottom: 20px; }
.pg-divider { height: 1px; background: var(--border); margin: 18px 0; }
.pg-row {
  display: flex; justify-content: space-between; gap: 16px; font-size: .92rem;
  color: var(--ink-mid); padding: 6px 0;
}
.pg-row span:last-child { color: var(--navy); font-weight: 600; text-align: right; }
.pg-row-amount span:last-child {
  font-family: var(--ff-head); font-weight: 700; font-size: 1.3rem; color: var(--navy);
}
.pg-pay-btn { margin-top: 22px; }
.pg-cancel-link {
  display: block; text-align: center; margin-top: 16px; font-size: .86rem;
  color: var(--ink-mid); text-decoration: underline;
}
.pg-cancel-link:hover { color: var(--navy); }
.pg-review-error {
  background: #FEE2E2; color: #B91C1C; font-size: .85rem; padding: 10px 14px;
  border-radius: var(--radius-sm); margin-bottom: 16px; display: none;
}
.pg-review-error.show { display: block; }

/* ═════════ PROFILE PAGE ═════════ */
.profile-section { padding: 56px 0 100px; }
.profile-head { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.profile-head .profile-avatar { width: 56px; height: 56px; font-size: 1.4rem; }
.profile-head h1 { font-family: var(--ff-head); font-size: 1.6rem; color: var(--navy); }
.profile-head p { color: var(--ink-mid); font-size: .9rem; }
.profile-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.profile-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; }
.profile-tab {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: .9rem; color: var(--ink-mid); background: none; border: none; text-align: left;
}
.profile-tab svg { width: 17px; height: 17px; }
.profile-tab:hover { background: var(--white); color: var(--navy); }
.profile-tab.active { background: var(--navy); color: #fff; }
.profile-panel { display: none; }
.profile-panel.active { display: block; }
.profile-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.profile-card h3 { font-family: var(--ff-head); font-size: 1.05rem; color: var(--navy); margin-bottom: 16px; }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.profile-stat { background: var(--bg); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.profile-stat strong { display: block; font-family: var(--ff-head); font-size: 1.4rem; color: var(--navy); }
.profile-stat span { font-size: .78rem; color: var(--ink-mid); font-weight: 600; }
.order-row {
  display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border);
}
.order-row:last-child { border-bottom: none; }
.order-row img { width: 74px; height: 54px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: var(--bg); }
.order-row-icon {
  width: 74px; height: 54px; border-radius: 8px; flex-shrink: 0; background: var(--emerald-lt);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.order-row-info { flex: 1; }
.order-row-title { font-weight: 700; font-size: .92rem; color: var(--navy); }
.order-row-meta { font-size: .78rem; color: var(--ink-mid); margin-top: 3px; }
.order-row-price { font-family: var(--ff-head); font-weight: 700; color: var(--emerald-dk); }
.order-row-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.order-invoice-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px;
  border: 1.5px solid var(--navy); color: var(--navy); font-size: .78rem; font-weight: 700;
  text-decoration: none; transition: var(--transition); white-space: nowrap;
}
.order-invoice-btn svg { width: 14px; height: 14px; }
.order-invoice-btn:hover { background: var(--navy); color: #fff; }
.order-status {
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: var(--emerald-lt); color: var(--emerald-dk); padding: 3px 9px; border-radius: 99px;
}
.empty-state { text-align: center; padding: 40px 10px; color: var(--ink-mid); }
.empty-state a { color: var(--emerald-dk); font-weight: 700; }
.profile-card .field-row { margin-bottom: 4px; }
@media (max-width: 860px) {
  .cart-layout, .checkout-layout, .profile-layout { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
  .cart-item { flex-direction: column; }
  .cart-item img { width: 100%; height: 150px; }
  .profile-tabs { position: static; flex-direction: row; overflow-x: auto; }
}

/* ═════════ RESPONSIVE ═════════ */
@media (max-width: 1024px) {
  .courses-grid, .features-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid, .milestones, .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .about-grid, .contact-grid, .mv-grid, .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .enroll-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .learn-grid { grid-template-columns: 1fr; }

  .hamburger { display: flex; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column; align-items: flex-start;
    padding: 18px 24px 30px; gap: 0;
    border-top: 1px solid var(--border-dk);
    box-shadow: 0 20px 40px rgba(0,0,0,.4);
    transform: translateY(-115%); opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    pointer-events: none;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links { flex-direction: column; width: 100%; }
  .nav-link { width: 100%; padding: 13px 4px; font-size: 1rem; }
  .nav-link.active::after { display: none; }
  .nav-actions { margin-left: 0; margin-top: 14px; width: 100%; flex-direction: column; }
  .nav-actions .btn { width: 100%; }
}
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 90px; }
  .hero-metrics { gap: 22px; }
  .courses-grid, .features-grid, .testimonials-grid,
  .steps-grid, .milestones, .team-grid,
  .footer-grid, .form-row { grid-template-columns: 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .course-search { max-width: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Legal pages (Privacy Policy / Terms & Conditions / Cancellation & Refunds) ── */
.legal-updated { font-size: .82rem; color: #7DA5C8; margin-top: 6px; font-weight: 600; }
.legal-body { padding: 56px 0 90px; }
.legal-shell { display: flex; gap: 48px; align-items: flex-start; }
.legal-toc { flex: 0 0 220px; position: sticky; top: 100px; }
.legal-toc h4 {
  font-family: var(--ff-head); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--emerald-dk); font-weight: 700; margin-bottom: 14px;
}
.legal-toc a {
  display: block; font-size: .88rem; color: var(--ink-mid); padding: 7px 0 7px 14px;
  border-left: 2px solid transparent; margin-left: -1px; transition: color var(--transition), border-color var(--transition);
}
.legal-toc a:hover { color: var(--navy); border-color: var(--emerald); }
.legal-content {
  flex: 1; min-width: 0; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 6px 24px rgba(10,37,64,.06); padding: 44px 48px; border: 1px solid var(--border);
}
.legal-content h2 { font-family: var(--ff-head); font-size: 1.28rem; color: var(--navy); margin: 34px 0 12px; scroll-margin-top: 100px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content h3 { font-family: var(--ff-head); font-size: 1.02rem; color: var(--navy); margin: 20px 0 8px; }
.legal-content p { margin-bottom: 14px; font-size: .95rem; color: var(--ink); line-height: 1.7; }
.legal-content ul { margin: 0 0 14px 20px; color: var(--ink-mid); font-size: .95rem; line-height: 1.7; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--emerald-dk); font-weight: 600; }
.legal-content a:hover { text-decoration: underline; }
.legal-note {
  background: var(--emerald-lt); border-left: 3px solid var(--emerald); border-radius: 8px;
  padding: 14px 18px; font-size: .88rem; color: var(--ink-mid); margin-bottom: 22px; line-height: 1.6;
}
.legal-divider { border: none; border-top: 1px solid var(--border); margin: 30px 0; }
.refund-table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: .88rem; }
.refund-table th, .refund-table td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; }
.refund-table th {
  background: var(--bg); color: var(--navy); font-family: var(--ff-head); font-size: .78rem;
  text-transform: uppercase; letter-spacing: .05em;
}
.refund-table td { color: var(--ink-mid); }
@media (max-width: 860px) {
  .legal-shell { flex-direction: column; }
  .legal-toc { position: static; flex: none; width: 100%; }
  .legal-content { padding: 30px 22px; }
}