/* ================================================================
   YONLEARN — assets/css/yonlearn.css
   Complete theme stylesheet
================================================================ */

/* ── VARIABLES ── */
:root {
  --navy:  #0a1628;
  --royal: #1a3a6b;
  --gold:  #f0a500;
  --amber: #ff7c1f;
  --green: #00c97b;
  --red:   #ff4d6d;
  --white: #ffffff;
  --off:   #f4f6fb;
  --muted: #8a9ab5;
  --border: rgba(26,58,107,0.10);
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'DM Sans',sans-serif;
  background:var(--white);
  color:var(--navy);
  overflow-x:hidden;
}
img { max-width:100%; height:auto; }
a { text-decoration:none; }

/* ── TYPOGRAPHY ── */
.section-tag {
  display:inline-block;
  background:rgba(26,58,107,0.08);
  color:var(--royal);
  padding:5px 14px;
  border-radius:100px;
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.8px;
  text-transform:uppercase;
  margin-bottom:12px;
}
.section-title {
  font-family:'Syne',sans-serif;
  font-weight:800;
  font-size:clamp(1.6rem,2.8vw,2.4rem);
  color:var(--navy);
  line-height:1.2;
  letter-spacing:-.5px;
  margin-bottom:12px;
}
.section-sub {
  color:var(--muted);
  font-size:.95rem;
  line-height:1.7;
  max-width:520px;
}
section { padding:80px 6vw; }

/* ── BUTTONS ── */
.btn-primary {
  background:linear-gradient(135deg,var(--gold),var(--amber));
  color:var(--navy);
  border:none;
  padding:14px 28px;
  border-radius:10px;
  font-family:'Syne',sans-serif;
  font-weight:700;
  font-size:.95rem;
  cursor:pointer;
  transition:transform .2s,box-shadow .2s;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 12px 32px rgba(240,165,0,0.4); }

.btn-outline {
  background:transparent;
  color:var(--white);
  border:1.5px solid rgba(255,255,255,0.25);
  padding:14px 28px;
  border-radius:10px;
  font-family:'Syne',sans-serif;
  font-weight:600;
  font-size:.95rem;
  cursor:pointer;
  transition:all .2s;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.btn-outline:hover { border-color:var(--gold); color:var(--gold); }

/* ── NAV ── */
#yonlearn-nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 6vw; height:70px;
  background:rgba(10,22,40,0.97);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(240,165,0,0.15);
}
.logo {
  font-family:'Syne',sans-serif;
  font-weight:800;
  font-size:1.4rem;
  color:var(--white);
  letter-spacing:-.5px;
}
.logo span { color:var(--gold); }
.nav-links { display:flex; gap:2rem; list-style:none; }
.nav-links a { color:rgba(255,255,255,0.75); font-size:.9rem; font-weight:500; transition:color .2s; }
.nav-links a:hover { color:var(--gold); }
.nav-right { display:flex; align-items:center; }
.nav-cta {
  background:var(--gold); color:var(--navy);
  padding:10px 22px; border-radius:8px;
  font-family:'Syne',sans-serif; font-weight:700; font-size:.88rem;
  transition:transform .2s,box-shadow .2s;
}
.nav-cta:hover { transform:translateY(-2px); box-shadow:0 6px 24px rgba(240,165,0,0.4); }
.nav-hamburger {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:6px;
}
.nav-hamburger span {
  display:block; width:24px; height:2px;
  background:var(--white); border-radius:2px; transition:all .3s;
}

