/* ============================================
   CV Oluşturucu – Premium Design System
   Senior Frontend Developer Level
   ============================================ */

/* ── CSS Custom Properties ──────────── */
:root {
  --bg: #f5f7fa;
  --bg-alt: #ffffff;
  --card: #ffffff;
  --card-hover: #fafbfd;
  --text: #0f172a;
  --text-secondary: #475569;
  --muted: #94a3b8;
  --border: #e2e8f0;
  --border-hover: #cbd5e1;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-light: rgba(37,99,235,.08);
  --accent-glow: rgba(37,99,235,.25);
  --accent2: #7c3aed;
  --accent2-hover: #6d28d9;
  --accent2-light: rgba(124,58,237,.08);
  --success: #059669;
  --success-light: rgba(5,150,105,.08);
  --warning: #d97706;
  --warning-light: rgba(217,119,6,.08);
  --danger: #dc2626;
  --danger-light: rgba(220,38,38,.08);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 1px 3px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.03);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.06), 0 2px 4px -2px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.07), 0 4px 6px -4px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08), 0 8px 10px -6px rgba(0,0,0,.05);
  --shadow-glow: 0 0 20px var(--accent-glow);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", monospace;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-out: cubic-bezier(0,0,.2,1);
  --duration: .25s;
  --duration-slow: .4s;
  --max-w: 1200px;
  --max-w-narrow: 800px;
  --header-h: 72px;
  --glass-bg: rgba(255,255,255,.72);
  --glass-border: rgba(255,255,255,.2);
}

[data-theme="dark"] {
  --bg: #0a0e1a;
  --bg-alt: #111827;
  --card: #151b2e;
  --card-hover: #1a2240;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --muted: #64748b;
  --border: #1e293b;
  --border-hover: #334155;
  --accent-light: rgba(37,99,235,.15);
  --accent-glow: rgba(37,99,235,.35);
  --accent2-light: rgba(124,58,237,.15);
  --success-light: rgba(5,150,105,.15);
  --warning-light: rgba(217,119,6,.15);
  --danger-light: rgba(220,38,38,.15);
  --shadow-xs: 0 1px 2px rgba(0,0,0,.2);
  --shadow: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 4px 6px rgba(0,0,0,.35);
  --shadow-lg: 0 10px 15px rgba(0,0,0,.4);
  --shadow-xl: 0 20px 25px rgba(0,0,0,.45);
  --glass-bg: rgba(15,23,42,.72);
  --glass-border: rgba(255,255,255,.06);
}

/* ── Keyframes ──────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes counter {
  from { opacity: 0; transform: scale(.5); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes draw-line {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

/* ── Reset ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--accent-hover); }
ul, ol { padding-left: 1.5em; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
p { margin-bottom: 1em; }
::selection { background: var(--accent); color: #fff; }

/* ── Layout ─────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 1.5rem; }
.main-content { flex: 1; padding: 2.5rem 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.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; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 3rem; } .mt-6 { margin-top: 4rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; } .mb-5 { margin-bottom: 3rem; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .gap-3 { gap: 1.5rem; }

/* ── Animated elements ─────────────── */
.animate-in { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.animate-in.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }

/* ── Header ─────────────────────────── */
.site-header {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--glass-border);
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--duration) var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-logo {
  font-size: 1.35rem; font-weight: 900; color: var(--text);
  display: flex; align-items: center; gap: .1rem;
  letter-spacing: -.03em;
}
.site-logo:hover { color: var(--text); }
.site-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; padding: 0; margin: 0; }
.nav-links a {
  color: var(--text-secondary); font-size: .9rem; font-weight: 500;
  padding: .5rem .85rem; border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  position: relative;
}
.nav-links a:hover { color: var(--accent); background: var(--accent-light); }
.nav-links a.active { color: var(--accent); background: var(--accent-light); font-weight: 600; }

/* Mobile menu */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; color: var(--text); border-radius: var(--radius-sm); transition: background var(--duration) var(--ease); }
.menu-toggle:hover { background: var(--accent-light); }
.menu-toggle svg { width: 24px; height: 24px; }
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem; gap: .25rem;
    box-shadow: var(--shadow-lg);
    animation: slideDown .25s var(--ease);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
}

/* ── Theme Toggle ───────────────────── */
.theme-toggle {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-full);
  width: 40px; height: 40px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: all var(--duration) var(--ease);
  color: var(--text-secondary);
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); transform: rotate(15deg); }
.theme-toggle svg { width: 18px; height: 18px; }

