/* ═══════════════════════════════════════════════════════════════
   ПермьКарьера — Design System
   Modern EdTech Platform · Пермь 2026
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --blue:       #2563EB;
  --blue-dk:    #1D4ED8;
  --blue-lt:    #EFF6FF;
  --blue-bd:    #BFDBFE;
  --blue-mid:   #3B82F6;
  --green:      #10B981;
  --green-lt:   #ECFDF5;
  --green-bd:   #6EE7B7;
  --amber:      #F59E0B;
  --amber-lt:   #FFFBEB;
  --purple:     #7C3AED;
  --purple-lt:  #F5F3FF;
  --red:        #EF4444;
  --red-lt:     #FEF2F2;

  --t1: #0F172A;
  --t2: #475569;
  --t3: #94A3B8;

  --bg:     #FFFFFF;
  --bg-s:   #F8FAFC;
  --bg-ss:  #F1F5F9;
  --border: #E2E8F0;
  --bord-l: #F1F5F9;

  --sh-xs: 0 1px 2px rgba(0,0,0,.05);
  --sh-sm: 0 2px 8px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sh-md: 0 4px 24px rgba(0,0,0,.08);
  --sh-lg: 0 8px 48px rgba(0,0,0,.10);
  --sh-xl: 0 20px 60px rgba(0,0,0,.12);
  --sh-blue: 0 4px 20px rgba(37,99,235,.25);

  --r-sm: 8px;
  --r:    12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl:32px;

  --nav-h: 68px;
  --max-w: 1240px;
  --px: clamp(1rem, 4vw, 2.5rem);
  --side: var(--px);
  --ease: cubic-bezier(.4,0,.2,1);
  --t: .2s var(--ease);
}

/* ── Reset ──────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;font-size:16px;line-height:1.6;color:var(--t1);background:var(--bg)}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:none;background:none}
ul,ol{list-style:none}
input,select,textarea{font:inherit}

/* ── Typography ─────────────────────────────────────────────── */
.t-display{font-size:clamp(2.5rem,5.5vw,4.25rem);font-weight:800;line-height:1.08;letter-spacing:-.03em}
.t-h1{font-size:clamp(2rem,4vw,3rem);font-weight:700;line-height:1.12;letter-spacing:-.025em}
.t-h2{font-size:clamp(1.5rem,3vw,2.25rem);font-weight:700;line-height:1.2;letter-spacing:-.02em}
.t-h3{font-size:clamp(1.1rem,2vw,1.4rem);font-weight:600;line-height:1.3}
.t-body-lg{font-size:1.125rem;line-height:1.7}
.t-body{font-size:1rem;line-height:1.65}
.t-sm{font-size:.875rem;line-height:1.55}
.t-xs{font-size:.75rem;line-height:1.4}
.t-muted{color:var(--t2)}
.t-blue{color:var(--blue)}
.t-green{color:var(--green)}

/* ── Layout ─────────────────────────────────────────────────── */
.container{max-width:var(--max-w);margin:0 auto;padding:0 var(--px)}
.section{padding:clamp(4rem,8vw,7rem) 0}
.section+.section{border-top:1px solid var(--bord-l)}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}

/* ── Section Header ─────────────────────────────────────────── */
.sec-label{display:inline-flex;align-items:center;gap:.5rem;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--blue);margin-bottom:.85rem}
.sec-label::before{content:'';display:block;width:14px;height:2px;background:var(--blue);border-radius:1px}
.sec-head{margin-bottom:clamp(2.5rem,5vw,4rem)}
.sec-head--center{text-align:center}
.sec-head--center .sec-label{justify-content:center}
.sec-title{margin-bottom:.6rem}
.sec-subtitle{color:var(--t2);max-width:560px}
.sec-head--center .sec-subtitle{margin:0 auto}

