/* StudentCareerMap landing page: a personal workspace feel */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --blue-50: #eff6ff;
  --teal: #0d9488;
  --teal-50: #f0fdfa;
  --amber: #d97706;
  --amber-50: #fffbeb;
  --green: #15803d;
  --ink: #0b1220;
  --ink-soft: #3f4a5e;
  --muted: #6b778c;
  --line: #e6e9f0;
  --tint: #f5f7fb;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06);
  --shadow: 0 12px 32px -12px rgba(11, 18, 32, 0.16);
  --shadow-lg: 0 40px 80px -32px rgba(11, 18, 32, 0.32);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: white;
  -webkit-font-smoothing: antialiased;
}

/* language switch: only the active language is shown */
html[lang='en'] .sq,
html[lang='sq'] .en { display: none; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.025em; }
svg { width: 1.1em; height: 1.1em; vertical-align: -0.18em; flex-shrink: 0; }
a { color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 40; background: white; padding: 8px 14px; border-radius: 8px; }

/* ------------------------------------------------------------- navigation */
.nav { position: sticky; top: 0; z-index: 20; padding: 12px 16px 0; }

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1112px;
  margin: 0 auto;
  padding: 10px 10px 10px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: var(--primary); color: white; }

.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 7px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--ink-soft); text-decoration: none; }
.nav-links a:hover { background: var(--tint); color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.menu { display: none; position: relative; }
.menu summary { list-style: none; display: inline-flex; padding: 9px; font-size: 18px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 52px; display: grid; min-width: 220px; padding: 8px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); }
.menu nav a { padding: 10px 12px; border-radius: 9px; text-decoration: none; font-size: 15px; }
.menu nav a:hover { background: var(--tint); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: var(--radius); }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.7); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: white; border-color: #d3d9e4; }
.btn-secondary:hover { border-color: var(--muted); }
.btn-dark { background: var(--ink); color: white; }
.btn-light { background: white; color: var(--ink); }
.btn-outline { border-color: rgba(255, 255, 255, 0.3); color: white; }
.btn-outline:hover { border-color: white; }