/* ── Hero ───────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 30%, #7c3aed 70%, #a855f7 100%);
  background-size: 300% 300%;
  animation: gradient-shift 12s ease infinite;
  color: #fff;
  padding: 5rem 0 4.5rem;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% -10%, rgba(255,255,255,.15), transparent),
              radial-gradient(ellipse 40% 40% at 80% 80%, rgba(124,58,237,.2), transparent),
              radial-gradient(ellipse 40% 40% at 20% 80%, rgba(37,99,235,.2), transparent);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  color: #fff; margin-bottom: 1rem;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 900; letter-spacing: -.03em;
  animation: fadeInUp .8s var(--ease-out);
}
.hero .hero-subtitle {
  color: rgba(255,255,255,.85); font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  max-width: 640px; margin: 0 auto 2rem;
  line-height: 1.6;
  animation: fadeInUp .8s var(--ease-out) .15s both;
}
.hero .btn-group {
  animation: fadeInUp .8s var(--ease-out) .3s both;
  justify-content: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  padding: .4rem 1rem; border-radius: var(--radius-full);
  font-size: .85rem; font-weight: 600; color: #fff;
  margin-bottom: 1.25rem;
  animation: fadeInUp .8s var(--ease-out) both;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: pulse-glow 2s ease infinite; }
.hero-stats {
  display: flex; justify-content: center; gap: 3rem;
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
  animation: fadeInUp .8s var(--ease-out) .45s both;
}
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2rem; font-weight: 900; color: #fff; display: block; letter-spacing: -.02em; }
.hero-stat .label { font-size: .82rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }
@media (max-width: 600px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
}

/* ── Floating shapes (decorative) ──── */
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shapes .shape {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.06);
  animation: float 6s ease-in-out infinite;
}
.hero-shapes .s1 { width: 200px; height: 200px; top: 10%; left: 5%; animation-delay: 0s; }
.hero-shapes .s2 { width: 120px; height: 120px; top: 60%; right: 10%; animation-delay: 2s; }
.hero-shapes .s3 { width: 80px; height: 80px; top: 20%; right: 25%; animation-delay: 4s; }
.hero-shapes .s4 { width: 160px; height: 160px; bottom: 20%; left: 15%; animation-delay: 1s; }

/* ── Buttons ────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.75rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; cursor: pointer;
  border: none; transition: all var(--duration) var(--ease);
  text-decoration: none; line-height: 1.4;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,.1));
  opacity: 0; transition: opacity var(--duration) var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: var(--shadow-glow); }
.btn-secondary { background: var(--card); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-accent2 { background: var(--accent2); color: #fff; }
.btn-accent2:hover { background: var(--accent2-hover); color: #fff; }
.btn-white { background: #fff; color: var(--accent); font-weight: 700; }
.btn-white:hover { background: #f8fafc; color: var(--accent-hover); box-shadow: 0 8px 25px rgba(0,0,0,.15); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); padding: .5rem 1rem; }
.btn-ghost:hover { background: var(--accent-light); }
.btn-sm { padding: .5rem 1.15rem; font-size: .85rem; }
.btn-lg { padding: .95rem 2.25rem; font-size: 1.1rem; }
.btn-icon { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: var(--radius-full); }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ── Cards ──────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all var(--duration-slow) var(--ease);
  box-shadow: var(--shadow);
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--border-hover);
}
.card-accent {
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, var(--card) 0%, var(--accent-light) 100%);
}
.card-accent:hover { border-left-color: var(--accent-hover); }
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-secondary); font-size: .95rem; margin-bottom: 0; }
.card .card-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}

/* ── Role Cards ─────────────────────── */
.role-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem; text-align: center;
  transition: all var(--duration-slow) var(--ease);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: block; color: var(--text);
}
.role-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  opacity: 0; transition: opacity var(--duration-slow) var(--ease);
}
.role-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-6px); border-color: var(--accent); color: var(--text); }
.role-card:hover::before { opacity: 1; }
.role-card .role-icon {
  width: 64px; height: 64px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 1rem;
  background: var(--accent-light);
  transition: transform var(--duration-slow) var(--ease-spring);
}
.role-card:hover .role-icon { transform: scale(1.1) rotate(-3deg); }
.role-card h3 { margin-bottom: .35rem; font-weight: 700; }
.role-card p { color: var(--text-secondary); font-size: .9rem; margin-bottom: .75rem; }
.role-card .keywords { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; }