/* ── Navigation ─────────────────────────────────────────────── */
.nav{position:sticky;top:0;z-index:100;height:var(--nav-h);background:rgba(255,255,255,.94);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-bottom:1px solid var(--border);transition:box-shadow var(--t)}
.nav.scrolled{box-shadow:var(--sh-sm)}
.nav__in,.nav__inner{max-width:var(--max-w);margin:0 auto;padding:0 var(--px);height:100%;display:flex;align-items:center;gap:1.25rem}
.nav__logo{font-size:.975rem;font-weight:800;color:var(--t1);display:flex;align-items:center;gap:.45rem;flex-shrink:0;letter-spacing:.01em;white-space:nowrap}
.nav__logo-mark{width:22px;height:22px;background:var(--blue);border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.nav__logo-mark svg{width:12px;height:12px;fill:white}
.nav__links{display:flex;align-items:center;gap:1.5rem;margin-left:auto;flex-shrink:1}
.nav__link{font-size:.875rem;font-weight:500;color:var(--t2);transition:color var(--t);white-space:nowrap}
.nav__link:hover,.nav__link.active{color:var(--t1)}
.nav__actions{display:flex;align-items:center;gap:.625rem;margin-left:.75rem;flex-shrink:0}
.nav__burger{display:none;flex-direction:column;gap:5px;padding:4px;margin-left:auto}
.nav__burger span{display:block;width:22px;height:2px;background:var(--t1);border-radius:2px;transition:var(--t)}
.nav__drawer{display:none;position:fixed;inset:var(--nav-h) 0 0 0;background:var(--bg);z-index:99;padding:2rem var(--px);flex-direction:column;gap:0;border-top:1px solid var(--border);overflow-y:auto}
.nav__drawer.open{display:flex}
.nav__drawer .nav__link{font-size:1.1rem;padding:.9rem 0;border-bottom:1px solid var(--bord-l);color:var(--t1)}
.nav__drawer .btn{margin-top:1.5rem;width:100%;justify-content:center}

/* ── Buttons ────────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.75rem;font-size:.95rem;font-weight:600;border-radius:var(--r-sm);transition:all var(--t);white-space:nowrap;line-height:1}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 1px 2px rgba(37,99,235,.2)}
.btn-primary:hover{background:var(--blue-dk);box-shadow:var(--sh-blue);transform:translateY(-1px)}
.btn-primary:active{transform:translateY(0)}
.btn-secondary{background:var(--bg);color:var(--t1);border:1.5px solid var(--border)}
.btn-secondary:hover{border-color:var(--t3);background:var(--bg-s)}
.btn-ghost{color:var(--blue);padding:.5rem 0;font-weight:600}
.btn-ghost:hover{opacity:.8}
.btn-lg{padding:1rem 2.25rem;font-size:1.05rem;border-radius:var(--r)}
.btn-sm{padding:.5rem 1.1rem;font-size:.84rem}
.btn-full{width:100%;justify-content:center}
.btn-icon-arrow::after{content:'→';transition:transform var(--t);display:inline-block}
.btn:hover .btn-icon-arrow::after{transform:translateX(4px)}

/* ── Badges ─────────────────────────────────────────────────── */
.badge{display:inline-flex;align-items:center;gap:.3rem;padding:.28rem .75rem;font-size:.78rem;font-weight:600;border-radius:99px}
.badge-blue{background:var(--blue-lt);color:var(--blue)}
.badge-green{background:var(--green-lt);color:var(--green)}
.badge-amber{background:var(--amber-lt);color:var(--amber)}
.badge-purple{background:var(--purple-lt);color:var(--purple)}
.badge-gray{background:var(--bg-ss);color:var(--t2)}

/* ── Cards ──────────────────────────────────────────────────── */
.card{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--r-lg);padding:1.75rem;transition:var(--t)}
.card:hover{border-color:var(--blue-bd);box-shadow:var(--sh-md);transform:translateY(-2px)}
.card-soft{background:var(--bg-s);border-color:var(--bord-l)}
.card-soft:hover{background:var(--bg)}

/* ── Progress ───────────────────────────────────────────────── */
.progress{height:8px;background:var(--border);border-radius:99px;overflow:hidden}
.progress__fill{height:100%;background:var(--blue);border-radius:99px;transition:width 1.2s var(--ease)}
.progress--thin{height:4px}
.progress--green .progress__fill{background:var(--green)}
.progress--sm{height:6px}

/* ── Divider ────────────────────────────────────────────────── */
.divider{height:1px;background:var(--border);margin:1.5rem 0}

/* ═══════════════════════════════════════════════════════════════
   MacBook Mockup
   ═══════════════════════════════════════════════════════════════ */
