/* ============================================================
   ElectroMentors TalentPool — Design System & Shared Styles
   Clean, professional dark-first UI
   ============================================================ */

/* 1. DESIGN TOKENS
   ------------------------------------------------------------ */
:root {
  --bg-base: #080c16;
  --bg-surface: #0d1221;
  --bg-raised: #141b2d;
  --bg-overlay: #1c2545;
  --bg-input: #0f1524;

  --border-default: rgba(255,255,255,0.12);
  --border-subtle: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.18);
  --border-accent: rgba(129,140,248,0.35);

  --text-primary: #eef2ff;
  --text-secondary: #8b9cc7;
  --text-tertiary: #546080;
  --text-accent: #a5b4fc;

  --accent-gold: #6366f1;
  --accent-gold-hover: #818cf8;
  --accent-gold-subtle: rgba(129,140,248,0.12);
  --accent-gold-text: #a5b4fc;
  --accent-blue: #3b82f6;
  --accent-blue-subtle: rgba(59,130,246,0.12);

  --success: #22c55e;
  --success-subtle: rgba(34,197,94,0.12);
  --warning: #f59e0b;
  --warning-subtle: rgba(245,158,11,0.12);
  --error: #ef4444;
  --error-subtle: rgba(239,68,68,0.12);
  --info: #3b82f6;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.25);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 24px rgba(129,140,248,0.12);

  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
}

/* 2. RESET & BASE
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

::selection { background: rgba(129,140,248,0.25); color: var(--text-primary); }
img { max-width: 100%; display: block; }
a { color: var(--accent-gold-text); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: #c7d2fe; }
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
ul, ol { list-style: none; }

/* 3. BUTTONS
   ------------------------------------------------------------ */
.btn, button, [type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary, button.btn-primary,
[type="submit"]:not(.btn-secondary):not(.btn-outline):not(.btn-ghost):not(.btn-danger) {
  background: var(--accent-gold);
  color: #fff;
  border-color: var(--accent-gold);
  font-weight: 600;
}
.btn-primary:hover,
[type="submit"]:not(.btn-secondary):not(.btn-outline):not(.btn-ghost):not(.btn-danger):hover {
  background: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  box-shadow: 0 4px 16px rgba(129,140,248,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-overlay);
  border-color: var(--border-accent);
}

.btn-outline {
  background: transparent;
  color: var(--accent-gold-text);
  border-color: var(--border-accent);
}
.btn-outline:hover { background: var(--accent-gold-subtle); }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: transparent;
  padding: 8px 12px;
}
.btn-ghost:hover { color: var(--text-primary); background: var(--bg-overlay); }

.btn-danger { background: var(--error); color: white; border-color: var(--error); }
.btn-danger:hover { background: #dc2626; }

.btn-glow {
  background: var(--accent-gold);
  color: #fff;
  border-color: var(--accent-gold);
  font-weight: 600;
}
.btn-glow:hover {
  background: var(--accent-gold-hover);
  box-shadow: 0 0 24px rgba(129,140,248,0.3), 0 4px 16px rgba(129,140,248,0.2);
}

.btn-sm { font-size: 13px; padding: 7px 14px; }
.btn-lg { font-size: 15px; padding: 12px 24px; }
button:disabled, .btn:disabled { opacity: 0.45; pointer-events: none; }

.link {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.link:hover { color: var(--accent-gold-text); }

/* 4. FORM INPUTS
   ------------------------------------------------------------ */
.field, .form-group { margin-bottom: 20px; }

.field > label, .form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

input[type="text"], input[type="email"], input[type="password"],
input[type="number"], input[type="url"], input[type="tel"],
input[type="search"], input[type="date"], select, textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-subtle);
}
input::placeholder, textarea::placeholder { color: var(--text-tertiary); }
textarea { min-height: 80px; resize: vertical; line-height: 1.5; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b9cc7' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.form-hint, .hint {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-top: 4px;
}

.form-row, .input-split { display: flex; gap: 12px; align-items: flex-start; }
.form-row > *, .input-split > * { flex: 1; }

