/* LEXX Live Labs — design tokens mirror lexx.com (Poppins, orange/gold accents) */
:root {
  --orange: #e25027;
  --orange-2: #f7931e;
  --gold: #c9952c;
  --blue: #00acef;
  --blue-dark: #005a8a;
  --navy: #284556;
  --text: #494949;
  --text-dark: #191919;
  --muted: #7a7a7a;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --bg-bar: #f5f5f5;
  --green: #019e7c;
  --purple: #7b2d8e;
  --sky: #0391ca;
  --red: #c62828;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --grad: linear-gradient(90deg, var(--orange) 0%, var(--orange-2) 100%);
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 18px 48px rgba(0,0,0,.14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--text); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: 2.6rem; } h2 { font-size: 2rem; } h3 { font-size: 1.25rem; } h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; } .right { text-align: right; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 12px 26px; border-radius: 8px; font-family: var(--font); font-weight: 600; font-size: .95rem; line-height: 1.2; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff !important; box-shadow: 0 6px 16px rgba(226,80,39,.25); }
.btn-primary:hover { box-shadow: 0 10px 22px rgba(226,80,39,.35); }
.btn-outline { background: #fff; color: var(--text) !important; border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: #fff !important; }
.btn-white { background: #fff; color: var(--orange) !important; }
.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.8); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-danger { background: #fff; color: var(--red) !important; border-color: var(--red); }
.btn-danger:hover { background: var(--red); color: #fff !important; }
.btn-lg { padding: 15px 34px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }
.btn-xs { padding: 6px 12px; font-size: .78rem; border-width: 1.5px; }
.btn-block { display: flex; width: 100%; }
.link-arrow { font-weight: 600; color: var(--orange); }
.link-arrow::after { content: ' →'; }
.link-btn { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }

/* ---------- hubs bar + header ---------- */
.hubs-bar { background: var(--bg-bar); border-bottom: 1px solid var(--line); font-size: .8rem; }
.hubs-inner { display: flex; align-items: center; gap: 18px; height: 36px; }
.hubs-label { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-size: .72rem; }
.hubs-links { display: flex; gap: 18px; }
.hubs-links a { color: var(--text); font-weight: 500; }
.hubs-links a.is-current { color: var(--orange); font-weight: 700; }
.hubs-contact { margin-left: auto; } .hubs-contact a { color: var(--text); font-weight: 600; }
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 20px; }
.brand { display: inline-flex; flex-direction: column; align-items: center; color: var(--orange); line-height: 1; text-decoration: none !important; }
.brand-mark { width: 118px; height: auto; display: block; }
.brand-sub { color: var(--gold); font-weight: 600; letter-spacing: .42em; font-size: .78rem; margin-top: 6px; padding-left: .42em; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a { color: var(--text); font-weight: 600; font-size: .95rem; position: relative; }
.main-nav > a:not(.btn):hover, .main-nav > a.active:not(.btn) { color: var(--orange); text-decoration: none; }
.main-nav > a.active:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--grad); border-radius: 3px; }
.nav-form { margin: 0; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 8px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 3px; background: var(--text); border-radius: 3px; }

/* ---------- flash ---------- */
.flash { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; font-weight: 500; font-size: .95rem; }
.flash-success { background: #e6f7f1; color: #0b6b4f; border: 1px solid #b8e8d6; }
.flash-error { background: #fdecea; color: #8a1c1c; border: 1px solid #f5c2bd; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 60px; background: #fff; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-content { display: flex; flex-direction: column; gap: 10px; }
.hero-tagline { font-size: 26px; font-weight: 900; text-transform: uppercase; color: var(--text); margin: 0; -webkit-text-stroke: .4px currentColor; }
.hero-exx { font-size: 58px; font-weight: 900; color: var(--orange); letter-spacing: -.05em; text-transform: uppercase; line-height: 1; margin: 0; -webkit-text-stroke: .5px currentColor; }
.hero-exx span { letter-spacing: -.12em; }
.hero-exx--indent { padding-left: 26px; color: var(--text); }
.hero-divider { border: 0; border-top: 3px solid var(--text); width: 260px; margin: 10px 0 6px; }
.hero-sub { font-size: 22px; font-weight: 900; text-transform: uppercase; line-height: 1.3; color: var(--text); margin: 0; -webkit-text-stroke: .3px currentColor; }
.hero-text { font-size: 1.02rem; max-width: 520px; margin: 8px 0 6px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.hero-visual { position: relative; min-height: 460px; }
.hero-image { position: absolute; inset: 24px 24px 24px 40px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); z-index: 2; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-shape { position: absolute; z-index: 1; transform: rotate(45deg); border-radius: 18px; }
.hero-shape-orange { width: 170px; height: 170px; background: var(--grad); right: -30px; top: -40px; }
.hero-shape-gold { width: 120px; height: 120px; background: var(--gold); left: -10px; bottom: -6px; opacity: .9; }
.hero-chip { position: absolute; z-index: 3; background: #fff; border-radius: 12px; padding: 10px 16px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; line-height: 1.15; min-width: 120px; }
.hero-chip strong { font-size: 1.35rem; color: var(--orange); font-weight: 800; }
.hero-chip span { font-size: .72rem; color: var(--muted); font-weight: 500; }
.hero-chip-1 { left: 0; top: 60px; }
.hero-chip-2 { right: -6px; bottom: 90px; }
.hero-chip-3 { left: 30px; bottom: 0; }

/* ---------- stats band ---------- */
.stats-band { background: var(--navy); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 22px 16px; text-align: center; display: flex; flex-direction: column; line-height: 1.2; border-left: 1px solid rgba(255,255,255,.1); }
.stats-grid > div:first-child { border-left: 0; }
.stats-grid strong { font-size: 1.6rem; font-weight: 800; color: #fff; }
.stats-grid span { font-size: .82rem; opacity: .8; margin-top: 4px; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { font-size: 1.05rem; color: var(--muted); }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; text-align: left; gap: 20px; }
.section-head-row p { margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--orange); margin-bottom: 8px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 760px; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg, rgba(226,80,39,.12), rgba(247,147,30,.18)); color: var(--orange); display: grid; place-items: center; margin-bottom: 16px; }
.feature-icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.1rem; } .feature p { margin: 0; font-size: .93rem; color: var(--muted); }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; padding: 10px 16px; }
.step-num { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.5rem; display: grid; place-items: center; margin: 0 auto 18px; box-shadow: 0 8px 18px rgba(226,80,39,.3); }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

.cta-band { background: var(--grad); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: 6px; } .cta-band p { margin: 0; opacity: .95; max-width: 640px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- lab cards ---------- */
.labs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lab-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s; --cat: var(--orange); }
.lab-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--cat); }
.lab-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.lab-card-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.lab-card h3 { font-size: 1.12rem; margin-bottom: 8px; } .lab-card h3 a { color: var(--text-dark); } .lab-card h3 a:hover { color: var(--orange); text-decoration: none; }
.lab-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.lab-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.lab-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cat-cyber-security { --cat: var(--orange); } .cat-offensive-security { --cat: #c62828; } .cat-defensive-security { --cat: var(--sky); }
.cat-cloud-devops { --cat: var(--green); } .cat-networking { --cat: var(--gold); } .cat-it-fundamentals { --cat: var(--purple); }
.cat-programming { --cat: var(--navy); } .cat-ai-data { --cat: #6c3fd1; }
.badge { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 4px 10px; border-radius: 999px; line-height: 1.3; }
.badge-cat { background: color-mix(in srgb, var(--cat) 12%, #fff); color: var(--cat); }
.badge-level { background: #f0f0f0; color: var(--text); }
.level-intermediate { background: #fff3e0; color: #b25a00; } .level-advanced { background: #fdecea; color: var(--red); } .level-beginner { background: #e6f7f1; color: #0b6b4f; }
.badge-plain { background: #f0f0f0; color: var(--text); text-transform: none; letter-spacing: 0; }
.badge-mini { background: #fff3e0; color: #b25a00; font-size: .62rem; padding: 2px 7px; vertical-align: middle; }
.status { display: inline-block; font-size: .74rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; line-height: 1.3; white-space: nowrap; }
.status-active { background: #e6f7f1; color: #0b6b4f; } .status-expired { background: #fdecea; color: var(--red); }
.status-upcoming { background: #e8f4fd; color: var(--blue-dark); } .status-inactive { background: #f0f0f0; color: var(--muted); }

/* ---------- page hero / lab detail ---------- */
.page-hero { padding: 56px 0 44px; background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { margin-bottom: 10px; }
.lab-hero { --cat: var(--orange); border-top: 6px solid var(--cat); }
.lab-hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.back-link { display: inline-block; color: var(--muted); font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.lab-filters { display: flex; justify-content: space-between; gap: 20px; align-items: center; flex-wrap: wrap; margin-bottom: 26px; }
.filter-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: .85rem; }
.chip small { color: var(--muted); font-weight: 500; } .chip:hover { text-decoration: none; border-color: var(--text); }
.chip.is-active { background: var(--text); color: #fff; border-color: var(--text); } .chip.is-active small { color: rgba(255,255,255,.7); }
.filter-search { display: flex; gap: 8px; }
.filter-search input { padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--font); font-size: .95rem; min-width: 240px; }
.results-count { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--muted); }
.lab-detail-grid, .access-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.lab-detail-main h2 { font-size: 1.6rem; } .lab-detail-main h3 { margin-top: 28px; font-size: 1.15rem; }
.lab-desc { font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); }
.check-list li::after { content: ''; position: absolute; left: 6px; top: 8px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.side-card h3 { font-size: 1.05rem; margin-bottom: 10px; } .side-card p { font-size: .93rem; color: var(--muted); }
.side-card .btn + .btn { margin-top: 10px; }
.side-card-muted { background: var(--bg-alt); box-shadow: none; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: #f0f0f0; color: var(--text); font-size: .78rem; font-weight: 600; padding: 5px 10px; border-radius: 6px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; font-size: .92rem; }
.kv dt { color: var(--muted); font-weight: 500; } .kv dd { margin: 0; font-weight: 600; }

/* ---------- dashboard / lab access ---------- */
.dash-hero { background: linear-gradient(135deg, #fff 0%, #fff4ef 100%); }
.dash-card .btn { margin-left: auto; }
.help-strip { margin-top: 36px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .93rem; }
.help-strip strong { display: block; color: var(--text-dark); }
.access-card, .guide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.access-card { border-top: 5px solid var(--orange); }
.access-card.is-locked { border-top-color: var(--muted); }
.access-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.access-card h2, .guide-card h2 { font-size: 1.4rem; margin-bottom: 4px; } .guide-card h3 { font-size: 1.05rem; margin-top: 20px; }
.launch-btn { font-size: 1.1rem; padding: 18px 28px; margin: 6px 0 10px; }
.locked-note { background: var(--bg-alt); border-radius: 10px; padding: 16px 18px; font-size: .95rem; }
.cred-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 6px; }
.cred { background: var(--bg-alt); border-radius: 10px; padding: 12px 14px; }
.cred-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.cred-row { display: flex; align-items: center; gap: 8px; }
.cred-row code { flex: 1; font-size: 1rem; font-weight: 600; color: var(--text-dark); word-break: break-all; }
.copy-btn { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; font-family: var(--font); font-size: .75rem; font-weight: 600; cursor: pointer; color: var(--text); }
.copy-btn:hover { border-color: var(--text); } .copy-btn.is-done { background: #e6f7f1; color: #0b6b4f; border-color: #b8e8d6; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0 0 18px; }
.steps-list li { counter-increment: s; position: relative; padding: 10px 0 10px 46px; border-bottom: 1px solid var(--line); }
.steps-list li:last-child { border-bottom: 0; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: 9px; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.notes { background: #fff8e6; border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 6px; white-space: pre-line; }
.error-box { text-align: center; padding: 40px 0; } .error-box .hero-exx { font-size: 96px; }

/* ---------- auth ---------- */
.auth-body { background: var(--bg-alt) url('/img/hero-bg.jpg') center/cover fixed; min-height: 100vh; }
.auth-body::before { content: ''; position: fixed; inset: 0; background: linear-gradient(135deg, rgba(40,69,86,.86), rgba(226,80,39,.72)); z-index: 0; }
.auth-wrap { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; padding: 30px 16px; }
.auth-card { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 920px; background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.auth-side { background: linear-gradient(160deg, #fff7f3 0%, #fff 60%); padding: 44px 40px; display: flex; flex-direction: column; gap: 10px; border-right: 1px solid var(--line); }
.auth-side .brand { align-self: flex-start; margin-bottom: 18px; } .auth-side h2 { font-size: 1.7rem; margin: 0 0 4px; }
.auth-side p { color: var(--muted); font-size: .95rem; }
.auth-points { list-style: none; padding: 0; margin: 4px 0 auto; }
.auth-points li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: .92rem; font-weight: 500; }
.auth-points li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.auth-help { margin-top: 24px; font-size: .88rem; }
.auth-form { padding: 44px 40px; }
.auth-form h1 { font-size: 1.9rem; margin-bottom: 4px; }
.auth-form form { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.auth-form .btn { margin-top: 6px; }
.auth-foot { margin-top: 26px; font-size: .88rem; } .auth-foot a { color: var(--muted); }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--text); }
label small { font-weight: 400; color: var(--muted); }
input:not([type=checkbox]), select, textarea { width: 100%; padding: 12px 14px; border: 1.5px solid #d9d9d9; border-radius: 8px; font-family: var(--font); font-size: .97rem; color: var(--text-dark); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(226,80,39,.15); }
textarea { resize: vertical; }
.pw-field { display: flex; gap: 8px; align-items: stretch; }
.pw-toggle { flex-shrink: 0; background: #fff; border: 1.5px solid #d9d9d9; border-radius: 8px; padding: 0 14px; font-family: var(--font); font-weight: 600; font-size: .82rem; cursor: pointer; color: var(--text); }
.pw-toggle:hover { border-color: var(--text); }

/* ---------- footer ---------- */
.site-footer { background: #2b2b2b; color: #cfcfcf; padding-top: 56px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand { align-self: flex-start; align-items: flex-start; margin-bottom: 14px; } .footer-brand .brand-sub { padding-left: 0; }
.footer-brand p { max-width: 380px; }
.site-footer h4 { color: #fff; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin-bottom: 9px; }
.site-footer a { color: #cfcfcf; } .site-footer a:hover { color: #fff; }
.footer-bottom { background: var(--text-dark); padding: 16px 0; font-size: .78rem; color: #9a9a9a; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-links a { margin-left: 18px; }

/* ---------- admin ---------- */
.admin-body { background: #f3f4f6; }
.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: #1f2933; color: #cbd2d9; padding: 26px 20px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 0; height: 100vh; }
.admin-side .brand { align-self: flex-start; align-items: flex-start; } .admin-side .brand-mark { width: 96px; } .admin-side .brand-sub { padding-left: 0; font-size: .68rem; }
.admin-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: #8a98a6; margin: 6px 0 18px; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; color: #cbd2d9; font-weight: 500; font-size: .92rem; }
.admin-nav a svg { width: 18px; height: 18px; opacity: .8; }
.admin-nav a:hover { background: rgba(255,255,255,.06); text-decoration: none; color: #fff; }
.admin-nav a.active { background: var(--grad); color: #fff; }
.admin-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: .85rem; } .admin-side-foot a { color: #cbd2d9; }
.admin-main { padding: 24px 32px 60px; min-width: 0; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: .88rem; color: var(--muted); }
.admin-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-head h1 { font-size: 1.7rem; margin-bottom: 2px; } .admin-head p { margin: 0; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .actions form { margin: 0; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.stat { background: #fff; border-radius: var(--radius); padding: 22px 24px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--orange); line-height: 1.1; }
.stat-label { color: var(--muted); font-size: .9rem; font-weight: 500; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; margin-bottom: 22px; }
.panel h2 { font-size: 1.15rem; margin-bottom: 14px; } .panel.narrow { max-width: 640px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.panel-reveal { border: 2px solid var(--orange); background: #fffaf7; }
.panel-reveal textarea { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; margin-top: 14px; }
.panel label { margin-bottom: 14px; }
.panels .panel { margin-bottom: 0; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.row-2.panels { gap: 22px; align-items: start; }
label.check { flex-direction: row; align-items: center; gap: 10px; margin-top: 26px; } label.check input { width: 18px; height: 18px; }
.form-grid .panel { margin-bottom: 20px; } .form-actions { display: flex; gap: 12px; }
.stack { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; } .stack label { width: 100%; margin: 0; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr.is-muted td { opacity: .55; } .table .actions { justify-content: flex-end; }
.enroll { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
.enroll summary { list-style: none; cursor: pointer; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.enroll summary::-webkit-details-marker { display: none; } .enroll[open] summary { border-bottom: 1px solid var(--line); background: var(--bg-alt); border-radius: 10px 10px 0 0; }
.enroll-form { padding: 18px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.inline-form select, .inline-form input { width: auto; flex: 1; min-width: 160px; }
details.more { border: 1px dashed var(--line); border-radius: 10px; padding: 12px 16px; }
details.more summary { cursor: pointer; font-weight: 600; font-size: .92rem; } details.more[open] summary { margin-bottom: 12px; }
.plain-list { padding-left: 18px; } .plain-list li { margin-bottom: 8px; font-size: .92rem; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .features-grid, .labs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lab-detail-grid, .access-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 32px; } .hero-exx { font-size: 48px; }
}
@media (max-width: 860px) {
  .hubs-links { display: none; } .hubs-label { display: none; }
  .header-inner { height: 72px; } .brand-mark { width: 96px; }
  .nav-toggle { display: flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 4px; box-shadow: 0 12px 24px rgba(0,0,0,.1); }
  .main-nav.is-open { display: flex; }
  .main-nav > a { padding: 12px 4px; border-bottom: 1px solid var(--line); } .main-nav > a.btn { margin-top: 10px; border-bottom: 0; }
  .main-nav > a.active:not(.btn)::after { display: none; }
  .hero { padding: 40px 0; } .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 340px; order: -1; } .hero-image { inset: 16px 16px 16px 24px; }
  .hero-chip-2 { right: 0; } .hero-chip strong { font-size: 1.1rem; }
  .hero-tagline { font-size: 20px; } .hero-exx { font-size: 38px; } .hero-sub { font-size: 18px; } .hero-divider { width: 200px; }
  h1 { font-size: 2rem; } h2 { font-size: 1.6rem; }
  .section { padding: 52px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); } .stats-grid > div:nth-child(3) { border-left: 0; } .stats-grid > div { border-top: 1px solid rgba(255,255,255,.1); }
  .steps-grid { grid-template-columns: 1fr; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; z-index: 60; left: 0; top: 0; bottom: 0; width: 260px; transform: translateX(-100%); transition: transform .2s; height: auto; }
  .admin-side.is-open { transform: none; box-shadow: var(--shadow-lg); }
  .admin-main { padding: 16px 16px 48px; }
  .stat-grid, .row-3, .row-2 { grid-template-columns: 1fr; } label.check { margin-top: 0; }
  .auth-card { grid-template-columns: 1fr; } .auth-side { display: none; } .auth-form { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .features-grid, .labs-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .filter-search { width: 100%; } .filter-search input { min-width: 0; flex: 1; }
  .hero-chip-3 { display: none; }
}

/* ---------- polish ---------- */
.site-footer .brand { color: var(--orange); }
.admin-shell { background: linear-gradient(90deg, #1f2933 0, #1f2933 250px, #f3f4f6 250px); }
@media (max-width: 860px) { .admin-shell { background: #f3f4f6; } }
.footer-grid-3 { grid-template-columns: 1.8fr 1fr 1fr; }
.hero-chip-2 { bottom: 40px; }
@media (max-width: 860px) { .footer-grid-3 { grid-template-columns: 1fr; gap: 28px; } }


.tool-links { list-style: none; padding: 0; margin: 0; } .tool-links li { padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; } .tool-links li:last-child { border-bottom: 0; }

/* ================= 5G LAB — premium page ================= */
:root { --fg-ink:#0f1720; --fg-navy:#111c2e; }
.fg-grad { background:linear-gradient(90deg,var(--orange),var(--orange-2)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.reveal { opacity:0; transform:translateY(24px); transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;transition:none;} }

/* hero */
.fg-hero { position:relative; overflow:hidden; background:radial-gradient(120% 120% at 85% 0%, #10233b 0%, #0c1626 45%, #0a1220 100%); color:#eaf1f8; padding:76px 0 88px; }
.fg-hero-bg { position:absolute; inset:0; z-index:0; overflow:hidden; }
.fg-hero-bg span { position:absolute; border-radius:50%; filter:blur(70px); opacity:.5; animation:fgFloat 14s ease-in-out infinite; }
.fg-hero-bg span:nth-child(1){ width:420px;height:420px; background:#e2502766; right:-80px; top:-120px; }
.fg-hero-bg span:nth-child(2){ width:360px;height:360px; background:#0391ca55; left:-100px; bottom:-140px; animation-delay:-5s; }
.fg-hero-bg span:nth-child(3){ width:280px;height:280px; background:#c9952c44; right:30%; bottom:-100px; animation-delay:-9s; }
@keyframes fgFloat { 0%,100%{transform:translate(0,0);} 50%{transform:translate(20px,-24px);} }
.fg-hero-inner { position:relative; z-index:1; display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center; }
.fg-live-pill { display:inline-flex; align-items:center; gap:8px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.14); color:#dbe6f1; padding:7px 14px; border-radius:999px; font-size:.82rem; font-weight:600; backdrop-filter:blur(6px); text-decoration:none; }
.fg-live-pill:hover { text-decoration:none; border-color:rgba(255,255,255,.3); }
.fg-live-pill b { color:#fff; }
.fg-h1 { font-size:4rem; line-height:1.04; font-weight:800; margin:20px 0 18px; color:#fff; letter-spacing:-.02em; }
.fg-lead { font-size:1.16rem; line-height:1.6; color:#b8c6d6; max-width:560px; margin:0 0 28px; }
.fg-lead b { color:#e6eef7; font-weight:600; }
.fg-actions { display:flex; gap:14px; flex-wrap:wrap; }
.fg-cta { position:relative; }
.fg-cta-arrow { display:inline-block; transition:transform .2s; }
.fg-cta:hover .fg-cta-arrow { transform:translateX(4px); }
.btn-ghost-dark { background:rgba(255,255,255,.06); color:#eaf1f8 !important; border-color:rgba(255,255,255,.22); }
.btn-ghost-dark:hover { background:rgba(255,255,255,.12); }
.fg-trust { display:flex; align-items:center; gap:14px; margin-top:28px; color:#8fa2b6; font-size:.86rem; font-weight:500; }
.fg-trust i { width:4px; height:4px; border-radius:50%; background:#4a5f76; }

/* hero core card */
.fg-hero-visual { position:relative; }
.fg-core-card { background:linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border:1px solid rgba(255,255,255,.14); border-radius:20px; padding:20px; box-shadow:0 30px 70px rgba(0,0,0,.45); backdrop-filter:blur(10px); }
.fg-core-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.fg-core-title { font-family:ui-monospace,Menlo,Consolas,monospace; font-size:.78rem; letter-spacing:.12em; color:#9fb2c6; font-weight:700; }
.fg-core-badge { font-size:.66rem; font-weight:800; letter-spacing:.08em; padding:5px 10px; border-radius:999px; background:rgba(1,158,124,.18); color:#5ee0b8; border:1px solid rgba(1,158,124,.35); }
.fg-core-badge.is-down { background:rgba(198,40,40,.2); color:#ff9a9a; border-color:rgba(198,40,40,.4); }
.fg-sba { border-radius:14px; background:radial-gradient(80% 90% at 50% 30%, rgba(3,145,202,.12), transparent 70%); }
.fg-sba-svg { width:100%; height:auto; display:block; }
.fg-sba-link { stroke:rgba(255,255,255,.14); stroke-width:1; }
.fg-sba-pkt { fill:var(--orange-2); filter:drop-shadow(0 0 4px var(--orange-2)); }
.fg-sba-nf { fill:rgba(255,255,255,.06); stroke:rgba(3,145,202,.6); stroke-width:1.4; }
.fg-sba-nftxt { fill:#dbe8f4; font-size:8.5px; font-weight:700; text-anchor:middle; font-family:ui-monospace,monospace; }
.fg-sba-bus { fill:rgba(226,80,39,.22); stroke:var(--orange); stroke-width:1.6; }
.fg-sba-bustxt { fill:#ffd9c9; font-size:8px; font-weight:800; text-anchor:middle; font-family:ui-monospace,monospace; }
.fg-core-metrics { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-top:12px; }
.fg-core-metrics > div { background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); border-radius:10px; padding:10px 6px; text-align:center; }
.fg-core-metrics b { display:block; font-size:1.3rem; font-weight:800; color:#fff; line-height:1; }
.fg-core-metrics span { font-size:.66rem; color:#8fa2b6; text-transform:uppercase; letter-spacing:.05em; }

/* counters strip */
.fg-counters { background:var(--fg-navy); color:#fff; }
.fg-counter-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.fg-counter { padding:30px 16px; text-align:center; border-left:1px solid rgba(255,255,255,.08); }
.fg-counter:first-child { border-left:0; }
.fg-counter b { display:block; font-size:2.4rem; font-weight:800; background:linear-gradient(90deg,var(--orange),var(--orange-2)); -webkit-background-clip:text; background-clip:text; color:transparent; line-height:1.1; }
.fg-counter b.nocount { font-size:1.9rem; }
.fg-counter span { font-size:.85rem; color:#9fb0c2; }

/* features */
.fg-features { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.fg-feat { background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px 24px; transition:transform .25s, box-shadow .25s, border-color .25s; transition-delay:var(--d,0ms); position:relative; overflow:hidden; }
.fg-feat::after { content:''; position:absolute; left:0; right:0; top:0; height:3px; background:linear-gradient(90deg,var(--orange),var(--orange-2)); transform:scaleX(0); transform-origin:left; transition:transform .3s; }
.fg-feat:hover { transform:translateY(-6px); box-shadow:0 22px 44px rgba(15,23,32,.12); border-color:transparent; }
.fg-feat:hover::after { transform:scaleX(1); }
.fg-feat-icon { width:52px; height:52px; border-radius:14px; background:linear-gradient(135deg, rgba(226,80,39,.12), rgba(247,147,30,.2)); color:var(--orange); display:grid; place-items:center; margin-bottom:16px; }
.fg-feat-icon svg { width:26px; height:26px; }
.fg-feat h3 { font-size:1.12rem; margin-bottom:8px; display:flex; align-items:center; gap:8px; }
.fg-feat p { color:var(--muted); font-size:.93rem; margin:0; }
.fg-tag { font-size:.6rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#fff; background:linear-gradient(90deg,var(--orange),var(--orange-2)); padding:3px 8px; border-radius:999px; }

/* honest box */
.honest-box { display:flex; gap:22px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-left:6px solid var(--orange); border-radius:16px; padding:28px 30px; box-shadow:var(--shadow); }
.honest-box h3 { margin-bottom:6px; } .honest-box p { margin:0; color:var(--muted); }
.honest-icon { flex-shrink:0; margin:0; }

/* timeline */
.fg-do-section { background:linear-gradient(180deg,#fff, #fbfbfb); }
.fg-timeline { max-width:820px; margin:0 auto; position:relative; }
.fg-timeline::before { content:''; position:absolute; left:27px; top:10px; bottom:10px; width:2px; background:linear-gradient(180deg,var(--orange),var(--orange-2),transparent); }
.fg-tl-item { display:flex; gap:22px; align-items:flex-start; padding:14px 0; position:relative; }
.fg-tl-num { flex-shrink:0; width:56px; height:56px; border-radius:50%; background:var(--grad); color:#fff; font-weight:800; font-size:1.3rem; display:grid; place-items:center; box-shadow:0 8px 20px rgba(226,80,39,.3); z-index:1; }
.fg-tl-body { background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px 20px; flex:1; box-shadow:0 2px 10px rgba(0,0,0,.04); }
.fg-tl-body h3 { font-size:1.08rem; margin-bottom:4px; } .fg-tl-body p { margin:0; color:var(--muted); font-size:.93rem; }

/* faq */
.fg-faq-grid { display:grid; grid-template-columns:.85fr 1.15fr; gap:48px; align-items:start; }
.fg-faq-grid h2 { font-size:2.2rem; }
.faq { border:1px solid var(--line); border-radius:12px; background:#fff; margin-bottom:10px; padding:0 20px; transition:border-color .2s, box-shadow .2s; }
.faq[open] { border-color:var(--orange); box-shadow:0 6px 20px rgba(226,80,39,.08); }
.faq summary { cursor:pointer; font-weight:600; padding:16px 0; list-style:none; position:relative; padding-right:30px; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:'+'; position:absolute; right:0; top:12px; font-size:1.5rem; color:var(--orange); font-weight:700; transition:transform .2s; }
.faq[open] summary::after { content:'–'; }
.faq p { color:var(--muted); margin:0 0 16px; }

/* final cta */
.fg-final { position:relative; overflow:hidden; background:var(--fg-navy); color:#fff; padding:80px 0; text-align:center; }
.fg-final-bg { position:absolute; inset:0; background:radial-gradient(60% 120% at 50% 0%, rgba(226,80,39,.28), transparent 60%); }
.fg-final-inner { position:relative; z-index:1; }
.fg-final h2 { color:#fff; font-size:2.6rem; margin-bottom:12px; }
.fg-final p { color:#b8c6d6; max-width:560px; margin:0 auto 28px; font-size:1.08rem; }

@media (max-width:1024px){ .fg-features{grid-template-columns:repeat(2,1fr);} .fg-hero-inner{grid-template-columns:1fr; gap:40px;} .fg-hero-visual{max-width:420px;} .fg-h1{font-size:3rem;} .fg-faq-grid{grid-template-columns:1fr; gap:28px;} }
@media (max-width:640px){ .fg-features{grid-template-columns:1fr;} .fg-counter-grid{grid-template-columns:repeat(2,1fr);} .fg-counter:nth-child(3){border-left:0;} .fg-h1{font-size:2.4rem;} .fg-hero{padding:52px 0 60px;} .honest-box{flex-direction:column;} .fg-final h2{font-size:1.9rem;} .fg-tl-num{width:46px;height:46px;font-size:1.1rem;} .fg-timeline::before{left:22px;} }
.cat-5g-telecom { --cat: #0391ca; }

/* My Labs — one-click launch cards */
.dash-launch-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.dash-card { padding-bottom: 20px; }
.dash-card h3 { color: var(--text-dark); font-size: 1.2rem; }
.dash-card-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.launch-big { font-size: 1.05rem; box-shadow: 0 6px 18px rgba(226,80,39,.28); }
.launch-big svg { margin-right: 2px; }
.dash-card-guide { text-align: center; font-size: .9rem; font-weight: 600; color: var(--muted); }
.dash-card-guide:hover { color: var(--orange); }
.btn.is-disabled { opacity: .55; pointer-events: none; }

/* Green Start button on My Labs — clear "go" signal for students */
.start-lab-btn { background: linear-gradient(135deg, #12a150, #0d8a43); color: #fff !important; border: 0; font-size: 1.08rem; box-shadow: 0 6px 18px rgba(18,161,80,.32); }
.start-lab-btn:hover { filter: brightness(1.05); text-decoration: none; }
.start-lab-btn svg { margin-right: 3px; }
.status-active { background: #e7f7ee; color: #0d7a45; }
