/* =========================================
   Career Shelf — Design System
   ========================================= */

:root {
  /* Theme: Purple (default) */
  --brand-50: oklch(0.98 0.015 295);
  --brand-100: oklch(0.95 0.035 295);
  --brand-200: oklch(0.90 0.07 295);
  --brand-300: oklch(0.82 0.12 295);
  --brand-400: oklch(0.70 0.18 295);
  --brand-500: oklch(0.58 0.22 295);
  --brand-600: oklch(0.48 0.21 295);
  --brand-700: oklch(0.38 0.18 295);
  --brand-800: oklch(0.28 0.13 295);
  --brand-900: oklch(0.20 0.09 295);

  --accent: oklch(0.78 0.16 70);  /* warm amber accent */
  --success: oklch(0.65 0.15 155);
  --danger: oklch(0.62 0.20 25);

  /* Neutrals — slightly warm */
  --ink-900: oklch(0.18 0.01 295);
  --ink-800: oklch(0.28 0.01 295);
  --ink-700: oklch(0.40 0.01 295);
  --ink-600: oklch(0.52 0.01 295);
  --ink-500: oklch(0.65 0.01 295);
  --ink-400: oklch(0.78 0.008 295);
  --ink-300: oklch(0.88 0.005 295);
  --ink-200: oklch(0.94 0.005 295);
  --ink-100: oklch(0.97 0.005 295);

  --bg: oklch(0.985 0.005 295);
  --bg-soft: oklch(0.97 0.012 295);
  --surface: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(40, 20, 80, 0.04);
  --shadow-sm: 0 2px 8px rgba(40, 20, 80, 0.06);
  --shadow-md: 0 8px 24px rgba(40, 20, 80, 0.08);
  --shadow-lg: 0 24px 60px rgba(40, 20, 80, 0.14);
  --shadow-xl: 0 40px 100px rgba(40, 20, 80, 0.20);

  --display: 'Fraunces', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --bn: 'Hind Siliguri', 'Plus Jakarta Sans', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

[data-theme="blue"] {
  --brand-50: oklch(0.98 0.015 245);
  --brand-100: oklch(0.95 0.035 245);
  --brand-200: oklch(0.90 0.07 245);
  --brand-300: oklch(0.82 0.12 245);
  --brand-400: oklch(0.68 0.17 245);
  --brand-500: oklch(0.55 0.20 245);
  --brand-600: oklch(0.45 0.19 245);
  --brand-700: oklch(0.36 0.16 245);
  --brand-800: oklch(0.26 0.12 245);
  --brand-900: oklch(0.18 0.08 245);
}
[data-theme="emerald"] {
  --brand-50: oklch(0.98 0.02 165);
  --brand-100: oklch(0.95 0.04 165);
  --brand-200: oklch(0.90 0.08 165);
  --brand-300: oklch(0.82 0.13 165);
  --brand-400: oklch(0.70 0.16 165);
  --brand-500: oklch(0.58 0.16 165);
  --brand-600: oklch(0.48 0.14 165);
  --brand-700: oklch(0.38 0.11 165);
  --brand-800: oklch(0.28 0.08 165);
  --brand-900: oklch(0.20 0.06 165);
}
[data-theme="coral"] {
  --brand-50: oklch(0.98 0.02 30);
  --brand-100: oklch(0.95 0.04 30);
  --brand-200: oklch(0.90 0.08 30);
  --brand-300: oklch(0.82 0.13 30);
  --brand-400: oklch(0.72 0.17 30);
  --brand-500: oklch(0.62 0.19 30);
  --brand-600: oklch(0.52 0.18 30);
  --brand-700: oklch(0.42 0.15 30);
  --brand-800: oklch(0.30 0.11 30);
  --brand-900: oklch(0.22 0.08 30);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv11';
}

button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

a { color: inherit; text-decoration: none; }

/* ===== Typography ===== */
.font-display { font-family: var(--display); font-optical-sizing: auto; }
.font-bn { font-family: var(--bn); }
.font-mono { font-family: var(--mono); }

/* ===== Layout shell ===== */
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; width: 100%; }