/* Mobile menu */
.mobile-menu {
  display:none;
  position:fixed; top:70px; left:0; right:0; z-index:199;
  background:var(--navy);
  border-bottom:1px solid rgba(255,255,255,0.08);
  padding:20px 6vw 28px;
}
.mobile-menu.open { display:block; }
.mobile-menu ul { list-style:none; display:flex; flex-direction:column; gap:4px; }
.mobile-menu a {
  display:block; padding:12px 0;
  color:rgba(255,255,255,0.8); font-size:1rem; font-weight:500;
  border-bottom:1px solid rgba(255,255,255,0.06);
  transition:color .2s;
}
.mobile-menu a:hover { color:var(--gold); }
.mobile-cta {
  display:inline-block;
  margin-top:12px; padding:12px 24px;
  background:var(--gold); color:var(--navy) !important;
  border-radius:8px; font-family:'Syne',sans-serif; font-weight:700;
}

/* ── HERO ── */
.hero {
  min-height:100vh;
  background:var(--navy);
  position:relative; overflow:hidden;
  display:flex; align-items:center;
  padding:120px 6vw 80px;
}
.hero::before {
  content:''; position:absolute; top:-120px; right:-100px;
  width:700px; height:700px; border-radius:50%;
  background:radial-gradient(circle,rgba(26,58,107,0.9) 0%,transparent 70%);
  pointer-events:none;
}
.hero::after {
  content:''; position:absolute; bottom:-200px; left:-80px;
  width:500px; height:500px; border-radius:50%;
  background:radial-gradient(circle,rgba(240,165,0,0.08) 0%,transparent 70%);
  pointer-events:none;
}
.hero-grid {
  position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,0.04) 1px,transparent 1px);
  background-size:36px 36px;
  pointer-events:none;
}
.hero-inner {
  position:relative; z-index:2; max-width:1200px; width:100%;
  display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(240,165,0,0.12); border:1px solid rgba(240,165,0,0.3);
  color:var(--gold); padding:6px 14px; border-radius:100px;
  font-size:.78rem; font-weight:500; letter-spacing:.5px; margin-bottom:24px;
  animation:fadeUp .6s ease both;
}
.hero-badge .dot {
  width:6px; height:6px; border-radius:50%;
  background:var(--gold); animation:pulse 1.8s infinite;
}
.hero-title {
  font-family:'Syne',sans-serif; font-weight:800;
  font-size:clamp(2.2rem,4vw,3.6rem); line-height:1.1;
  color:var(--white); letter-spacing:-1px; margin-bottom:20px;
  animation:fadeUp .7s .1s ease both;
}
.hero-title .accent { color:var(--gold); }
.hero-title .line2 {
  display:block; color:rgba(255,255,255,0.55);
  font-size:.7em; margin-top:4px; letter-spacing:0;
}
.hero-sub {
  color:rgba(255,255,255,0.6); font-size:1.05rem; line-height:1.7;
  max-width:480px; margin-bottom:36px;
  animation:fadeUp .7s .2s ease both;
}
.hero-btns { display:flex; gap:14px; flex-wrap:wrap; animation:fadeUp .7s .3s ease both; }
.hero-stats { display:flex; gap:32px; margin-top:48px; animation:fadeUp .7s .4s ease both; }
.stat-num { font-family:'Syne',sans-serif; font-weight:800; font-size:1.8rem; color:var(--gold); line-height:1; }
.stat-label { color:rgba(255,255,255,0.45); font-size:.8rem; margin-top:4px; }

/* Hero visual */
.hero-visual { position:relative; animation:fadeUp .8s .2s ease both; }
.hero-pill {
  position:absolute;
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.10);
  border-radius:100px; padding:8px 16px;
  color:rgba(255,255,255,0.6); font-size:.78rem;
  backdrop-filter:blur(8px); white-space:nowrap;
}
.pill1 { top:-18px; right:30px; animation:float 4s ease-in-out infinite; }
.pill2 { bottom:-16px; left:20px; animation:float 4s 2s ease-in-out infinite; }