.form-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}
.form-footer .link { margin-right: auto; }

input[type="checkbox"], input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--accent-gold);
  cursor: pointer;
}

/* 5. CHIPS & BADGES
   ------------------------------------------------------------ */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  background: var(--accent-gold-subtle);
  border: 1px solid rgba(129,140,248,0.18);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.chip-rail, .chips { display: flex; flex-wrap: wrap; gap: 6px; }

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.status-ok, .status-active, .status-verified, .status-published { background: var(--success-subtle); color: var(--success); }
.status-pending, .status-warn, .status-pending_schedule, .status-pending_admin, .status-schedule_proposed, .status-schedule_declined { background: var(--warning-subtle); color: var(--warning); }
.status-error, .status-bad, .status-declined { background: var(--error-subtle); color: var(--error); }
.status-sent, .status-info, .status-revealed, .status-contract_sent, .status-contract_signed { background: var(--accent-blue-subtle); color: var(--accent-blue); }
.status-draft { background: var(--bg-overlay); color: var(--text-tertiary); }
.status-waiting_hire, .status-awaiting_contract { background: rgba(129,140,248,0.12); color: #a5b4fc; }
.status-invoiced { background: var(--success-subtle); color: var(--success); }

/* 6. TOASTS
   ------------------------------------------------------------ */
.toasts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.toast {
  padding: 12px 16px;
  font-size: 13px;
  border-radius: var(--radius-md);
  border-left: 3px solid;
  animation: fadeSlideIn 0.25s ease;
}
.toast.success { background: var(--success-subtle); border-color: var(--success); color: var(--success); }
.toast.error   { background: var(--error-subtle); border-color: var(--error); color: var(--error); }
.toast.info    { background: var(--accent-blue-subtle); border-color: var(--info); color: var(--info); }
.toast.warning { background: var(--warning-subtle); border-color: var(--warning); color: var(--warning); }

/* 7. CARDS & PANELS
   ------------------------------------------------------------ */
.card, .panel {
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.note-banner {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--accent-blue);
  background: var(--accent-blue-subtle);
  border: 1px solid rgba(59,130,246,0.15);
  border-radius: var(--radius-md);
  margin-top: 16px;
}

/* 8. TYPOGRAPHY UTILITIES
   ------------------------------------------------------------ */
.text-gold { color: var(--accent-gold-text); }
.text-muted, .muted { color: var(--text-tertiary); }
.text-sm { font-size: 13px; }
.sub { font-size: 13px; color: var(--text-secondary); }
.description { font-size: 14px; line-height: 1.65; color: var(--text-secondary); }
.tooltip { font-size: 13px; color: var(--text-tertiary); margin-bottom: 20px; }
code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  background: var(--bg-overlay);
  border-radius: 4px;
  color: var(--accent-gold-text);
}

/* 9. MISC UTILITIES
   ------------------------------------------------------------ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.divider { border: none; border-top: 1px solid var(--border-default); margin: 24px 0; }
.glass { backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.empty-state { text-align: center; padding: 40px 20px; color: var(--text-tertiary); font-size: 14px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================
   10. LANDING PAGE
   ============================================================ */