/* ===== Navbar ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(20px);
  background: color-mix(in oklch, var(--bg) 85%, transparent);
  border-bottom: 1px solid color-mix(in oklch, var(--ink-300) 50%, transparent);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 700;
  font-size: 22px; color: var(--ink-900);
  letter-spacing: -0.01em;
}
.logo img {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
}
.logo img:hover {
  transform: scale(1.1);
}
.logo img:active {
  transform: scale(0.95);
}
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(140deg, var(--brand-500), var(--brand-700));
  border-radius: 11px;
  display: grid; place-items: center; color: white;
  box-shadow: 0 6px 20px color-mix(in oklch, var(--brand-500) 35%, transparent);
}
.nav-links {
  display: flex; gap: 36px; align-items: center;
  font-size: 15px; color: var(--ink-700); font-weight: 500;
}
.nav-links a { transition: color .2s; cursor: pointer; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-600); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: 15px;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: white;
  box-shadow: 0 10px 28px color-mix(in oklch, var(--brand-500) 40%, transparent);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 36px color-mix(in oklch, var(--brand-500) 50%, transparent); }
.btn-ghost { background: transparent; color: var(--ink-800); border: 1.5px solid var(--ink-300); }
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-600); }
.btn-white { background: white; color: var(--ink-900); border: 1.5px solid var(--ink-200); }
.btn-white:hover { border-color: var(--brand-400); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ===== Pill / chip ===== */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-pill);
  background: color-mix(in oklch, var(--brand-100) 60%, white);
  color: var(--brand-700);
  font-size: 13px; font-weight: 600;
  border: 1px solid color-mix(in oklch, var(--brand-200) 80%, transparent);
}
.chip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); }

/* ===== Cards ===== */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-sm);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, color-mix(in oklch, var(--brand-200) 50%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 30%, color-mix(in oklch, var(--brand-300) 30%, transparent), transparent 70%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.6;
  background-image:
    linear-gradient(color-mix(in oklch, var(--brand-500) 25%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in oklch, var(--brand-500) 25%, transparent) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 50%, black, transparent);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 48px; align-items: center;
}
.hero-text { max-width: 620px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  background: white; border: 1px solid var(--ink-200);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; color: var(--ink-800);
  box-shadow: var(--shadow-xs);
  margin-bottom: 28px;
}
.hero-eyebrow-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  display: grid; place-items: center; color: white;
}
.hero-title {
  font-family: var(--display);
  font-size: clamp(44px, 5.5vw, 76px);
  line-height: 1.02; letter-spacing: -0.025em;
  font-weight: 500;
  color: var(--ink-900);
  margin: 0 0 4px;
}
.hero-title .script {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  position: relative;
  display: inline-block;
}
.hero-title .script::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 12px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'><path d='M2 8 Q 50 0, 100 6 T 198 4' fill='none' stroke='%23a78bfa' stroke-width='2.5' stroke-linecap='round'/></svg>") no-repeat;
  background-size: 100% 100%;
  opacity: 0.7;
}
/* Typewriter line */
.hero-typed {
  display: block; min-height: 1.1em; line-height: 1.1;
  font-family: var(--display); font-style: italic;
  font-size: clamp(44px, 5.5vw, 76px);
  letter-spacing: -0.025em;
  font-weight: 400;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-top: 6px;
}
.cursor {
  display: inline-block; width: 4px;
  background: var(--brand-500);
  vertical-align: text-top;
  margin-left: 4px;
  animation: blink 1s steps(2) infinite;
  -webkit-text-fill-color: var(--brand-500);
}
@keyframes blink { 50% { opacity: 0; } }

.hero-sub {
  margin: 28px 0 36px;
  font-size: 18px; line-height: 1.6;
  color: var(--ink-700);
  max-width: 540px;
}
.hero-bn {
  font-family: var(--bn);
  font-size: 15px; color: var(--brand-700);
  margin: -10px 0 28px;
  font-weight: 500;
}