/* Hero exam card */
.exam-card {
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.10);
  border-radius:20px; padding:28px; backdrop-filter:blur(12px);
}
.exam-card-header { display:flex; align-items:center; gap:12px; margin-bottom:20px; }
.exam-card-icon {
  width:44px; height:44px; border-radius:12px;
  background:linear-gradient(135deg,var(--gold),var(--amber));
  display:flex; align-items:center; justify-content:center; font-size:1.3rem;
}
.exam-card-title { font-family:'Syne',sans-serif; font-weight:700; color:var(--white); font-size:1rem; }
.exam-card-sub { color:var(--muted); font-size:.78rem; }
.question-box {
  background:rgba(255,255,255,0.04); border-radius:12px;
  padding:16px; margin-bottom:16px; border:1px solid rgba(255,255,255,0.06);
}
.question-text { color:rgba(255,255,255,0.85); font-size:.88rem; line-height:1.6; margin-bottom:14px; }
.options { display:flex; flex-direction:column; gap:8px; }
.option {
  display:flex; align-items:center; gap:10px;
  background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.06);
  border-radius:8px; padding:10px 12px; cursor:pointer;
  transition:all .2s; font-size:.84rem; color:rgba(255,255,255,0.7);
}
.option:hover { border-color:rgba(240,165,0,0.4); color:var(--gold); background:rgba(240,165,0,0.06); }
.option.selected { border-color:var(--green); background:rgba(0,201,123,0.1); color:var(--green); }
.option.wrong    { border-color:var(--amber); background:rgba(255,124,31,0.1); color:var(--amber); }
.opt-letter {
  width:24px; height:24px; border-radius:6px;
  background:rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center;
  font-family:'Syne',sans-serif; font-weight:700; font-size:.72rem;
  color:var(--muted); flex-shrink:0;
}
.option.selected .opt-letter { background:var(--green); color:var(--white); }
.card-footer { display:flex; align-items:center; justify-content:space-between; margin-top:14px; }
.timer-badge {
  background:rgba(240,165,0,0.12); border:1px solid rgba(240,165,0,0.2);
  color:var(--gold); padding:6px 12px; border-radius:8px;
  font-size:.8rem; font-weight:600; font-family:'Syne',sans-serif;
}
.submit-btn {
  background:var(--green); color:var(--white); border:none;
  padding:8px 18px; border-radius:8px;
  font-family:'Syne',sans-serif; font-weight:700; font-size:.82rem;
  cursor:pointer; transition:transform .2s,box-shadow .2s;
}
.submit-btn:hover { transform:translateY(-1px); box-shadow:0 4px 16px rgba(0,201,123,0.4); }

/* ── SEARCH ── */
.search-section { background:var(--off); padding:56px 6vw; text-align:center; position:relative; }
.search-label { font-family:'Syne',sans-serif; font-weight:700; font-size:1.5rem; color:var(--navy); margin-bottom:8px; }
.search-sub { color:var(--muted); font-size:.92rem; margin-bottom:28px; }
.search-bar {
  max-width:620px; margin:0 auto 12px;
  display:flex; background:var(--white);
  border:2px solid var(--border); border-radius:14px;
  overflow:hidden; box-shadow:0 4px 24px rgba(10,22,40,0.08);
  transition:border-color .2s,box-shadow .2s;
}
.search-bar:focus-within { border-color:var(--royal); box-shadow:0 4px 24px rgba(26,58,107,0.15); }
.search-bar input {
  flex:1; border:none; outline:none; padding:16px 20px;
  font-family:'DM Sans',sans-serif; font-size:.95rem;
  color:var(--navy); background:transparent;
}
.search-bar input::placeholder { color:var(--muted); }
.search-bar button {
  background:var(--navy); color:var(--white); border:none;
  padding:0 24px; cursor:pointer;
  font-family:'Syne',sans-serif; font-weight:600; font-size:.88rem;
  transition:background .2s;
}
.search-bar button:hover { background:var(--royal); }
.search-results-dropdown {
  position:absolute; top:calc(100% - 60px); left:50%; transform:translateX(-50%);
  width:min(620px, 90vw);
  background:var(--white); border:1.5px solid var(--border);
  border-radius:12px; box-shadow:0 12px 40px rgba(10,22,40,0.12);
  overflow:hidden; z-index:50;
}
.search-result-item {
  display:flex; align-items:center; gap:12px;
  padding:12px 16px; cursor:pointer; transition:background .15s;
  border-bottom:1px solid var(--border);
}
.search-result-item:last-child { border-bottom:none; }
.search-result-item:hover { background:var(--off); }
.search-result-icon { font-size:1.2rem; flex-shrink:0; }
.search-result-title { font-weight:600; font-size:.88rem; color:var(--navy); }
.search-result-type { font-size:.72rem; color:var(--muted); }
.quick-chips { display:flex; gap:10px; flex-wrap:wrap; justify-content:center; margin-top:16px; }
.chip {
  background:var(--white); border:1.5px solid var(--border);
  border-radius:100px; padding:8px 18px;
  font-size:.84rem; color:var(--navy); font-weight:500;
  cursor:pointer; transition:all .2s;
}
.chip:hover, .chip.active {
  background:var(--navy); color:var(--white); border-color:var(--navy);
}