.mac-wrap{position:relative;filter:drop-shadow(0 32px 64px rgba(0,0,0,.14)) drop-shadow(0 8px 16px rgba(0,0,0,.08))}
.mac-lid{background:linear-gradient(160deg,#e8e8ec 0%,#d8d8de 100%);border-radius:12px 12px 0 0;padding:4px 4px 0;border:1px solid rgba(0,0,0,.08)}
.mac-cam-bar{height:20px;display:flex;align-items:center;justify-content:center;background:linear-gradient(160deg,#e8e8ec 0%,#d8d8de 100%)}
.mac-camera{width:5px;height:5px;background:#888890;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}
.mac-screen{background:#0d1117;border-radius:4px;overflow:hidden;aspect-ratio:16/10;position:relative}
.mac-base{background:linear-gradient(180deg,#d0d0d6 0%,#b8b8be 100%);height:20px;border-radius:0 0 4px 4px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(0,0,0,.06);border-top:none}
.mac-hinge{width:100px;height:5px;background:rgba(0,0,0,.12);border-radius:0 0 3px 3px}
.mac-foot{height:2px;background:linear-gradient(to right,transparent,#a8a8b0 20%,#a8a8b0 80%,transparent);border-radius:1px;margin:0 2rem}

/* Mini App UI inside MacBook */
.mac-ui{width:100%;height:100%;background:var(--bg);display:flex;flex-direction:column;font-family:'Inter',sans-serif;overflow:hidden}
.mac-nav{height:30px;background:var(--bg);border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 14px;gap:10px;flex-shrink:0}
.mac-nav-logo{font-size:8.5px;font-weight:800;color:var(--blue);display:flex;align-items:center;gap:4px}
.mac-nav-logo-mark{width:11px;height:11px;background:var(--blue);border-radius:3px;display:flex;align-items:center;justify-content:center;font-size:6px;color:white;font-weight:900}
.mac-nav-links{display:flex;gap:10px;margin-left:auto}
.mac-nav-link{font-size:7px;color:var(--t3)}
.mac-avatar{width:16px;height:16px;background:var(--blue-lt);border-radius:50%;color:var(--blue);font-size:7px;font-weight:700;display:flex;align-items:center;justify-content:center;border:1px solid var(--blue-bd)}
.mac-body{display:flex;flex:1;min-height:0;overflow:hidden}
.mac-sidebar{width:90px;background:var(--bg-s);border-right:1px solid var(--border);padding:8px 5px;display:flex;flex-direction:column;gap:1px;flex-shrink:0}
.mac-s-item{padding:4px 7px;border-radius:5px;font-size:7px;color:var(--t2);cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mac-s-item.on{background:var(--blue-lt);color:var(--blue);font-weight:600}
.mac-s-section{font-size:6px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--t3);padding:8px 7px 3px;margin-top:4px}
.mac-main{flex:1;padding:12px 14px;overflow:hidden}
.mac-greeting{font-size:10px;font-weight:700;color:var(--t1);margin-bottom:1px}
.mac-sub{font-size:7.5px;color:var(--t2);margin-bottom:10px}
.mac-prog-row{display:flex;justify-content:space-between;margin-bottom:3px}
.mac-prog-label{font-size:7px;color:var(--t2)}
.mac-prog-pct{font-size:7px;font-weight:700;color:var(--blue)}
.mac-prog{height:5px;background:var(--border);border-radius:99px;margin-bottom:10px;overflow:hidden}
.mac-prog-fill{height:100%;width:47%;background:var(--blue);border-radius:99px}
.mac-grid2{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:10px}
.mac-card{background:var(--bg-s);border:1px solid var(--border);border-radius:6px;padding:8px}
.mac-card-lbl{font-size:6.5px;color:var(--t3);margin-bottom:2px}
.mac-card-title{font-size:7.5px;font-weight:600;color:var(--t1);margin-bottom:6px;line-height:1.25}
.mac-chip{display:inline-block;font-size:6px;font-weight:600;padding:2px 6px;border-radius:3px;line-height:1.4}
.mac-chip-blue{background:var(--blue);color:white}
.mac-chip-ghost{color:var(--blue)}
.mac-skills-label{font-size:7px;font-weight:600;color:var(--t1);margin-bottom:5px}
.mac-tags{display:flex;flex-wrap:wrap;gap:3px}
.mac-tag{font-size:6.5px;padding:2px 5px;border-radius:3px}
.mac-tag-blue{background:var(--blue-lt);color:var(--blue)}
.mac-tag-green{background:var(--green-lt);color:var(--green)}
.mac-tag-gray{background:var(--bg-ss);color:var(--t3)}

/* ═══════════════════════════════════════════════════════════════
   iPhone Mockup
   ═══════════════════════════════════════════════════════════════ */
.iphone-wrap{position:relative;filter:drop-shadow(0 24px 48px rgba(0,0,0,.18))}
.iphone{width:195px;background:#1c1c1e;border-radius:44px;padding:12px 10px;position:relative;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.07),inset 0 0 0 3px rgba(255,255,255,.03)}
.iphone-island{width:72px;height:24px;background:#1c1c1e;border-radius:0 0 14px 14px;position:absolute;top:12px;left:50%;transform:translateX(-50%);z-index:10}
.iphone-screen{background:var(--bg);border-radius:32px;overflow:hidden;aspect-ratio:9/19.5;position:relative}
.iphone-btn{position:absolute;background:#2c2c2e;border-radius:2px}
.iphone-btn-power{width:3px;height:52px;right:-3px;top:106px}
.iphone-btn-v1{width:3px;height:32px;left:-3px;top:94px}
.iphone-btn-v2{width:3px;height:32px;left:-3px;top:135px}

/* Inner phone UI */
.ph-ui{width:100%;height:100%;background:var(--bg);display:flex;flex-direction:column;font-family:'Inter',sans-serif;padding-top:28px;overflow:hidden}
.ph-status{padding:0 16px 6px;display:flex;align-items:center;justify-content:space-between}
.ph-time{font-size:9.5px;font-weight:700;color:var(--t1)}
.ph-icons{display:flex;gap:3px;align-items:center}
.ph-icon-bar{width:3px;height:5px;background:var(--t1);border-radius:1px}
.ph-icon-bar:nth-child(1){height:3px}
.ph-icon-bar:nth-child(2){height:4px}
.ph-icon-bar:nth-child(3){height:6px}
.ph-avatar-area{display:flex;flex-direction:column;align-items:center;padding:8px 0 12px;gap:5px}
.ph-avatar{width:46px;height:46px;border-radius:50%;background:var(--blue-lt);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:800;color:var(--blue);border:2.5px solid var(--blue-bd)}
.ph-name{font-size:12px;font-weight:700;color:var(--t1);text-align:center}
.ph-role{font-size:8px;color:var(--t3);text-align:center}
.ph-prog-sec{padding:0 16px 12px}
.ph-prog-head{display:flex;justify-content:space-between;margin-bottom:4px}
.ph-prog-lbl{font-size:7.5px;font-weight:600;color:var(--t1)}
.ph-prog-pct{font-size:7.5px;font-weight:700;color:var(--blue)}
.ph-prog{height:6px;background:var(--border);border-radius:99px;overflow:hidden}
.ph-prog-fill{height:100%;width:47%;background:var(--blue);border-radius:99px}
.ph-steps{padding:0 16px;display:flex;flex-direction:column;gap:8px}
.ph-step{display:flex;gap:9px;align-items:flex-start}
.ph-dot{width:16px;height:16px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:6.5px;font-weight:700;margin-top:1px}
.ph-dot-done{background:var(--green-lt);color:var(--green)}
.ph-dot-active{background:var(--blue-lt);color:var(--blue);box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.ph-dot-pending{background:var(--bg-ss);color:var(--t3)}
.ph-step-title{font-size:8.5px;font-weight:600;color:var(--t1);line-height:1.2}
.ph-step-sub{font-size:7px;color:var(--t3);margin-top:1px}
.ph-bottom-bar{margin-top:auto;padding:10px 16px;display:flex;justify-content:space-around;border-top:1px solid var(--bord-l);background:rgba(248,250,252,.95)}
.ph-tab{display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer}
.ph-tab-icon{font-size:12px}
.ph-tab-label{font-size:6px;color:var(--t3)}
.ph-tab.on .ph-tab-label{color:var(--blue);font-weight:600}

/* ═══════════════════════════════════════════════════════════════
   Hero Section
   ═══════════════════════════════════════════════════════════════ */
.hero{padding:clamp(3.5rem,7vw,6.5rem) 0 clamp(4rem,8vw,8rem);overflow:hidden;position:relative}
.hero::before{content:'';position:absolute;top:-200px;right:-200px;width:600px;height:600px;background:radial-gradient(ellipse at center,rgba(37,99,235,.06) 0%,transparent 70%);pointer-events:none;z-index:0}
.hero__in{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center;position:relative;z-index:1}
.hero__pill{display:inline-flex;align-items:center;gap:.5rem;font-size:.78rem;font-weight:600;color:var(--blue);background:var(--blue-lt);border:1px solid var(--blue-bd);padding:.35rem .9rem;border-radius:99px;margin-bottom:1.5rem}
.hero__pill-dot{width:6px;height:6px;background:var(--blue);border-radius:50%;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
.hero__title{margin-bottom:1.25rem}
.hero__title em{font-style:normal;color:var(--blue)}
.hero__sub{font-size:1.1rem;color:var(--t2);max-width:500px;margin-bottom:2.5rem;line-height:1.7}
.hero__actions{display:flex;gap:1rem;flex-wrap:wrap;align-items:center;margin-bottom:2.75rem}
.hero__trust{display:flex;align-items:center;gap:.85rem}
.hero__avatars{display:flex}
.hero__av{width:30px;height:30px;border-radius:50%;background:var(--bg-s);border:2px solid var(--bg);margin-left:-10px;display:flex;align-items:center;justify-content:center;font-size:.65rem;font-weight:700;color:var(--t2)}
.hero__av:first-child{margin-left:0}
.hero__trust-text{font-size:.85rem;color:var(--t2);line-height:1.4}
.hero__trust-text strong{color:var(--t1)}
.hero__visual{position:relative;display:flex;flex-direction:column;align-items:center;gap:1.5rem}
.hero__float-badge{position:absolute;background:var(--bg);border:1.5px solid var(--border);border-radius:var(--r);padding:.75rem 1rem;box-shadow:var(--sh-md);display:flex;align-items:center;gap:.6rem;font-size:.8rem;font-weight:600;color:var(--t1);z-index:10;white-space:nowrap}
.hero__float-badge--tl{top:-10px;left:-30px}
.hero__float-badge--br{bottom:50px;right:-20px}
.hero__float-badge-icon{font-size:1.1rem}

/* ═══════════════════════════════════════════════════════════════
   Stats Strip
   ═══════════════════════════════════════════════════════════════ */
.stats-strip{background:var(--bg-s);padding:2.5rem 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.stats-strip__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.stat-item{text-align:center;padding:1rem}
.stat-num{font-size:2.5rem;font-weight:900;letter-spacing:-.04em;color:var(--t1);line-height:1}
.stat-num span{color:var(--blue)}
.stat-lbl{font-size:.85rem;color:var(--t2);margin-top:.35rem}

/* ═══════════════════════════════════════════════════════════════
   Steps (How it works)
   ═══════════════════════════════════════════════════════════════ */
.steps-wrap{position:relative}
.steps-line{position:absolute;top:22px;left:calc(12.5% + 22px);right:calc(12.5% + 22px);height:1px;background:var(--border);z-index:0}
.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;position:relative;z-index:1}
.step-c{text-align:center}
.step-c__num{width:44px;height:44px;border-radius:50%;background:var(--bg);border:2px solid var(--border);display:flex;align-items:center;justify-content:center;font-size:.95rem;font-weight:700;color:var(--t2);margin:0 auto 1.25rem;transition:all .3s var(--ease)}
.step-c:hover .step-c__num{background:var(--blue);border-color:var(--blue);color:white;transform:scale(1.08);box-shadow:var(--sh-blue)}
.step-c__title{font-size:1rem;font-weight:600;margin-bottom:.5rem}
.step-c__desc{font-size:.875rem;color:var(--t2);line-height:1.55}

/* ═══════════════════════════════════════════════════════════════
   Features Grid
   ═══════════════════════════════════════════════════════════════ */
.feat-card{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--r-lg);padding:1.75rem;transition:all .25s var(--ease);cursor:default}
.feat-card:hover{border-color:var(--blue-bd);box-shadow:var(--sh-md);transform:translateY(-3px)}
.feat-icon{width:46px;height:46px;border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;font-size:1.3rem;margin-bottom:1.25rem}
.feat-title{font-size:1.05rem;font-weight:600;margin-bottom:.45rem}
.feat-desc{font-size:.875rem;color:var(--t2);line-height:1.6}
.feat-link{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;font-weight:600;color:var(--blue);margin-top:1rem;transition:var(--t)}
.feat-link:hover{gap:.55rem}
.feat-link::after{content:'→';transition:transform var(--t)}
.feat-card:hover .feat-link::after{transform:translateX(3px)}

/* ═══════════════════════════════════════════════════════════════
   Dashboard Preview
   ═══════════════════════════════════════════════════════════════ */
.dash-sec{background:var(--bg-s)}
.dash-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2.5rem}
.dash-widget{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--r-lg);padding:1.5rem}
.dash-widget__lbl{font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--t3);margin-bottom:.85rem}
.dash-widget__num{font-size:2.5rem;font-weight:900;letter-spacing:-.04em;color:var(--t1);line-height:1;margin-bottom:.3rem}
.dash-widget__trend{font-size:.85rem;color:var(--green);font-weight:600}
.dash-widget__trend-neg{color:var(--red)}
.dash-bar-row{display:flex;align-items:center;gap:.75rem;margin-bottom:.55rem}
.dash-bar-lbl{font-size:.8rem;color:var(--t2);width:130px;flex-shrink:0}
.dash-bar{flex:1;height:7px;background:var(--bg-ss);border-radius:99px;overflow:hidden}
.dash-bar-fill{height:100%;border-radius:99px;background:var(--blue);transition:width 1.2s var(--ease)}
.dash-bar-val{font-size:.8rem;font-weight:600;color:var(--t1);width:35px;text-align:right;flex-shrink:0}

/* ═══════════════════════════════════════════════════════════════
   CTA Banner
   ═══════════════════════════════════════════════════════════════ */
.cta-banner{background:var(--blue);border-radius:var(--r-xl);padding:clamp(2.5rem,5vw,4rem);text-align:center;overflow:hidden;position:relative}
.cta-banner::before,.cta-banner::after{content:'';position:absolute;border-radius:50%;background:rgba(255,255,255,.06);pointer-events:none}
.cta-banner::before{width:400px;height:400px;top:-150px;left:-100px}
.cta-banner::after{width:300px;height:300px;bottom:-100px;right:-50px}
.cta-banner__title{font-size:clamp(1.75rem,3.5vw,2.5rem);font-weight:800;color:white;margin-bottom:.75rem;letter-spacing:-.025em}
.cta-banner__sub{color:rgba(255,255,255,.75);font-size:1.1rem;margin-bottom:2rem;max-width:480px;margin-left:auto;margin-right:auto}
.cta-banner__actions{display:flex;gap:1rem;justify-content:center;flex-wrap:wrap}

/* ═══════════════════════════════════════════════════════════════
   Footer
   ═══════════════════════════════════════════════════════════════ */
.footer{background:var(--t1);color:rgba(255,255,255,.55);padding:4rem 0 2rem}
.footer__top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:3rem;margin-bottom:3rem}
.footer__logo{font-size:1.1rem;font-weight:800;color:white;display:flex;align-items:center;gap:.45rem;margin-bottom:.85rem}
.footer__desc{font-size:.875rem;line-height:1.65;max-width:280px}
.footer__col-title{font-size:.875rem;font-weight:600;color:white;margin-bottom:1rem}
.footer__link{display:block;font-size:.85rem;margin-bottom:.5rem;transition:color var(--t)}
.footer__link:hover{color:white}
.footer__bottom{border-top:1px solid rgba(255,255,255,.08);padding-top:1.5rem;display:flex;justify-content:space-between;font-size:.8rem}

/* ═══════════════════════════════════════════════════════════════
   Onboarding / Register
   ═══════════════════════════════════════════════════════════════ */
.onb-page{min-height:100vh;background:var(--bg-s);display:flex;flex-direction:column}
.onb-nav{height:var(--nav-h);background:var(--bg);border-bottom:1px solid var(--border);display:flex;align-items:center;padding:0 var(--px)}
.onb-main{flex:1;display:flex;align-items:center;justify-content:center;padding:3rem var(--px)}
.onb-card{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--r-xl);padding:clamp(2rem,5vw,3.5rem);width:100%;max-width:620px;box-shadow:var(--sh-lg)}
.onb-steps-bar{display:flex;gap:.5rem;margin-bottom:2.75rem}
.onb-step-seg{flex:1;height:3px;border-radius:99px;background:var(--border);transition:background .4s}
.onb-step-seg.done{background:var(--blue)}
.onb-step-seg.active{background:linear-gradient(to right,var(--blue) 50%,var(--border) 50%)}
.onb-step-info{font-size:.82rem;color:var(--t3);margin-bottom:1.75rem}
.onb-step-info strong{color:var(--blue);font-weight:700}
.onb-title{margin-bottom:.4rem}
.onb-sub{font-size:1rem;color:var(--t2);margin-bottom:2rem;line-height:1.6}
.onb-step{display:none}
.onb-step.active{display:block}
.choice-grid{display:grid;gap:.75rem;margin-bottom:2.5rem}
.choice-grid-3{grid-template-columns:repeat(3,1fr)}
.choice-grid-4{grid-template-columns:repeat(4,1fr)}
.choice-grid-2{grid-template-columns:repeat(2,1fr)}
.choice-btn{display:flex;flex-direction:column;align-items:center;gap:.6rem;padding:1.25rem .9rem;background:var(--bg);border:1.5px solid var(--border);border-radius:var(--r-lg);cursor:pointer;transition:all .2s var(--ease);text-align:center;position:relative;user-select:none}
.choice-btn:hover{border-color:var(--blue-bd);background:var(--blue-lt);transform:translateY(-1px)}
.choice-btn.sel{border-color:var(--blue);background:var(--blue-lt)}
.choice-btn.sel::after{content:'✓';position:absolute;top:.5rem;right:.5rem;width:18px;height:18px;background:var(--blue);color:white;font-size:.65rem;font-weight:700;border-radius:50%;display:flex;align-items:center;justify-content:center}
.choice-emoji{font-size:1.8rem;line-height:1}
.choice-label{font-size:.9rem;font-weight:600;color:var(--t1)}
.choice-sub{font-size:.78rem;color:var(--t2);line-height:1.4}
.onb-footer{display:flex;justify-content:space-between;align-items:center;margin-top:2rem;padding-top:2rem;border-top:1px solid var(--bord-l)}
.onb-nav-hint{font-size:.85rem;color:var(--t3)}

/* ═══════════════════════════════════════════════════════════════
   Profile Page
   ═══════════════════════════════════════════════════════════════ */
.profile-layout{display:grid;grid-template-columns:300px 1fr;gap:2.5rem;align-items:start}
.profile-sidebar{position:sticky;top:calc(var(--nav-h) + 2rem)}
.profile-card{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--r-xl);padding:2rem;text-align:center}
.profile-avatar{width:80px;height:80px;border-radius:50%;background:var(--blue-lt);display:flex;align-items:center;justify-content:center;font-size:1.75rem;font-weight:800;color:var(--blue);margin:0 auto 1rem;border:3px solid var(--blue-bd);position:relative}
.profile-avatar__status{width:16px;height:16px;background:var(--green);border-radius:50%;border:2px solid var(--bg);position:absolute;bottom:2px;right:2px}
.profile-name{font-size:1.2rem;font-weight:700;margin-bottom:.25rem}
.profile-role{font-size:.875rem;color:var(--t2);margin-bottom:1rem}
.profile-stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);border-radius:var(--r-sm);overflow:hidden;border:1px solid var(--border);margin-top:1.5rem}
.profile-stat{background:var(--bg);padding:.875rem .5rem;text-align:center}
.profile-stat__n{font-size:1.25rem;font-weight:800;color:var(--t1)}
.profile-stat__l{font-size:.68rem;color:var(--t3);margin-top:.15rem}
.achieve-list{display:flex;flex-direction:column;gap:.6rem;margin-top:1rem}
.achieve-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:var(--bg-s);border-radius:var(--r-sm);border:1px solid var(--bord-l)}
.achieve-icon{font-size:1.2rem;flex-shrink:0}
.achieve-title{font-size:.875rem;font-weight:600;color:var(--t1)}
.achieve-date{font-size:.78rem;color:var(--t3);margin-top:.1rem}
.prog-section{margin-bottom:1.5rem}
.prog-label-row{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:.6rem}
.prog-label{font-size:.875rem;font-weight:600;color:var(--t1)}
.prog-pct{font-size:.875rem;font-weight:700;color:var(--blue)}
.rec-card{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--r-lg);padding:1.25rem;display:flex;gap:1rem;align-items:center;transition:var(--t);margin-bottom:.75rem}
.rec-card:hover{border-color:var(--blue-bd);box-shadow:var(--sh-sm);transform:translateX(3px)}
.rec-icon{width:44px;height:44px;border-radius:var(--r-sm);display:flex;align-items:center;justify-content:center;font-size:1.2rem;flex-shrink:0}
.rec-title{font-size:.95rem;font-weight:600;color:var(--t1);margin-bottom:.2rem}
.rec-meta{font-size:.8rem;color:var(--t2)}

/* ═══════════════════════════════════════════════════════════════
   Roadmap Page
   ═══════════════════════════════════════════════════════════════ */
.roadmap-wrap{max-width:800px;margin:0 auto}
.roadmap-hero{background:var(--bg-s);padding:clamp(2.5rem,5vw,4rem) 0 clamp(2rem,4vw,3rem);border-bottom:1px solid var(--border);margin-bottom:3.5rem}
.roadmap-hero__inner{max-width:800px;margin:0 auto;padding:0 var(--px)}
.roadmap-meta{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}
.roadmap-prog-row{display:flex;align-items:center;gap:1rem;margin-bottom:.5rem}
.roadmap-prog-wrap{flex:1;max-width:400px}

.roadmap-timeline{position:relative;padding-left:2.75rem}
.roadmap-timeline::before{content:'';position:absolute;left:15px;top:24px;bottom:24px;width:2px;background:linear-gradient(to bottom,var(--blue) 0%,var(--border) 40%)}
.rm-item{position:relative;margin-bottom:2rem}
.rm-dot{position:absolute;left:calc(-2.75rem + 7px);top:1.5rem;width:18px;height:18px;border-radius:50%;background:var(--bg);border:2.5px solid var(--border);z-index:2;transition:all .3s}
.rm-item.done .rm-dot{background:var(--green);border-color:var(--green)}
.rm-item.active .rm-dot{background:var(--blue);border-color:var(--blue);box-shadow:0 0 0 5px var(--blue-lt)}
.rm-card{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--r-lg);padding:1.75rem;transition:all .25s var(--ease)}
.rm-item.done .rm-card{background:linear-gradient(135deg,#f0fdf4 0%,var(--bg) 100%);border-color:var(--green-lt)}
.rm-item.active .rm-card{border-color:var(--blue-bd);box-shadow:0 0 0 4px var(--blue-lt),var(--sh-md)}
.rm-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem;flex-wrap:wrap}
.rm-stage{font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--t3);margin-bottom:.3rem}
.rm-title{font-size:1.2rem;font-weight:700;color:var(--t1)}
.rm-meta{display:flex;gap:.65rem;flex-wrap:wrap;margin-bottom:1rem}
.rm-desc{font-size:.925rem;color:var(--t2);line-height:1.65;margin-bottom:1.25rem}
.rm-skills{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.25rem}
.rm-result{display:flex;align-items:flex-start;gap:.65rem;padding:.9rem 1.1rem;background:var(--bg-s);border-radius:var(--r-sm);border:1px solid var(--bord-l);font-size:.88rem;color:var(--t2);line-height:1.55}
.rm-result-mark{color:var(--green);font-size:1rem;flex-shrink:0;margin-top:.05rem}
.rm-action{margin-top:1.25rem}

/* ═══════════════════════════════════════════════════════════════
   Content Hub
   ═══════════════════════════════════════════════════════════════ */
.hub-hero{background:var(--bg-s);padding:clamp(2.5rem,5vw,4rem) 0;border-bottom:1px solid var(--border)}
.hub-tabs{display:flex;gap:.3rem;flex-wrap:wrap;margin-bottom:2.5rem;border-bottom:2px solid var(--border);padding-bottom:0}
.hub-tab{padding:.65rem 1rem;font-size:.9rem;font-weight:600;color:var(--t2);border-radius:var(--r-sm) var(--r-sm) 0 0;cursor:pointer;transition:var(--t);border-bottom:2.5px solid transparent;margin-bottom:-2px}
.hub-tab:hover{color:var(--t1);background:var(--bg-s)}
.hub-tab.on{color:var(--blue);border-bottom-color:var(--blue)}
.hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.hub-card{background:var(--bg);border:1.5px solid var(--border);border-radius:var(--r-lg);overflow:hidden;transition:all .25s var(--ease)}
.hub-card:hover{box-shadow:var(--sh-md);transform:translateY(-2px)}
.hub-thumb{aspect-ratio:16/9;background:var(--bg-s);display:flex;align-items:center;justify-content:center;font-size:2.5rem;position:relative;overflow:hidden}
.hub-thumb-overlay{position:absolute;inset:0;background:linear-gradient(to top,rgba(15,23,42,.4) 0%,transparent 60%);display:flex;align-items:flex-end;padding:1rem}
.hub-card-body{padding:1.25rem}
.hub-card-meta{display:flex;align-items:center;gap:.5rem;margin-bottom:.65rem;flex-wrap:wrap}
.hub-card-title{font-size:1rem;font-weight:600;color:var(--t1);margin-bottom:.45rem;line-height:1.4}
.hub-card-desc{font-size:.85rem;color:var(--t2);line-height:1.55}
.hub-card-footer{padding:.875rem 1.25rem;border-top:1px solid var(--bord-l);display:flex;align-items:center;justify-content:space-between}
.hub-featured{grid-column:1 / -1;display:grid;grid-template-columns:1.5fr 1fr;gap:0;border-radius:var(--r-lg)}
.hub-featured .hub-thumb{aspect-ratio:auto;min-height:240px;border-radius:var(--r-lg) 0 0 var(--r-lg)}
.hub-featured-body{padding:2rem 1.75rem;display:flex;flex-direction:column;justify-content:center}
.hub-featured-title{font-size:1.3rem;font-weight:700;color:var(--t1);margin-bottom:.65rem;line-height:1.3}

/* ═══════════════════════════════════════════════════════════════
   Page Shared
   ═══════════════════════════════════════════════════════════════ */
.page-hero{background:var(--bg-s);padding:clamp(2.5rem,5vw,4rem) 0;border-bottom:1px solid var(--border);margin-bottom:3.5rem}

/* ═══════════════════════════════════════════════════════════════
   Animations
   ═══════════════════════════════════════════════════════════════ */
@keyframes fadeUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
.anim-up{animation:fadeUp .55s var(--ease) both}
.anim-up:nth-child(2){animation-delay:.08s}
.anim-up:nth-child(3){animation-delay:.16s}
.anim-up:nth-child(4){animation-delay:.24s}
.anim-up:nth-child(5){animation-delay:.32s}
.anim-up:nth-child(6){animation-delay:.40s}

/* ═══════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════ */
@media(max-width:1024px){
  .hero__in{grid-template-columns:1fr;gap:3rem}
  .hero__visual{display:none}
  .steps-line{display:none}
  .steps-grid{grid-template-columns:1fr 1fr}
  .grid-3,.dash-grid{grid-template-columns:1fr 1fr}
  .grid-4{grid-template-columns:1fr 1fr}
  .stats-strip__grid{grid-template-columns:1fr 1fr}
  .profile-layout{grid-template-columns:1fr}
  .profile-sidebar{position:static}
  .footer__top{grid-template-columns:1fr 1fr;gap:2rem}
  .hub-grid{grid-template-columns:1fr 1fr}
  .hub-featured{grid-template-columns:1fr}
  .hub-featured .hub-thumb{border-radius:var(--r-lg) var(--r-lg) 0 0;min-height:180px}
}
@media(max-width:900px){
  .nav__links,.nav__actions{display:none}
  .nav__burger{display:flex}
  .steps-grid{grid-template-columns:1fr}
  .grid-3,.grid-4,.dash-grid,.hub-grid{grid-template-columns:1fr}
  .hero__actions{flex-direction:column;align-items:flex-start}
  .cta-banner__actions{flex-direction:column;align-items:center}
  .footer__top{grid-template-columns:1fr}
  .choice-grid-4{grid-template-columns:1fr 1fr}
  .choice-grid-3{grid-template-columns:1fr 1fr}
  .hub-featured{grid-template-columns:1fr}
  .rm-header{flex-direction:column}
}
@media(max-width:480px){
  .stats-strip__grid{grid-template-columns:1fr 1fr}
  .choice-grid-3{grid-template-columns:1fr 1fr}
  .choice-grid-4{grid-template-columns:1fr 1fr}
  .onb-card{padding:1.5rem}
}