.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.hero-trust {
  margin-top: 44px; display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.avatar-stack { display: flex; }
.avatar-stack > div {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2.5px solid white;
  margin-left: -10px;
  background-size: cover; background-position: center;
  background-color: var(--brand-200);
}
.avatar-stack > div:first-child { margin-left: 0; }
.trust-text { font-size: 14px; color: var(--ink-700); }
.trust-text strong { color: var(--ink-900); display: block; font-size: 16px; font-weight: 700; }

/* Hero image side */
.hero-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1.05;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
}
.hero-image-bg {
  position: absolute; inset: 12% 0 0 0;
  background: linear-gradient(160deg, color-mix(in oklch, var(--brand-300) 70%, white), color-mix(in oklch, var(--brand-500) 60%, white));
  border-radius: 50% 50% 46% 50% / 50% 48% 50% 50%;
  overflow: hidden;
}
.hero-image-bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-image-slider {
  position: absolute; inset: 0;
  display: grid; place-items: end center;
}
.hero-slide {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 92%; height: 92%;
  background-size: cover; background-position: center bottom;
  background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.2s ease;
  filter: drop-shadow(0 30px 40px rgba(40,20,80,0.18));
}
.hero-slide.active { opacity: 1; }
.hero-slide-dots {
  position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-slide-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-300); transition: all .3s;
}
.hero-slide-dots button.active {
  width: 28px; background: var(--brand-500);
  border-radius: 4px;
}

/* Floating cards */
.float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-200);
  z-index: 3;
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-card.fc-1 { top: 18%; left: -6%; animation-delay: 0s; }
.float-card.fc-2 { top: 6%; right: -2%; animation-delay: 1.5s; }
.float-card.fc-3 { bottom: 8%; right: -4%; animation-delay: 3s; }
.float-card.fc-4 { bottom: 22%; left: -10%; animation-delay: 2s; }

.fc-row { display: flex; align-items: center; gap: 12px; }
.fc-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-100); color: var(--brand-700);
  display: grid; place-items: center;
}
.fc-icon.green { background: oklch(0.93 0.06 155); color: oklch(0.40 0.13 155); }
.fc-icon.amber { background: oklch(0.94 0.06 70); color: oklch(0.45 0.14 70); }
.fc-icon.pink { background: oklch(0.93 0.06 0); color: oklch(0.45 0.18 0); }
.fc-label { font-size: 11px; color: var(--ink-600); font-weight: 500; }
.fc-value { font-size: 17px; font-weight: 700; color: var(--ink-900); }
.fc-sparkline { display: flex; gap: 2px; align-items: end; height: 24px; }
.fc-sparkline span {
  width: 4px; background: var(--brand-400); border-radius: 2px;
}

/* ===== Section ===== */
.section { padding: 100px 0; position: relative; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brand-600);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.05; letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink-900);
  margin: 0 0 16px;
  max-width: 800px;
}
.section-title em {
  font-style: italic; font-weight: 400;
  color: var(--brand-600);
}
.section-sub {
  font-size: 18px; color: var(--ink-700); line-height: 1.6;
  max-width: 640px;
  margin: 0;
}
.section-head { margin-bottom: 56px; }

/* About / services grid */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid var(--ink-200);
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}
.service-card.featured {
  background: linear-gradient(160deg, var(--brand-600), var(--brand-800));
  color: white;
  border-color: transparent;
}
.service-card.featured .service-icon { background: rgba(255,255,255,0.15); color: white; }
.service-card.featured .service-title { color: white; }
.service-card.featured .service-text { color: rgba(255,255,255,0.85); }
.service-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--brand-100); color: var(--brand-700);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.service-title {
  font-family: var(--display);
  font-size: 26px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0 0 12px;
}
.service-text {
  font-size: 15px; line-height: 1.6; color: var(--ink-700); margin: 0 0 20px;
}
.service-list { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.service-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 0;
}
.service-list li svg { flex-shrink: 0; }

/* Stats strip */
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px;
  background: linear-gradient(135deg, var(--brand-50), white);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-xl);
  margin-top: 40px;
}
.stat-num {
  font-family: var(--display);
  font-size: 56px; font-weight: 500;
  color: var(--brand-700);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-label { font-size: 14px; color: var(--ink-700); margin-top: 6px; }

/* Packages */
.packages-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 1000px; margin: 0 auto;
}
.package-card {
  padding: 40px;
  border-radius: var(--radius-xl);
  background: white;
  border: 1.5px solid var(--ink-200);
  position: relative;
  transition: all .3s;
}
.package-card:hover {
  border-color: var(--brand-400);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.package-card.pro {
  background: linear-gradient(160deg, var(--brand-700), var(--brand-900));
  color: white;
  border-color: transparent;
}
.package-card.pro::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: inherit;
  pointer-events: none;
}
.package-card.pro > * { position: relative; }