/* ── UNIVERSITIES ── */
.unis { background:var(--white); }
.unis-head { display:flex; align-items:flex-end; justify-content:space-between; margin-bottom:36px; flex-wrap:wrap; gap:16px; }
.view-all { color:var(--royal); font-weight:600; font-size:.88rem; display:flex; align-items:center; gap:4px; transition:gap .2s; }
.view-all:hover { gap:8px; }
.tabs { display:flex; gap:0; background:var(--off); border-radius:12px; padding:4px; width:fit-content; margin-bottom:28px; }
.tab { padding:9px 22px; border-radius:9px; border:none; background:transparent; font-family:'DM Sans',sans-serif; font-weight:500; font-size:.88rem; color:var(--muted); cursor:pointer; transition:all .2s; }
.tab.active { background:var(--white); color:var(--navy); font-weight:600; box-shadow:0 2px 8px rgba(10,22,40,0.08); }

.uni-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; margin-bottom:48px; }
.uni-card {
  background:var(--white); border:1.5px solid var(--border);
  border-radius:16px; padding:20px 18px;
  cursor:pointer; transition:all .25s;
  position:relative; overflow:hidden;
}
.uni-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg,var(--royal),var(--gold));
  transform:scaleX(0); transform-origin:left; transition:transform .25s;
}
.uni-card:hover, .uni-card.open {
  border-color:rgba(26,58,107,0.25);
  transform:translateY(-3px);
  box-shadow:0 12px 32px rgba(10,22,40,0.10);
}
.uni-card:hover::before, .uni-card.open::before { transform:scaleX(1); }
.uni-card.open { border-color:var(--royal); background:rgba(26,58,107,0.03); }
.uni-icon { width:44px; height:44px; border-radius:10px; background:var(--off); display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:12px; }
.uni-name { font-family:'Syne',sans-serif; font-weight:700; font-size:.88rem; color:var(--navy); margin-bottom:4px; line-height:1.3; }
.uni-meta { color:var(--muted); font-size:.75rem; }
.uni-count { position:absolute; top:14px; right:14px; background:rgba(26,58,107,0.07); color:var(--royal); padding:3px 9px; border-radius:100px; font-size:.72rem; font-weight:600; }
.uni-arrow { position:absolute; bottom:14px; right:14px; color:var(--muted); font-size:.8rem; transition:transform .2s,color .2s; }
.uni-card:hover .uni-arrow, .uni-card.open .uni-arrow { color:var(--royal); transform:rotate(90deg); }

/* ── DRILL-DOWN PANEL ── */
.drill-panel {
  display:none; background:var(--off);
  border:1.5px solid var(--border); border-radius:20px;
  padding:36px; margin-bottom:32px;
  animation:slideDown .3s ease;
}
.drill-panel.active { display:block; }

