/* ═══════════════════════════════════════════════════════
   Global World Academy — Site Stylesheet
   Used on: Landing Page (welcome) + shared components
   ═══════════════════════════════════════════════════════ */

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

:root {
  --ink:       #0b1929;
  --paper:     #f7f9fc;
  --white:     #ffffff;
  --navy:      #0b2d5e;
  --blue:      #1155cc;
  --blue-lt:   #e8f0fe;
  --green:     #1a8f3c;
  --green-lt:  #e6f4ea;
  --gold:      #e8a020;
  --gold-lt:   #fef7e0;
  --red:       #c0311a;
  --red-lt:    #fde8e4;
  --muted:     #6b7a99;
  --border:    #e2e8f0;
  --shadow-sm: 0 2px 12px rgba(11,29,41,.08);
  --shadow:    0 8px 40px rgba(11,29,41,.12);
  --shadow-lg: 0 20px 60px rgba(11,29,41,.16);
}

html { scroll-behavior: smooth; }
body { font-family: 'Sora', sans-serif; background: var(--paper); color: var(--ink); overflow-x: hidden; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.3px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ── GOOGLE FONTS BACKUP / UTILITY ─────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--blue), #4285f4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 50px;
  font-size: 14px; font-weight: 700; transition: all .22s;
  cursor: pointer; border: none; font-family: 'Sora', sans-serif;
  text-decoration: none;
}
.btn-blue  { background: var(--blue); color: #fff; box-shadow: 0 6px 20px rgba(17,85,204,.3); }
.btn-blue:hover  { background: var(--navy); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(17,85,204,.4); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 6px 20px rgba(26,143,60,.25); }
.btn-green:hover  { background: #156b2e; transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--blue); padding: 15px 34px; border-radius: 50px; font-weight: 700; font-size: 15px; transition: transform .2s, box-shadow .2s; box-shadow: 0 8px 30px rgba(0,0,0,.15); display: inline-flex; align-items: center; gap: 8px; }
.btn-white:hover  { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.btn-ghost { background: transparent; color: #fff; padding: 13px 32px; border-radius: 50px; border: 2px solid rgba(255,255,255,.35); font-weight: 600; font-size: 15px; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost:hover  { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── SECTION COMMON ─────────────────────────────────────── */
section { padding: 90px 64px; }
.sec-label {
  display: inline-block;
  font-family: 'DM Mono', monospace; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--blue); background: var(--blue-lt);
  border-radius: 50px; padding: 5px 14px; margin-bottom: 14px;
}
.sec-title { font-size: clamp(28px,3.5vw,46px); font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.sec-desc  { font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 540px; }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .sec-desc { margin: 0 auto; }

/* ── SCROLL REVEAL ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 64px;
  background: rgba(247,249,252,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: padding .3s, box-shadow .3s;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: grid; place-items: center;
  font-size: 17px; font-weight: 800; color: var(--gold);
  letter-spacing: .5px; box-shadow: 0 4px 14px rgba(17,85,204,.3);
  flex-shrink: 0;
}
.logo-name { font-size: 17px; font-weight: 700; color: var(--navy); }
.logo-name span { color: var(--blue); }
nav ul { list-style: none; display: flex; align-items: center; gap: 32px; }
nav ul a { font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .2s; }
nav ul a:hover { color: var(--navy); }
.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 10px 22px; border-radius: 50px;
  font-size: 13px !important; font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(17,85,204,.3);
  transition: transform .2s, box-shadow .2s, background .2s !important;
}
.nav-cta:hover { background: var(--navy) !important; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(17,85,204,.4); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; display: block; }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 24px 32px; flex-direction: column; gap: 20px;
  z-index: 199; box-shadow: var(--shadow);
}
.mobile-menu a { font-size: 15px; font-weight: 600; color: var(--navy); padding: 8px 0; border-bottom: 1px solid var(--border); }
.mobile-menu.open { display: flex; }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
  padding: 110px 64px 80px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(17,85,204,.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(232,160,32,.07) 0%, transparent 70%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-lt); border: 1px solid rgba(17,85,204,.2);
  border-radius: 50px; padding: 7px 16px;
  font-size: 12px; font-weight: 700; color: var(--blue);
  letter-spacing: .4px; text-transform: uppercase;
  margin-bottom: 24px;
  animation: fadeUp .5s ease both;
}
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #e02020; animation: blink 1.2s infinite; }
.hero h1 {
  font-size: clamp(36px,4.5vw,62px); font-weight: 800;
  color: var(--navy); margin-bottom: 20px;
  animation: fadeUp .6s .08s ease both;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--blue), #4285f4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub {
  font-size: 16px; line-height: 1.75; color: var(--muted);
  max-width: 480px; margin-bottom: 36px;
  animation: fadeUp .6s .16s ease both;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp .6s .24s ease both; }
.hero-trust {
  display: flex; align-items: center; gap: 20px;
  margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--border);
  animation: fadeUp .6s .32s ease both;
}
.trust-avatars { display: flex; }
.trust-avatars .av {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2.5px solid #fff;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700; color: #fff;
  margin-left: -10px;
}
.trust-avatars .av:first-child { margin-left: 0; }
.av-a { background: #1155cc; } .av-b { background: #e8a020; } .av-c { background: #1a8f3c; } .av-d { background: #c0311a; }
.trust-text { font-size: 13px; color: var(--muted); line-height: 1.5; }
.trust-text strong { color: var(--navy); font-weight: 700; }
/* hero visual */
.hero-visual { position: relative; z-index: 1; animation: fadeIn .8s .2s ease both; }
.hero-phone-mockup {
  background: var(--navy); border-radius: 28px; padding: 32px;
  color: #fff; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-phone-mockup::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(17,85,204,.25);
}
.hpm-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); border-radius: 50px; padding: 6px 14px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 18px;
}
.hpm-course { font-size: 20px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.hpm-desc   { font-size: 13px; opacity: .7; line-height: 1.6; margin-bottom: 24px; }
.hpm-stats  { display: flex; gap: 20px; margin-bottom: 24px; }
.hpm-stat   { text-align: center; }
.hpm-stat .n { font-size: 22px; font-weight: 800; color: var(--gold); display: block; }
.hpm-stat .l { font-size: 10px; opacity: .6; text-transform: uppercase; letter-spacing: .5px; }
.hpm-divider { height: 1px; background: rgba(255,255,255,.1); margin-bottom: 20px; }
.hpm-btn {
  width: 100%; padding: 14px; border-radius: 12px;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 14px; text-align: center;
  cursor: pointer; transition: transform .2s; display: block;
}
.hpm-btn:hover { transform: scale(1.02); }
/* floating cards */
.fc {
  position: absolute; background: #fff; border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 10px;
  animation: floatY 3.5s ease-in-out infinite;
}
.fc-1 { top: -20px; right: -28px; animation-delay: 0s; }
.fc-2 { bottom: 60px; right: -36px; animation-delay: 1.2s; }
.fc-3 { bottom: -20px; left: 20px; animation-delay: .6s; }
.fc-icon  { font-size: 22px; }
.fc-title { font-size: 12px; font-weight: 700; color: var(--navy); }
.fc-sub   { font-size: 10px; color: var(--muted); }

/* ── TICKER ─────────────────────────────────────────────── */
.ticker { background: var(--navy); padding: 14px 0; overflow: hidden; }
.ticker-inner { display: flex; white-space: nowrap; animation: ticker 28s linear infinite; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 32px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.75);
  border-right: 1px solid rgba(255,255,255,.12);
}
.ticker-item .dot { color: var(--gold); }

/* ── STATS BAR ──────────────────────────────────────────── */
.stats-bar {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 32px 64px;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 32px;
}
.stat-item { text-align: center; }
.stat-num  { font-size: clamp(28px,3vw,42px); font-weight: 800; color: var(--navy); display: block; line-height: 1; }
.stat-num span { color: var(--blue); }
.stat-lbl  { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; display: block; font-weight: 600; }

/* ── COURSES ────────────────────────────────────────────── */
.courses { background: #fff; }
.courses-flex { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; flex-wrap: wrap; gap: 24px; }
.courses-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.course-card {
  background: var(--paper); border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
  cursor: pointer; display: flex; flex-direction: column;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.course-thumb {
  height: 170px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; font-size: 52px;
}
.ct1 { background: linear-gradient(135deg,#1155cc,#4285f4); }
.ct2 { background: linear-gradient(135deg,#0b2d5e,#1a5ca8); }
.ct3 { background: linear-gradient(135deg,#1a8f3c,#2dba58); }
.ct4 { background: linear-gradient(135deg,#c0311a,#e05a40); }
.ct5 { background: linear-gradient(135deg,#6b3fa0,#9b6fd0); }
.ct6 { background: linear-gradient(135deg,#e8a020,#f5c842); }
.course-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.08); }
.badge-new {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: #e02020; color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 50px;
}
.badge-hot { background: var(--gold); color: var(--navy); }
.course-body { padding: 22px 22px 0; flex: 1; }
.course-exam-tag {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--blue); background: var(--blue-lt);
  border-radius: 50px; padding: 4px 12px; margin-bottom: 12px;
}
.course-name { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.course-desc { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.course-includes { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.course-includes li { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.course-includes li::before { content: '✓'; color: var(--green); font-weight: 700; font-size: 11px; }
.course-footer {
  padding: 16px 22px 20px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border); margin-top: auto;
}
.price-now { font-size: 22px; font-weight: 800; color: var(--navy); }
.price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.price-off { font-size: 11px; font-weight: 700; color: var(--green); background: var(--green-lt); border-radius: 50px; padding: 2px 8px; margin-left: 4px; }
.buy-btn {
  background: var(--green); color: #fff;
  padding: 10px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 700;
  transition: background .2s, transform .2s; white-space: nowrap; display: inline-block;
}
.buy-btn:hover { background: #156b2e; transform: scale(1.04); }
.course-card.placeholder {
  border: 2px dashed var(--border); background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 300px; padding: 32px; text-align: center;
}
.placeholder-icon { font-size: 40px; margin-bottom: 16px; opacity: .4; }
.placeholder-text { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── QUIZ SECTION ───────────────────────────────────────── */
.quiz-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0d2550 100%);
  position: relative; overflow: hidden;
}
.quiz-section::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(17,85,204,.2);
}
.quiz-section::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(232,160,32,.1);
}
.quiz-section .sec-label { background: rgba(255,255,255,.12); color: var(--gold); }
.quiz-section .sec-title { color: #fff; }
.quiz-section .sec-desc  { color: rgba(255,255,255,.65); }
.quiz-layout {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 64px; align-items: start; position: relative; z-index: 1;
}
.quiz-features { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.quiz-features li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: rgba(255,255,255,.8); font-weight: 500; }
.qf-icon { width: 42px; height: 42px; min-width: 42px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; font-size: 18px; }
.quiz-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.quiz-topic-btn {
  padding: 8px 18px; border-radius: 50px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  border: 2px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.75); background: transparent;
  transition: all .2s; font-family: 'Sora', sans-serif;
}
.quiz-topic-btn.active, .quiz-topic-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.quiz-full-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 24px; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.6); border-bottom: 1px dashed rgba(255,255,255,.3);
  transition: color .2s;
}
.quiz-full-link:hover { color: #fff; }

/* ── QUIZ WIDGET (shared) ───────────────────────────────── */
.quiz-widget { background: #fff; border-radius: 24px; padding: 36px; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.quiz-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.quiz-title-row { display: flex; align-items: center; gap: 10px; }
.quiz-icon { font-size: 24px; }
.quiz-name { font-size: 17px; font-weight: 700; color: var(--navy); }
.quiz-counter { font-family: 'DM Mono', monospace; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--blue-lt); border-radius: 50px; padding: 5px 14px; }
.quiz-progress-bar { height: 6px; background: var(--border); border-radius: 4px; margin-bottom: 28px; overflow: hidden; }
.quiz-progress-fill { height: 100%; background: linear-gradient(90deg, var(--blue), #4285f4); border-radius: 4px; transition: width .4s ease; }
.quiz-question { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.5; margin-bottom: 24px; min-height: 60px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.quiz-opt {
  padding: 14px 18px; border-radius: 12px;
  border: 2px solid var(--border);
  font-size: 14px; font-weight: 500; color: var(--ink);
  cursor: pointer; transition: all .18s; text-align: left;
  background: #fff; display: flex; align-items: center; gap: 12px;
  font-family: 'Sora', sans-serif;
}
.quiz-opt:hover:not(:disabled)  { border-color: var(--blue); background: var(--blue-lt); color: var(--blue); }
.quiz-opt.correct { border-color: var(--green); background: var(--green-lt); color: var(--green); }
.quiz-opt.wrong   { border-color: var(--red);   background: var(--red-lt);   color: var(--red);   }
.quiz-opt:disabled { cursor: default; }
.opt-letter {
  width: 28px; height: 28px; min-width: 28px; border-radius: 8px;
  background: var(--blue-lt); color: var(--blue);
  font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.quiz-opt.correct .opt-letter { background: var(--green-lt); color: var(--green); }
.quiz-opt.wrong   .opt-letter { background: var(--red-lt);   color: var(--red);   }
.quiz-explain {
  padding: 14px 16px; border-radius: 12px;
  background: var(--gold-lt); border-left: 4px solid var(--gold);
  font-size: 13px; line-height: 1.6; color: #7a5500;
  margin-bottom: 20px; display: none;
}
.quiz-actions { display: flex; justify-content: space-between; align-items: center; }
.quiz-result  { text-align: center; padding: 16px 0; display: none; }
.quiz-result .score       { font-size: 48px; font-weight: 800; color: var(--blue); }
.quiz-result .score-label { font-size: 15px; color: var(--muted); margin-top: 4px; }
.quiz-result .result-msg  { font-size: 16px; font-weight: 600; color: var(--navy); margin: 16px 0 24px; }

/* ── MATERIALS ──────────────────────────────────────────── */
.materials { background: var(--paper); }
.materials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.mat-card { background: #fff; border-radius: 20px; padding: 28px; border: 1px solid var(--border); transition: transform .22s, box-shadow .22s; }
.mat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mat-icon-wrap { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.mi-blue   { background: var(--blue-lt); }
.mi-green  { background: var(--green-lt); }
.mi-gold   { background: var(--gold-lt); }
.mi-red    { background: var(--red-lt); }
.mi-purple { background: #f0e8ff; }
.mat-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.mat-desc  { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.mat-meta  { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); margin-bottom: 18px; flex-wrap: wrap; }
.mat-tag   { background: var(--border); border-radius: 50px; padding: 3px 10px; font-size: 11px; font-weight: 600; color: var(--muted); }
.download-btn {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 11px 18px; border-radius: 12px;
  background: var(--blue-lt); color: var(--blue);
  font-size: 13px; font-weight: 700;
  border: none; cursor: pointer; transition: all .2s;
  justify-content: center; font-family: 'Sora', sans-serif;
}
.download-btn:hover      { background: var(--blue); color: #fff; }
.download-btn.downloaded { background: var(--green-lt); color: var(--green); }

/* ── YOUTUBE ────────────────────────────────────────────── */
.youtube { background: var(--ink); color: #fff; }
.yt-wrap  { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.yt-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,0,0,.15); border: 1px solid rgba(255,0,0,.25); border-radius: 50px; padding: 8px 18px; margin-bottom: 28px; font-size: 13px; font-weight: 700; color: #ff4444; }
.yt-title { font-size: clamp(28px,3vw,44px); font-weight: 800; color: #fff; margin-bottom: 16px; }
.yt-desc  { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 32px; }
.yt-stats { display: flex; gap: 32px; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.yt-stat .n { font-size: 32px; font-weight: 800; color: var(--gold); display: block; line-height: 1; }
.yt-stat .l { font-size: 12px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }
.btn-yt {
  display: inline-flex; align-items: center; gap: 10px;
  background: #ff0000; color: #fff; padding: 15px 32px; border-radius: 50px;
  font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 28px rgba(255,0,0,.35); transition: transform .2s, box-shadow .2s;
}
.btn-yt:hover { transform: scale(1.04); box-shadow: 0 14px 40px rgba(255,0,0,.5); }
.yt-videos { display: flex; flex-direction: column; gap: 14px; }
.yt-vid {
  display: flex; gap: 16px; align-items: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 16px 18px; cursor: pointer; transition: all .2s;
}
.yt-vid:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.16); }
.yt-vid-thumb { width: 88px; height: 58px; min-width: 88px; border-radius: 10px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.vt1 { background: linear-gradient(135deg,#1155cc,#4285f4); }
.vt2 { background: linear-gradient(135deg,#0b2d5e,#1a5ca8); }
.vt3 { background: linear-gradient(135deg,#1a8f3c,#2dba58); }
.vt4 { background: linear-gradient(135deg,#c0311a,#e05a40); }
.yt-play       { position: absolute; inset: 0; background: rgba(0,0,0,.3); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.yt-vid-title  { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 4px; line-height: 1.4; }
.yt-vid-meta   { font-size: 11px; color: rgba(255,255,255,.45); }

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testimonials { background: #fff; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.testi-card { background: var(--paper); border-radius: 20px; padding: 28px; border: 1px solid var(--border); position: relative; transition: transform .2s, box-shadow .2s; }
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-stars  { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-text   { font-size: 14px; line-height: 1.75; color: var(--muted); margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.tav { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; font-weight: 700; color: #fff; flex-shrink: 0; }
.ta1 { background: var(--blue); }  .ta2 { background: var(--gold); color: var(--navy); }
.ta3 { background: var(--green); } .ta4 { background: var(--red); }
.ta5 { background: #6b3fa0; }      .ta6 { background: var(--navy); }
.testi-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.testi-loc  { font-size: 12px; color: var(--muted); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq { background: var(--paper); }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.faq-item { background: #fff; border-radius: 16px; padding: 24px; border: 1px solid var(--border); cursor: pointer; transition: box-shadow .2s; }
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-q { font-size: 15px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-icon { font-size: 18px; color: var(--blue); flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { font-size: 13px; color: var(--muted); line-height: 1.7; margin-top: 14px; display: none; }
.faq-item.open .faq-a { display: block; }

/* ── CTA ────────────────────────────────────────────────── */
.cta { background: linear-gradient(135deg, var(--blue), var(--navy)); padding: 90px 64px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: -80px; left: -80px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.04); }
.cta::after  { content: ''; position: absolute; bottom: -60px; right: -60px; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,.04); }
.cta h2 { font-size: clamp(30px,4vw,52px); font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta p  { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 40px; }
.cta-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── FOOTER ─────────────────────────────────────────────── */
footer { background: #060e1a; color: #fff; padding: 60px 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.logo-mark-footer { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--blue)); display: grid; place-items: center; font-size: 17px; font-weight: 800; color: var(--gold); letter-spacing: .5px; flex-shrink: 0; }
.logo-name-footer { font-size: 17px; font-weight: 700; color: #fff; }
.logo-name-footer span { color: var(--gold); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.75; max-width: 270px; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; }
.fsoc { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; font-size: 16px; transition: background .2s, transform .2s; }
.fsoc:hover { background: var(--blue); transform: scale(1.1); }
.contact-line { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 10px; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes blink          { 0%,100%{opacity:1;} 50%{opacity:.2;} }
@keyframes floatY         { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-9px);} }
@keyframes ticker         { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
@keyframes fadeUp         { from{opacity:0;transform:translateY(28px);} to{opacity:1;transform:translateY(0);} }
@keyframes fadeIn         { from{opacity:0;} to{opacity:1;} }
@keyframes particleFloat  { 0%{transform:translate(0,0) rotate(0deg);} 33%{transform:translate(40px,-60px) rotate(120deg);} 66%{transform:translate(-30px,-100px) rotate(240deg);} 100%{transform:translate(0,-160px) rotate(360deg);opacity:0;} }
@keyframes shimmer        { 0%{background-position:-200% 0;} 100%{background-position:200% 0;} }
@keyframes pulse-ring     { 0%{transform:scale(.95);box-shadow:0 0 0 0 rgba(17,85,204,.5);} 70%{transform:scale(1);box-shadow:0 0 0 12px rgba(17,85,204,0);} 100%{transform:scale(.95);} }

/* ── SHIMMER LOADING STATE ──────────────────────────────── */
.shimmer {
  background: linear-gradient(90deg, var(--border) 25%, var(--paper) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .courses-grid     { grid-template-columns: repeat(2,1fr); }
  .materials-grid   { grid-template-columns: repeat(2,1fr); }
  .testi-grid       { grid-template-columns: repeat(2,1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-bar        { grid-template-columns: repeat(2,1fr); }
  .faq-grid         { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  nav               { padding: 14px 28px; }
  nav ul            { display: none; }
  .hamburger        { display: flex; }
  .hero, .yt-wrap, .quiz-layout { grid-template-columns: 1fr; }
  .hero             { padding: 100px 28px 60px; }
  .hero-visual      { display: none; }
  section           { padding: 64px 28px; }
  .cta              { padding: 64px 28px; }
  footer            { padding: 48px 28px 24px; }
  .footer-grid      { grid-template-columns: 1fr; }
  .stats-bar        { padding: 24px 28px; gap: 20px; }
}
@media (max-width: 600px) {
  .courses-grid, .materials-grid, .testi-grid { grid-template-columns: 1fr; }
  .quiz-topics      { gap: 8px; }
  .yt-stats         { gap: 20px; }
  .stats-bar        { grid-template-columns: repeat(2,1fr); }
}

/* ── MOBILE-FIRST TOUCH IMPROVEMENTS ───────────────────── */
@media (hover: none) and (pointer: coarse) {
  /* Larger tap targets on mobile */
  .quiz-opt        { padding: 16px 18px; min-height: 52px; }
  .btn             { padding: 16px 28px; }
  nav ul a         { padding: 8px 0; }
  .buy-btn         { padding: 12px 22px; }
  .download-btn    { padding: 14px 18px; }

  /* Remove hover-only effects that feel broken on touch */
  .course-card:hover, .mat-card:hover, .testi-card:hover { transform: none; box-shadow: none; }
}

/* ── MOBILE NAV ANIMATION ───────────────────────────────── */
.mobile-menu {
  transform: translateY(-10px);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
  display: flex !important;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ── ENHANCED SCROLL REVEAL STAGGER ────────────────────── */
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .40s; }

/* ── QUIZ WIDGET MOBILE ─────────────────────────────────── */
@media (max-width: 600px) {
  .quiz-widget { padding: 22px 18px; border-radius: 18px; }
  .quiz-question { font-size: 15px; }
  .quiz-opt      { font-size: 13px; }
  .quiz-actions  { flex-direction: column; align-items: stretch; gap: 10px; }
  .quiz-actions .btn { width: 100%; justify-content: center; }
}

/* ── SMOOTH PAGE TRANSITIONS ────────────────────────────── */
body { animation: fadeIn .3s ease; }

/* ── GLASS CARD EFFECT ──────────────────────────────────── */
.glass-card {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.3);
}

/* ── COURSE CARD HOVER GLOW ─────────────────────────────── */
.course-card:hover .course-thumb { filter: brightness(1.08); }
.course-card:hover .buy-btn { background: var(--navy); }

/* ── PULSE ANIMATION on LIVE DOT ────────────────────────── */
.live-dot { animation: blink 1.2s infinite, pulse-ring 2s infinite; }

/* ── QUIZ RESULT CELEBRATION ────────────────────────────── */
.quiz-result .score { animation: fadeUp .5s ease both; }
.quiz-result .result-msg { animation: fadeUp .5s .15s ease both; }

/* ── FOOTER SMOOTH LINKS ────────────────────────────────── */
.footer-col ul a { position: relative; }
.footer-col ul a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .2s ease;
}
.footer-col ul a:hover::after { width: 100%; }

/* ── SAFE AREA SUPPORT (iPhone notch) ───────────────────── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  footer { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
  .mobile-menu { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}
