/* Corso E-Learning – shared styles (index + subpages) */
/* v3 — visual polish pass: richer gradients, deeper shadows, livelier hovers */

:root {
  /* Background — deeper, richer navy for more contrast/depth */
  --bg: #04070F;
  --bg-card: #0D1526;
  --bg-elevated: #16213A;

  /* Text — slightly softened white for less glare, better readability */
  --text: #F1F5F9;
  --text-muted: #8B98AC;

  /* Primary Brand — same hue family, calmer saturation for a "premium SaaS" feel */
  --accent: #0BA5E9;
  --accent-hover: #38BDF8;
  --accent-soft: rgba(11, 165, 233, 0.14);

  /* Secondary Colors — slightly desaturated so the accent still leads */
  --blue: #3B6FE0;
  --blue-light: #6AA3F5;
  --purple: #8462E8;
  --pink: #E14F94;
  --orange: #E9A23B;
  --green: #22B573;
  --red: #E8524B;
  --yellow: #F0C64B;

  /* Gradients — narrower hue travel reads calmer/more premium than a full rainbow sweep */
  --gradient-start: #0BA5E9;
  --gradient-end: #3B6FE0;

  --gradient-accent: linear-gradient(
    135deg,
    #0BA5E9 0%,
    #3B6FE0 50%,
    #7C5CF0 100%
  );

  --gradient-accent-soft: linear-gradient(
    135deg,
    rgba(11,165,233,.10),
    rgba(59,111,224,.09),
    rgba(124,92,240,.09)
  );

  /* Effects — a tighter, more focused glow instead of a wide diffuse blur */
  --glow-accent: 0 0 24px rgba(11,165,233,.30);

  /* UI */
  --border: rgba(255,255,255,.07);
  --border-strong: rgba(255,255,255,.14);
  --radius: 12px;
  --radius-lg: 20px;

  /* Fonts */
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;

  /* Type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: 1.75rem;
  --text-3xl: 2.25rem;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;

  /* Shadows — layered (ambient + contact) for a more premium sense of elevation */
  --shadow: 0 2px 6px rgba(2,6,23,.28), 0 8px 20px rgba(2,6,23,.22);
  --shadow-lg: 0 8px 20px rgba(2,6,23,.35), 0 30px 60px rgba(2,6,23,.45);
  --shadow-sm: 0 1px 3px rgba(2,6,23,.25), 0 4px 10px rgba(2,6,23,.18);

  /* Focus ring — accessible, visible keyboard focus */
  --focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);

  /* Animation */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Cards */
  --promo-card-gradient: linear-gradient(
    180deg,
    rgba(13,21,38,.94),
    rgba(4,7,15,.98)
  );
}

/* Light theme */
html[data-theme="light"] {
  --bg: #F4F6F9;
  --bg-card: #FFFFFF;
  --bg-elevated: #E7ECF3;
  --text: #101728;
  --text-muted: #55617A;
  --border: rgba(16, 23, 40, 0.10);
  --border-strong: rgba(16, 23, 40, 0.18);
  --shadow: 0 1px 3px rgba(16,23,40,.06), 0 6px 16px rgba(16,23,40,.06);
  --shadow-lg: 0 10px 24px rgba(16,23,40,.08), 0 24px 50px rgba(16,23,40,.10);
  --shadow-sm: 0 1px 2px rgba(16,23,40,.05), 0 3px 8px rgba(16,23,40,.05);
  --promo-card-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 246, 249, 0.99));
}
html[data-theme="light"] .header {
  background: rgba(244, 246, 249, 0.92);
  border-bottom-color: rgba(16, 23, 40, 0.08);
}
html[data-theme="light"] .header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(16, 23, 40, 0.07);
}
html[data-theme="light"] .logo,
html[data-theme="light"] .nav a { color: var(--text-muted); }
html[data-theme="light"] .nav a:hover { color: var(--text); }
html[data-theme="light"] .nav-bell {
  border-color: var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
}
html[data-theme="light"] .nav-profile { color: var(--text-muted); border-color: var(--border); background: var(--bg-card); }
html[data-theme="light"] .nav-profile:hover { color: var(--text); background: var(--bg-elevated); }
html[data-theme="light"] .nav-profile-menu { background: var(--bg-card); border-color: var(--border); box-shadow: var(--shadow-lg); }
html[data-theme="light"] .menu-toggle span { background: var(--text); }