.breadcrumb { display:flex; align-items:center; gap:8px; margin-bottom:28px; flex-wrap:wrap; }
.bc-item { font-size:.8rem; color:var(--muted); cursor:pointer; transition:color .2s; }
.bc-item:hover, .bc-item.active { color:var(--royal); font-weight:600; }
.bc-item.root { color:var(--navy); font-weight:700; }
.bc-sep { color:var(--muted); font-size:.75rem; }

.step-title { font-family:'Syne',sans-serif; font-weight:800; font-size:1.2rem; color:var(--navy); margin-bottom:6px; }
.step-sub { color:var(--muted); font-size:.85rem; margin-bottom:24px; }

/* Category card grid */
.cat-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:12px; }
.cat-card {
  background:var(--white); border:1.5px solid var(--border);
  border-radius:12px; padding:16px 14px;
  cursor:pointer; transition:all .2s;
  display:flex; flex-direction:column; gap:6px;
  position:relative;
}
.cat-card:hover, .cat-card.sel {
  border-color:var(--royal); background:rgba(26,58,107,0.04); transform:translateY(-2px);
}
.cat-card.sel { border-color:var(--gold); background:rgba(240,165,0,0.05); }
.cat-icon { font-size:1.3rem; margin-bottom:4px; }
.cat-name { font-family:'Syne',sans-serif; font-weight:700; font-size:.82rem; color:var(--navy); line-height:1.3; }
.cat-count { color:var(--muted); font-size:.72rem; }
.cat-badge { position:absolute; top:10px; right:10px; background:rgba(26,58,107,0.07); color:var(--royal); font-size:.65rem; font-weight:600; padding:2px 7px; border-radius:100px; }

/* Level grid */
.level-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:10px; }
.level-card {
  background:var(--white); border:1.5px solid var(--border);
  border-radius:10px; padding:14px; cursor:pointer;
  transition:all .2s; text-align:center;
}
.level-card:hover, .level-card.sel { border-color:var(--royal); background:rgba(26,58,107,0.04); }
.level-num { font-family:'Syne',sans-serif; font-weight:800; font-size:1.5rem; color:var(--navy); }
.level-label { font-size:.73rem; color:var(--muted); margin-top:2px; }

/* Semester grid */
.sem-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; max-width:440px; }
.sem-card {
  background:var(--white); border:1.5px solid var(--border);
  border-radius:10px; padding:16px 20px;
  cursor:pointer; transition:all .2s;
  display:flex; align-items:center; gap:12px;
}
.sem-card:hover, .sem-card.sel { border-color:var(--gold); background:rgba(240,165,0,0.05); }
.sem-icon { font-size:1.4rem; }
.sem-name { font-family:'Syne',sans-serif; font-weight:700; font-size:.9rem; color:var(--navy); }
.sem-sub { font-size:.73rem; color:var(--muted); }

/* Loader */
.drill-loader { display:flex; flex-direction:column; align-items:center; gap:12px; padding:32px; grid-column:1/-1; color:var(--muted); font-size:.88rem; }
.loader-spinner {
  width:32px; height:32px; border:3px solid var(--border);
  border-top-color:var(--royal); border-radius:50%;
  animation:spin .8s linear infinite;
}

