/* ============================================================
   LinkedIn Lead Booster — Premium SaaS UI v2
   Aesthetic: Refined Dark Luxury
   Fonts: Plus Jakarta Sans (display) + Instrument Sans (body)
   Palette: Obsidian · Electric Indigo · Warm White · Amber Gold
   Inspiration: Linear · Vercel · Raycast · Loom
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Core palette */
  --obsidian:       #080b14;
  --obsidian-2:     #0c1120;
  --obsidian-3:     #101828;
  --surface-1:      #131c2e;
  --surface-2:      #1a2540;
  --surface-3:      #1f2d4a;
  --border-subtle:  rgba(255,255,255,0.06);
  --border-default: rgba(255,255,255,0.10);
  --border-strong:  rgba(255,255,255,0.16);

  /* Indigo accent */
  --indigo-dim:     rgba(99,102,241,0.12);
  --indigo-muted:   rgba(99,102,241,0.25);
  --indigo:         #6366f1;
  --indigo-bright:  #818cf8;
  --indigo-glow:    rgba(99,102,241,0.35);

  /* Amber / gold */
  --amber-dim:      rgba(245,158,11,0.10);
  --amber:          #f59e0b;
  --amber-bright:   #fbbf24;
  --amber-glow:     rgba(245,158,11,0.30);

  /* Semantic */
  --success:        #34d399;
  --success-dim:    rgba(52,211,153,0.10);
  --success-border: rgba(52,211,153,0.20);
  --danger:         #f87171;
  --danger-dim:     rgba(248,113,113,0.10);
  --danger-border:  rgba(248,113,113,0.20);
  --warning:        #fbbf24;
  --warning-dim:    rgba(251,191,36,0.10);
  --info:           #60a5fa;
  --info-dim:       rgba(96,165,250,0.10);

  /* Text scale */
  --text-primary:   #f0f4ff;
  --text-secondary: #8b9bbf;
  --text-tertiary:  #4d5f82;
  --text-disabled:  #2d3a54;
  --white:          #ffffff;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'Instrument Sans', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing scale */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* Radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  14px;
  --r-xl:  20px;
  --r-2xl: 28px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-xs:    0 1px 2px rgba(0,0,0,0.4);
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.35);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.5);
  --shadow-xl:    0 24px 64px rgba(0,0,0,0.6);
  --shadow-indigo: 0 8px 32px rgba(99,102,241,0.3);
  --shadow-amber:  0 8px 32px rgba(245,158,11,0.25);

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:   0.12s;
  --t-base:   0.20s;
  --t-slow:   0.35s;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--obsidian);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--indigo); }

/* Selection */
::selection { background: var(--indigo-muted); color: var(--white); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--white);
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.625rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }
h5 { font-size: 0.9375rem; font-weight: 600; }

p { color: var(--text-secondary); line-height: 1.7; }

a {
  color: var(--indigo-bright);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--white); }

strong { font-weight: 600; color: var(--text-primary); }

code {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  background: var(--surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--r-sm);
  padding: 1px 6px;
  color: var(--indigo-bright);
}

/* Eyebrow / label text */
.label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container    { max-width: 1160px; margin: 0 auto; padding: 0 var(--sp-6); }
.container-sm { max-width: 760px;  margin: 0 auto; padding: 0 var(--sp-6); }
.container-xs { max-width: 480px;  margin: 0 auto; padding: 0 var(--sp-6); }

.section    { padding: var(--sp-20) 0; }
.section-sm { padding: var(--sp-12) 0; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }

/* Flex helpers */
.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.gap-2  { gap: var(--sp-2); }
.gap-3  { gap: var(--sp-3); }
.gap-4  { gap: var(--sp-4); }
.gap-6  { gap: var(--sp-6); }

/* Spacing utilities */
.mt-2  { margin-top: var(--sp-2); }  .mt-3  { margin-top: var(--sp-3); }
.mt-4  { margin-top: var(--sp-4); }  .mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }  .mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); } .mt-16 { margin-top: var(--sp-16); }
.mb-2  { margin-bottom: var(--sp-2); } .mb-3 { margin-bottom: var(--sp-3); }
.mb-4  { margin-bottom: var(--sp-4); } .mb-6 { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); } .mb-10{ margin-bottom: var(--sp-10); }
.mb-12 { margin-bottom: var(--sp-12);}

