:root {
  --navy: #0b2239;
  --navy-2: #123b5d;
  --blue: #176b87;
  --teal: #20a486;
  --mint: #dff7ef;
  --sand: #fff7e6;
  --paper: #ffffff;
  --bg: #f4f7fa;
  --text: #152536;
  --muted: #64748b;
  --line: #dbe4ec;
  --success: #17865f;
  --warning: #a66316;
  --radius: 16px;
  --shadow: 0 14px 36px rgba(11, 34, 57, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.top-note { background: var(--navy); color: #e8f4ff; font-size: 13px; text-align: center; padding: 8px 16px; }
.header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--navy); }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--teal)); color: white; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(23,107,135,.25); font-weight: 900; }
.brand small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a { padding: 9px 11px; border-radius: 10px; color: #405268; font-size: 14px; font-weight: 650; }
.nav a:hover, .nav a.active { color: var(--navy); background: #edf4f7; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 750; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: white; box-shadow: 0 10px 22px rgba(11,34,57,.18); }
.btn-secondary { background: white; border: 1px solid var(--line); color: var(--navy); }
.btn-teal { background: var(--teal); color: white; }
.hero { padding: 76px 0 58px; background: radial-gradient(circle at 85% 20%, #cdeee5 0, transparent 34%), linear-gradient(135deg, #f8fbfc 0%, #edf6f5 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); background: #e7f4f7; border: 1px solid #cde5eb; padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.03; margin: 18px 0; letter-spacing: -.04em; color: var(--navy); }
h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; margin: 0 0 12px; color: var(--navy); letter-spacing: -.025em; }
h3 { color: var(--navy); margin: 0 0 8px; }
.lead { font-size: 19px; color: #53657a; max-width: 680px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-panel { background: white; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 22px; }
.hero-panel .screen { border-radius: 17px; background: var(--navy); padding: 20px; color: white; min-height: 300px; overflow: hidden; position: relative; }
.hero-panel .screen:after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: rgba(32,164,134,.24); right: -55px; bottom: -75px; }
.screen-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 9px; background: rgba(255,255,255,.13); font-size: 11px; }
.progress { height: 8px; border-radius: 999px; background: #dbe7ee; overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #69d3b9); border-radius: inherit; }
.screen-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; position: relative; z-index: 2; }
.screen-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 14px; padding: 14px; }
.screen-card strong { display: block; font-size: 24px; margin-bottom: 2px; }
.section { padding: 70px 0; }
.section.alt { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-head p { max-width: 620px; color: var(--muted); margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 26px rgba(11,34,57,.06); overflow: hidden; }
.card-body { padding: 20px; }
.icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--mint); color: var(--success); font-weight: 900; margin-bottom: 15px; }
.meta { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.course-cover { min-height: 142px; padding: 20px; color: white; display: flex; align-items: end; background: linear-gradient(135deg, var(--navy-2), var(--teal)); }
.course-cover.variant-2 { background: linear-gradient(135deg, #663c85, #c36b8b); }
.course-cover.variant-3 { background: linear-gradient(135deg, #8a5718, #dda83b); }
.course-cover.variant-4 { background: linear-gradient(135deg, #144b3e, #48a477); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: white; border: 1px solid var(--line); border-radius: 15px; padding: 18px; }
.stat small { color: var(--muted); font-weight: 650; }
.stat strong { display: block; font-size: 30px; color: var(--navy); margin-top: 4px; }
.footer { background: var(--navy); color: #c8d7e4; padding: 36px 0; margin-top: 60px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer strong { color: white; }
.disclaimer { background: var(--sand); border: 1px solid #f0dfb5; color: #6d5422; padding: 14px 16px; border-radius: 12px; margin: 22px 0 0; font-size: 13px; }
.page-hero { padding: 45px 0 28px; background: white; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 4vw, 50px); margin: 8px 0 10px; }
.filters { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 10px; margin: 24px 0; }
.field { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; background: white; color: var(--text); }
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.sidebar { background: var(--navy); color: white; border-radius: 18px; padding: 16px; position: sticky; top: 96px; }
.sidebar a { display: block; padding: 11px 12px; border-radius: 10px; color: #c7d7e5; font-size: 14px; margin: 3px 0; }
.sidebar a.active, .sidebar a:hover { background: rgba(255,255,255,.11); color: white; }
.profile { display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.13); padding-bottom: 18px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; font-weight: 900; }
.panel { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 8px 26px rgba(11,34,57,.05); }
.panel + .panel { margin-top: 18px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lesson-list { margin: 0; padding: 0; list-style: none; }
.lesson-list li { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line); padding: 14px 0; }
.lesson-list li:first-child { border-top: 0; }
.check { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--success); font-size: 12px; font-weight: 900; flex: 0 0 auto; }
.check.pending { background: #eef2f6; color: #8796a7; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.status { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 9px; font-size: 12px; font-weight: 750; }
.status.green { color: #126443; background: #dff7ec; }
.status.yellow { color: #875110; background: #fff0d1; }
.status.gray { color: #56677a; background: #edf1f5; }
.split { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.chart { height: 210px; display: flex; gap: 14px; align-items: end; padding: 25px 12px 5px; border-bottom: 1px solid var(--line); }
.bar { flex: 1; background: linear-gradient(180deg, var(--teal), var(--blue)); border-radius: 8px 8px 0 0; min-width: 24px; }
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.quick-action { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: #fbfdff; }
.quick-action .icon { margin: 0; flex: 0 0 auto; }
@media (max-width: 900px) {
  .hero-grid, .split, .layout { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
  .filters { grid-template-columns: 1fr 1fr; }
  .sidebar { position: static; }
  .nav { display: none; }
}
@media (max-width: 580px) {
  .container { width: min(100% - 24px, 1160px); }
  .hero { padding-top: 48px; }
  .grid-3, .grid-4, .stats, .filters, .admin-grid { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .screen-cards { grid-template-columns: 1fr; }
  .header-inner { min-height: 64px; }
  .header .btn-secondary { display: none; }
}