/* ── LIVE SESSION PANEL ── */
.live-panel {
  background:var(--navy); border-radius:20px;
  padding:32px; margin-top:24px;
  animation:slideDown .3s ease;
}
.live-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; flex-wrap:wrap; gap:14px; }
.live-title { font-family:'Syne',sans-serif; font-weight:800; font-size:1.1rem; color:var(--white); }
.live-subtitle { color:rgba(255,255,255,0.45); font-size:.8rem; margin-top:4px; }
.live-badge {
  display:flex; align-items:center; gap:6px;
  background:rgba(255,77,109,0.15); border:1px solid rgba(255,77,109,0.3);
  color:var(--red); padding:6px 14px; border-radius:100px;
  font-size:.78rem; font-weight:700; letter-spacing:.5px;
}
.live-dot { width:8px; height:8px; border-radius:50%; background:var(--red); animation:pulse 1.2s infinite; }
.live-meta { display:flex; gap:20px; flex-wrap:wrap; margin-bottom:24px; }
.live-meta-item { display:flex; align-items:center; gap:8px; color:rgba(255,255,255,0.55); font-size:.82rem; }
.live-meta-item strong { color:var(--gold); }
.live-progress { background:rgba(255,255,255,0.08); border-radius:100px; height:6px; margin:20px 0 8px; }
.live-prog-fill { height:100%; background:linear-gradient(90deg,var(--green),#00e88d); border-radius:100px; transition:width .6s ease; }
.live-prog-label { display:flex; justify-content:space-between; font-size:.73rem; color:rgba(255,255,255,0.4); }
.live-courses-label {
  font-family:'Syne',sans-serif; font-weight:700;
  color:rgba(255,255,255,0.6); font-size:.75rem;
  text-transform:uppercase; letter-spacing:.8px; margin:24px 0 12px;
}
.subject-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:12px; margin-bottom:24px; }
.subject-card {
  background:rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.08);
  border-radius:12px; padding:16px; cursor:pointer;
  transition:all .2s; display:flex; flex-direction:column; gap:6px;
}
.subject-card:hover { background:rgba(255,255,255,0.09); border-color:rgba(240,165,0,0.3); transform:translateY(-2px); }
.subject-name { font-family:'Syne',sans-serif; font-weight:700; font-size:.86rem; color:var(--white); }
.subject-code { color:var(--muted); font-size:.73rem; }
.subject-count { display:flex; align-items:center; gap:6px; margin-top:6px; flex-wrap:wrap; }
.subject-pill { background:rgba(240,165,0,0.12); color:var(--gold); font-size:.68rem; font-weight:600; padding:2px 9px; border-radius:100px; }
.subject-pill.live-pill { background:rgba(255,77,109,0.15); color:var(--red); }
.live-actions { display:flex; gap:12px; flex-wrap:wrap; }
.live-btn {
  padding:12px 24px; border-radius:10px;
  font-family:'Syne',sans-serif; font-weight:700; font-size:.88rem;
  cursor:pointer; border:none; transition:all .2s;
  display:inline-flex; align-items:center; gap:8px;
}
.live-btn.primary { background:linear-gradient(135deg,var(--gold),var(--amber)); color:var(--navy); }
.live-btn.primary:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(240,165,0,0.4); }
.live-btn.outline { background:transparent; border:1.5px solid rgba(255,255,255,0.2); color:var(--white); }
.live-btn.outline:hover { border-color:var(--gold); color:var(--gold); }
.live-btn.red { background:rgba(255,77,109,0.15); border:1px solid rgba(255,77,109,0.3); color:var(--red); }
.live-btn.red:hover { background:rgba(255,77,109,0.25); }

/* ── FEATURES ── */
.features { background:var(--navy); }
.features .section-tag { background:rgba(240,165,0,0.15); color:var(--gold); }
.features .section-title { color:var(--white); }
.features .section-sub { color:rgba(255,255,255,0.5); }
.feat-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:24px; margin-top:48px; }
.feat-card {
  background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08);
  border-radius:18px; padding:28px 24px; transition:all .25s;
}
.feat-card:hover { background:rgba(255,255,255,0.07); transform:translateY(-3px); border-color:rgba(240,165,0,0.2); }
.feat-icon { width:52px; height:52px; border-radius:14px; margin-bottom:18px; display:flex; align-items:center; justify-content:center; font-size:1.5rem; }
.feat-title { font-family:'Syne',sans-serif; font-weight:700; color:var(--white); font-size:1.02rem; margin-bottom:8px; }
.feat-text { color:rgba(255,255,255,0.5); font-size:.88rem; line-height:1.7; }