.text-center { text-align: center; }
.w-full      { width: 100%; }
.truncate    { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.relative    { position: relative; }
.sr-only     { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 10px 20px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  transition:
    background var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    box-shadow var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease-spring),
    color var(--t-fast) var(--ease);
  position: relative;
  overflow: hidden;
}

.btn:active { transform: scale(0.97); }

/* Primary */
.btn-primary {
  background: var(--indigo);
  color: var(--white);
  border-color: rgba(255,255,255,0.1);
  box-shadow: var(--shadow-indigo), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: var(--indigo-bright);
  color: var(--white);
  box-shadow: 0 12px 40px rgba(99,102,241,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
  transform: translateY(-1px);
}

/* Amber / CTA */
.btn-amber {
  background: var(--amber);
  color: #1a0e00;
  border-color: rgba(255,255,255,0.12);
  box-shadow: var(--shadow-amber), inset 0 1px 0 rgba(255,255,255,0.2);
  font-weight: 700;
}
.btn-amber:hover {
  background: var(--amber-bright);
  color: #1a0e00;
  box-shadow: 0 12px 40px rgba(245,158,11,0.40), inset 0 1px 0 rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-default);
}
.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-default);
}
.btn-outline:hover {
  background: var(--surface-1);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

/* Danger */
.btn-danger {
  background: var(--danger-dim);
  color: var(--danger);
  border-color: var(--danger-border);
}
.btn-danger:hover { background: rgba(248,113,113,0.18); }

/* Sizes */
.btn-xs  { padding: 6px 12px; font-size: 0.75rem; border-radius: var(--r-sm); gap: var(--sp-1); }
.btn-sm  { padding: 8px 14px; font-size: 0.8125rem; }
.btn-lg  { padding: 14px 28px; font-size: 0.9375rem; border-radius: var(--r-lg); }
.btn-xl  { padding: 16px 36px; font-size: 1rem; border-radius: var(--r-xl); letter-spacing: -0.015em; }
.btn-block { width: 100%; }

.btn[disabled], .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 var(--sp-6);
  background: rgba(8,11,20,0.80);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar-inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--indigo), #4f46e5);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(99,102,241,0.4);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.navbar-nav a {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 12px;
  font-family: var(--font-display);
  font-size: 0.8375rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease);
  letter-spacing: -0.01em;
}
.navbar-nav a:hover { color: var(--text-primary); background: var(--surface-1); }
.navbar-nav .btn { margin-left: var(--sp-3); }

/* User badge in nav */
.nav-user {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 4px 10px 4px 4px;
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--r-full);
  cursor: default;
  transition: border-color var(--t-fast) var(--ease);
}
.user-chip:hover { border-color: var(--border-strong); }

.user-avatar {
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, var(--indigo), #4f46e5);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0;
}

.user-name-chip {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

/* Plan badges */
.plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 0.6375rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 7px;
  border-radius: var(--r-full);
  line-height: 1;
}
.plan-free {
  background: var(--surface-3);
  color: var(--text-tertiary);
  border: 1px solid var(--border-default);
}
.plan-pro {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #1a0900;
  box-shadow: 0 2px 8px rgba(245,158,11,0.3);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.card:hover { border-color: var(--border-default); }

.card-sm   { padding: var(--sp-4); border-radius: var(--r-lg); }
.card-lg   { padding: var(--sp-8); border-radius: var(--r-2xl); }
.card-flush { padding: 0; overflow: hidden; }

/* Elevated card */
.card-elevated {
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

/* Interactive card */
.card-interactive {
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
}
.card-interactive:hover {
  border-color: var(--indigo-muted);
  box-shadow: 0 0 0 1px var(--indigo-muted), var(--shadow-md);
  transform: translateY(-2px);
}

/* Problem cards (red) */
.problem-card {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4) var(--sp-5);
  background: var(--danger-dim);
  border: 1px solid var(--danger-border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-fast);
}
.problem-card:hover { border-color: rgba(248,113,113,0.35); }

/* Recommendation cards (green) */
.rec-card {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4) var(--sp-5);
  background: var(--success-dim);
  border: 1px solid var(--success-border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-fast);
}
.rec-card:hover { border-color: rgba(52,211,153,0.35); }