.pkg-badge {
  position: absolute; top: -14px; right: 24px;
  background: var(--accent); color: var(--ink-900);
  padding: 6px 16px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.pkg-name {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--brand-600);
  margin-bottom: 10px;
}
.package-card.pro .pkg-name { color: var(--brand-200); }
.pkg-title {
  font-family: var(--display);
  font-size: 32px; font-weight: 500; letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.pkg-desc {
  font-size: 15px; color: var(--ink-700); line-height: 1.5;
  margin: 0 0 28px;
}
.package-card.pro .pkg-desc { color: rgba(255,255,255,0.8); }
.pkg-price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 0 0 32px;
  padding-bottom: 28px;
  border-bottom: 1px dashed var(--ink-300);
}
.package-card.pro .pkg-price { border-color: rgba(255,255,255,0.2); }
.pkg-price-amt {
  font-family: var(--display);
  font-size: 56px; font-weight: 600;
  letter-spacing: -0.03em; line-height: 1;
}
.pkg-price-cur { font-size: 16px; font-weight: 600; color: var(--ink-600); }
.package-card.pro .pkg-price-cur { color: rgba(255,255,255,0.7); }
.pkg-feats { list-style: none; padding: 0; margin: 0 0 32px; }
.pkg-feats li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--ink-200);
}
.package-card.pro .pkg-feats li { border-color: rgba(255,255,255,0.12); }
.pkg-feats li:last-child { border: none; }
.pkg-feats svg { flex-shrink: 0; margin-top: 2px; }
.pkg-feats .check { color: var(--brand-500); }
.package-card.pro .pkg-feats .check { color: var(--accent); }
.pkg-feats .x { color: var(--ink-400); }
.pkg-feats .muted { color: var(--ink-500); text-decoration: line-through; }
.package-card.pro .pkg-feats .muted { color: rgba(255,255,255,0.4); }

/* Footer */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 40px;
  margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer h4 {
  color: white; font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 6px 0; font-size: 14px; }
.footer ul li:hover { color: white; cursor: pointer; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex; justify-content: space-between;
  font-size: 13px;
}

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-form-side {
  padding: 56px 80px;
  display: flex; flex-direction: column;
  background: var(--bg);
  overflow-y: auto;
}
.auth-form-inner {
  margin: auto 0; max-width: 440px; width: 100%;
}
.auth-art-side {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--brand-600), var(--brand-800));
  color: white;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px;
}
.auth-art-side::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.auth-art-content { position: relative; z-index: 2; max-width: 480px; }
.auth-art-quote {
  font-family: var(--display);
  font-size: 44px; font-weight: 400; line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.auth-art-quote em { font-style: italic; color: var(--brand-200); }
.auth-art-author { display: flex; align-items: center; gap: 12px; }
.auth-art-decor {
  position: absolute; right: -120px; top: 40px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
  z-index: 1;
  border-radius: 50%;
  filter: blur(40px);
}
.auth-illustration {
  position: absolute; bottom: 0; right: 0;
  width: 70%; max-width: 460px;
  z-index: 2;
}

.auth-form-inner h1 {
  font-family: var(--display);
  font-size: 44px; font-weight: 500; letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.auth-form-inner h1 em { font-style: italic; color: var(--brand-600); }
.auth-form-inner .subtitle { color: var(--ink-700); font-size: 15px; margin-bottom: 36px; }

.auth-tabs {
  display: flex; background: var(--ink-200);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 28px;
  width: fit-content;
}
.auth-tab {
  padding: 10px 24px; border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 600; color: var(--ink-700);
  transition: all .25s;
}
.auth-tab.active { background: white; color: var(--ink-900); box-shadow: var(--shadow-xs); }

.field { margin-bottom: 18px; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink-800); margin-bottom: 8px;
}
.field input, .field select {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--ink-300);
  border-radius: var(--radius);
  background: white;
  font-size: 15px; color: var(--ink-900);
  transition: all .2s;
}
.field textarea {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--ink-300);
  border-radius: var(--radius);
  background: white;
  font-size: 15px; color: var(--ink-900);
  transition: all .2s;
  resize: vertical;
  min-height: 80px;
  max-height: 400px;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand-500);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--brand-200) 50%, transparent);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field .hint { font-size: 12px; color: var(--ink-600); margin-top: 6px; }
.field .err { font-size: 12px; color: var(--danger); margin-top: 6px; }

