/* ========================================
   GALAXY — Global Styles & Animations
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');



/* ── CSS Variables — White & Blue Theme ── */
:root {
  --bg-base:       #f8fafc;
  --bg-elevated:   #ffffff;
  --bg-card:       #ffffff;
  --bg-hover:      #f1f5f9;
  --border:        #e2e8f0;
  --border-light:  #cbd5e1;

  --primary:       #2563eb;
  --primary-dark:  #1d4ed8;
  --primary-600:   #1d4ed8;
  --primary-glow:  rgba(37, 99, 235, 0.15);
  --primary-glow2: rgba(37, 99, 235, 0.06);

  --cyan:          #10b981;
  --cyan-glow:     rgba(16,185,129, 0.15);

  --success:       #16a34a;
  --warning:       #d97706;
  --danger:        #dc2626;

  --text-primary:  #0f172a;
  --text-secondary:#475569;
  --text-muted:    #94a3b8;

  --radius:        12px;
  --radius-lg:     18px;
  --radius-xl:     24px;

  --shadow-sm:  0 1px 2px rgba(0,0,0,.05);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.1);
  --shadow-glow:0 0 40px rgba(37,99,235,.15);

  --transition: 0.2s cubic-bezier(.4,0,.2,1);
  --transition-slow: 0.4s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; outline: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-light); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── Typography ── */