.card-bullet {
  width: 24px;
  height: 24px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
  font-family: var(--font-display);
}
.bullet-danger  { background: var(--danger-dim);  color: var(--danger);  border: 1px solid var(--danger-border); }
.bullet-success { background: var(--success-dim); color: var(--success); border: 1px solid var(--success-border); }

.card-text {
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.65;
}

/* ============================================================
   TAGS / BADGES
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 4px 10px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}
.tag-indigo { background: var(--indigo-dim); color: var(--indigo-bright); border: 1px solid var(--indigo-muted); }
.tag-amber  { background: var(--amber-dim);  color: var(--amber-bright);  border: 1px solid rgba(245,158,11,0.25); }
.tag-green  { background: var(--success-dim);color: var(--success);       border: 1px solid var(--success-border); }
.tag-red    { background: var(--danger-dim); color: var(--danger);        border: 1px solid var(--danger-border); }
.tag-muted  { background: var(--surface-2);  color: var(--text-tertiary); border: 1px solid var(--border-default); }

/* Score pills */
.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.score-pill-high { background: var(--success-dim); color: var(--success); border: 1px solid var(--success-border); }
.score-pill-mid  { background: var(--amber-dim);   color: var(--amber);   border: 1px solid rgba(245,158,11,0.2); }
.score-pill-low  { background: var(--danger-dim);  color: var(--danger);  border: 1px solid var(--danger-border); }

/* ============================================================
   FORMS
   ============================================================ */
.form-stack { display: flex; flex-direction: column; gap: var(--sp-5); }

.form-group { display: flex; flex-direction: column; gap: var(--sp-2); }

.form-label {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--obsidian-3);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1;
  transition: all var(--t-fast) var(--ease);
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text-tertiary); font-size: 0.875rem; }
.form-input:hover { border-color: var(--border-strong); }
.form-input:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
  background: var(--obsidian-2);
}
.form-input.error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(248,113,113,0.12); }

.form-hint { font-size: 0.8rem; color: var(--text-tertiary); line-height: 1.4; }
.form-error { font-size: 0.8125rem; color: var(--danger); display: flex; align-items: center; gap: var(--sp-1); }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: 13px var(--sp-4);
  border-radius: var(--r-lg);
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: var(--sp-5);
}
.alert-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }

.alert-error   { background: var(--danger-dim);  border: 1px solid var(--danger-border);  color: #fca5a5; }
.alert-success { background: var(--success-dim); border: 1px solid var(--success-border); color: #6ee7b7; }
.alert-info    { background: var(--info-dim);    border: 1px solid rgba(96,165,250,0.2);  color: #93c5fd; }
.alert-warning { background: var(--warning-dim); border: 1px solid rgba(251,191,36,0.2);  color: #fcd34d; }

/* ============================================================
   LOADING
   ============================================================ */
.spinner {
  border: 2.5px solid var(--surface-3);
  border-top-color: var(--indigo);
  border-radius: var(--r-full);
  animation: spin 0.7s linear infinite;
}
.spinner-sm { width: 16px; height: 16px; }
.spinner-md { width: 32px; height: 32px; }
.spinner-lg { width: 48px; height: 48px; border-width: 3px; }

@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,11,20,0.92);
  backdrop-filter: blur(12px);
  display: none;
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  text-align: center;
}
.loading-overlay.active { display: flex; }

.loading-pulse {
  position: relative;
  width: 64px;
  height: 64px;
}
.loading-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  border: 2px solid var(--indigo);
  animation: pulse-ring 1.8s ease-out infinite;
}
.loading-pulse-ring:nth-child(2) { animation-delay: 0.6s; }
.loading-pulse-ring:nth-child(3) { animation-delay: 1.2s; }
.loading-pulse-dot {
  position: absolute;
  inset: 18px;
  background: var(--indigo);
  border-radius: var(--r-full);
  box-shadow: 0 0 20px var(--indigo-glow);
}
@keyframes pulse-ring {
  0%   { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2);   opacity: 0; }
}

.loading-dots { display: flex; gap: var(--sp-2); }
.loading-dots span {
  width: 6px; height: 6px;
  background: var(--indigo);
  border-radius: var(--r-full);
  animation: dot-bounce 1.4s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.16s; }
.loading-dots span:nth-child(3) { animation-delay: 0.32s; }
@keyframes dot-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1.1); opacity: 1; }
}