/* ------------------------------------------------------------------- hero */
.hero {
  position: relative;
  margin-top: -76px;
  padding: 140px 0 72px;
  text-align: center;
  background-color: var(--tint);
  background-image: radial-gradient(#d5dbe8 1px, transparent 1px);
  background-size: 22px 22px;
  border-bottom: 1px solid var(--line);
}

.badge { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px #dcfce7; }

.hero h1 { max-width: 820px; margin: 22px auto 18px; font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -0.04em; }
.hero h1 em { font-style: normal; color: var(--primary); white-space: nowrap; }
.lead { max-width: 660px; margin: 0 auto 30px; font-size: 18px; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ------------------------------------------------------- the product view */
.app-shell { margin-top: 52px; text-align: left; }
.app-shell > input { position: absolute; opacity: 0; pointer-events: none; }

.switch { display: flex; width: fit-content; margin: 0 auto 16px; padding: 4px; gap: 4px; background: white; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.switch label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 10px; font-size: 14px; font-weight: 650; color: var(--muted); cursor: pointer; }

#view-school:checked ~ .switch label[for='view-school'],
#view-uni:checked ~ .switch label[for='view-uni'] { background: var(--ink); color: white; }
#view-school:focus-visible ~ .switch label[for='view-school'],
#view-uni:focus-visible ~ .switch label[for='view-uni'] { outline: 2px solid var(--primary); outline-offset: 2px; }
#view-school:checked ~ .app .ws-uni,
#view-uni:checked ~ .app .ws-school { display: none; }

.app { display: grid; grid-template-columns: 64px 1fr; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.side { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 0; border-right: 1px solid var(--line); background: #fbfcfe; }
.side span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; color: var(--muted); font-size: 17px; }
.side .side-mark { background: var(--primary); color: white; margin-bottom: 10px; }
.side .on { background: var(--blue-50); color: var(--primary); }
.app-main { min-width: 0; padding: 24px; }

.ws-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; }
.hello { font-size: 22px; font-weight: 750; letter-spacing: -0.025em; }
.goal { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; color: var(--muted); font-size: 14px; }
.goal svg { color: var(--primary); margin-top: 0.3em; }

.ring { --value: 50; display: grid; place-items: center; width: 92px; height: 92px; flex-shrink: 0; border-radius: 50%; background: conic-gradient(var(--primary) calc(var(--value) * 1%), var(--line) 0); }
.ring > span { display: grid; place-content: center; width: 76px; height: 76px; border-radius: 50%; background: white; text-align: center; line-height: 1.15; }
.ring b { font-size: 19px; }
.ring small { font-size: 10px; color: var(--muted); }

.path { display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 22px; }
.path li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; }
.path li::before { content: ''; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.path li:first-child::before { display: none; }
.path li.done::before, .path li.now::before { background: var(--primary); }
.path li > span { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: white; border: 2px solid var(--line); color: #b6bfce; font-size: 14px; }
.path li.done > span { background: var(--primary); border-color: var(--primary); color: white; }
.path li.now > span { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 5px var(--blue-50); }
.path small { font-size: 12px; font-weight: 600; color: var(--muted); overflow-wrap: anywhere; }
.path li.now small { color: var(--ink); }

.ws-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 14px; }
.panel { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.panel h4 { font-size: 13px; margin-bottom: 12px; letter-spacing: 0; }

.task, .saved { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.task-text { flex: 1; min-width: 0; }
.task-text b { display: block; font-size: 13px; font-weight: 600; }
.task-text small { color: var(--muted); font-size: 12px; }
.box { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; border: 2px solid #cfd6e3; border-radius: 7px; font-size: 12px; color: white; }
.task.done .box { background: var(--green); border-color: var(--green); }
.task.done b { color: var(--muted); text-decoration: line-through; }
.task.next .box { border-color: var(--primary); }

.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.tag.blue { background: var(--blue-50); color: var(--primary-dark); }
.tag.green { background: #dcfce7; color: var(--green); }

.tile-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; font-size: 18px; }
.tile-icon.blue { background: var(--blue-50); color: var(--primary); }
.tile-icon.teal { background: var(--teal-50); color: var(--teal); }
.tile-icon.amber { background: var(--amber-50); color: var(--amber); }

.skill { margin-bottom: 11px; font-size: 13px; }
.skill > div:first-child { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.track { height: 7px; border-radius: 99px; background: #edf0f6; overflow: hidden; }
.track div { height: 100%; border-radius: 99px; }
.track .blue { background: var(--primary); }
.track .teal { background: var(--teal); }
.track .amber { background: var(--amber); }

.caption { margin-top: 14px; text-align: center; font-size: 12px; color: var(--muted); }

/* --------------------------------------------------------------- sections */
.section { padding: 96px 0; }
.tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.head { max-width: 700px; margin: 0 auto 52px; text-align: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--blue-50); color: var(--primary-dark); font-size: 12px; font-weight: 700; }
.head h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 780; letter-spacing: -0.035em; }
.sub { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* bento grid */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 16px; }
.cell { display: flex; flex-direction: column; min-width: 0; padding: 26px; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.cell:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cell.wide { grid-column: span 2; }
.cell.tall { grid-row: span 2; }
.cell h3 { margin: 16px 0 8px; font-size: 19px; }
.cell > p { color: var(--ink-soft); font-size: 15px; }
.demo { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfe; }
.tall .demo { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.demo .skill:last-child { margin-bottom: 0; }

.bubble { max-width: 88%; margin-top: 10px; padding: 10px 13px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.bubble.them { background: white; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.me { align-self: flex-end; background: var(--primary); color: white; border-bottom-right-radius: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips > span { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 13px; font-weight: 600; color: var(--muted); }
.chips > span.on { background: var(--ink); border-color: var(--ink); color: white; }

/* journey */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.journey li { padding: 26px; background: white; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: var(--ink); color: white; font-size: 21px; }
.step-no { font-size: 12px; font-weight: 700; color: var(--primary); }
.journey h3 { margin: 4px 0 8px; font-size: 18px; }
.journey p { color: var(--ink-soft); font-size: 15px; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow-sm); }
.plan.featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.plan h3 { font-size: 15px; color: var(--muted); letter-spacing: 0; }
.price { margin-top: 8px; font-size: 36px; font-weight: 800; letter-spacing: -0.03em; }
.note { color: var(--muted); font-size: 13px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.ticks { display: grid; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks svg { margin-top: 0.3em; color: var(--green); }
.plan .btn { margin-top: auto; }
.plan .ticks { margin-bottom: 28px; }

/* safety */
.dark { background: var(--ink); color: white; }
.dark .eyebrow { background: #1b2741; color: #bfdbfe; }
.dark .sub { color: #aab6cd; }
.safety { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.safety article { padding: 24px; border: 1px solid #243049; border-radius: var(--radius-lg); background: #121a2e; }
.safety .tile-icon { background: #1d2a48; color: #93c5fd; }
.safety h3 { margin: 16px 0 8px; font-size: 17px; }
.safety p { color: #b4bfd4; font-size: 14px; }

/* roadmap */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.timeline li { padding-top: 22px; border-top: 3px solid var(--line); }
.timeline li.done { border-top-color: var(--green); }
.timeline h3 { margin: 12px 0 8px; font-size: 18px; }
.timeline p { color: var(--ink-soft); font-size: 14px; }
.funds { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 48px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--tint); }
.funds p { margin-right: 8px; }
.funds > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 14px; font-weight: 550; }
.funds > span svg { color: var(--primary); }

/* faq */
.faq { margin-bottom: 10px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 650; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { color: var(--primary); transition: transform 0.2s ease; }
.faq[open] summary svg { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--ink-soft); }

/* call to action */
.cta { padding: 72px 28px; border-radius: 28px; background: var(--primary); color: white; text-align: center; }
.cta h2 { margin-bottom: 12px; font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.035em; }
.cta p { max-width: 560px; margin: 0 auto 30px; color: #dbe6ff; font-size: 17px; }
.cta .btn { max-width: 100%; overflow-wrap: anywhere; }

/* footer */
.footer { padding: 40px 0 28px; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-row nav a { font-size: 14px; color: var(--ink-soft); text-decoration: none; }
.footer-row nav a:hover { color: var(--primary); }
.footer-note { margin-top: 24px; }
.footer-note small { display: block; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .nav-links, .nav-cta { display: none; }
  .menu { display: block; }
  .ws-grid { grid-template-columns: 1fr 1fr; }
  .ws-grid .panel:first-child { grid-column: 1 / -1; }
  .journey, .safety, .timeline { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr; }
  .cell.wide { grid-column: auto; }
  .cell.tall { grid-row: auto; }
  .plans { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav { padding: 8px 8px 0; }
  .brand { font-size: 15px; }
  .hero { padding-top: 120px; padding-bottom: 48px; }
  .hero .actions .btn { width: 100%; }
  .app { grid-template-columns: 1fr; }
  .side { display: none; }
  .app-main { padding: 16px; }
  .hello { font-size: 18px; }
  .ring { width: 72px; height: 72px; }
  .ring > span { width: 58px; height: 58px; }
  .ring small { display: none; }
  .path small { font-size: 10px; }
  .ws-grid, .journey, .safety, .timeline { grid-template-columns: 1fr; }
  .cell { padding: 20px; }
  .cta { padding: 48px 18px; }
  .cta .btn { width: 100%; font-size: 14px; padding-left: 12px; padding-right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