.landing-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(8,12,22,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.landing-nav .brand { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 80px; height: 80px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
}
.brand-text { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.landing-nav .nav-links { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  padding: 8px 14px; border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-overlay); }
.nav-cta {
  font-size: 13px; font-weight: 600; color: #fff;
  background: var(--accent-gold); padding: 8px 16px;
  border-radius: var(--radius-md); transition: all var(--transition-fast);
}
.nav-cta:hover { background: var(--accent-gold-hover); color: #fff; }
.nav-toggle {
  display: none; width: 36px; height: 36px;
  background: none; border: none; color: var(--text-secondary);
  cursor: pointer; font-size: 20px;
}

/* Hero */
.hero {
  min-height: 92vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(129,140,248,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px;
  font-size: 12px; font-weight: 600;
  color: var(--accent-gold-text);
  background: var(--accent-gold-subtle);
  border: 1px solid rgba(129,140,248,0.15);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.hero-title {
  font-size: 48px; font-weight: 700;
  letter-spacing: -0.035em; line-height: 1.1;
  max-width: 700px; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent-gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 18px; max-width: 520px;
  color: var(--text-secondary); line-height: 1.6;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Features */
.features { padding: 80px 24px; max-width: 1100px; margin: 0 auto; }
.features-header { text-align: center; margin-bottom: 48px; }
.features-header h2 { font-size: 32px; margin-bottom: 12px; }
.features-header p { font-size: 16px; color: var(--text-secondary); max-width: 480px; margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition-base);
}
.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-gold-subtle);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--accent-gold-text); font-size: 18px;
}
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* CTA */
.cta-section { padding: 80px 24px; text-align: center; }
.cta-box {
  max-width: 580px; margin: 0 auto;
  padding: 48px 40px;
  background: var(--bg-raised);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-glow);
}
.cta-box h2 { font-size: 28px; margin-bottom: 12px; }
.cta-box p { color: var(--text-secondary); margin-bottom: 28px; }

/* Footer */
.landing-footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 13px; color: var(--text-tertiary);
}
.landing-footer a { color: var(--text-secondary); }
.landing-footer a:hover { color: var(--accent-gold-text); }

/* ============================================================
   11. AUTH PAGES
   ============================================================ */