/* ── Feature Cards ──────────────────── */
.feature-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: all var(--duration-slow) var(--ease);
  text-align: center;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-card .feature-icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1.25rem;
  background: var(--accent-light);
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; color: var(--text-secondary); margin: 0; }

/* ── Tags/Chips ─────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .25rem .7rem; border-radius: var(--radius-full);
  font-size: .78rem; font-weight: 600; letter-spacing: .01em;
  background: var(--bg); color: var(--text-secondary); border: 1px solid var(--border);
  transition: all var(--duration) var(--ease);
}
.tag-accent { background: var(--accent-light); color: var(--accent); border-color: transparent; }
.tag-success { background: var(--success-light); color: var(--success); border-color: transparent; }
.tag-warning { background: var(--warning-light); color: var(--warning); border-color: transparent; }
.tag-danger { background: var(--danger-light); color: var(--danger); border-color: transparent; }

/* ── Section headings ───────────────── */
.section-heading { margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: .75rem; }
.section-heading p { color: var(--text-secondary); max-width: 600px; font-size: 1.05rem; }
.section-heading.text-center p { margin-left: auto; margin-right: auto; }
.section-label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--accent); margin-bottom: .75rem;
}
.section-label::before {
  content: ''; width: 32px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
}

/* ── Forms ──────────────────────────── */
.form-group { margin-bottom: 1.35rem; }
.form-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--text); }
.form-hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .75rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); font-size: .95rem; font-family: var(--font);
  background: var(--bg-alt); color: var(--text);
  transition: all var(--duration) var(--ease);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-check { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.form-check input[type="checkbox"] { accent-color: var(--accent); width: 18px; height: 18px; border-radius: 4px; }

/* ── Stepper ────────────────────────── */
.stepper { display: flex; gap: 0; margin-bottom: 2.5rem; overflow-x: auto; background: var(--card); border-radius: var(--radius); border: 1px solid var(--border); padding: .5rem; }
.step {
  flex: 1; text-align: center; padding: .85rem .5rem; position: relative;
  font-size: .82rem; font-weight: 600; color: var(--muted);
  border-radius: var(--radius-sm); cursor: pointer;
  white-space: nowrap; transition: all var(--duration) var(--ease); min-width: 100px;
}
.step:hover { color: var(--text-secondary); background: var(--bg); }
.step.active { color: var(--accent); background: var(--accent-light); }
.step.completed { color: var(--success); background: var(--success-light); }
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: var(--radius-full);
  background: var(--border); color: var(--muted);
  font-size: .8rem; margin-bottom: .35rem;
  transition: all var(--duration) var(--ease);
}
.step.active .step-number { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-light); }
.step.completed .step-number { background: var(--success); color: #fff; }

/* ── Tabs ───────────────────────────── */
.tabs { display: flex; gap: .25rem; border-bottom: 2px solid var(--border); margin-bottom: 1.75rem; overflow-x: auto; padding-bottom: 0; }
.tab-btn {
  padding: .75rem 1.35rem; border: none; background: none;
  font-size: .9rem; font-weight: 600; cursor: pointer;
  color: var(--muted); border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: all var(--duration) var(--ease); white-space: nowrap;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-family: var(--font);
}
.tab-btn:hover { color: var(--text); background: var(--bg); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); background: var(--accent-light); }
.tab-panel { display: none; animation: fadeIn .3s var(--ease); }
.tab-panel.active { display: block; }

/* ── Accordion ──────────────────────── */
.accordion-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: .5rem; overflow: hidden; transition: border-color var(--duration) var(--ease); }
.accordion-item:hover { border-color: var(--border-hover); }
.accordion-item.open { border-color: var(--accent); }
.accordion-header {
  width: 100%; padding: 1.1rem 1.35rem; background: var(--card);
  border: none; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-size: .95rem; font-weight: 600; color: var(--text);
  text-align: left; font-family: var(--font);
  transition: background var(--duration) var(--ease);
}
.accordion-header:hover { background: var(--bg); }
.accordion-header .arrow { transition: transform .3s var(--ease); font-size: .8rem; color: var(--muted); }
.accordion-item.open .accordion-header { background: var(--accent-light); color: var(--accent); }
.accordion-item.open .accordion-header .arrow { transform: rotate(180deg); color: var(--accent); }
.accordion-body { padding: 0 1.35rem; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .3s var(--ease); }
.accordion-item.open .accordion-body { max-height: 2000px; padding: 0 1.35rem 1.15rem; }