.loading-title    { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--white); transition: opacity 0.25s; }
.loading-subtitle { font-size: 0.875rem; color: var(--text-secondary); transition: opacity 0.25s; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--sp-20) var(--sp-6);
  overflow: hidden;
}

/* Background atmosphere */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Radial gradients for depth */
.hero-atmosphere::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(ellipse at center,
    rgba(99,102,241,0.12) 0%,
    rgba(99,102,241,0.04) 40%,
    transparent 70%
  );
  border-radius: var(--r-full);
}

.hero-atmosphere::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(ellipse at center,
    rgba(245,158,11,0.07) 0%,
    transparent 65%
  );
  border-radius: var(--r-full);
}

/* Grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 100%);
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: var(--r-full);
  filter: blur(80px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 480px; height: 480px;
  top: -120px; right: 5%;
  background: rgba(99,102,241,0.18);
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 320px; height: 320px;
  bottom: 5%; left: 10%;
  background: rgba(245,158,11,0.10);
  animation: orb-drift 16s ease-in-out infinite alternate-reverse;
}
.hero-orb-3 {
  width: 200px; height: 200px;
  top: 40%; left: 30%;
  background: rgba(52,211,153,0.06);
  animation: orb-drift 20s ease-in-out infinite alternate;
}
@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
}

/* Announcement chip */
.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px 14px 5px 5px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--indigo-bright);
  margin-bottom: var(--sp-6);
  width: fit-content;
}
.hero-chip-dot {
  width: 18px; height: 18px;
  background: var(--indigo);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  box-shadow: 0 0 8px var(--indigo-glow);
}
.hero-chip-pulse {
  width: 6px; height: 6px;
  background: var(--indigo-bright);
  border-radius: var(--r-full);
  box-shadow: 0 0 6px var(--indigo-bright);
  animation: status-pulse 2s ease-in-out infinite;
}
@keyframes status-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--indigo-bright); }
  50%       { opacity: 0.5; box-shadow: 0 0 2px var(--indigo-bright); }
}

.hero-title {
  margin-bottom: var(--sp-6);
  max-width: 820px;
}

.hero-title .line-1 { display: block; }
.hero-title .line-2 { display: block; }

.text-gradient {
  background: linear-gradient(135deg, var(--indigo-bright) 0%, var(--amber-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: var(--sp-10);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* Social proof row */
.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-top: var(--sp-12);
  padding-top: var(--sp-10);
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.proof-avatars {
  display: flex;
}
.proof-avatar {
  width: 30px; height: 30px;
  border-radius: var(--r-full);
  border: 2px solid var(--obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--white);
  margin-left: -8px;
  flex-shrink: 0;
}
.proof-avatar:first-child { margin-left: 0; }

.proof-text { font-size: 0.875rem; color: var(--text-secondary); }
.proof-text strong { color: var(--text-primary); font-weight: 600; }

.proof-divider {
  width: 1px;
  height: 28px;
  background: var(--border-default);
}

.proof-stat { text-align: center; }
.proof-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
}
.proof-stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}

/* Star rating */
.stars { color: var(--amber); font-size: 0.75rem; letter-spacing: 1px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { margin-bottom: var(--sp-10); }
.section-header.centered { text-align: center; }
.section-header.centered .section-subtitle { margin: var(--sp-4) auto 0; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.eyebrow-line {
  width: 20px; height: 2px;
  background: var(--indigo);
  border-radius: 1px;
}
.eyebrow-text {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--indigo-bright);
}

.section-title { margin-bottom: var(--sp-3); }
.section-subtitle { font-size: 1.0625rem; color: var(--text-secondary); line-height: 1.7; max-width: 560px; }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: all var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), transparent);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
.feature-card:hover {
  border-color: var(--indigo-muted);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--indigo-muted);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
  width: 48px; height: 48px;
  background: var(--indigo-dim);
  border: 1px solid var(--indigo-muted);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: var(--sp-5);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
}
.feature-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; }

/* ============================================================
   STEPS
   ============================================================ */
.step-item {
  display: flex;
  gap: var(--sp-5);
  align-items: flex-start;
  padding: var(--sp-5) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.step-item:last-child { border-bottom: none; }

.step-num {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--indigo), #4f46e5);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99,102,241,0.35);
}