/* ── DEMO ── */
.demo { background:var(--off); }
.demo-inner { display:grid; grid-template-columns:1fr 1.2fr; gap:64px; align-items:center; }
.demo-list { margin-top:24px; display:flex; flex-direction:column; gap:14px; }
.demo-item { display:flex; align-items:center; gap:12px; font-size:.9rem; color:var(--navy); }
.check { width:24px; height:24px; border-radius:6px; background:rgba(0,201,123,0.12); color:var(--green); display:flex; align-items:center; justify-content:center; font-size:.85rem; flex-shrink:0; }
.demo-card { background:var(--white); border-radius:20px; padding:28px; box-shadow:0 12px 48px rgba(10,22,40,0.10); border:1.5px solid var(--border); }
.demo-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.demo-q-label { font-family:'Syne',sans-serif; font-weight:700; font-size:.8rem; color:var(--muted); text-transform:uppercase; letter-spacing:.8px; }
.demo-timer-text { color:var(--gold); font-family:'Syne',sans-serif; font-size:.85rem; font-weight:700; }
.demo-timer-bar { height:6px; background:var(--off); border-radius:100px; margin-bottom:20px; overflow:hidden; }
.demo-timer-fill { height:100%; width:65%; background:linear-gradient(90deg,var(--green),#00e88d); border-radius:100px; transition:width .3s; }
.demo-question { font-size:.96rem; color:var(--navy); line-height:1.65; margin-bottom:20px; }
.demo-options { display:flex; flex-direction:column; gap:10px; }
.demo-option {
  display:flex; align-items:center; gap:12px;
  border:1.5px solid var(--border); border-radius:10px;
  padding:12px 14px; cursor:pointer; transition:all .2s;
  font-size:.87rem; color:var(--navy);
}
.demo-option:hover { border-color:var(--royal); background:rgba(26,58,107,0.03); }
.demo-option.sel { border-color:var(--green); background:rgba(0,201,123,0.06); color:var(--green); font-weight:600; }
.demo-opt-dot {
  width:20px; height:20px; border-radius:50%;
  border:2px solid var(--border); flex-shrink:0;
  transition:all .2s; display:flex; align-items:center; justify-content:center;
}
.demo-option.sel .demo-opt-dot { border-color:var(--green); background:var(--green); }
.demo-footer { display:flex; justify-content:space-between; align-items:center; margin-top:20px; }
.demo-progress { font-size:.8rem; color:var(--muted); }
.demo-next { background:var(--navy); color:var(--white); border:none; padding:10px 22px; border-radius:9px; font-family:'Syne',sans-serif; font-weight:700; font-size:.85rem; cursor:pointer; transition:all .2s; }
.demo-next:hover { background:var(--royal); transform:translateY(-1px); }

/* ── TRUST ── */
.trust { background:var(--white); text-align:center; }
.trust-stats { display:flex; justify-content:center; gap:64px; flex-wrap:wrap; margin-bottom:64px; }
.trust-num { font-family:'Syne',sans-serif; font-weight:800; font-size:2.8rem; color:var(--navy); line-height:1; }
.trust-label { color:var(--muted); font-size:.85rem; margin-top:6px; }
.testimonials { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
.testi-card { background:var(--off); border-radius:18px; padding:24px; border:1.5px solid var(--border); text-align:left; }
.stars { color:var(--gold); font-size:.9rem; margin-bottom:12px; }
.testi-text { font-size:.9rem; line-height:1.7; color:var(--navy); margin-bottom:16px; font-style:italic; }
.testi-author { display:flex; align-items:center; gap:10px; }
.testi-avatar { width:38px; height:38px; border-radius:50%; background:linear-gradient(135deg,var(--royal),var(--gold)); display:flex; align-items:center; justify-content:center; color:var(--white); font-family:'Syne',sans-serif; font-weight:700; font-size:.9rem; }
.testi-name { font-family:'Syne',sans-serif; font-weight:700; font-size:.85rem; color:var(--navy); }
.testi-school { color:var(--muted); font-size:.75rem; }

/* ── CTA ── */
.cta-section {
  background:linear-gradient(135deg,var(--navy) 0%,var(--royal) 100%);
  text-align:center; padding:100px 6vw; position:relative; overflow:hidden;
}
.cta-section::before { content:''; position:absolute; top:-100px; right:-100px; width:400px; height:400px; border-radius:50%; background:radial-gradient(circle,rgba(240,165,0,0.12) 0%,transparent 70%); pointer-events:none; }
.cta-title { font-family:'Syne',sans-serif; font-weight:800; font-size:clamp(2rem,4vw,3.2rem); color:var(--white); line-height:1.15; letter-spacing:-.5px; margin-bottom:16px; position:relative; z-index:1; }
.cta-sub { color:rgba(255,255,255,0.6); font-size:1rem; margin-bottom:36px; position:relative; z-index:1; }
.cta-btns { display:flex; justify-content:center; gap:16px; flex-wrap:wrap; position:relative; z-index:1; }

/* ── FOOTER ── */
#yonlearn-footer { background:var(--navy); padding:60px 6vw 32px; border-top:1px solid rgba(255,255,255,0.06); }
.footer-inner { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; margin-bottom:48px; }
.footer-about { color:rgba(255,255,255,0.45); font-size:.85rem; line-height:1.7; margin-bottom:20px; }
.footer-wa { display:inline-flex; align-items:center; gap:8px; background:rgba(0,201,123,0.12); border:1px solid rgba(0,201,123,0.2); color:var(--green); padding:9px 16px; border-radius:9px; font-size:.82rem; font-weight:600; transition:all .2s; }
.footer-wa:hover { background:rgba(0,201,123,0.2); }
.footer-col h4 { font-family:'Syne',sans-serif; font-weight:700; color:var(--white); font-size:.88rem; margin-bottom:16px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col a { color:rgba(255,255,255,0.45); font-size:.83rem; transition:color .2s; }
.footer-col a:hover { color:var(--gold); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.06); padding-top:24px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
.footer-copy { color:rgba(255,255,255,0.3); font-size:.78rem; }
.footer-terms { display:flex; gap:20px; }
.footer-terms a { color:rgba(255,255,255,0.3); font-size:.78rem; transition:color .2s; }
.footer-terms a:hover { color:rgba(255,255,255,0.6); }

/* ── ANIMATIONS ── */
@keyframes fadeUp   { from{opacity:0;transform:translateY(24px);}  to{opacity:1;transform:translateY(0);} }
@keyframes slideDown{ from{opacity:0;transform:translateY(-10px);} to{opacity:1;transform:translateY(0);} }
@keyframes float    { 0%,100%{transform:translateY(0);}  50%{transform:translateY(-8px);} }
@keyframes pulse    { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.4;transform:scale(1.5);} }
@keyframes spin     { to{transform:rotate(360deg);} }

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

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .footer-inner{ grid-template-columns:1fr 1fr; gap:32px; }
}
@media(max-width:768px){
  .hero-inner      { grid-template-columns:1fr; }
  .hero-visual     { display:none; }
  .nav-links       { display:none; }
  .nav-hamburger   { display:flex; }
  .demo-inner      { grid-template-columns:1fr; }
  .unis-head       { flex-direction:column; align-items:flex-start; }
  .trust-stats     { gap:32px; }
  .sem-grid        { grid-template-columns:1fr; max-width:100%; }
  .footer-inner    { grid-template-columns:1fr; }
  .live-actions    { flex-direction:column; }
  .live-btn        { width:100%; justify-content:center; }
}
@media(max-width:480px){
  section           { padding:60px 5vw; }
  .drill-panel      { padding:20px; }
  .tabs             { width:100%; overflow-x:auto; }
  .cat-grid         { grid-template-columns:1fr 1fr; }
}