.field-with-icon { position: relative; }
.field-with-icon .icon {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--ink-500);
}
.field-with-icon input { padding-left: 44px; }
.field-with-icon .toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--ink-500); cursor: pointer;
}

.checkbox-row {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-700);
  margin-bottom: 24px;
}
.checkbox-row input { accent-color: var(--brand-500); }

.divider {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; color: var(--ink-500);
  margin: 24px 0;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: var(--ink-300);
}

.social-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social-btn {
  padding: 12px; border: 1.5px solid var(--ink-300);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600; color: var(--ink-800);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all .2s; background: white;
}
.social-btn:hover { border-color: var(--brand-400); }

/* ===== WIZARD ===== */
.wizard-page {
  min-height: 100vh;
  background: var(--bg-soft);
  display: grid;
  grid-template-columns: 320px 1fr;
}
.wizard-side {
  background: linear-gradient(180deg, var(--brand-700), var(--brand-900));
  color: white;
  padding: 32px 28px;
  position: sticky; top: 0; height: 100vh;
  overflow-y: auto;
}
.wizard-side .logo { color: white; margin-bottom: 48px; flex-wrap: wrap; }
.wizard-side .logo span { white-space: nowrap; }
.wizard-side-title {
  font-family: var(--display);
  font-size: 22px; font-weight: 500;
  margin: 0 0 6px; line-height: 1.2;
}
.wizard-side-sub {
  font-size: 13px; color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
}
.steps-list { list-style: none; padding: 0; margin: 0; }
.step-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0; cursor: pointer;
  position: relative;
}
.step-item:not(:last-child)::before {
  content: ''; position: absolute;
  left: 14px; top: 38px; bottom: -10px;
  width: 1.5px; background: rgba(255,255,255,0.18);
}
.step-item.complete:not(:last-child)::before { background: var(--brand-300); }
.step-bullet {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,0.7);
  transition: all .25s;
}
.step-item.active .step-bullet {
  background: white; color: var(--brand-700);
  border-color: white;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.15);
}
.step-item.complete .step-bullet {
  background: var(--brand-300); color: var(--brand-900);
  border-color: var(--brand-300);
}
.step-label {
  font-size: 13px; font-weight: 500; line-height: 1.4;
  color: rgba(255,255,255,0.7);
  padding-top: 5px;
}
.step-item.active .step-label { color: white; font-weight: 600; }
.step-item.complete .step-label { color: rgba(255,255,255,0.9); }

.wizard-main {
  padding: 56px 80px 120px;
  max-width: 880px;
  width: 100%;
}
.wizard-progress {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 12px;
  font-size: 13px; font-weight: 600; color: var(--brand-600);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.wizard-progress-bar {
  flex: 1; max-width: 280px; height: 5px;
  background: var(--ink-200); border-radius: 3px;
  overflow: hidden;
}
.wizard-progress-bar > div {
  height: 100%; background: linear-gradient(90deg, var(--brand-500), var(--brand-700));
  border-radius: 3px; transition: width .4s;
}
.wizard-title {
  font-family: var(--display);
  font-size: 44px; font-weight: 500;
  letter-spacing: -0.02em; line-height: 1.05;
  margin: 0 0 12px;
}
.wizard-title em { font-style: italic; color: var(--brand-600); }
.wizard-desc {
  font-size: 16px; color: var(--ink-700);
  margin: 0 0 40px;
  line-height: 1.5;
}

.repeat-block {
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: white;
  margin-bottom: 16px;
  position: relative;
}
.repeat-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.repeat-num {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--brand-600);
}
.icon-btn {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--ink-100); color: var(--ink-700);
  display: grid; place-items: center;
  transition: all .2s;
}
.icon-btn:hover { background: oklch(0.93 0.06 25); color: var(--danger); }

.add-block {
  width: 100%;
  padding: 18px;
  border: 1.5px dashed var(--ink-300);
  border-radius: var(--radius);
  color: var(--brand-600);
  font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent;
  transition: all .2s;
}
.add-block:hover {
  border-color: var(--brand-500);
  background: var(--brand-50);
}

.wizard-foot {
  display: flex; justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-200);
}

/* Skill / language level selectors */
.level-pills { display: flex; gap: 8px; }
.level-pill {
  padding: 9px 16px; border-radius: var(--radius-pill);
  background: white; border: 1.5px solid var(--ink-300);
  font-size: 13px; font-weight: 500; color: var(--ink-700);
  transition: all .2s;
}
.level-pill.active {
  background: var(--brand-500); color: white;
  border-color: var(--brand-500);
}