.step-body { flex: 1; padding-top: var(--sp-1); }
.step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-1);
  letter-spacing: -0.02em;
}
.step-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  transition: border-color var(--t-base) var(--ease);
}
.testimonial-card:hover { border-color: var(--border-default); }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.testimonial-role { font-size: 0.78rem; color: var(--text-tertiary); }
.testimonial-quote {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
}
.testimonial-score { margin-left: auto; flex-shrink: 0; }

/* ============================================================
   SCORE DISPLAY
   ============================================================ */
.score-ring-wrap {
  position: relative;
  width: 144px; height: 144px;
  flex-shrink: 0;
}
.score-ring-wrap svg { transform: rotate(-90deg); display: block; }
.score-ring-track  { fill: none; stroke: var(--surface-3); stroke-width: 8; }
.score-ring-fill   { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.6s cubic-bezier(0.4, 0, 0.2, 1); }

.score-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}
.score-ring-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}
.score-ring-sub {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

/* Score color states */
.score-high .score-ring-fill { stroke: var(--success); }
.score-high .score-ring-num  { color: var(--success); }
.score-mid  .score-ring-fill { stroke: var(--amber); }
.score-mid  .score-ring-num  { color: var(--amber); }
.score-low  .score-ring-fill { stroke: var(--danger); }
.score-low  .score-ring-num  { color: var(--danger); }

/* Progress bar */
.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--surface-3);
  border-radius: var(--r-full);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: var(--r-full);
  transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.score-high .progress-fill { background: linear-gradient(90deg, #10b981, var(--success)); }
.score-mid  .progress-fill { background: linear-gradient(90deg, #d97706, var(--amber)); }
.score-low  .progress-fill { background: linear-gradient(90deg, #dc2626, var(--danger)); }

/* ============================================================
   RESULT SECTIONS
   ============================================================ */
.result-section-header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.result-icon {
  width: 30px; height: 30px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.result-icon-danger  { background: var(--danger-dim);  color: var(--danger);  border: 1px solid var(--danger-border); }
.result-icon-success { background: var(--success-dim); color: var(--success); border: 1px solid var(--success-border); }
.result-icon-indigo  { background: var(--indigo-dim);  color: var(--indigo-bright); border: 1px solid var(--indigo-muted); }
.result-icon-amber   { background: var(--amber-dim);   color: var(--amber);   border: 1px solid rgba(245,158,11,0.25); }

.result-section-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

/* Headline box */
.headline-box {
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(99,102,241,0.04));
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
}
.headline-label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--indigo-bright);
  margin-bottom: var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.headline-label::before {
  content: '';
  width: 16px; height: 1px;
  background: var(--indigo);
}
.headline-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, rgba(52,211,153,0.06), rgba(52,211,153,0.03));
  border: 1px solid rgba(52,211,153,0.18);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
}
.cta-text { font-size: 0.9375rem; color: var(--text-primary); line-height: 1.7; }

/* Strategy box */
.strategy-box {
  background: linear-gradient(135deg, rgba(245,158,11,0.06), rgba(245,158,11,0.03));
  border: 1px solid rgba(245,158,11,0.18);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
}
.strategy-text { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.75; }

/* Copy button */
.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 7px 13px;
  background: var(--surface-2);
  border: 1px solid var(--border-default);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  letter-spacing: -0.01em;
}
.copy-btn:hover { color: var(--text-primary); border-color: var(--border-strong); background: var(--surface-3); }
.copy-btn.copied { color: var(--success); border-color: var(--success-border); background: var(--success-dim); }

/* ============================================================
   UPGRADE / PRICING
   ============================================================ */
.upgrade-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg,
    rgba(99,102,241,0.10) 0%,
    rgba(99,102,241,0.05) 50%,
    rgba(245,158,11,0.06) 100%
  );
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: var(--r-2xl);
  padding: var(--sp-10) var(--sp-12);
  text-align: center;
}
.upgrade-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--indigo), var(--amber), transparent);
  border-radius: var(--r-full);
}
.upgrade-card-bg {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.upgrade-title { margin-bottom: var(--sp-3); font-size: 1.75rem; }
.upgrade-subtitle { color: var(--text-secondary); max-width: 500px; margin: 0 auto var(--sp-8); font-size: 1rem; line-height: 1.7; }

.upgrade-features-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}
.upgrade-feature-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 500;
}
.upgrade-feature-item .check { color: var(--success); font-size: 0.9rem; }