.auth-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 20px; position: relative;
}
.auth-page::before {
  content: '';
  position: absolute;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(129,140,248,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header .logo-mark { margin: 0 auto 16px; }
.auth-header h2 { font-size: 22px; margin-bottom: 6px; }
.auth-header p { font-size: 13px; color: var(--text-tertiary); }

.role-tabs {
  display: flex;
  background: var(--bg-base);
  border-radius: var(--radius-md);
  padding: 3px;
  margin-bottom: 24px;
  border: 1px solid var(--border-subtle);
}
.role-tab {
  flex: 1;
  padding: 9px 16px;
  font-size: 13px; font-weight: 500;
  text-align: center;
  border-radius: 7px;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none; background: none;
}
.role-tab:hover { color: var(--text-secondary); }
.role-tab.active { background: var(--bg-overlay); color: var(--text-primary); font-weight: 600; }

.auth-footer { text-align: center; margin-top: 24px; font-size: 13px; color: var(--text-tertiary); }

/* Register split layout */
.register-page {
  min-height: 100vh;
  display: flex; position: relative;
}
.register-copy {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 48px; max-width: 520px;
}
.register-copy h1 { font-size: 36px; letter-spacing: -0.03em; margin-bottom: 16px; line-height: 1.15; }
.register-copy p { font-size: 16px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.register-copy .feature-list { margin-top: 24px; }
.register-copy .feature-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; font-size: 14px; color: var(--text-secondary);
}
.register-copy .feature-list li::before {
  content: '\2713'; color: var(--accent-gold-text); font-weight: 600; flex-shrink: 0;
}
.register-form-area {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
}
.register-card {
  width: 100%; max-width: 440px;
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.register-card h2 { font-size: 20px; margin-bottom: 4px; }
.register-card .sub { margin-bottom: 24px; }

/* ============================================================
   12. ONBOARDING WIZARD
   ============================================================ */
body.onboarding {
  display: flex; flex-direction: column; min-height: 100vh;
}
body.onboarding .wizard-main {
  flex: 1;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 32px 24px;
}
body.onboarding .wizard-grid {
  width: 100%; max-width: 920px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px; align-items: start;
}
body.onboarding .wizard-panel,
.wizard-panel.panel.glass.small.wizard {
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  overflow: visible;
}
body.onboarding .wizard-aside,
.wizard-aside {
  background: var(--bg-raised);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
}
.wizard-aside h3 { font-size: 15px; color: var(--accent-gold-text); margin-bottom: 12px; }
.wizard-aside p {
  font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px;
}
.wizard-aside ul { padding-left: 0; }
.wizard-aside li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 13px; color: var(--text-secondary); line-height: 1.5;
}
.wizard-aside li::before {
  content: '';
  position: absolute; left: 4px; top: 13px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-gold); opacity: 0.6;
}

.steps {
  font-size: 12px; font-weight: 600;
  color: var(--accent-gold-text);
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: 16px;
}

/* ============================================================
   13. NAVBAR (standalone pages)
   ============================================================ */
.navbar {
  padding: 0 24px; height: 56px;
  display: flex; align-items: center;
  background: rgba(8,12,22,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.navbar .brand { display: flex; align-items: center; gap: 10px; }
.navbar .brand-text { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.logo-glow {
  width: 38px; height: 38px;
  border-radius: 7px;
  object-fit: contain;
  display: block;
}

/* ============================================================
   14. SPECIFIC PAGE LAYOUTS
   ============================================================ */
body.subpage {
  display: flex; flex-direction: column; min-height: 100vh;
}
body.subpage .centered, .centered {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 20px;
}
.centered .panel { max-width: 480px; width: 100%; padding: 36px 32px; }
.centered .panel.small { max-width: 440px; }
.centered .panel h2 { font-size: 22px; margin-bottom: 8px; }

/* Shared list for onboarding/feedback */
.list {
  padding-left: 18px; margin: 8px 0; list-style: none;
}
.list li {
  position: relative;
  padding: 3px 0;
  font-size: 13px; color: var(--text-secondary); line-height: 1.5;
}
.list li::before {
  content: '\2013';
  position: absolute; left: -16px;
  color: var(--accent-gold-text); opacity: 0.5;
}

/* Preview card (step3) */
.preview-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-default);
  background: var(--bg-base);
}
.preview-card h3 {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--accent-gold-text); margin-bottom: 8px;
}

/* Feedback block (step6) */
.feedback-block {
  background: var(--bg-base);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 16px;
}
.feedback-block strong {
  color: var(--accent-gold-text);
  display: block; margin-bottom: 6px; font-size: 13px;
}

/* ============================================================
   15. LIGHT THEME
   ============================================================ */
[data-theme="light"] {
  --bg-base: #f7f8fa;
  --bg-surface: #ffffff;
  --bg-raised: #f0f2f6;
  --bg-overlay: #e4e8ef;
  --bg-input: #ffffff;
  --border-default: rgba(0,0,0,0.08);
  --border-subtle: rgba(0,0,0,0.04);
  --border-strong: rgba(0,0,0,0.14);
  --border-accent: rgba(79,70,229,0.3);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #94a3b8;
  --text-accent: #4338ca;
  --accent-gold: #4f46e5;
  --accent-gold-hover: #4338ca;
  --accent-gold-subtle: rgba(99,102,241,0.1);
  --accent-gold-text: #4338ca;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 24px rgba(99,102,241,0.08);
}
[data-theme="light"] .landing-nav { background: rgba(255,255,255,0.85); }
[data-theme="light"] .navbar { background: rgba(255,255,255,0.75); }
[data-theme="light"] .btn-primary,
[data-theme="light"] .btn-glow,
[data-theme="light"] .nav-cta { color: #fff; }

/* ============================================================
   16. ANIMATIONS
   ============================================================ */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.fade-in { animation: fadeSlideIn 0.3s ease; }

/* ============================================================
   17. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  body.onboarding .wizard-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 36px; }
  .register-page { flex-direction: column; }
  .register-copy { max-width: 100%; padding: 48px 24px 24px; }
}
@media (max-width: 768px) {
  .landing-nav .nav-links { display: none; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; margin-left: auto; }
  .landing-nav .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border-default);
    padding: 16px 24px; gap: 4px;
  }
  .hero { padding: 100px 20px 60px; min-height: auto; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .features { padding: 48px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 28px 24px; }
  .register-card { padding: 28px 24px; }
  body.onboarding .wizard-panel { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 24px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .form-footer { flex-wrap: wrap; }
  .input-split, .form-row { flex-direction: column; }
}