/* Package picker */
.pkg-pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pkg-pick {
  padding: 28px; border-radius: var(--radius-lg);
  border: 2px solid var(--ink-200);
  background: white; cursor: pointer;
  transition: all .25s;
  position: relative;
}
.pkg-pick.active {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--brand-200) 60%, transparent);
}
.pkg-pick-check {
  position: absolute; top: 16px; right: 16px;
  width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid var(--ink-300);
  background: white;
  display: grid; place-items: center;
}
.pkg-pick.active .pkg-pick-check {
  border-color: var(--brand-500); background: var(--brand-500); color: white;
}

/* Image upload */
.upload-zone {
  border: 2px dashed var(--ink-300);
  border-radius: var(--radius-lg);
  padding: 48px 24px;
  text-align: center;
  background: white;
  cursor: pointer; transition: all .2s;
}
.upload-zone:hover { border-color: var(--brand-500); background: var(--brand-50); }
.upload-zone .ico { color: var(--brand-500); margin-bottom: 12px; }

/* Coupon */
.coupon-row { display: flex; gap: 10px; align-items: stretch; }
.coupon-row input { flex: 1; }
.coupon-applied {
  background: oklch(0.94 0.07 155);
  color: oklch(0.36 0.13 155);
  padding: 10px 14px; border-radius: var(--radius);
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}

/* Order summary box */
.summary {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--ink-200);
  margin-top: 24px;
}
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 14px; color: var(--ink-700);
  padding: 8px 0;
}
.summary-row.total {
  font-size: 18px; color: var(--ink-900); font-weight: 700;
  border-top: 1.5px dashed var(--ink-300);
  margin-top: 8px; padding-top: 16px;
}

/* ===== DASHBOARD ===== */
.dash-page {
  display: grid; grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: var(--bg-soft);
}
.dash-sidebar {
  background: white;
  border-right: 1px solid var(--ink-200);
  padding: 28px 18px;
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column;
}
.dash-sidebar .logo { padding: 0 8px; margin-bottom: 36px; }
.dash-nav { flex: 1; }
.dash-nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-700);
  cursor: pointer; transition: all .2s;
  margin-bottom: 4px;
  width: 100%;
  text-align: left;
}
.dash-nav-item:hover { background: var(--ink-100); }
.dash-nav-item.active {
  background: var(--brand-50); color: var(--brand-700);
  font-weight: 600;
}
.dash-nav-item .badge {
  margin-left: auto;
  background: var(--brand-500); color: white;
  font-size: 11px; padding: 2px 8px; border-radius: 999px;
  font-weight: 700;
}
.dash-user {
  padding: 12px;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 10px;
  background: var(--ink-100);
}
.dash-user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
  color: white; display: grid; place-items: center;
  font-weight: 700; font-size: 13px;
}
.dash-user-name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.dash-user-mail { font-size: 11px; color: var(--ink-600); }

.dash-main { padding: 36px 48px; max-width: 1200px; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 32px; }
.dash-greeting {
  font-family: var(--display); font-size: 36px; font-weight: 500;
  letter-spacing: -0.015em; margin: 0;
}
.dash-greeting em { font-style: italic; color: var(--brand-600); }
.dash-sub { color: var(--ink-700); font-size: 15px; margin-top: 4px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 22px;
  border: 1px solid var(--ink-200);
}
.kpi-label { font-size: 12px; color: var(--ink-600); font-weight: 500; }
.kpi-value {
  font-family: var(--display);
  font-size: 32px; font-weight: 500; letter-spacing: -0.02em;
  color: var(--ink-900);
  margin-top: 6px;
}
.kpi-trend { font-size: 12px; color: var(--success); margin-top: 6px; font-weight: 600; }

/* Order list */
.order-row {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
}
.order-id {
  font-family: var(--mono);
  font-size: 12px; color: var(--ink-600);
  margin-bottom: 6px;
}
.order-pkg {
  font-family: var(--display);
  font-size: 22px; font-weight: 500; letter-spacing: -0.01em;
}
.order-meta {
  display: flex; gap: 14px; font-size: 13px; color: var(--ink-700);
  margin-top: 8px;
}
.order-meta span { display: flex; align-items: center; gap: 6px; }