/* Pricing cards */
.pricing-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  transition: all var(--t-base) var(--ease);
}
.pricing-card:hover { border-color: var(--border-default); }

.pricing-card-pro {
  border-color: rgba(245,158,11,0.3);
  background: linear-gradient(135deg, rgba(245,158,11,0.05), rgba(99,102,241,0.05));
  box-shadow: 0 0 40px rgba(245,158,11,0.08);
}
.pricing-card-pro:hover { border-color: rgba(245,158,11,0.45); }

.pricing-badge {
  display: inline-flex;
  padding: 3px 12px;
  background: linear-gradient(135deg, var(--amber), #f97316);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a0900;
  margin-bottom: var(--sp-5);
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--sp-5);
}
.pricing-tier-pro { color: var(--amber); }

.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-1);
}
.pricing-period { font-size: 0.8rem; color: var(--text-tertiary); margin-bottom: var(--sp-6); }

.pricing-features { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-8); }
.pricing-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-weight: 500;
}
.pricing-feature .check { color: var(--success); font-size: 0.85rem; }
.pricing-feature .cross { color: var(--text-disabled); font-size: 0.85rem; }
.pricing-feature.muted { color: var(--text-disabled); }

/* ============================================================
   DASHBOARD LAYOUT
   ============================================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: var(--obsidian-2);
  border-right: 1px solid var(--border-subtle);
  padding: var(--sp-5) 0;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-4) var(--sp-5);
  text-decoration: none;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--sp-3);
}
.sidebar-logo .brand-name { font-size: 0.9rem; }

.sidebar-section-label {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-disabled);
  padding: var(--sp-4) var(--sp-4) var(--sp-2);
}

.sidebar-nav { padding: 0 var(--sp-3); flex: 1; }

.sidebar-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 9px var(--sp-3);
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: 0.845rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--t-fast) var(--ease);
  margin-bottom: 1px;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.sidebar-item:hover { color: var(--text-primary); background: var(--surface-1); }
.sidebar-item.active {
  color: var(--text-primary);
  background: var(--surface-2);
  font-weight: 600;
}
.sidebar-item-icon {
  width: 18px;
  text-align: center;
  font-size: 1rem;
  flex-shrink: 0;
  opacity: 0.7;
}
.sidebar-item.active .sidebar-item-icon { opacity: 1; }

.sidebar-bottom {
  padding: var(--sp-3);
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}
.sidebar-user {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3);
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-2);
}
.sidebar-user-info { overflow: hidden; flex: 1; min-width: 0; }
.sidebar-user-name {
  font-family: var(--font-display);
  font-size: 0.8275rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  margin-bottom: 3px;
}

/* Main content */
.dashboard-main {
  background: var(--obsidian);
  min-height: 100vh;
  padding: var(--sp-8);
  overflow-x: hidden;
}

.page-header { margin-bottom: var(--sp-8); }
.page-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.page-subtitle { font-size: 0.875rem; color: var(--text-secondary); }

/* ============================================================
   STAT CARDS
   ============================================================ */
.stat-card {
  background: var(--surface-1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--sp-5) var(--sp-6);
  transition: border-color var(--t-base) var(--ease);
}
.stat-card:hover { border-color: var(--border-default); }

.stat-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  margin-bottom: var(--sp-3);
}
.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-2);
}
.stat-sub { font-size: 0.78rem; color: var(--text-tertiary); }

/* ============================================================
   DATA TABLES
   ============================================================ */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
  border-bottom: 1px solid var(--border-subtle);
}
.data-table td {
  padding: var(--sp-4);
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background var(--t-fast) var(--ease); }
.data-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

.table-header {
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.table-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  padding: var(--sp-16) var(--sp-6);
  text-align: center;
}
.empty-state-icon {
  font-size: 2.5rem;
  opacity: 0.3;
  margin-bottom: var(--sp-4);
  display: block;
}
.empty-state-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.02em;
}
.empty-state-desc { font-size: 0.875rem; color: var(--text-tertiary); margin-bottom: var(--sp-6); }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-left {
  background: var(--obsidian-2);
  border-right: 1px solid var(--border-subtle);
  padding: var(--sp-10);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-left-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(99,102,241,0.12), transparent),
    radial-gradient(ellipse 40% 40% at 70% 80%, rgba(245,158,11,0.06), transparent);
  pointer-events: none;
}