.font-display { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; }
.text-gradient {
  background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-gold {
  background: linear-gradient(135deg, #d97706 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 25px rgba(37,99,235,.35);
  filter: brightness(1.05);
}
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--border-light);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary-glow2);
  box-shadow: 0 0 15px var(--primary-glow);
}
.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.btn-icon { padding: 10px; border-radius: 10px; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.card-hover:hover {
  border-color: var(--border-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.card-glow:hover {
  border-color: rgba(37,99,235,.3);
  box-shadow: 0 0 30px var(--primary-glow);
}

/* ── Glass Effect ── */
.glass {
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226,232,240,.8);
}
.glass-strong {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(226,232,240,.9);
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
}
.badge-violet { background: rgba(37,99,235,.08); color: #2563eb; border: 1px solid rgba(37,99,235,.2); }
.badge-cyan   { background: rgba(16,185,129,.08);  color: #059669; border: 1px solid rgba(16,185,129,.2); }
.badge-green  { background: rgba(22,163,74,.08); color: #16a34a; border: 1px solid rgba(22,163,74,.2); }
.badge-amber  { background: rgba(217,119,6,.08); color: #b45309; border: 1px solid rgba(217,119,6,.2); }
.badge-red    { background: rgba(220,38,38,.08);  color: #dc2626; border: 1px solid rgba(220,38,38,.2); }
.badge-gray   { background: rgba(100,116,139,.08); color: #64748b; border: 1px solid rgba(100,116,139,.2); }

/* ── Form Inputs ── */
.input {
  width: 100%;
  padding: 11px 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  transition: all var(--transition);
}
.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.input::placeholder { color: var(--text-muted); }
.input-group { position: relative; }
.input-group .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.input-group .input { padding-left: 44px; }
.label { display: block; font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); }
.divider-text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
}
.divider-text::before, .divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Noise Overlay ── */
.noise::before {
  content: '';
  position: absolute;
  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='0.04'/%3E%3C/svg%3E");
  opacity: .04;
  pointer-events: none;
  border-radius: inherit;
}

/* ── Glow Orbs ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: .5;
}
/* Azure blue (blue-500), not indigo — a big blurred #2563eb orb reads as
   lavender/violet over the near-white hero, which looked unprofessional.
   blue-500 has more green so it stays clearly blue when blurred. */
.orb-violet { background: radial-gradient(circle, rgba(59,130,246,.22), transparent 70%); }
.orb-cyan   { background: radial-gradient(circle, rgba(16,185,129,.20), transparent 70%); }
.orb-pink   { background: radial-gradient(circle, rgba(236,72,153,.15), transparent 70%); }

/* ── Animations ── */
@keyframes fadeIn       { from { opacity: 0; }                 to { opacity: 1; } }
@keyframes fadeUp       { from { opacity: 0; transform: translateY(24px); }  to { opacity: 1; transform: translateY(0); } }
@keyframes fadeDown     { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideRight   { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn      { from { opacity: 0; transform: scale(.9); }         to { opacity: 1; transform: scale(1); } }
@keyframes pulse-glow   { 0%,100% { box-shadow: 0 0 20px var(--primary-glow); } 50% { box-shadow: 0 0 40px rgba(37,99,235,.3); } }
@keyframes shimmer      { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes float        { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin-slow    { from { transform: rotate(0deg); }    to { transform: rotate(360deg); } }
@keyframes scroll-x     { from { transform: translateX(0); }   to { transform: translateX(-50%); } }
@keyframes count-up     { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes blob {
  0%,100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50%     { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

.animate-fade-in    { animation: fadeIn       .6s ease both; }
.animate-fade-up    { animation: fadeUp       .6s ease both; }
.animate-fade-down  { animation: fadeDown     .5s ease both; }
.animate-scale-in  { animation: scaleIn      .5s ease both; }
.animate-float      { animation: float          3s ease-in-out infinite; }
.animate-spin-slow  { animation: spin-slow     8s linear infinite; }
.animate-pulse-glow { animation: pulse-glow     2s ease-in-out infinite; }

.delay-100 { animation-delay: .1s; }
.delay-200 { animation-delay: .2s; }
.delay-300 { animation-delay: .3s; }
.delay-400 { animation-delay: .4s; }
.delay-500 { animation-delay: .5s; }
.delay-600 { animation-delay: .6s; }
.delay-700 { animation-delay: .7s; }
.delay-800 { animation-delay: .8s; }

/* ── Skeleton Loader ── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 6px;
}

/* ── Progress Bar ── */
.progress-bar {
  height: 4px;
  background: var(--bg-hover);
  border-radius: 99px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: 99px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
}

/* ── Tooltip ── */
[data-tooltip] { position: relative; }
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(.9);
  background: var(--bg-hover);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all .15s;
  border: 1px solid var(--border);
  z-index: 100;
}
[data-tooltip]:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }

/* ── Tag (tech pill) ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.tag:hover { border-color: var(--primary); color: var(--primary); }
.tag.selected { background: var(--primary-glow2); border-color: var(--primary); color: var(--primary); }

/* ── Toggle Switch ── */
.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle-track {
  width: 44px;
  height: 24px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  border-radius: 99px;
  transition: all var(--transition);
  position: relative;
}
.toggle input:checked + .toggle-track { background: var(--primary); border-color: var(--primary); }
.toggle-track::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: all var(--transition);
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
.toggle input:checked + .toggle-track::after { left: calc(100% - 19px); }

/* ── Tabs ── */
.tabs { display: flex; gap: 4px; background: var(--bg-elevated); border-radius: 10px; padding: 4px; }
.tab {
  flex: 1;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  text-align: center;
}
.tab:hover { color: var(--text-primary); }
.tab.active { background: var(--bg-card); color: var(--text-primary); box-shadow: var(--shadow-sm); }

/* ── Scrolling Strip ── */
.scroll-strip { overflow: hidden; white-space: nowrap; }
.scroll-strip-inner { display: inline-flex; animation: scroll-x 30s linear infinite; }
.scroll-strip-inner:hover { animation-play-state: paused; }

/* ── Plan Card ── */
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── Feature Check List ── */
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-secondary); }
.feature-item .check { color: var(--success); flex-shrink: 0; }
.feature-item .cross { color: var(--text-muted); flex-shrink: 0; }
.feature-item.active { color: var(--text-primary); }

/* ── Job Card ── */
.job-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.job-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary), var(--cyan));
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: 0 2px 2px 0;
}
.job-card:hover { border-color: var(--border-light); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.job-card:hover::before { opacity: 1; }
.job-card.new-today { border-color: rgba(37,99,235,.3); }

.company-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid var(--border);
  flex-shrink: 0;
  overflow: hidden;
}

/* ── Kanban Board ── */
.kanban-col {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 400px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kanban-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  cursor: grab;
  transition: all var(--transition);
}
.kanban-card:hover { border-color: var(--border-light); box-shadow: var(--shadow-sm); }
.kanban-card.dragging { opacity: .5; cursor: grabbing; }
.kanban-card.drag-over { border-style: dashed; border-color: var(--primary); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 0;
  transition: all var(--transition);
}
.nav.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.02em;
}
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-hover); }
.nav-link.active { color: var(--text-primary); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* ── Dashboard Sidebar ── */
.sidebar {
  width: 240px;
  flex-shrink: 0;
  background: var(--bg-elevated);
  border-right: 1px solid var(--border);
  height: 100vh;
  position: fixed;
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  padding: 20px 12px;
  overflow-y: auto;
  z-index: 40;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 2px; }
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.sidebar-item:hover { background: var(--bg-hover); color: var(--text-primary); }
.sidebar-item.active { background: var(--primary-glow2); color: var(--primary); }
.sidebar-item .sidebar-icon { width: 18px; flex-shrink: 0; }
.sidebar-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 12px;
  margin-top: 16px;
}

/* ── Notification Dot ── */
.notif-dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.notif-badge {
  min-width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  margin-left: auto;
}

/* ── Match Score Ring ── */
.match-ring {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.match-ring svg { position: absolute; top: 0; left: 0; transform: rotate(-90deg); }
.match-ring .score {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}

/* ── Stat Card ── */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition);
}
.stat-card:hover { border-color: var(--border-light); }
.stat-number { font-size: 32px; font-weight: 800; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.stat-change { font-size: 12px; font-weight: 600; display: flex; align-items: center; gap: 3px; margin-top: 8px; }
.stat-up   { color: var(--success); }
.stat-down { color: var(--danger); }

/* ── Onboarding Steps ── */
.step-indicator {
  display: flex;
  align-items: center;
  gap: 0;
}
.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-elevated);
  transition: all var(--transition);
  flex-shrink: 0;
}
.step-dot.active  { border-color: var(--primary); color: var(--primary); background: var(--primary-glow2); }
.step-dot.done    { border-color: var(--success); color: var(--success); background: rgba(16,185,129,.1); }
.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  transition: background var(--transition);
}
.step-line.done { background: linear-gradient(90deg, var(--success), var(--primary)); }