/* Dashboard light theme */
html[data-theme="light"] .dashboard { background: var(--bg-elevated); }
html[data-theme="light"] .dash-sidebar {
  background: #ffffff;
  border-color: var(--border);
}
html[data-theme="light"] .dash-brand { color: var(--text); }
html[data-theme="light"] .dash-menu a { color: var(--text-muted); }
html[data-theme="light"] .dash-menu a:hover { color: var(--text); background: rgba(16, 23, 40, 0.04); }
html[data-theme="light"] .dash-menu a.is-active {
  color: #2652D9;
  background: rgba(37, 99, 235, 0.09);
}
html[data-theme="light"] .dash-menu a.is-active::before { background: linear-gradient(180deg, #2652D9, #4C7CF0); }
html[data-theme="light"] .dash-signout { color: #C0392E; background: rgba(192, 57, 46, 0.06); border-color: rgba(192, 57, 46, 0.2); }
html[data-theme="light"] .dash-signout:hover { background: rgba(192, 57, 46, 0.12); border-color: rgba(192, 57, 46, 0.35); color: #A2291F; }
html[data-theme="light"] .dash-reset-pw { color: #1E4CC4; background: rgba(37, 99, 235, 0.06); border-color: rgba(37, 99, 235, 0.2); }
html[data-theme="light"] .dash-reset-pw:hover { color: #1A3FA6; background: rgba(37, 99, 235, 0.1); border-color: rgba(37, 99, 235, 0.35); }
html[data-theme="light"] .dash-search-wrap {
  background: #ffffff;
  border-color: var(--border-strong);
}
html[data-theme="light"] .dash-search-input { color: var(--text); }
html[data-theme="light"] .dash-search-input::placeholder { color: var(--text-muted); }
html[data-theme="light"] .dash-theme-track {
  background: #ffffff;
  border-color: var(--border-strong);
}
html[data-theme="light"] .dash-theme-thumb { background: #C9D2DF; }
html[data-theme="light"] .dash-card {
  background: #ffffff;
  border-color: var(--border);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .dash-card-head {
  background: #F8FAFC;
  border-bottom-color: var(--border);
  color: var(--text);
}
html[data-theme="light"] .dash-certs li { border-color: var(--border); background: #F4F6F9; }
html[data-theme="light"] .dash-certs li:nth-child(1) { border-left-color: #14A567; }
html[data-theme="light"] .dash-certs li:nth-child(2) { border-left-color: #2652D9; }
html[data-theme="light"] .dash-certs li:nth-child(3) { border-left-color: #C4820F; }
html[data-theme="light"] .dash-certs li:nth-child(4) { border-left-color: #6E3FCC; }
html[data-theme="light"] .dash-certs li:nth-child(5) { border-left-color: #C22672; }
html[data-theme="light"] .dash-certs li:nth-child(n+6) { border-left-color: #0B8A7C; }
html[data-theme="light"] .dash-certs li .badge-user { background: rgba(20, 165, 103, 0.14); color: #0F7A4C; }
html[data-theme="light"] .dash-certs li:nth-child(2) .badge-user { background: rgba(38, 82, 217, 0.14); color: #1A3FA6; }
html[data-theme="light"] .dash-certs li:nth-child(3) .badge-user { background: rgba(196, 130, 15, 0.14); color: #93650C; }
html[data-theme="light"] .dash-certs li:nth-child(4) .badge-user { background: rgba(110, 63, 204, 0.14); color: #562FA3; }
html[data-theme="light"] .dash-certs li:nth-child(5) .badge-user { background: rgba(194, 38, 114, 0.14); color: #971D59; }
html[data-theme="light"] .dash-certs li:nth-child(n+6) .badge-user { background: rgba(11, 138, 124, 0.14); color: #095F55; }
html[data-theme="light"] .dash-certs li .dash-link { color: #0F7A4C; }
html[data-theme="light"] .dash-certs li .dash-link:hover { color: #0B5D3A; }
html[data-theme="light"] .dash-course-btn { border-color: #14A567; color: #0F7A4C; }
html[data-theme="light"] .dash-course-btn:hover { background: rgba(20, 165, 103, 0.10); border-color: #0F7A4C; color: #0B5D3A; }
html[data-theme="light"] .dash-foryou-course { background: #fff; border-color: var(--border-strong); box-shadow: var(--shadow); }
html[data-theme="light"] .dash-foryou-course:hover { border-color: rgba(20, 165, 103, 0.4); box-shadow: var(--shadow-lg); }
html[data-theme="light"] .dash-foryou-course .course-card-image { background: #F4F6F9; }
html[data-theme="light"] .dash-foryou-course .course-card-body h3 { color: var(--text); }
html[data-theme="light"] .dash-foryou-course:hover .course-card-body h3 { color: #0F7A4C; }
html[data-theme="light"] .dash-quicklinks a { color: var(--text-muted); }
html[data-theme="light"] .dash-quicklinks a:hover { background: rgba(20, 165, 103, 0.08); color: #0F7A4C; }
html[data-theme="light"] .dash-stat,
html[data-theme="light"] .dash-progress-list li,
html[data-theme="light"] .dash-messages li,
html[data-theme="light"] .dash-certs li,
html[data-theme="light"] .dash-scores li {
  background: #F4F6F9;
  border-color: var(--border);
}
html[data-theme="light"] .dash-progress-list li a { color: var(--text); }
html[data-theme="light"] .dash-progress-list li a:hover { color: #2652D9; }
html[data-theme="light"] .dash-progress-list li .pct { color: var(--text-muted); }
html[data-theme="light"] .progress-ring { box-shadow: inset 0 0 0 5px #F4F6F9; }
html[data-theme="light"] .dash-stat-value { color: #2652D9; }
html[data-theme="light"] .dash-stat-label { color: var(--text-muted); }
html[data-theme="light"] .dash-messages li div strong { color: var(--text); }
html[data-theme="light"] .dash-messages li div p { color: var(--text-muted); }
html[data-theme="light"] .dash-messages li .time { color: var(--text-muted); }
html[data-theme="light"] .badge-user { background: var(--bg-elevated); color: var(--text); }
html[data-theme="light"] .dash-link { color: #2652D9; }
html[data-theme="light"] .dash-link:hover { color: #1A3FA6; }
html[data-theme="light"] .btn-outline { color: #2652D9; border-color: #2652D9; }
html[data-theme="light"] .btn-outline:hover { background: rgba(37, 99, 235, 0.1); }
html[data-theme="light"] .dash-scores .meta { color: var(--text-muted); }
html[data-theme="light"] .dash-activities li,
html[data-theme="light"] .dash-top li {
  background: #F4F6F9;
  border-color: var(--border);
}

/* Accessible keyboard focus — visible on every interactive element */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.dash-menu a:focus-visible,
.nav-profile:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); transition-delay: var(--reveal-delay, 0ms); }
.reveal[data-reveal="scale"] { transform: scale(0.985); }
.reveal.is-visible[data-reveal="scale"] { transform: scale(1); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(4, 7, 15, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transition: background 250ms var(--ease-out), box-shadow 250ms var(--ease-out);
}
.header.is-scrolled { background: rgba(4, 7, 15, 0.92); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gradient-accent); opacity: 0.55; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; text-decoration: none; letter-spacing: -0.02em; background: linear-gradient(135deg, #67e8f9, #818cf8 60%, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s; position: relative; }
.nav a:hover { color: var(--text); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); transform: scaleX(0); transform-origin: center; opacity: 0; transition: transform 250ms var(--ease-out), opacity 250ms var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); opacity: 1; }
.nav a.active { color: var(--text); }
.nav-bell { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-muted); text-decoration: none; transition: color 0.2s, background 0.2s, border-color 0.2s; }
.nav-bell:hover { color: var(--accent-hover); background-color: var(--accent-soft); border-color: rgba(11,165,233,0.35); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 10px; width: 40px; height: 40px; align-items: center; justify-content: center; position: relative; z-index: 150; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 1px; pointer-events: none; }
.menu-toggle:active { transform: scale(0.98); }
.nav-mycerts { display: none; }
.nav { position: relative; }
.mobile-nav-select { display: none; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); font-weight: 600; }
.nav-profile { display: none; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-muted); font-weight: 600; position: relative; transition: color 0.2s, background 0.2s; }
.nav-profile:hover { color: var(--text); background-color: var(--bg-elevated); }
.nav-profile-menu { position: absolute; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 10px; box-shadow: var(--shadow-lg); min-width: 180px; text-align: center; z-index: 200; }
.nav-profile-menu:not([hidden]) { display: grid; gap: 8px; }
.nav-profile-menu[hidden] { display: none !important; }
.nav-profile-menu .btn { width: 100%; justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem; border-radius: var(--radius); cursor: pointer; transition: transform 0.15s var(--ease-out), box-shadow 0.25s var(--ease-out); text-decoration: none; border: none; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--gradient-accent); background-size: 200% 200%; color: white; box-shadow: 0 6px 24px rgba(59,111,224, 0.35), 0 4px 16px rgba(11,165,233, 0.25); transition: transform 0.15s var(--ease-out), box-shadow 0.25s var(--ease-out), background-position 0.5s var(--ease-out); }
.btn-primary:hover { box-shadow: 0 12px 34px rgba(59,111,224, 0.45), 0 6px 22px rgba(124,92,240, 0.32); background-position: 100% 50%; }
.btn-primary::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-20deg); transition: left 0.6s var(--ease-out); }
.btn-primary:hover::before { left: 130%; }
.btn-outline { color: var(--accent); border: 1.5px solid var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent-soft); box-shadow: 0 4px 18px rgba(11,165,233, 0.25); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* Hero (home) */
.hero { position: relative; padding: 140px 0 100px; text-align: center; }
.hero-gradient { position: absolute; top: 0; left: 50%; transform: translate3d(-50%, 0, 0); width: 100%; max-width: 960px; height: 500px; background: radial-gradient(ellipse 70% 55% at 28% 8%, rgba(11,165,233, 0.24), transparent 60%), radial-gradient(ellipse 60% 50% at 76% 12%, rgba(225,79,148, 0.16), transparent 60%), radial-gradient(ellipse 55% 48% at 50% 0%, rgba(124,92,240, 0.20), transparent 65%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px; border: 1px solid rgba(11,165,233,0.32); background: var(--accent-soft); color: var(--accent-hover); font-size: 0.9rem; font-weight: 600; border-radius: 100px; margin-bottom: 24px; }
.hero-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.25rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 800px; margin: 0 auto 20px; }
.hero-title .highlight { background: linear-gradient(135deg, var(--accent), #818cf8 55%, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; filter: drop-shadow(0 2px 18px rgba(99,102,241,0.25)); }
.hero-subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.hero-cta .btn { padding: 16px 32px; font-size: 1.05rem; }

/* Hero split layout */
.hero-split { text-align: left; padding: 120px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.hero-content { position: relative; z-index: 2; max-width: 560px; text-align: left; display: grid; grid-template-columns: 1fr; gap: 20px; }
.hero-aside { position: relative; z-index: 1; }
.hero-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out); }
.hero-card:hover { transform: translateY(-4px); }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.card-body { padding: 16px 18px; }
.hero-cert { display: block; width: 100%; height: auto; }
.badge-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; position: relative; }
.badge { display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--border); border-radius: 100px; color: var(--text-muted); font-weight: 600; font-size: 0.85rem; }
.value-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; position: relative; }
.chip { display: inline-flex; align-items: center; padding: 10px 14px; background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--text); font-weight: 700; font-size: 0.9rem; transition: border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out); }
.chip:hover { border-color: rgba(124,92,240,0.45); box-shadow: 0 6px 18px rgba(11,165,233,0.18); transform: translateY(-2px); }
.hero-cta { margin: 0 0 18px 0; }
.hero-cta .btn { position: relative; }
.assess-search { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 22px; position: relative; }
.search-input { padding: 14px 16px; border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--bg-card); color: var(--text); font-size: 1rem; transition: border-color 0.2s var(--ease-out); }
.search-input:focus { border-color: var(--accent); }
.search-button { }
.search-suggest { position: absolute; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); z-index: 30; box-shadow: var(--shadow-lg); padding: 6px 0; }
.search-suggest .suggest-item { padding: 8px 12px; color: var(--text-muted); cursor: pointer; transition: background 0.15s, color 0.15s; }
.search-suggest .suggest-item:hover { background: var(--accent-soft); color: var(--text); }
.input { padding: 12px 14px; border-radius: var(--radius); border: 1.5px solid var(--border); background: var(--bg-card); color: var(--text); font-size: 0.98rem; width: 100%; transition: border-color 0.2s var(--ease-out); }
.input:focus { border-color: var(--accent); outline: none; }
.cta-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.subheader { margin-top: 26px; font-weight: 700; color: var(--text-muted); }
.test-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip-topic { background: var(--bg-card); border-color: rgba(11,165,233, 0.28); }
.preview-pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.preview-pair { display: flex; align-items: center; justify-content: space-between; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; transition: border-color 0.2s var(--ease-out); }
.preview-pair:hover { border-color: var(--border-strong); }
.pair-label { color: var(--text-muted); font-weight: 600; }
.pair-value { color: var(--text); font-weight: 800; }

/* Subpage hero */
.page-hero { padding: 80px 0 64px; text-align: center; position: relative; }
.page-hero::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 640px; height: 320px; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(11,165,233, 0.17), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.page-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* Content blocks */
.content-block { padding: 64px 0; }
.content-block h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; margin-bottom: 16px; }
.content-block p { color: var(--text-muted); margin-bottom: 12px; line-height: 1.65; }
.content-block ul { color: var(--text-muted); margin: 12px 0 12px 20px; line-height: 1.7; }
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 24px; }

/* Verify page */
.verify-page .page-hero { padding: 80px 0 48px; }
.verify-hero-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.9; }
.verify-content .verify-container { max-width: 520px; margin: 0 auto; }
.verify-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.verify-card-inner { display: flex; flex-direction: column; gap: 12px; }
.verify-label { font-weight: 600; color: var(--text); font-size: 0.95rem; }
.verify-input-row { display: flex; gap: 12px; align-items: stretch; }
.verify-input { flex: 1; min-width: 0; }
.verify-btn { flex-shrink: 0; }
.verify-hint { color: var(--text-muted); font-size: 0.875rem; margin: 0; line-height: 1.5; }
.verify-error { color: #f6a4a0; font-size: 0.95rem; margin-top: 16px; min-height: 1.5em; }
.verify-result-wrap { margin-top: 32px; }
.verify-result-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.verify-result-badge { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(34,197,153,0.2); color: #34d399; font-size: 1.25rem; font-weight: 800; border-radius: 50%; }
.verify-result-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--text); margin: 0; }
.verify-result-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.verify-result-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); gap: 16px; }
.verify-result-row:last-of-type { border-bottom: none; }
.verify-result-label { color: var(--text-muted); font-size: 0.9rem; }
.verify-result-value { font-weight: 600; color: var(--text); }
.verify-result-valid { color: #34d399; }
.verify-result-actions { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
@media (max-width: 480px) {
  .verify-input-row { flex-direction: column; }
  .verify-card { padding: 24px; }
}
.link-grid a { color: var(--accent); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.link-grid a:hover { color: var(--accent-hover); }

/* Section title (reuse) */
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2rem); text-align: center; margin-bottom: 40px; letter-spacing: -0.02em; position: relative; padding-bottom: 14px; }
.section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 56px; height: 4px; border-radius: 4px; background: var(--gradient-accent); }

/* Feature card (reuse on subpages) */
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); position: relative; overflow: hidden; }
.feature-card::before { content: ""; position: absolute; inset: 0; opacity: 0; background: var(--gradient-accent-soft); transition: opacity 0.3s; pointer-events: none; }
.feature-card:hover { border-color: rgba(124,92,240, 0.45); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; z-index: 1; }
.feature-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--gradient-accent); color: #fff; font-size: 1.5rem; border-radius: var(--radius); margin-bottom: 16px; box-shadow: 0 8px 20px rgba(59,111,224, 0.35); }
.feature-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* How it works – numbered steps */
.how-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.how-step { position: relative; padding-top: 12px; }
.how-num { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 1rem; border-radius: 50%; }

/* What you get after you pass */
.what-you-get { padding: 64px 0; background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.what-you-get-list { list-style: none; padding: 0; margin: 0; max-width: 420px; margin: 0 auto; display: grid; gap: 16px; }
.what-you-get-list li { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 500; }
.what-you-get-list .check { color: #34d399; font-weight: 800; }

/* Hero dual CTA */
.hero-cta-dual { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-ghost { border-color: var(--border); color: var(--text-muted); }
.btn-ghost:hover { border-color: rgba(11,165,233, 0.45); color: var(--accent); }

/* Section spacing */
.features, .how, .assessments { padding: 64px 0; }
/* Section subtitle */
.section-sub { color: var(--text-muted); text-align: center; max-width: 560px; margin: -8px auto 28px; line-height: 1.5; }

/* Category tabs */
.category-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; justify-content: center; }
.category-tab { padding: 10px 18px; border-radius: 100px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-muted); font-weight: 600; cursor: pointer; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.category-tab:hover { border-color: rgba(11,165,233, 0.45); color: var(--text); }
.category-tab.is-active { background: var(--accent-soft); color: var(--accent-hover); border-color: var(--accent); }
.assessments-search-wrap { margin-bottom: 20px; max-width: 320px; margin-left: auto; margin-right: auto; }
.assessments-search-wrap .input { width: 100%; }
.category-tabs { margin-bottom: 28px; }

/* Assessments grid – cap column width so cards don't stretch */
.assessments-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 320px)); gap: 32px; justify-content: center; }
.course-card-badges { display: flex; flex-wrap: wrap; gap: 8px; position: absolute; top: 12px; left: 12px; right: 12px; z-index: 1; }
.course-badge { font-size: 0.75rem; font-weight: 700; padding: 6px 12px; border-radius: 100px; background: rgba(4,7,15,0.92); color: #67e8f9; text-shadow: 0 1px 2px rgba(0,0,0,0.4); box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.course-badge-pass { background: linear-gradient(135deg, #0e9166, #22c55e); color: #ecfdf5; text-shadow: none; }
.course-card { position: relative; }
.course-card-body { padding: 24px; }
.course-card-body h3 { margin-bottom: 10px; }
.course-card-body p { margin-bottom: 4px; }
.course-card-body .btn { margin-top: 16px; width: 100%; }

/* Featured marquee */
.featured-marquee { overflow: hidden; position: relative; }
.featured-track { display: flex; align-items: center; gap: 16px; will-change: transform; animation: marquee 22s linear infinite; }
.featured-logo { flex: 0 0 auto; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .featured-track { animation: none; }
}

/* Promo */
.promo { position: relative; padding: 60px 0; }
.promo-card { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 24px; align-items: center; border: 1px solid rgba(124,92,240,0.28); border-radius: 20px; padding: 28px; background: var(--promo-card-gradient); overflow: hidden; box-shadow: var(--shadow-lg); }
.promo-content .promo-sub { color: var(--text-muted); margin-top: 10px; }
.promo-bullets { margin-top: 14px; color: var(--text-muted); }
.promo-bullets li { margin: 6px 0; }
.promo-visual { position: relative; display: grid; grid-template-columns: 1fr; gap: 10px; justify-items: start; }
.promo-badge { display: inline-flex; align-items: center; padding: 10px 14px; border: 1px solid var(--border); border-radius: 100px; color: var(--text-muted); font-weight: 700; background: var(--bg-card); transform: translateZ(0); animation: float-badge 6s ease-in-out infinite; }
.promo-badge:nth-child(2) { animation-delay: 0.6s; }
.promo-badge:nth-child(3) { animation-delay: 1.2s; }
@keyframes float-badge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.promo-shimmer { position: absolute; right: -20%; bottom: -30%; width: 70%; height: 120%; background: radial-gradient(ellipse 50% 35% at 40% 60%, rgba(11,165,233,0.18), transparent 60%); filter: blur(12px); animation: drift 10s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.promo-gradient { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px 200px at 80% 100%, rgba(103,232,249,0.14), transparent 70%); }
@media (max-width: 820px) {
  .promo-card { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-badge, .promo-shimmer { animation: none; }
}

/* Site footer */
.site-footer { position: relative; margin-top: 40px; background: var(--bg-card); border-top: 1px solid var(--border); }
.footer-gradient { display: none; }
.footer-inner { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: 32px; padding: 32px 0; align-items: start; }
.footer-brand .brand-mark { font-family: Outfit, system-ui, sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--text); }
.brand-copy { color: var(--text-muted); margin: 8px 0 14px; line-height: 1.6; }
.newsletter { display: flex; gap: 8px; max-width: 420px; }
.newsletter-input { flex: 1; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); transition: border-color 0.2s; }
.newsletter-input:focus { border-color: var(--accent); outline: none; }
.newsletter-input::placeholder { color: var(--text-muted); }
.newsletter-btn { padding: 10px 14px; border-radius: 10px; }
.newsletter-btn.btn-primary { background: var(--accent-soft); color: var(--accent-hover); box-shadow: none; border: 1px solid var(--accent); }
.newsletter-btn.btn-primary:hover { background: rgba(11,165,233, 0.2); box-shadow: none; }
.footer-links { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 24px 20px; align-items: start; }
.footer-col h4 { color: var(--text); margin-bottom: 8px; font-size: 0.95rem; }
.footer-col + .footer-col { border-left: 1px solid var(--border); padding-left: 16px; }
.footer-col a { display: block; color: var(--text-muted); text-decoration: none; padding: 6px 0; border-radius: 8px; transition: color 0.15s ease, background-color 0.15s ease; }
.footer-col a:hover { color: var(--text); background-color: rgba(148,163,184,0.06); }
html[data-theme="light"] .footer-col a:hover { background-color: rgba(15, 23, 42, 0.06); }
.footer-bottom { border-top: 1px solid var(--border); padding: 14px 0; color: var(--text-muted); }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-col a { transition: none; }
}

/* Explore chips */
.subpage-buttons .btn { position: relative; }
.subpage-buttons .btn::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 50%), rgba(11,165,233,0.16), transparent 60%); pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.subpage-buttons .btn:hover::after { opacity: 1; }

/* CTA animated glow */
.cta-inner { position: relative; overflow: hidden; }
.cta-inner::before { content: ""; position: absolute; top: -20%; left: -10%; width: 120%; height: 140%; background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(11,165,233,0.2), transparent 65%); animation: breathe 6s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 0%, 100% { transform: translateY(0); opacity: 0.8; } 50% { transform: translateY(8px); opacity: 1; } }

/* Trust bar */
.trust-bar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.brands-marquee { position: relative; overflow: hidden; margin-bottom: 16px; -webkit-mask-image: none; mask-image: none; }
.brands-track { display: inline-flex; align-items: center; gap: 18px; will-change: transform; animation: brandsLoop 26s linear infinite reverse; width: max-content; }
.brand-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-elevated); margin: 0; }
.brand-badge .badge-icon { width: 48px; height: 48px; display: block; object-fit: contain; }
.brand-badge figcaption { color: var(--text-muted); font-weight: 700; }
@keyframes brandsLoop { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.stat-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.stat-chip { display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--border); border-radius: 100px; color: var(--text-muted); font-weight: 700; font-size: 0.85rem; }

/* Rotating companies wheel */
.companies-wheel { position: relative; width: 520px; height: 520px; margin: 24px auto 0; border-radius: 50%; border: 1px dashed var(--border); animation: spin 28s linear infinite; }
.companies-wheel .wheel-item { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 140px; text-align: center; padding: 10px 12px; border-radius: 100px; background: var(--bg-card); border: 1px solid var(--border); color: var(--text-muted); font-weight: 700; }
.companies-wheel .wheel-item:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translate(220px) rotate(0deg); }
.companies-wheel .wheel-item:nth-child(2) { transform: translate(-50%, -50%) rotate(45deg) translate(220px) rotate(-45deg); }
.companies-wheel .wheel-item:nth-child(3) { transform: translate(-50%, -50%) rotate(90deg) translate(220px) rotate(-90deg); }
.companies-wheel .wheel-item:nth-child(4) { transform: translate(-50%, -50%) rotate(135deg) translate(220px) rotate(-135deg); }
.companies-wheel .wheel-item:nth-child(5) { transform: translate(-50%, -50%) rotate(180deg) translate(220px) rotate(-180deg); }
.companies-wheel .wheel-item:nth-child(6) { transform: translate(-50%, -50%) rotate(225deg) translate(220px) rotate(-225deg); }
.companies-wheel .wheel-item:nth-child(7) { transform: translate(-50%, -50%) rotate(270deg) translate(220px) rotate(-270deg); }
.companies-wheel .wheel-item:nth-child(8) { transform: translate(-50%, -50%) rotate(315deg) translate(220px) rotate(-315deg); }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 640px) {
  .companies-wheel { width: 360px; height: 360px; }
  .companies-wheel .wheel-item { width: 110px; }
  .companies-wheel .wheel-item:nth-child(n) { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .companies-wheel { animation: none; }
}

/* Companies side-to-side marquee */
.companies-marquee { position: relative; overflow: hidden; margin-top: 16px; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.companies-track { display: inline-flex; align-items: center; gap: 16px; will-change: transform; animation: companiesLoop 28s linear infinite; width: max-content; }
.company-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-card); }
.company-badge .badge-icon { width: 48px; height: 48px; display: block; object-fit: contain; }
.company-badge figcaption { color: var(--text-muted); font-weight: 700; }
@keyframes companiesLoop { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .companies-track { animation: none; }
}

/* Dashboard – reference-inspired dark UI */
.dashboard { padding: 64px 0 0; min-height: 100vh; background: #0A0E17; }
.dashboard .container { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.dashboard-grid { display: grid; grid-template-columns: 260px 1fr 320px; gap: 16px; align-items: start; min-height: calc(100vh - 64px); }

/* Sidebar */
.dash-sidebar {
  background: #10151F;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  padding: 24px 16px;
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow);
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  margin-bottom: 12px;
  padding: 0 8px;
}
.dash-brand-icon { font-size: 1.5rem; flex-shrink: 0; }
.dash-brand-name { display: block; }
.dash-brand-tagline { display: block; font-size: 0.7rem; font-weight: 600; color: var(--text-muted); margin-top: 2px; }
.dash-menu { display: flex; flex-direction: column; gap: 4px; }
.dash-menu a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-muted);
  text-decoration: none;
  border: none;
  background: transparent;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.dash-menu a .mi { display: inline-flex; width: 24px; margin-right: 12px; justify-content: center; font-size: 1.1rem; }
.dash-menu a:hover { background: rgba(255,255,255,0.06); color: var(--text); }
.dash-menu a.is-active {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
}
.dash-menu a.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #22c55e, #4ade80);
}
.dash-sidebar-promo {
  margin-top: auto;
  padding: 16px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.22);
}
.dash-sidebar-promo-text { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.4; }
.dash-sidebar-promo-btn { width: 100%; justify-content: center; background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; border: none; box-shadow: 0 6px 18px rgba(34,197,94,0.3); }
.dash-sidebar-promo-btn:hover { background: linear-gradient(135deg, #15803d, #16a34a); color: #fff; }
.dash-signout-wrap { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.dash-reset-pw {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.dash-reset-pw:hover { background: rgba(255,255,255,0.08); border-color: rgba(34, 197, 94, 0.4); color: #4ade80; }
.dash-signout {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.dash-signout:hover { background: rgba(232, 82, 75, 0.14); border-color: rgba(232, 82, 75, 0.35); color: #f28b85; }

/* Main content */
.dash-main { display: flex; flex-direction: column; gap: 16px; min-height: 0; padding-top: 24px; }

/* Top bar */
.dash-page-title { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--text); margin: 0; flex-shrink: 0; }
.dash-topbar {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.dash-bell { font-size: 1.25rem; text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.dash-bell:hover { opacity: 1; }
.dash-search-wrap {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #171D28;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  transition: border-color 0.2s;
}
.dash-search-wrap:focus-within { border-color: rgba(34,197,94,0.5); }
.dash-search-icon { font-size: 1rem; opacity: 0.6; }
.dash-search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  outline: none;
}
.dash-search-input::placeholder { color: var(--text-muted); }
.dash-topbar-right { display: flex; align-items: center; gap: 12px; }
.dash-theme-toggle { cursor: pointer; }
.dash-theme-checkbox { position: absolute; opacity: 0; width: 0; height: 0; }
.dash-theme-track {
  display: inline-flex;
  align-items: center;
  width: 52px;
  height: 28px;
  padding: 0 4px;
  background: #171D28;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  transition: background 0.2s;
}
.dash-theme-thumb {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #333;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.dash-theme-checkbox:checked + .dash-theme-track .dash-theme-thumb { transform: translateX(24px); }

/* Theme toggle in header nav */
.header .nav-theme-toggle.dash-theme-toggle {
  display: inline-flex;
  align-items: center;
  margin: 0 4px;
}
.header .nav-theme-toggle .dash-theme-track {
  width: 44px;
  height: 24px;
}
.header .nav-theme-toggle .dash-theme-thumb {
  width: 18px;
  height: 18px;
  font-size: 10px;
}
.header .nav-theme-toggle .dash-theme-checkbox:checked + .dash-theme-track .dash-theme-thumb { transform: translateX(20px); }

/* Welcome banner */
.dash-welcome {
  background: linear-gradient(120deg, #0891a8 0%, #16a34a 42%, #22c55e 72%, #4ade80 100%);
  border: none;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 22px 55px rgba(34, 197, 94, 0.28);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
}
.dash-welcome::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 0% 0%, rgba(255,255,255,0.14), transparent 55%); pointer-events: none; }
.dash-welcome::after { content: ""; position: absolute; top: -40%; right: -10%; width: 60%; height: 180%; background: radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255,255,255,0.2), transparent 70%); pointer-events: none; }
.dash-welcome-text { max-width: 560px; position: relative; z-index: 1; }
.dash-welcome-visual { font-size: 4rem; opacity: 0.9; line-height: 1; position: relative; z-index: 1; }
.dash-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.5vw, 1.75rem); margin-bottom: 8px; color: #fff; }
.dash-welcome-sub { font-size: 1rem; opacity: 0.95; line-height: 1.5; margin: 0; }
.dash-welcome-sub strong { color: #fff; }

/* Activity card */
.dash-activity-card .dash-card-body { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; }
.dash-activity-value { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; color: #22c55e; line-height: 1; }
.dash-activity-label { font-size: 0.9rem; color: var(--text-muted); margin-top: 6px; }
.dash-card-badge { font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; background: rgba(34, 197, 94, 0.2); color: #4ade80; }

/* My Courses */
.dash-card-tabs { display: flex; gap: 8px; }
.dash-tab { font-size: 0.8rem; font-weight: 600; padding: 4px 10px; border-radius: 8px; color: var(--text-muted); cursor: pointer; transition: background 0.2s, color 0.2s; }
.dash-tab:hover { color: var(--text); }
.dash-tab.is-active { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.dash-courses-list { display: grid; gap: 12px; }
.dash-courses-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: #171D28;
  transition: border-color 0.2s, transform 0.2s;
}
.dash-courses-list li:hover { border-color: rgba(74,222,128,0.3); transform: translateY(-1px); }
.dash-course-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.dash-course-info { flex: 1; min-width: 0; }
.dash-course-title { display: block; font-weight: 700; font-size: 0.95rem; color: var(--text); text-decoration: none; margin-bottom: 2px; }
.dash-course-title:hover { color: #4ade80; }
.dash-course-meta { font-size: 0.8rem; color: var(--text-muted); }
.dash-course-progress-wrap { height: 6px; background: rgba(255,255,255,0.1); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.dash-course-progress-bar { height: 100%; background: linear-gradient(90deg, #22c55e, #4ade80); border-radius: 4px; transition: width 0.3s; }
.dash-course-pct { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); }
.dash-course-btn {
  flex-shrink: 0;
  margin-left: auto;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 10px;
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #4ade80;
  background: transparent;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.dash-course-btn:hover {
  background: rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
  color: #86efac;
}

/* Calendar card */
.dash-calendar-card .dash-card-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.dash-calendar-title { font-size: 0.95rem; font-weight: 700; }
.dash-calendar-nav { display: flex; gap: 4px; }
.dash-calendar-nav button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); cursor: pointer; font-size: 1rem; line-height: 1; transition: border-color 0.2s, color 0.2s; }
.dash-calendar-nav button:hover { border-color: #22c55e; color: #4ade80; }
.dash-calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 0.7rem; font-weight: 700; color: var(--text-muted); margin-bottom: 8px; }
.dash-calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 0.8rem; }
.dash-calendar-days span { padding: 6px; border-radius: 8px; color: var(--text-muted); }
.dash-calendar-days span.today { background: rgba(34, 197, 94, 0.2); color: #4ade80; font-weight: 700; }
.dash-calendar-days span.other { opacity: 0.5; }

/* For you */
.dash-foryou-card { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.dash-foryou-card .dash-card-body.dash-foryou-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 20px; padding: 16px; }
.dash-foryou-course {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #10151F;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.dash-foryou-course:hover { border-color: rgba(34, 197, 94, 0.4); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.3); }
.dash-foryou-course .course-card-image {
  height: 120px;
  background: #171D28;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dash-foryou-course .course-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dash-foryou-course .course-card-body { padding: 20px; }
.dash-foryou-course .course-card-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin: 0 0 8px; color: var(--text); }
.dash-foryou-course .course-card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.45; margin: 0 0 14px; }
.dash-foryou-course:hover .course-card-body h3 { color: #4ade80; }
.dash-foryou-btn { display: inline-block; padding: 10px 18px; font-size: 0.9rem; font-weight: 600; border-radius: 10px; background: linear-gradient(135deg, #16a34a, #22c55e); color: #fff; border: none; cursor: pointer; transition: background 0.2s, color 0.2s; }
.dash-foryou-course:hover .dash-foryou-btn { background: linear-gradient(135deg, #15803d, #16a34a); color: #fff; }

/* Quick links */
.dash-quicklinks-card .dash-card-body { padding: 8px 12px 12px; }
.dash-quicklinks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dash-quicklinks li { margin: 0; }
.dash-quicklinks a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.dash-quicklinks a:hover { background: rgba(255,255,255,0.06); color: #4ade80; }
.dash-quicklinks-icon { font-size: 1.1rem; opacity: 0.9; }

/* Quick stats card */
.dash-stats-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}
.dash-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 8px;
  background: #171D28;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  min-height: 0;
  transition: border-color 0.2s;
}
.dash-stat:hover { border-color: rgba(74,222,128,0.3); }
.dash-stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #4ade80;
  margin-bottom: 2px;
}
.dash-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.dash-stats-card .dash-card-body {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

/* Cards */
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; min-height: 0; }
.dash-card-full { grid-column: 1 / -1; }
.dash-card {
  background: #10151F;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,0.24);
  display: flex;
  flex-direction: column;
  min-height: 0;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.dash-card:hover { border-color: rgba(74, 222, 128, 0.28); box-shadow: 0 12px 36px rgba(0,0,0,0.32); transform: translateY(-2px); }
.dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.dash-card-body { padding: 12px 16px; flex: 1 1 auto; min-height: 0; }

/* Completion progress */
.dash-progress-list { display: grid; gap: 6px; }
.dash-progress-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: #171D28;
  gap: 10px;
  transition: border-color 0.2s;
}
.dash-progress-list li:hover { border-color: rgba(96,165,250,0.3); }
.dash-progress-list li a { text-decoration: none; color: var(--text); font-weight: 500; flex: 1; min-width: 0; }
.dash-progress-list li a:hover { color: #60a5fa; }
.progress-label { display: block; }
.progress-ring-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.progress-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: conic-gradient(var(--ring-color, #3b82f6) calc(var(--pct, 0) * 1%), rgba(255,255,255,0.08) 0);
  flex-shrink: 0;
  box-shadow: inset 0 0 0 5px #10151F;
}
.dash-progress-list li:nth-child(1) .progress-ring { --ring-color: #3b82f6; --pct: 78; }
.dash-progress-list li:nth-child(2) .progress-ring { --ring-color: #14b8a6; --pct: 39; }
.dash-progress-list li:nth-child(3) .progress-ring { --ring-color: #38bdf8; --pct: 21; }
.dash-progress-list li:nth-child(4) .progress-ring { --ring-color: #22c55e; --pct: 90; }
.dash-progress-list li .pct {
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 36px;
  text-align: right;
  color: var(--text-muted);
}

/* Notifications / messages list */
.dash-messages { display: grid; gap: 6px; }
.dash-messages li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: #171D28;
  transition: border-color 0.2s;
}
.dash-messages li:hover { border-color: rgba(255,255,255,0.14); }
.dash-messages li .badge-user { width: 40px; height: 40px; font-size: 0.8rem; flex-shrink: 0; }
.dash-messages li div strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.dash-messages li div p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.dash-messages li div a { color: #60a5fa; text-decoration: none; }
.dash-messages li .time { font-size: 0.8rem; color: var(--text-muted); }
.dash-messages li:nth-child(1) .badge-user { background: #f97316; color: #fff; }
.dash-messages li:nth-child(2) .badge-user { background: #ec4899; color: #fff; }
.dash-messages li:nth-child(3) .badge-user { background: #22c55e; color: #fff; }

/* Quick links (buttons) */
.dash-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.dash-quick .btn { width: 100%; justify-content: center; }

/* Right aside – Recent Certificates */
.dash-aside { display: flex; flex-direction: column; gap: 16px; min-height: 0; padding-top: 24px; }
.dash-certs { display: grid; gap: 8px; }
.dash-certs li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-left-width: 4px;
  background: #171D28;
  transition: border-color 0.2s, transform 0.2s;
}
.dash-certs li:hover { transform: translateX(2px); }
.dash-certs li:nth-child(1) { border-left-color: #22c55e; }
.dash-certs li:nth-child(2) { border-left-color: #3b82f6; }
.dash-certs li:nth-child(3) { border-left-color: #f59e0b; }
.dash-certs li:nth-child(4) { border-left-color: #a855f7; }
.dash-certs li:nth-child(5) { border-left-color: #ec4899; }
.dash-certs li:nth-child(n+6) { border-left-color: #14b8a6; }
.dash-certs li .badge-user { width: 40px; height: 40px; font-size: 0.8rem; flex-shrink: 0; font-weight: 700; }
.dash-certs li:nth-child(1) .badge-user { background: rgba(34, 197, 94, 0.25); color: #4ade80; }
.dash-certs li:nth-child(2) .badge-user { background: rgba(59, 130, 246, 0.25); color: #60a5fa; }
.dash-certs li:nth-child(3) .badge-user { background: rgba(245, 158, 11, 0.25); color: #fbbf24; }
.dash-certs li:nth-child(4) .badge-user { background: rgba(168, 85, 247, 0.25); color: #c084fc; }
.dash-certs li:nth-child(5) .badge-user { background: rgba(236, 72, 153, 0.25); color: #f472b6; }
.dash-certs li:nth-child(n+6) .badge-user { background: rgba(20, 184, 166, 0.25); color: #2dd4bf; }
.dash-certs li .dash-link { font-size: 0.9rem; font-weight: 600; color: #4ade80; }
.dash-certs li .dash-link:hover { color: #86efac; }
.dash-certs li strong { color: var(--text); }
.dash-certs li .meta { color: var(--text-muted); font-size: 0.85rem; }

/* Performance / scores */
.dash-scores { display: grid; gap: 10px; }
.dash-scores li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: #171D28;
  flex-wrap: wrap;
  gap: 8px;
  transition: border-color 0.2s;
}
.dash-scores li:hover { border-color: rgba(255,255,255,0.14); }
.dash-scores .meta { color: var(--text-muted); font-size: 0.85rem; }
.badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 800; }
.badge-user { background: rgba(148,163,184,0.2); color: var(--text); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; }
.score { color: var(--text-muted); font-weight: 700; }
.dash-link { color: #60a5fa; text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.dash-link:hover { color: #93c5fd; }
.dash-month { color: var(--text-muted); }
.dash-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.dash-calendar .day { text-align: center; padding: 4px 0; border-radius: 8px; color: var(--text-muted); font-size: 0.75rem; }
.badge-day { width: 36px; height: 36px; border-radius: 999px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.dash-activities { display: grid; gap: 8px; }
.dash-activities li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.06); background: #171D28; }
.dash-activities li:nth-child(1) .badge-day { background: #3b82f6; color: #fff; }
.dash-activities li:nth-child(2) .badge-day { background: #ec4899; color: #fff; }
.dash-activities li:nth-child(3) .badge-day { background: #22c55e; color: #fff; }
.dash-activities li:nth-child(4) .badge-day { background: #f59e0b; color: #fff; }
.dash-top { display: grid; gap: 8px; }
.dash-top li { display: grid; grid-template-columns: 36px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.06); background: #171D28; }
.dash-top li:nth-child(1) .badge-user { background: #fbbf24; color: #0b1020; }
.dash-top li:nth-child(2) .badge-user { background: #60a5fa; color: #0b1020; }
.dash-top li:nth-child(3) .badge-user { background: #a78bfa; color: #0b1020; }
.dash-top li:nth-child(4) .badge-user { background: #f59e0b; color: #0b1020; }

@media (max-width: 1100px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .dash-sidebar { position: static; }
}
@media (max-width: 768px) {
  .dash-row { grid-template-columns: 1fr; }
  .dash-topbar { flex-direction: column; align-items: stretch; }
  .dash-search-wrap { max-width: none; }
  .dash-stats-body { grid-template-columns: 1fr; }
}
/* Course card */
.course-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }
.course-card:hover { border-color: rgba(124,92,240, 0.45); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.course-card-image { height: 140px; background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 2.5rem; overflow: hidden; }
.course-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.course-card-body { padding: 24px; }
.course-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.course-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

/* Price / pricing features */
.pricing-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 32px; }
.pricing-feature { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; align-items: flex-start; gap: 12px; transition: border-color 0.2s; }
.pricing-feature:hover { border-color: var(--border-strong); }
.pricing-feature span { font-size: 1.5rem; } .pricing-feature strong { display: block; margin-bottom: 4px; }
.pricing-feature p { color: var(--text-muted); font-size: 0.9rem; margin: 0; line-height: 1.5; }

/* Blog */
.blog-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 40px; }
.blog-cat-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; text-decoration: none; color: inherit; display: block; }
.blog-cat-card:hover { border-color: rgba(11,165,233, 0.4); transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-cat-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 8px; color: var(--text); }
.blog-cat-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }
.blog-cta { text-align: center; padding: 48px 0; }
.blog-cta p { color: var(--text-muted); margin-bottom: 16px; }

/* Auth */
.auth { position: relative; padding: 72px 0 56px; }
.auth::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 720px; height: 300px; background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(11,165,233,0.2), transparent 60%); pointer-events: none; }
.auth .container { position: relative; z-index: 1; min-height: calc(100vh - 160px); display: flex; align-items: center; }
.auth-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; }
.auth-copy .hero-badge { margin-bottom: 8px; }
.auth-copy .hero-title { margin-bottom: 10px; }
.auth-copy .hero-subtitle { color: var(--text-muted); }
.auth-benefits { margin-top: 12px; color: var(--text-muted); }
.auth-benefits li { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.auth-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); justify-self: end; margin-left: 40px; }
.auth-tabs { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 20px; }
.auth-tabs .tab-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 10px 18px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg-elevated); color: var(--text-muted); font-weight: 700; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.auth-tabs .tab-btn.is-active { background: var(--accent-soft); color: var(--accent-hover); border-color: var(--accent); }
.auth-pane { display: none; }
.auth-pane.is-active { display: block; }
.auth-form { display: grid; gap: 14px; }
.form-row { display: grid; gap: 8px; }
.form-row label { color: var(--text); font-weight: 600; }
.input { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); }
.input-wrap { position: relative; }
.input-wrap .input { padding-left: 42px; }
.input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1rem; }
.auth-actions, .form-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.checkbox { display: inline-flex; align-items: center; gap: 8px; color: var(--text-muted); }
.link { color: var(--accent); text-decoration: none; }
.link:hover { text-decoration: underline; }
.auth-submit { width: 100%; }
.auth-error { margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: rgba(232,82,75,0.16); color: #f6a4a0; font-size: 0.9rem; }
.auth-note { color: var(--text-muted); text-align: center; margin-top: 8px; }
.auth-divider { display: flex; align-items: center; gap: 10px; color: var(--text-muted); }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--border); flex: 1; }
.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.btn-social { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
@media (max-width: 860px) {
  .auth-grid { grid-template-columns: 1fr; }
  .auth-card { margin-left: 0; justify-self: stretch; }
}

/* About page */
.about-hero .page-subtitle { max-width: 640px; }
.about-stats { padding: 40px 0; background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.about-stat { padding: 20px; border-radius: var(--radius); background: var(--bg-elevated); border: 1px solid var(--border); transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }
.about-stat:hover { border-color: rgba(11,165,233, 0.45); transform: translateY(-3px); box-shadow: var(--shadow); }
.about-stat-value { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--accent); margin-bottom: 4px; }
.about-stat-label { font-size: 0.9rem; color: var(--text-muted); }
.about-intro { padding: 48px 0 32px; }
.about-intro-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; max-width: 720px; margin: 0 auto; }
.about-intro-card .section-title { text-align: left; margin-bottom: 20px; }
.about-lead { font-size: 1.1rem; color: var(--text); margin-bottom: 16px; }
.about-intro-card p { color: var(--text-muted); margin-bottom: 12px; }
.about-sections { padding: 32px 0 64px; }
.about-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 48px; }
.about-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); }
.about-card:hover { border-color: rgba(11,165,233, 0.4); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.about-card-icon { font-size: 2rem; margin-bottom: 12px; }
.about-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 16px; }
.about-card-links { list-style: none; margin: 0; padding: 0; }
.about-card-links li { margin-bottom: 8px; }
.about-card-links a { color: var(--accent); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.about-card-links a:hover { color: var(--accent-hover); }
.about-card-links-plain { color: var(--text-muted); }
.about-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; margin: 0; }
.about-cta { text-align: center; }
.about-reviews { margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
@media (max-width: 768px) {
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .about-stats-grid { grid-template-columns: 1fr; }
}

/* Footer */
.footer { padding: 24px 0; border-top: 1px solid var(--border); text-align: center; }
.footer p { font-size: 0.85rem; color: var(--text-muted); }

/* Scroll progress (JS) */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: rgba(148, 163, 184, 0.12); }
.scroll-progress__bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end)); }

/* Quiz modal (quick skill check) */
.quiz-modal { position: fixed; inset: 0; background: rgba(4, 7, 15, 0.78); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; z-index: 300; padding: 24px; }
.quiz-modal.is-open { display: flex; }
.quiz-card { width: 100%; max-width: 720px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.quiz-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border); }
.quiz-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.quiz-timer { font-weight: 700; color: var(--accent); }
.quiz-progress { height: 4px; background: rgba(148,163,184,0.18); }
.quiz-progress__bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end)); transition: width 200ms var(--ease-out); }
.quiz-body { padding: 20px; }
.quiz-question { font-weight: 700; font-size: 1.05rem; margin-bottom: 16px; }
.quiz-options { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 16px; }
.quiz-option { padding: 14px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-align: left; cursor: pointer; transition: border-color 0.2s, transform 0.1s; }
.quiz-option:hover { border-color: rgba(11,165,233, 0.4); transform: translateY(-1px); }
.quiz-option.is-selected { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.quiz-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.quiz-actions .btn { min-width: 120px; }
.quiz-footer { padding: 16px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.quiz-close { color: var(--text-muted); background: transparent; border: none; cursor: pointer; font-weight: 600; }
.quiz-result { padding: 20px; text-align: center; }
.quiz-score { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.quiz-note { color: var(--text-muted); margin-bottom: 16px; }
.cert-form { display: grid; grid-template-columns: 1fr; gap: 12px; max-width: 420px; margin: 0 auto; }
.cert-form input { padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); }
.cert-preview { margin-top: 16px; border: 1px dashed var(--border); border-radius: var(--radius); padding: 16px; }
.cert-share { margin-top: 12px; font-size: 0.9rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 20px; background: var(--bg-card); border-bottom: 1px solid var(--border); }
  .nav.is-open { display: flex; }
  .menu-toggle { display: flex; }
  .mobile-nav-select { display: none; }
  .header-inner { position: relative; }
  .page-hero { padding: 100px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-split { text-align: left; }
  .assess-search { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.is-visible, .header { animation: none !important; transition: none !important; transform: none !important; }
}