:root {
  --bg: #070b16;
  --bg-2: #0a1122;
  --panel: rgba(255, 255, 255, 0.032);
  --panel-solid: #0e1526;
  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #e9edf8;
  --muted: #8b96b3;
  --accent: #4d6bfe;
  --accent-2: #22d3ee;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 20px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(77, 107, 254, 0.16), transparent 60%),
    radial-gradient(700px 400px at 5% 10%, rgba(34, 211, 238, 0.07), transparent 60%);
  background-attachment: fixed;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(38px, 4.9vw, 66px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.4vw, 44px); }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }
small { font-size: 13px; }

.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 90px 0; }
.section-tight { padding: 44px 0 70px; }
.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.center { text-align: center; }
.muted { color: var(--muted); }
.accent { color: var(--accent-2); }
.small { font-size: 14px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 620px; }
.lead-sm { font-size: 17px; color: var(--muted); max-width: 680px; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; color: var(--accent-2);
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); color: #fff; }
.btn-primary {
  background: linear-gradient(135deg, #5b76ff, #3f56e0);
  color: #fff; box-shadow: 0 10px 30px rgba(77, 107, 254, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 36px rgba(77, 107, 254, 0.5); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 17px 30px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 22, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 34px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; display: block; object-fit: cover;
}
.logo-text { font-size: 17px; letter-spacing: -0.02em; }
.logo-text span { color: var(--muted); font-weight: 600; margin-left: 4px; }
.nav { display: flex; gap: 26px; margin-left: 8px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.nav a:hover, .nav a.active { color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* hero */
.hero { position: relative; padding: 88px 0 76px; overflow: hidden; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.hero-glow-1 { width: 620px; height: 620px; right: -160px; top: -200px; background: rgba(77, 107, 254, 0.28); }
.hero-glow-2 { width: 420px; height: 420px; left: -180px; bottom: -200px; background: rgba(34, 211, 238, 0.12); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px;
  padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 12.5px; color: var(--muted); background: rgba(255, 255, 255, 0.03);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.15); }
.hero h1 { margin-bottom: 22px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 16px; }
.hero-note { color: var(--muted); font-size: 13px; }
.stats { display: flex; gap: 38px; margin-top: 46px; padding-top: 28px; border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 28px; letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-size: 13px; }

.hero-card {
  background: linear-gradient(180deg, rgba(20, 30, 56, 0.9), rgba(10, 16, 32, 0.9));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow);
}
.hero-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pill { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(77, 107, 254, 0.14); color: #aebcff; }
.progress-line { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; margin-bottom: 20px; }
.progress-line span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.route { display: flex; flex-direction: column; gap: 8px; }
.route-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px;
  border: 1px solid transparent; color: var(--muted);
}
.route-item b { display: block; color: var(--text); font-size: 14px; }
.route-item small { font-size: 12px; }
.route-item.done { opacity: 0.65; }
.route-item.active { background: rgba(77, 107, 254, 0.09); border-color: rgba(77, 107, 254, 0.35); }
.route-num { font-size: 11px; font-weight: 800; color: var(--accent-2); width: 22px; }
.route-status { margin-left: auto; font-size: 11px; color: var(--accent-2); }
.check { margin-left: auto; color: var(--ok); }
.hero-card-foot { display: flex; justify-content: space-between; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }

/* section head */
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* grids and cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: rgba(77, 107, 254, 0.45); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(77, 107, 254, 0.14); color: #aebcff; font-size: 19px; font-weight: 800; margin-bottom: 18px;
}
.card p { color: var(--muted); font-size: 15px; }
.tag { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--accent-2); font-weight: 700; }

/* module list */
.module-list { border-top: 1px solid var(--line); margin-bottom: 34px; }
.module-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 18px; align-items: center;
  padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background 0.2s;
}
.module-row:hover { background: rgba(255, 255, 255, 0.02); }
.module-index { font-size: 13px; font-weight: 800; color: var(--accent-2); }
.module-body h3 { margin-bottom: 4px; }
.module-body p { margin: 0; color: var(--muted); font-size: 14px; }
.module-count { color: var(--muted); font-size: 13px; }

/* steps */
.step { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.step span { display: block; color: var(--accent-2); font-weight: 800; font-size: 13px; margin-bottom: 12px; }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 14px; margin: 0; }

/* split feature */
.feature-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.check-list { display: flex; flex-direction: column; gap: 10px; margin: 22px 0; }
.check-list li { position: relative; padding-left: 28px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.pay-card {
  background: linear-gradient(180deg, rgba(20, 30, 56, 0.9), rgba(10, 16, 32, 0.9));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow);
}
.pay-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pay-row span { color: var(--muted); }
.pay-total { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; font-size: 16px; }

/* pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 26px;
}
.price-card.featured {
  border-color: rgba(77, 107, 254, 0.7);
  background: linear-gradient(180deg, rgba(77, 107, 254, 0.12), rgba(255, 255, 255, 0.03));
  box-shadow: 0 20px 60px rgba(77, 107, 254, 0.22);
}
.price-badge {
  position: absolute; top: -12px; left: 26px; padding: 4px 10px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.04em;
}
.price-card h3 { font-size: 22px; margin-bottom: 4px; }
.price-tagline { color: var(--muted); font-size: 13px; min-height: 38px; }
.price { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 2px; }
.price b { font-size: 36px; letter-spacing: -0.03em; }
.price s { color: var(--muted); font-size: 15px; }
.price-month { color: var(--muted); font-size: 12.5px; margin-bottom: 20px; }
.features { display: flex; flex-direction: column; gap: 9px; margin-bottom: 26px; flex: 1; }
.features li { position: relative; padding-left: 24px; font-size: 14px; color: #c9d1e6; }
.features li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: var(--panel);
}
.faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; }
.faq-wide { max-width: 820px; }

/* CTA band */
.cta-band { padding: 70px 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 40px 44px; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, rgba(77, 107, 254, 0.25), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(77, 107, 254, 0.45);
}
.cta-inner h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.cta-inner p { color: var(--muted); margin: 0; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 50px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-note { color: var(--muted); font-size: 13.5px; max-width: 340px; margin-top: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: #c9d1e6; }
.footer-small { color: var(--muted); font-size: 12px; margin: 6px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.logo-footer { margin-bottom: 4px; }

/* page head */
.page-head { padding: 70px 0 20px; }
.page-head h1 { margin-bottom: 16px; }

/* program */
.program { display: flex; flex-direction: column; gap: 30px; }
.program-module { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); overflow: hidden; }
.program-head { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.program-head h2 { font-size: 22px; margin-bottom: 2px; }
.program-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.program-head .muted { margin-left: auto; font-size: 13px; }
.lesson-list { display: flex; flex-direction: column; }
.lesson-row {
  display: flex; align-items: center; gap: 14px; padding: 15px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); color: #d5dcef; font-size: 14.5px;
  transition: background 0.15s ease;
}
.lesson-row:last-child { border-bottom: 0; }
.lesson-row:hover { background: rgba(255, 255, 255, 0.035); color: #fff; }
.lesson-row.is-done { background: rgba(52, 211, 153, 0.05); }
.lesson-row.is-locked { opacity: 0.62; }
.lesson-state { width: 22px; color: var(--accent-2); font-size: 13px; }
.lesson-dur { color: var(--muted); font-size: 12.5px; width: 58px; flex: none; }
.lesson-title { flex: 1; }
.lesson-arrow { color: var(--muted); }
.chip { font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); color: var(--muted); border: 1px solid var(--line); }
.chip-free { color: var(--ok); border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }
.chip-done { color: var(--ok); border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.08); }

.track-switch { display: flex; gap: 12px; flex-wrap: wrap; }
.track-switch form { margin: 0; }
.track-btn {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--text); cursor: pointer; font: inherit; text-align: left;
}
.track-btn span { color: var(--muted); font-size: 12px; }
.track-btn.active { border-color: var(--accent); background: rgba(77, 107, 254, 0.12); }

/* auth/forms */
.auth-wrap { min-height: 68vh; display: grid; place-items: center; padding: 60px 20px; }
.auth-card {
  width: min(440px, 100%); background: var(--panel-solid); border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 30px; }
.auth-alt { color: var(--muted); font-size: 14px; margin: 18px 0 0; text-align: center; }
.auth-alt a { color: var(--accent-2); }
.form { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 700; color: #c9d1e6; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03); color: var(--text); font: inherit; font-size: 14.5px;
}
.form input:focus, .form textarea:focus { outline: 2px solid rgba(77, 107, 254, 0.5); border-color: transparent; }
.form small { color: var(--muted); font-weight: 400; }
.form .checkbox { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }
.form .checkbox input { width: 18px; height: 18px; margin-top: 2px; }
.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.alert { padding: 12px 16px; border-radius: 10px; background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.3); color: #f5d48a; font-size: 13.5px; margin: 14px 0; }
.alert-ok { background: rgba(52, 211, 153, 0.08); border-color: rgba(52, 211, 153, 0.3); color: #8ce8c3; }

/* dashboard */
.dash-head { padding: 54px 0 24px; border-bottom: 1px solid var(--line); }
.dash-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.dash-head h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 6px; }
.dash-progress { display: flex; align-items: center; gap: 16px; }
.ring {
  --p: 0; width: 84px; height: 84px; border-radius: 50%;
  background: conic-gradient(var(--accent-2) calc(var(--p) * 1%), rgba(255, 255, 255, 0.08) 0);
  display: grid; place-items: center; position: relative;
}
.ring::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--bg); }
.ring span { position: relative; font-weight: 800; font-size: 15px; }
.dash-progress small { display: block; color: var(--muted); }
.access-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.06); margin-bottom: 24px;
}
.access-bar-free { border-color: rgba(77, 107, 254, 0.4); background: rgba(77, 107, 254, 0.08); }
.track-switch-dash { margin-bottom: 28px; }