/* ── Toast Notification ── */
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 1000; display: flex; flex-direction: column; gap: 8px; }
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  min-width: 300px;
  animation: slideRight .3s ease both;
  font-size: 14px;
}
.toast.success { border-left: 3px solid var(--success); }
.toast.error   { border-left: 3px solid var(--danger); }
.toast.info    { border-left: 3px solid var(--primary); }

/* ── FAQ Accordion ── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: left;
  transition: color var(--transition);
}
.accordion-btn:hover { color: var(--primary); }
.accordion-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  background: var(--bg-hover);
  color: var(--text-secondary);
  transition: all var(--transition);
  flex-shrink: 0;
}
.accordion-btn.open .accordion-icon { transform: rotate(45deg); background: var(--primary-glow2); color: var(--primary); }
.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
.accordion-content.open { max-height: 400px; }
.accordion-body { padding-bottom: 20px; color: var(--text-secondary); font-size: 15px; line-height: 1.7; }

/* ── Responsive Grid Utilities ── */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.grid-auto-lg { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; }

/* ── Section Layout ── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-xs { max-width: 520px; margin: 0 auto; padding: 0 24px; }

/* ── Hero Gradient Blob ── */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: .25;
  animation: blob 10s ease-in-out infinite;
}

/* ── Rotating Border ── */
.rotating-border {
  position: relative;
}
.rotating-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: conic-gradient(from var(--angle, 0deg), var(--primary), var(--cyan), #ec4899, var(--primary));
  border-radius: inherit;
  animation: spin-slow 4s linear infinite;
  z-index: -1;
}

/* ── Gradient Underline ── */
.gradient-underline {
  position: relative;
  display: inline-block;
}
.gradient-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  border-radius: 1px;
}

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-elevated);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-menu.open { transform: translateX(0); }

/* ── Quota Bar ── */
.quota-bar {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

/* ── Filter Chip ── */
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-elevated);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.filter-chip:hover { border-color: var(--primary); color: var(--primary); }
.filter-chip.active { border-color: var(--primary); color: var(--primary); background: var(--primary-glow2); }

/* ── Empty State ── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
  gap: 16px;
}
.empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--bg-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

/* ── Testimonial Card ── */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
}
.testimonial-card:hover { border-color: var(--border-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: white;
  flex-shrink: 0;
}
.stars { display: flex; gap: 3px; color: #d97706; font-size: 13px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .sidebar { transform: translateX(-100%); transition: transform .3s; }
  .sidebar.open { transform: translateX(0); }
  .nav-links { display: none; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .btn-lg { padding: 12px 24px; font-size: 15px; }
  .plan-card { padding: 24px; }
  .stat-number { font-size: 24px; }
}
@media (max-width: 480px) {
  .grid-auto { grid-template-columns: 1fr; }
  .grid-auto-lg { grid-template-columns: 1fr; }
}

/* ── Sidebar Toggle (mobile — shared by dashboard & settings) ── */
#sidebar-toggle { display: none; }
@media(max-width:1024px) { #sidebar-toggle { display: inline-flex !important; } }

/* ── Utility ── */
.flex        { display: flex; }
.flex-col    { flex-direction: column; }
.items-center{ align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2  { gap: 8px; }
.gap-3  { gap: 12px; }
.gap-4  { gap: 16px; }
.gap-6  { gap: 24px; }
.gap-8  { gap: 32px; }
.w-full { width: 100%; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.mt-1  { margin-top: 4px; }
.mt-2  { margin-top: 8px; }
.mt-3  { margin-top: 12px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mb-2  { margin-bottom: 8px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.p-4   { padding: 16px; }
.p-6   { padding: 24px; }
.rounded-full { border-radius: 9999px; }
.opacity-0  { opacity: 0; }
.opacity-50 { opacity: .5; }
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