/* ── Toast ──────────────────────────── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--text); color: var(--bg);
  padding: .85rem 1.75rem; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600; z-index: 9999;
  opacity: 0; transform: translateY(1rem) scale(.95);
  transition: all .35s var(--ease-spring); pointer-events: none;
  box-shadow: var(--shadow-xl);
}
.toast.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

/* ── Privacy Banner ─────────────────── */
.privacy-banner {
  background: var(--accent-light); border: 1px solid rgba(37,99,235,.12);
  border-radius: var(--radius-sm); padding: .85rem 1.15rem;
  font-size: .88rem; color: var(--text-secondary); display: flex;
  align-items: center; gap: .65rem; margin-bottom: 1.75rem;
}
.privacy-banner svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--accent); }

/* ── Score Bar ──────────────────────── */
.score-bar { width: 100%; height: 14px; background: var(--border); border-radius: var(--radius-full); overflow: hidden; }
.score-fill { height: 100%; border-radius: var(--radius-full); transition: width .6s var(--ease-spring); }
.score-low { background: linear-gradient(90deg, var(--danger), #f87171); }
.score-mid { background: linear-gradient(90deg, var(--warning), #fbbf24); }
.score-high { background: linear-gradient(90deg, var(--success), #34d399); }

/* ── CV Preview ─────────────────────── */
.cv-preview {
  background: #fff; color: #1a1a2e; padding: 2.5rem 3rem; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: "Georgia", "Times New Roman", serif; line-height: 1.55;
  max-width: 800px; margin: 0 auto; box-shadow: var(--shadow-lg);
  min-height: 500px;
}
.cv-preview h1 {
  font-family: var(--font); font-size: 1.65rem; margin-bottom: .15rem;
  letter-spacing: -.01em; color: #111827; font-weight: 800; line-height: 1.2;
}
.cv-preview h2 {
  font-family: var(--font); font-size: .85rem; text-transform: uppercase;
  letter-spacing: .12em; border-bottom: 2px solid #1e293b;
  padding-bottom: .3rem; margin: 1.2rem 0 .5rem; font-weight: 800; color: #111827;
}
.cv-preview h3 {
  font-family: var(--font); font-size: .95rem; margin-bottom: .1rem;
  font-weight: 700; color: #1f2937;
}
.cv-preview p { margin-bottom: .35rem; font-size: .88rem; color: #374151; }
.cv-preview ul { padding-left: 1.3em; margin-bottom: .6rem; margin-top: .2rem; }
.cv-preview li { font-size: .88rem; margin-bottom: .2rem; color: #374151; line-height: 1.5; }
.cv-preview li::marker { color: #6b7280; }
.cv-contact {
  font-family: var(--font); font-size: .82rem; color: #4b5563;
  margin-bottom: .3rem; letter-spacing: .01em;
}
.cv-preview .cv-header { margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 2px solid #1e293b; }
.cv-preview .cv-title { font-family: var(--font); font-size: 1rem; color: #374151; margin-bottom: .3rem; }
.cv-preview .cv-section { margin-bottom: .25rem; }
.cv-preview .cv-entry-header { margin-bottom: .15rem; }
.cv-preview .cv-entry-meta { margin-top: 0; }
.cv-preview .cv-tech { font-weight: 400; font-size: .82rem; color: #6b7280; }
.cv-preview .experience-entry { margin-bottom: .8rem; }
.cv-preview .education-entry { margin-bottom: .5rem; }
.cv-preview strong { color: #111827; }

/* ── Plain Text Output ─────────────── */
.plain-text-output {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 1.75rem;
  font-family: var(--font-mono); font-size: .85rem;
  white-space: pre-wrap; word-break: break-word;
  max-height: 600px; overflow-y: auto; line-height: 1.7;
}

/* ── Breadcrumb ─────────────────────── */
.breadcrumb { font-size: .85rem; margin-bottom: 1.75rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; list-style: none; padding: 0; margin: 0; }
.breadcrumb li { display: flex; align-items: center; gap: .35rem; }
.breadcrumb a { color: var(--muted); transition: color var(--duration) var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--muted); }
.breadcrumb .current { color: var(--text-secondary); font-weight: 600; }

/* ── Footer ─────────────────────────── */
.site-footer {
  background: var(--card); border-top: 1px solid var(--border);
  padding: 4rem 0 2rem; margin-top: auto;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-col h4 { font-size: .9rem; font-weight: 700; margin-bottom: .85rem; color: var(--text); text-transform: uppercase; letter-spacing: .05em; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-col a {
  color: var(--text-secondary); font-size: .88rem;
  transition: all var(--duration) var(--ease);
  display: inline-flex; align-items: center; gap: .35rem;
}
.footer-col a:hover { color: var(--accent); transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 2rem;
  text-align: center; color: var(--muted); font-size: .82rem;
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ── AdSense ────────────────────────── */
.ad-slot { margin: 2rem 0; text-align: center; min-height: 90px; }

/* ── Search ─────────────────────────── */
.search-input-wrap { position: relative; max-width: 540px; margin: 0 auto; }
.search-input-wrap input {
  width: 100%; padding: .85rem 1.25rem .85rem 3rem;
  border: 2px solid var(--border); border-radius: var(--radius-full);
  font-size: 1rem; background: var(--card); color: var(--text);
  transition: all var(--duration) var(--ease);
  box-shadow: var(--shadow);
}
.search-input-wrap input:focus { border-color: var(--accent); outline: none; box-shadow: var(--shadow-glow); }
.search-input-wrap svg { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search-filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.5rem 0; }
.filter-chip {
  padding: .45rem 1rem; border-radius: var(--radius-full); border: 1px solid var(--border);
  background: var(--card); font-size: .85rem; cursor: pointer;
  transition: all var(--duration) var(--ease); color: var(--text-secondary); font-weight: 500;
}
.filter-chip:hover, .filter-chip.active { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.search-results { margin-top: 2rem; }
.search-result-item { padding: 1.15rem; border-bottom: 1px solid var(--border); transition: background var(--duration) var(--ease); border-radius: var(--radius-sm); }
.search-result-item:hover { background: var(--bg); }
.search-result-item h3 { font-size: 1rem; margin-bottom: .3rem; font-weight: 700; }
.search-result-item h3 a { color: var(--accent); }
.search-result-item p { font-size: .88rem; color: var(--text-secondary); margin: 0; }
.search-result-item .result-type { font-size: .78rem; color: var(--muted); margin-bottom: .25rem; display: inline-block; }

/* ── Article content ────────────────── */
.article-content { max-width: 720px; }
.article-content h2 { margin-top: 2.5rem; margin-bottom: .85rem; }
.article-content h3 { margin-top: 1.75rem; margin-bottom: .6rem; }
.article-content ul, .article-content ol { margin-bottom: 1.15rem; }
.article-content li { margin-bottom: .4rem; }
.article-content blockquote {
  border-left: 4px solid var(--accent); padding: 1rem 1.5rem;
  background: var(--accent-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0; color: var(--text-secondary); font-style: italic;
}
.article-header { margin-bottom: 2rem; }
.article-header h1 { margin-bottom: 0; }

/* ── Prose / Legal ──────────────────── */
.prose { max-width: 720px; }
.prose h2 { margin-top: 2rem; margin-bottom: .6rem; }
.prose h3 { margin-top: 1.5rem; margin-bottom: .5rem; }
.prose ul { margin-bottom: 1rem; }
.prose li { margin-bottom: .3rem; }
.lead { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.7; }
.text-muted { color: var(--muted); font-size: .9rem; }

/* ── CTA Box ────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, var(--accent-light), var(--accent2-light));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2.5rem; margin-top: 2.5rem; position: relative; overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 200px; height: 200px; border-radius: 50%;
  background: var(--accent-light); opacity: .5;
}
.cta-box h1, .cta-box h2 { margin-bottom: .6rem; position: relative; }
.cta-box p { margin-bottom: 1.25rem; color: var(--text-secondary); position: relative; }

/* ── Keyword match ──────────────────── */
.kw-match { background: var(--success-light); padding: .15rem .35rem; border-radius: 4px; font-weight: 600; }
.kw-missing { background: var(--danger-light); padding: .15rem .35rem; border-radius: 4px; }

/* ── Cookie Banner ──────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--glass-bg); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 1.15rem 1.5rem; z-index: 9998;
  display: none; align-items: center; justify-content: center; gap: 1rem;
  flex-wrap: wrap; font-size: .88rem; box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.cookie-banner.show { display: flex; }

/* ── Checklist ──────────────────────── */
.checklist { list-style: none; padding: 0; }
.checklist li { padding: .65rem 0; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: .65rem; transition: background var(--duration) var(--ease); cursor: pointer; padding-left: .5rem; border-radius: var(--radius-xs); }
.checklist li:hover { background: var(--bg); }
.checklist li:last-child { border-bottom: none; }
.check-icon { width: 22px; height: 22px; border-radius: var(--radius-full); border: 2px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .7rem; transition: all var(--duration) var(--ease); }
.check-icon.checked { background: var(--success); border-color: var(--success); color: #fff; transform: scale(1.1); }

/* ── Warning / Info boxes ───────────── */
.warning-box {
  background: var(--warning-light); border: 1px solid rgba(217,119,6,.2);
  border-radius: var(--radius-sm); padding: 1.15rem 1.35rem;
  font-size: .9rem; color: var(--warning); margin: 1.25rem 0;
  display: flex; align-items: flex-start; gap: .65rem;
}
.info-box {
  background: var(--accent-light); border: 1px solid rgba(37,99,235,.12);
  border-radius: var(--radius-sm); padding: 1.15rem 1.35rem;
  font-size: .9rem; margin: 1.25rem 0;
}

/* ── Related content ────────────────── */
.related-grid { margin-top: 1.25rem; }
.related-card { padding: 1.15rem 1.35rem; }
.related-card h4 { font-size: .95rem; margin-bottom: .3rem; }
.related-card p { font-size: .82rem; color: var(--muted); margin: 0; }

/* ── Process steps (homepage) ───────── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.process-step {
  text-align: center; padding: 1.5rem; position: relative;
  counter-increment: step;
}
.process-step::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 1rem; box-shadow: 0 4px 15px var(--accent-glow);
}
.process-step h4 { font-size: 1rem; margin-bottom: .35rem; }
.process-step p { font-size: .88rem; color: var(--text-secondary); margin: 0; }
@media (max-width: 768px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-steps { grid-template-columns: 1fr; } }

/* ── Testimonial ────────────────────── */
.testimonial {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  position: relative;
}
.testimonial::before {
  content: '\201C'; font-size: 4rem; line-height: 1;
  color: var(--accent); opacity: .15;
  position: absolute; top: .5rem; left: 1.5rem;
  font-family: Georgia, serif;
}
.testimonial p { font-size: .95rem; font-style: italic; color: var(--text-secondary); margin-bottom: .75rem; position: relative; z-index: 1; }
.testimonial .author { font-size: .85rem; font-weight: 700; color: var(--text); }
.testimonial .role { font-size: .82rem; color: var(--muted); }

/* ── Scroll to top ──────────────────── */
.scroll-top {
  position: fixed; bottom: 2rem; left: 2rem;
  width: 44px; height: 44px; border-radius: var(--radius-full);
  background: var(--accent); color: #fff; border: none;
  cursor: pointer; display: none; align-items: center;
  justify-content: center; z-index: 90;
  box-shadow: var(--shadow-lg); transition: all var(--duration) var(--ease);
  font-size: 1.1rem;
}
.scroll-top:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.scroll-top.visible { display: flex; }

/* ── Print preparation (body class) ── */
body.printing-cv > *:not(main) { display: none !important; }
body.printing-cv .site-header,
body.printing-cv .site-footer,
body.printing-cv .cookie-banner,
body.printing-cv .scroll-top,
body.printing-cv .toast { display: none !important; }
body.printing-cv .tab-panel[data-panel="preview"] { display: block !important; }

/* ── Print styles ───────────────────── */
@media print {
  /* Reset everything for clean print */
  *, *::before, *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  html, body {
    background: #fff !important;
    margin: 0 !important; padding: 0 !important;
    font-size: 11pt !important;
    line-height: 1.45 !important;
    width: 100% !important;
    overflow: visible !important;
  }

  /* Hide absolutely everything except CV preview */
  body > *:not(main),
  .site-header, .site-footer, .ad-slot, .no-print,
  .cookie-banner, .toast, .btn-group, .stepper, .tabs,
  .privacy-banner, .breadcrumb, .related-grid, .menu-toggle,
  .theme-toggle, .scroll-top, .hero-shapes, .section-label,
  .hero, .process-steps, .grid-2, .grid-3, .grid-4,
  .section-heading, .cta-box, .role-card, .feature-card,
  .card:not(.cv-preview), .footer-grid, .footer-bottom,
  .tab-container > .tabs,
  .tab-container > .btn-group,
  .tab-panel:not([data-panel="preview"]),
  #step-content > .tab-container > .tab-panel[data-panel="plain"],
  #step-content > .tab-container > .tab-panel[data-panel="ats-check"],
  #step-content > .tab-container > .tab-panel[data-panel="export"],
  .warning-box, .form-group, .form-hint,
  .search-input-wrap, .search-filters, .filter-chip,
  .comparison-grid, .career-stage-grid, .featured-grid, .industry-grid,
  .guides-cta, .cookie-banner, button:not(.cv-preview button) {
    display: none !important;
  }

  /* Force the preview tab to show */
  .tab-panel[data-panel="preview"] {
    display: block !important;
    padding: 0 !important; margin: 0 !important;
  }
  .tab-container {
    border: none !important; padding: 0 !important; margin: 0 !important;
  }

  /* Layout reset */
  main, .main-content, .container, .container-narrow {
    display: block !important;
    max-width: 100% !important; width: 100% !important;
    padding: 0 !important; margin: 0 !important;
    float: none !important;
  }

  /* CV Preview — the star of the show */
  .cv-preview {
    display: block !important;
    border: none !important; box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important; margin: 0 !important;
    max-width: 100% !important; width: 100% !important;
    font-family: "Georgia", "Times New Roman", serif !important;
    line-height: 1.45 !important;
    background: #fff !important;
    min-height: auto !important;
  }

  /* Name / Title */
  .cv-preview h1 {
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif !important;
    font-size: 18pt !important;
    font-weight: 800 !important;
    margin: 0 0 2pt !important;
    padding: 0 !important;
    color: #000 !important;
    letter-spacing: -.02em !important;
    line-height: 1.15 !important;
    border: none !important;
    text-transform: none !important;
  }

  /* Section headings */
  .cv-preview h2 {
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif !important;
    font-size: 10pt !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .14em !important;
    border-bottom: 1.5pt solid #000 !important;
    padding-bottom: 2pt !important;
    margin: 12pt 0 5pt !important;
    color: #000 !important;
    page-break-after: avoid !important;
  }

  /* Job title / School name */
  .cv-preview h3 {
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif !important;
    font-size: 10.5pt !important;
    font-weight: 700 !important;
    margin: 0 0 1pt !important;
    color: #000 !important;
    page-break-after: avoid !important;
  }

  /* Body text */
  .cv-preview p {
    font-size: 9.5pt !important;
    margin: 0 0 3pt !important;
    line-height: 1.4 !important;
    color: #1a1a1a !important;
  }

  /* Contact info line */
  .cv-preview .cv-contact {
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif !important;
    font-size: 8.5pt !important;
    color: #333 !important;
    margin: 0 0 2pt !important;
    letter-spacing: .02em !important;
  }

  /* Bullet points */
  .cv-preview ul {
    padding-left: 14pt !important;
    margin: 2pt 0 6pt !important;
    list-style-type: disc !important;
  }
  .cv-preview li {
    font-size: 9.5pt !important;
    margin-bottom: 1.5pt !important;
    line-height: 1.4 !important;
    color: #1a1a1a !important;
    page-break-inside: avoid !important;
  }
  .cv-preview li::marker { color: #333 !important; }

  /* Strong text in CV */
  .cv-preview strong {
    font-weight: 700 !important;
    color: #000 !important;
  }

  /* Inline spans (like tech stack) */
  .cv-preview span {
    font-size: inherit !important;
    color: #333 !important;
  }

  /* Experience & education entries */
  .cv-preview .experience-entry {
    margin-bottom: 6pt !important;
    page-break-inside: avoid !important;
  }
  .cv-preview .education-entry {
    margin-bottom: 4pt !important;
    page-break-inside: avoid !important;
  }

  /* Page settings */
  @page {
    size: A4;
    margin: 18mm 20mm 16mm 20mm;
  }

  /* Global page-break rules */
  h2, h3 { page-break-after: avoid !important; }
  ul, ol { page-break-before: avoid !important; }
  .experience-entry, .education-entry { page-break-inside: avoid !important; }

  /* CV header area */
  .cv-preview .cv-header {
    margin-bottom: 8pt !important;
    padding-bottom: 6pt !important;
    border-bottom: 2pt solid #000 !important;
  }
  .cv-preview .cv-title {
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif !important;
    font-size: 10pt !important;
    color: #333 !important;
    margin-bottom: 2pt !important;
  }
  .cv-preview .cv-section { margin-bottom: 2pt !important; }
  .cv-preview .cv-entry-header { margin-bottom: 1pt !important; }
  .cv-preview .cv-tech {
    font-weight: 400 !important;
    font-size: 8.5pt !important;
    color: #444 !important;
  }

  /* Hide links underline in print */
  a { text-decoration: none !important; }
}

/* ── Comparison Cards ──────────────── */
.comparison-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.comparison-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: all var(--duration-slow) var(--ease);
  position: relative; overflow: hidden;
  display: block; text-decoration: none; color: var(--text);
}
.comparison-card::before {
  content: 'VS'; position: absolute; top: 1rem; right: 1rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff; font-weight: 900; font-size: .75rem;
  padding: .3rem .7rem; border-radius: var(--radius-full);
  letter-spacing: .05em;
}
.comparison-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); border-color: var(--accent); color: var(--text); }
.comparison-card h3 { margin-bottom: .5rem; padding-right: 3rem; }
.comparison-card p { color: var(--text-secondary); font-size: .9rem; margin: 0; }
@media (max-width: 600px) { .comparison-grid { grid-template-columns: 1fr; } }

/* ── Career Stage Cards ───────────── */
.career-stage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.career-stage-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  text-align: center; transition: all var(--duration-slow) var(--ease);
  display: block; text-decoration: none; color: var(--text);
  position: relative; overflow: hidden;
}
.career-stage-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0); transition: transform var(--duration-slow) var(--ease);
  transform-origin: left;
}
.career-stage-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); color: var(--text); }
.career-stage-card:hover::after { transform: scaleX(1); }
.career-stage-card .stage-icon {
  width: 52px; height: 52px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1rem;
  background: var(--accent-light);
}
.career-stage-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.career-stage-card p { font-size: .85rem; color: var(--text-secondary); margin: 0; }
@media (max-width: 900px) { .career-stage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .career-stage-grid { grid-template-columns: 1fr; } }

/* ── Featured Article Grid ─────────── */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.featured-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all var(--duration-slow) var(--ease);
  display: block; text-decoration: none; color: var(--text);
  position: relative;
}
.featured-card .featured-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--accent-light); color: var(--accent);
  font-size: .75rem; font-weight: 700; padding: .25rem .65rem;
  border-radius: var(--radius-full); margin-bottom: .75rem;
  text-transform: uppercase; letter-spacing: .03em;
}
.featured-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--accent); color: var(--text); }
.featured-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.featured-card p { font-size: .88rem; color: var(--text-secondary); margin: 0; }
@media (max-width: 900px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .featured-grid { grid-template-columns: 1fr; } }

/* ── Industry Cards ───────────────── */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.industry-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  text-align: center; transition: all var(--duration-slow) var(--ease);
  display: block; text-decoration: none; color: var(--text);
}
.industry-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--accent); color: var(--text); }
.industry-card .industry-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin: 0 auto .75rem;
  background: var(--accent-light);
}
.industry-card h3 { font-size: .95rem; margin-bottom: .3rem; font-weight: 700; }
.industry-card p { font-size: .82rem; color: var(--text-secondary); margin: 0; }
@media (max-width: 900px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .industry-grid { grid-template-columns: 1fr; } }

/* ── Stats Counter Animation ───────── */
.counter-animated {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ── All Guides CTA ───────────────── */
.guides-cta {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent2-light) 100%);
  border: 2px dashed var(--border); border-radius: var(--radius);
  padding: 3rem 2rem; text-align: center;
  transition: all var(--duration-slow) var(--ease);
}
.guides-cta:hover { border-color: var(--accent); border-style: solid; }
.guides-cta h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.guides-cta p { color: var(--text-secondary); margin-bottom: 1.25rem; }

/* ── Responsive ─────────────────────── */
@media (max-width: 480px) {
  .hero { padding: 3rem 0 2.5rem; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 1rem; }
  .hero-stat .number { font-size: 1.5rem; }
}