.auth-left-logo { margin-bottom: var(--sp-12); position: relative; z-index: 1; }

.auth-left-content { flex: 1; position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; }

.auth-left-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}

.auth-left-subtitle { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: var(--sp-8); }

.auth-perk-list { display: flex; flex-direction: column; gap: var(--sp-4); margin-bottom: var(--sp-8); }
.auth-perk {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}
.auth-perk-icon {
  width: 36px; height: 36px;
  background: var(--indigo-dim);
  border: 1px solid var(--indigo-muted);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.auth-perk-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.auth-perk-desc { font-size: 0.8rem; color: var(--text-tertiary); }

.auth-testimonial {
  background: var(--surface-1);
  border: 1px solid var(--border-default);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  position: relative;
  z-index: 1;
}
.auth-testimonial-quote {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--sp-3);
}
.auth-testimonial-quote::before { content: '"'; color: var(--indigo); font-size: 1.5rem; line-height: 0; vertical-align: -0.3em; margin-right: 3px; }
.auth-testimonial-author { font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; color: var(--text-tertiary); }

/* Right panel */
.auth-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--sp-10);
  background: var(--obsidian);
}

.auth-form-wrap { width: 100%; max-width: 420px; }
.auth-back { display: inline-flex; align-items: center; gap: var(--sp-2); font-size: 0.8125rem; color: var(--text-tertiary); margin-bottom: var(--sp-8); transition: color var(--t-fast); }
.auth-back:hover { color: var(--text-primary); }

.auth-form-title { font-size: 1.875rem; font-weight: 800; margin-bottom: var(--sp-1); }
.auth-form-subtitle { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: var(--sp-8); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: var(--sp-6) 0;
}
.auth-divider-line { flex: 1; height: 1px; background: var(--border-subtle); }
.auth-divider-text { font-size: 0.78rem; color: var(--text-tertiary); font-family: var(--font-display); font-weight: 500; }

/* ============================================================
   ADMIN BADGE
   ============================================================ */
.admin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber);
}

/* ============================================================
   DIVIDERS
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--sp-8) 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--sp-10) var(--sp-6);
  text-align: center;
  background: var(--obsidian-2);
}
.footer-brand { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.footer-text { font-size: 0.8125rem; color: var(--text-tertiary); }
.footer-links { display: flex; align-items: center; justify-content: center; gap: var(--sp-6); margin-top: var(--sp-3); }
.footer-links a { font-size: 0.8125rem; color: var(--text-tertiary); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--text-primary); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-in { animation: fadeUp 0.5s var(--ease) forwards; }
.animate-d1 { opacity: 0; animation: fadeUp 0.5s var(--ease) 0.10s forwards; }
.animate-d2 { opacity: 0; animation: fadeUp 0.5s var(--ease) 0.20s forwards; }
.animate-d3 { opacity: 0; animation: fadeUp 0.5s var(--ease) 0.30s forwards; }
.animate-d4 { opacity: 0; animation: fadeUp 0.5s var(--ease) 0.40s forwards; }
.animate-d5 { opacity: 0; animation: fadeUp 0.5s var(--ease) 0.50s forwards; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .dashboard-main { padding: var(--sp-5); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-left   { display: none; }
  .auth-right  { padding: var(--sp-8) var(--sp-5); justify-content: flex-start; padding-top: var(--sp-10); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .upgrade-card { padding: var(--sp-8) var(--sp-5); }
  .hero { padding: 100px var(--sp-5) var(--sp-10); }
  .hero-proof { gap: var(--sp-4); }
  .proof-divider { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .navbar-nav a { display: none; }
  .navbar-nav .btn { display: inline-flex; margin-left: 0; }
}

/* ============================================================
   MISC UTILITIES
   ============================================================ */
.url-cell {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* Section with subtle top border gradient */
.section-alt {
  background: var(--obsidian-2);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Glow text */
.text-indigo { color: var(--indigo-bright); }
.text-amber  { color: var(--amber); }
.text-success{ color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted  { color: var(--text-tertiary); }
.text-secondary { color: var(--text-secondary); }

/* Number display */
.mono {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--indigo-bright);
}