.status-badge {
  padding: 6px 14px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.status-pending { background: oklch(0.94 0.07 70); color: oklch(0.42 0.14 70); }
.status-paid { background: oklch(0.94 0.06 245); color: oklch(0.40 0.13 245); }
.status-progress { background: oklch(0.93 0.06 295); color: oklch(0.40 0.13 295); }
.status-delivered { background: oklch(0.93 0.06 155); color: oklch(0.36 0.13 155); }
.status-unpaid { background: oklch(0.94 0.06 25); color: oklch(0.45 0.16 25); }

/* Delivery box */
.delivery-card {
  background: linear-gradient(135deg, var(--brand-700), var(--brand-900));
  color: white;
  padding: 32px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.delivery-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.delivery-card > * { position: relative; }
.delivery-link {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 18px;
  border-radius: var(--radius);
  font-family: var(--mono); font-size: 13px;
  margin-top: 16px;
}
.delivery-link a { flex: 1; color: white; word-break: break-all; }

/* ===== ADMIN ===== */
.admin-tabs {
  display: flex; gap: 4px;
  border-bottom: 1px solid var(--ink-200);
  margin-bottom: 28px;
}
.admin-tab {
  padding: 12px 18px; font-size: 14px; font-weight: 600;
  color: var(--ink-700); border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.admin-tab.active { color: var(--brand-700); border-color: var(--brand-500); }

.table-wrap {
  background: white; border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg); overflow: hidden;
}
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl thead { background: var(--bg-soft); }
.tbl th {
  text-align: left; padding: 14px 18px;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-700);
  border-bottom: 1px solid var(--ink-200);
}
.tbl td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--ink-200);
  vertical-align: middle;
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover { background: var(--bg-soft); }
.tbl-cell-user { display: flex; align-items: center; gap: 12px; }
.tbl-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
  color: white; display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(20, 10, 40, 0.5);
  backdrop-filter: blur(6px);
  display: grid; place-items: center;
  padding: 24px;
  animation: fade-in .25s ease;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%; max-width: 720px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: pop-in .3s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes pop-in { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
.modal-head {
  padding: 24px 32px; border-bottom: 1px solid var(--ink-200);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-body { padding: 32px; }

/* CV preview */
.cv-preview {
  background: white;
  padding: 56px 48px;
  font-family: var(--sans);
  font-size: 12px;
  color: #1a1a1a;
  line-height: 1.5;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1.414;
  overflow: hidden;
}
.cv-preview h1 {
  font-family: var(--display);
  font-size: 32px; font-weight: 600; letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.cv-preview .cv-role { font-size: 13px; color: var(--brand-700); font-weight: 600; margin-bottom: 14px; }
.cv-preview .cv-contact { font-size: 11px; color: #555; padding-bottom: 14px; border-bottom: 2px solid var(--brand-700); margin-bottom: 18px; }
.cv-preview h2 {
  font-family: var(--display);
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--brand-700);
  margin: 16px 0 10px;
}
.cv-preview .cv-item { margin-bottom: 12px; }
.cv-preview .cv-item-head { display: flex; justify-content: space-between; }
.cv-preview .cv-item-title { font-weight: 700; font-size: 12px; }
.cv-preview .cv-item-sub { font-size: 11px; color: #666; }
.cv-preview .cv-item-date { font-size: 10px; color: #888; font-family: var(--mono); }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-art-side { display: none; }
  .auth-form-side { padding: 40px 24px; }
  .wizard-page { grid-template-columns: 1fr; }
  .wizard-side { position: relative; height: auto; }
  .wizard-main { padding: 32px 24px; }
  .dash-page { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .packages-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-strip { grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; }
  .nav-inner { flex-direction: column; gap: 16px; align-items: center; }
  .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; font-size: 14px; }
  .hero-title { font-size: clamp(32px, 8vw, 42px); }
  .stat-num { font-size: 32px; }
  .section { padding: 60px 0; }
  .cv-preview { aspect-ratio: auto; min-height: 80vh; padding: 24px; }
  .dash-main { padding: 24px 16px; }
  .order-row { grid-template-columns: 1fr; gap: 16px; }
  .float-card { display: none; }
  .pkg-pick-grid { grid-template-columns: 1fr; }
  .kpi-grid { grid-template-columns: 1fr; }
}