/* lesson */
.lesson-head { padding: 46px 0 10px; }
.breadcrumbs { color: var(--muted); font-size: 12.5px; margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); }
.lesson-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.lesson-head h1 { font-size: clamp(30px, 4vw, 48px); }
.lesson-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); background: #000; }
.video-wrap video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video-placeholder {
  aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px dashed var(--line-strong);
  background: radial-gradient(600px 300px at 50% 30%, rgba(77, 107, 254, 0.18), rgba(255, 255, 255, 0.02));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px;
}
.video-placeholder .play {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 20px; margin-bottom: 8px;
}
.video-placeholder span { color: var(--muted); font-size: 13px; }
.lesson-block { margin-top: 30px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.lesson-block h2 { font-size: 22px; margin-bottom: 12px; }
.lesson-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 92px; }
.side-card { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.side-card h3 { font-size: 15px; margin-bottom: 12px; }
.side-list { display: flex; flex-direction: column; gap: 9px; }
.side-list li { color: var(--muted); font-size: 13.5px; padding-left: 16px; position: relative; }
.side-list li::before { content: "•"; position: absolute; left: 0; color: var(--accent-2); }
.side-link { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; color: #c9d1e6; }
.side-link:last-child { border-bottom: 0; }
.side-nav { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.paywall { padding: 44px; border: 1px solid rgba(77, 107, 254, 0.45); border-radius: var(--radius-lg); background: rgba(77, 107, 254, 0.08); text-align: center; }
.paywall .lock { font-size: 30px; margin-bottom: 10px; }
.paywall-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.submission { margin-top: 18px; padding: 16px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); font-size: 14px; }
.submission p { white-space: pre-wrap; }

/* tables/admin */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 30px; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.compare tr:last-child td { border-bottom: 0; }
.compare td:not(:first-child) { color: #c9d1e6; }
.cell-text { max-width: 300px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-stats { margin-bottom: 34px; }
.stat-num { display: block; font-size: 30px; margin-top: 6px; }

/* pay box */
.pay-box { width: min(520px, 100%); background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.pay-summary { margin: 20px 0; padding: 6px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }

/* legal */
.legal { max-width: 760px; color: #c9d1e6; font-size: 15px; }
.legal p { margin-bottom: 16px; }

/* responsive */
@media (max-width: 980px) {
  .hero-grid, .feature-split, .lesson-layout { grid-template-columns: 1fr; }
  .hero { padding-top: 60px; }
  .hero-card { max-width: 520px; }
  .grid-3, .grid-4, .pricing { grid-template-columns: 1fr 1fr; }
  .lesson-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }
  .nav { display: none; }
  .header-inner { height: 64px; }
  .grid-3, .grid-4, .pricing { grid-template-columns: 1fr; }
  .stats { gap: 20px; flex-wrap: wrap; }
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 50px; }
  .hero-actions .btn { width: 100%; }
  .module-row { grid-template-columns: 42px 1fr; }
  .module-count { display: none; }
  .lesson-row { padding: 13px 16px; gap: 10px; }
  .lesson-dur { display: none; }
  .dash-head-inner { flex-direction: column; align-items: flex-start; }
  .lesson-head-row { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; }
  .paywall { padding: 28px 20px; }
  .auth-card, .pay-box { padding: 26px 20px; }
  .cta-inner { padding: 28px 22px; }
}

.review-form { display: flex; gap: 6px; align-items: center; }
.review-form input[type=number] { width: 64px; padding: 6px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--text); }
.review-form input[type=text] { width: 160px; padding: 6px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: var(--text); }
.feedback { margin-top: 8px; padding: 10px 12px; border-left: 3px solid var(--accent-2); background: rgba(255,255,255,.03); }

.cert-teaser { display:flex; align-items:center; gap:14px; padding:16px 20px; margin-bottom:22px; border:1px solid var(--line); border-radius:14px; background:var(--panel); }
.cert-teaser b { display:block; }
.cert-teaser small { color:var(--muted); }
.cert-teaser .lesson-arrow { margin-left:auto; }
.cert-wrap { padding:50px 20px 70px; }
.cert-actions { max-width:900px; margin:0 auto 18px; display:flex; justify-content:space-between; gap:12px; }
.cert { max-width:900px; margin:0 auto; background:#f6f2e9; color:#141a2a; border-radius:16px; padding:54px 64px; box-shadow:0 30px 80px rgba(0,0,0,.45); position:relative; }
.cert::before { content:""; position:absolute; inset:14px; border:1px solid rgba(20,26,42,.18); border-radius:10px; pointer-events:none; }
.cert-top { display:flex; align-items:center; gap:12px; margin-bottom:38px; }
.cert-mark { width:38px; height:38px; border-radius:10px; background:#1b2540; color:#fff; display:grid; place-items:center; font-weight:800; }
.cert-brand { font-weight:800; letter-spacing:.16em; font-size:13px; }
.cert-num { margin-left:auto; font-size:12px; letter-spacing:.08em; color:#5b6478; }
.cert-kicker { font-size:12px; letter-spacing:.24em; color:#7a6a45; font-weight:800; }
.cert h1 { font-size:34px; margin:6px 0 22px; color:#141a2a; }
.cert-sub { color:#5b6478; margin:0 0 8px; }
.cert-name { font-size:38px; font-weight:800; border-bottom:1px solid rgba(20,26,42,.25); padding-bottom:8px; margin-bottom:18px; }
.cert-course { font-size:30px; font-weight:800; margin:4px 0 6px; }
.cert-track { color:#5b6478; margin-bottom:44px; }
.cert-bottom { display:flex; justify-content:space-between; gap:30px; border-top:1px solid rgba(20,26,42,.18); padding-top:20px; }
.cert-bottom span { display:block; font-size:12px; color:#7a8298; }
.cert-bottom b { font-size:16px; }
.cert-note { margin-top:26px; font-size:11px; color:#7a8298; }

.promo-form { display:flex; gap:8px; margin:18px 0 4px; }
.promo-form input { flex:1; padding:10px 12px; border-radius:10px; border:1px solid var(--line-strong); background:rgba(255,255,255,.03); color:var(--text); }

.admin-tabs { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:26px; padding:8px; background:rgba(255,255,255,.02); border:1px solid var(--line); border-radius:14px; }
.admin-tabs .btn { white-space:nowrap; }
.compare thead th { position:sticky; top:0; background:#0e1526; z-index:1; }
.compare tbody tr:hover { background:rgba(255,255,255,.035); }
.admin-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin-top:24px; }
.admin-grid .card { padding:20px; }
.admin-grid h3 { font-size:16px; }
@media (max-width:760px){ .admin-grid { grid-template-columns:1fr; } }

.chip-warn { color:#fbbf24; border-color:rgba(251,191,36,.4); background:rgba(251,191,36,.08); }
.chip-danger { color:#f87171; border-color:rgba(248,113,113,.4); background:rgba(248,113,113,.08); }

.admin-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:22px 0 18px; }
.admin-kpis .card { padding:20px; }
.kpi-label { display:block; color:var(--muted); font-size:13px; }
.kpi-num { display:block; font-size:32px; letter-spacing:-.03em; margin:6px 0 4px; }
.kpi-sub { color:var(--muted); font-size:12px; }
.admin-quick { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:30px; }
@media (max-width:980px){ .admin-kpis { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .admin-kpis { grid-template-columns:1fr; } }

.bulk-bar { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin:16px 0; padding:10px; border:1px solid var(--line); border-radius:12px; background:rgba(255,255,255,.02); }
.bulk-bar input, .bulk-bar select { padding:8px 10px; border-radius:8px; border:1px solid var(--line-strong); background:rgba(255,255,255,.03); color:var(--text); }

.timeline { display:flex; flex-direction:column; gap:2px; margin-bottom:30px; }
.timeline-row { display:grid; grid-template-columns:150px 1fr; gap:14px; padding:10px 0; border-bottom:1px solid var(--line); }
.timeline-date { color:var(--muted); font-size:12px; }
.timeline-row b { display:block; font-size:14px; }
.timeline-row small { color:var(--muted); }

.report-box { margin:18px 0; padding:14px 18px; border:1px solid var(--line); border-radius:12px; background:var(--panel); }
.report-box summary { cursor:pointer; color:var(--muted); font-size:14px; }
