/* ════════════════════════════════════════════════════
   HITPRO LLC — Stylesheet v2.0
   Design Premium · Dark Mode · Manrope + Playfair
════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ── Variables ───────────────────────────────────── */
:root {
  --bg:          #07090F;
  --bg1:         #0A0C15;
  --bg2:         #0D1020;
  --card:        #0F1525;
  --card2:       #131928;
  --border:      #1A2540;
  --border-hi:   #2A3860;

  --indigo:      #6366F1;
  --indigo-l:    #818CF8;
  --indigo-dim:  rgba(99,102,241,0.1);
  --cyan:        #06B6D4;
  --cyan-dim:    rgba(6,182,212,0.1);
  --green:       #10B981;
  --green-dim:   rgba(16,185,129,0.1);
  --red:         #EF4444;
  --red-dim:     rgba(239,68,68,0.1);
  --amber:       #F59E0B;
  --amber-dim:   rgba(245,158,11,0.1);
  --violet:      #8B5CF6;

  --text:        #F0F4FF;
  --muted:       #7C8DB5;
  --faint:       #3D4F78;

  --stripe:      #635BFF;
  --mux:         #FF2E51;
  --youtube:     #FF0000;
  --twilio:      #F22F46;
  --sendgrid:    #1A82E2;
  --firebase:    #FFA000;

  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Manrope', system-ui, sans-serif;
  --font-mono:   'JetBrains Mono', 'Courier New', monospace;

  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   16px;
  --radius-xl:   20px;

  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.12);
}


/* ── Reset & Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--card); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-hi); }

a { color: var(--indigo-l); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text); }
img { max-width: 100%; display: block; }

/* ── Animations ──────────────────────────────────── */
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes pulse    { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.9); } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes marquee  { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes shimmer  { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes glow     { 0%,100% { box-shadow: 0 0 20px rgba(99,102,241,.2); } 50% { box-shadow: 0 0 50px rgba(99,102,241,.5); } }

.animate-fadeup { animation: fadeUp 0.6s ease both; }
.animate-fadein { animation: fadeIn 0.4s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── Layout ──────────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section      { padding: 80px 0; }
.grid-2       { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3       { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4       { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.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-gap     { display: flex; align-items: center; gap: 12px; }
.gap-8        { gap: 8px; }
.gap-12       { gap: 12px; }
.gap-16       { gap: 16px; }
.gap-24       { gap: 24px; }
.col          { flex-direction: column; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.w-full { width: 100%; }

/* ── Cards ───────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.card:hover       { border-color: var(--border-hi); }
.card-hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-glow        { box-shadow: var(--shadow-glow); }

/* ── Boutons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
}
.btn:disabled           { opacity: 0.5; cursor: not-allowed; }
.btn-sm                 { padding: 7px 14px; font-size: 12px; border-radius: var(--radius-sm); }
.btn-full               { width: 100%; justify-content: center; }
.btn-primary            { background: linear-gradient(135deg, var(--indigo), #4F46E5); color: #fff; }
.btn-primary:hover      { box-shadow: 0 8px 32px rgba(99,102,241,0.4); transform: translateY(-1px); }
.btn-ghost              { background: transparent; border: 1px solid var(--border); color: var(--muted); }
.btn-ghost:hover        { border-color: var(--border-hi); color: var(--text); background: rgba(255,255,255,0.03); }
.btn-danger             { background: linear-gradient(135deg, var(--red), #DC2626); color: #fff; }
.btn-danger:hover       { box-shadow: 0 8px 24px rgba(239,68,68,0.35); }
.btn-success            { background: linear-gradient(135deg, var(--green), #059669); color: #fff; }
.btn-success:hover      { box-shadow: 0 8px 24px rgba(16,185,129,0.35); }
.btn-amber              { background: linear-gradient(135deg, var(--amber), #D97706); color: #fff; }
.btn-amber:hover        { box-shadow: 0 8px 24px rgba(245,158,11,0.35); }
.btn-outline            { background: transparent; border: 1px solid var(--indigo); color: var(--indigo-l); }
.btn-outline:hover      { background: var(--indigo-dim); }

/* ── Badges ──────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.badge-dot::before  { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.5s infinite; }
.badge-indigo       { background: var(--indigo-dim); color: var(--indigo); border: 1px solid rgba(99,102,241,0.25); }
.badge-green        { background: var(--green-dim);  color: var(--green);  border: 1px solid rgba(16,185,129,0.25); }
.badge-red          { background: var(--red-dim);    color: var(--red);    border: 1px solid rgba(239,68,68,0.25); }
.badge-amber        { background: var(--amber-dim);  color: var(--amber);  border: 1px solid rgba(245,158,11,0.25); }
.badge-cyan         { background: var(--cyan-dim);   color: var(--cyan);   border: 1px solid rgba(6,182,212,0.25); }
.badge-muted        { background: rgba(124,141,181,0.1); color: var(--muted); border: 1px solid rgba(124,141,181,0.2); }

/* ── Formulaires ─────────────────────────────────── */
.form-group       { display: flex; flex-direction: column; gap: 6px; }
.form-label       { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.3px; }
.form-label span  { color: var(--red); }
.form-hint        { font-size: 11px; color: var(--faint); }

.form-control {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 14px;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus       { border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(99,102,241,0.12); }
.form-control::placeholder { color: var(--faint); }
.form-control-mono        { font-family: var(--font-mono); font-size: 13px; color: var(--indigo-l); }

textarea.form-control { resize: vertical; min-height: 100px; line-height: 1.6; }
select.form-control   { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%237C8DB5' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ── Alertes ─────────────────────────────────────── */
.alert      { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; display: flex; align-items: center; gap: 10px; }
.alert-error   { background: var(--red-dim); border: 1px solid rgba(239,68,68,0.25); color: var(--red); }
.alert-success { background: var(--green-dim); border: 1px solid rgba(16,185,129,0.25); color: var(--green); }
.alert-info    { background: var(--indigo-dim); border: 1px solid rgba(99,102,241,0.25); color: var(--indigo-l); }
.alert-amber   { background: var(--amber-dim); border: 1px solid rgba(245,158,11,0.25); color: var(--amber); }

/* ── Divider ─────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 24px 0; }

/* ── Tables ──────────────────────────────────────── */
.table-wrap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.table-head { padding: 14px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.table-head-title { font-weight: 800; font-size: 14px; }

table       { width: 100%; border-collapse: collapse; }
thead th    { padding: 11px 18px; text-align: left; font-size: 11px; color: var(--faint); font-weight: 700; letter-spacing: 0.5px; border-bottom: 1px solid var(--border); text-transform: uppercase; }
tbody td    { padding: 13px 18px; font-size: 13px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: rgba(255,255,255,0.015); }

/* ── Progress Bar ────────────────────────────────── */
.progress     { height: 5px; background: var(--card2); border-radius: 4px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 4px; transition: width 1s ease; }

/* ── Toggle ──────────────────────────────────────── */
.toggle       { position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; inset: 0; background: var(--border); border-radius: 12px; transition: background 0.3s; }
.toggle-slider::before { content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform 0.3s; box-shadow: 0 1px 4px rgba(0,0,0,0.4); }
.toggle input:checked + .toggle-slider { background: var(--indigo); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ── Typography ──────────────────────────────────── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 900; line-height: 1.1; letter-spacing: -1px; }
h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 48px); letter-spacing: -1.5px; }
h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
h4 { font-size: 17px; font-weight: 800; font-family: var(--font-body); letter-spacing: 0; }
p  { color: var(--muted); line-height: 1.75; }

.text-gradient {
  background: linear-gradient(135deg, var(--indigo-l) 0%, var(--cyan) 50%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-indigo  { color: var(--indigo); }
.text-muted   { color: var(--muted); }
.text-faint   { color: var(--faint); }
.text-green   { color: var(--green); }
.text-red     { color: var(--red); }
.text-amber   { color: var(--amber); }
.text-cyan    { color: var(--cyan); }
.mono         { font-family: var(--font-mono); }

/* ── Section Headers ─────────────────────────────── */
.section-label  { font-size: 11px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--indigo); margin-bottom: 12px; }
.section-title  { margin-bottom: 16px; }
.section-sub    { max-width: 560px; margin: 0 auto 48px; font-size: 16px; color: var(--muted); }

/* ─────────────────────────────────────────────────────
   NAV
───────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: all 0.4s ease;
}
.nav.scrolled {
  background: rgba(7,9,15,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo    { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(135deg,var(--indigo),#4338CA); display: flex; align-items: center; justify-content: center; font-size: 17px; font-family: var(--font-head); font-weight: 900; color: #fff; box-shadow: 0 0 20px rgba(99,102,241,0.4); }
.nav-logo-text { font-family: var(--font-head); font-size: 18px; font-weight: 900; color: var(--text); }
.nav-logo-text span { color: var(--indigo); }
.nav-links   { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--muted); transition: color 0.2s; letter-spacing: 0.2px; }
.nav-links a:hover { color: var(--text); }
.nav-cta     { display: flex; gap: 10px; }

/* ─────────────────────────────────────────────────────
   LANDING — HERO
───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-glow-1 { position: absolute; top: 20%; left: 50%; transform: translateX(-50%); width: 80%; height: 60%; background: radial-gradient(ellipse, rgba(99,102,241,0.06) 0%, transparent 70%); pointer-events: none; }
.hero-glow-2 { position: absolute; bottom: 10%; left: 10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(6,182,212,0.04) 0%, transparent 70%); pointer-events: none; border-radius: 50%; }
.hero-badge  { display: inline-flex; align-items: center; gap: 8px; background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2); border-radius: 100px; padding: 8px 20px; font-size: 13px; color: var(--indigo-l); font-weight: 600; margin-bottom: 28px; backdrop-filter: blur(10px); }
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
.hero-title  { max-width: 900px; margin-bottom: 28px; }
.hero-sub    { font-size: clamp(15px,2vw,19px); color: var(--muted); line-height: 1.8; max-width: 580px; margin-bottom: 44px; }
.hero-cta    { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-apis   { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Stats counter */
.stats-grid  { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid  > div { background: var(--card); padding: 40px 32px; text-align: center; }
.stat-value  { font-size: clamp(36px,4vw,56px); font-weight: 900; font-family: var(--font-head); letter-spacing: -2px; }
.stat-label  { font-size: 15px; font-weight: 700; margin-top: 8px; }
.stat-sub    { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Services grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.service-card  { background: var(--card); padding: 32px; transition: all 0.3s ease; cursor: default; }
.service-card:hover { background: rgba(99,102,241,0.04); }
.service-icon  { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; }
.service-title { font-size: 17px; font-weight: 800; font-family: var(--font-body); margin-bottom: 10px; }
.service-desc  { font-size: 14px; color: var(--muted); line-height: 1.7; }
.service-link  { margin-top: 20px; font-size: 13px; font-weight: 700; opacity: 0; transition: opacity 0.2s; }
.service-card:hover .service-link { opacity: 1; }

/* API chip */
.api-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 6px; }

/* Pricing */
.pricing-card     { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; position: relative; transition: all 0.3s; }
.pricing-card.popular { border-color: var(--indigo); box-shadow: 0 0 60px rgba(99,102,241,0.12); }
.pricing-popular-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,var(--indigo),#4338CA); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 16px; border-radius: 20px; letter-spacing: 1px; white-space: nowrap; }
.pricing-plan     { font-size: 13px; font-weight: 800; margin-bottom: 8px; letter-spacing: 0.5px; }
.pricing-price    { font-size: 46px; font-weight: 900; letter-spacing: -2px; font-family: var(--font-head); }
.pricing-period   { font-size: 14px; color: var(--muted); }
.pricing-features { list-style: none; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.pricing-features li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ─────────────────────────────────────────────────────
   MARQUEE
───────────────────────────────────────────────────── */
.marquee-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg1); padding: 14px 0; }
.marquee-track { display: flex; animation: marquee 22s linear infinite; width: max-content; }
.marquee-item  { font-size: 11px; font-weight: 800; color: var(--faint); padding: 0 28px; border-right: 1px solid var(--border); white-space: nowrap; letter-spacing: 2px; }

/* ─────────────────────────────────────────────────────
   AUTH PAGE
───────────────────────────────────────────────────── */
.auth-wrap   { min-height: 100vh; display: flex; }
.auth-left   { flex: 1; background: linear-gradient(135deg, var(--bg1), var(--card)); border-right: 1px solid var(--border); padding: 60px 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-right  { width: 45%; max-width: 500px; padding: 60px 48px; display: flex; flex-direction: column; justify-content: center; }
.auth-form   { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.auth-left-quote { font-size: clamp(28px,3vw,44px); font-weight: 900; line-height: 1.1; }

/* ─────────────────────────────────────────────────────
   DASHBOARD LAYOUT
───────────────────────────────────────────────────── */
.dash-wrap    { display: flex; height: 100vh; overflow: hidden; }
.dash-sidebar { width: 258px; background: var(--bg1); border-right: 1px solid var(--border); display: flex; flex-direction: column; flex-shrink: 0; height: 100vh; overflow: hidden; }
.dash-main    { flex: 1; overflow-y: auto; padding: 28px 36px; }
.dash-inner   { max-width: 1100px; margin: 0 auto; }

.sidebar-logo { padding: 20px 18px 16px; border-bottom: 1px solid var(--border); }
.sidebar-nav  { flex: 1; padding: 14px 10px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; min-height: 0; }
.sidebar-user { padding: 14px 16px; border-top: 1px solid var(--border); }
.sidebar-user-avatar { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 14px;
  border-radius: 10px;
  margin-bottom: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-align: left;
  background: transparent;
  transition: all 0.15s;
  text-decoration: none;
}
.nav-item:hover        { background: rgba(255,255,255,0.03); color: var(--text); }
.nav-item.active       { background: rgba(99,102,241,0.12); border-color: rgba(99,102,241,0.25); color: var(--indigo-l); }
.nav-item.active-admin { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.25); color: var(--red); }
.nav-item-left  { display: flex; align-items: center; gap: 10px; }
.nav-item-icon  { font-size: 16px; }

/* ─────────────────────────────────────────────────────
   DASHBOARD PANELS
───────────────────────────────────────────────────── */
.page-header  { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.page-title   { font-size: 24px; font-weight: 900; font-family: var(--font-head); }
.page-sub     { color: var(--muted); font-size: 14px; margin-top: 4px; display: flex; align-items: center; gap: 8px; }

.stat-card         { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.stat-card-icon    { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 14px; }
.stat-card-value   { font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.stat-card-label   { font-size: 13px; color: var(--muted); margin-top: 4px; }
.stat-card-change  { font-size: 11px; font-weight: 700; float: right; margin-top: -40px; }

/* Live dot */
.live-dot  { display: inline-block; width: 7px; height: 7px; border-radius: 50%; animation: pulse 1.5s infinite; vertical-align: middle; }

/* Code block */
.code-block { background: #080C14; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.code-bar   { background: #0D1120; padding: 12px 18px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.code-dot   { width: 10px; height: 10px; border-radius: 50%; }
.code-file  { font-size: 12px; color: var(--faint); font-family: var(--font-mono); margin-left: 8px; }
.code-pre   { padding: 24px; font-family: var(--font-mono); font-size: 12px; line-height: 1.8; color: var(--muted); overflow-x: auto; }

/* ─────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 32px 5%; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 12px; color: var(--faint); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: var(--faint); }

/* ─────────────────────────────────────────────────────
   SPINNER
───────────────────────────────────────────────────── */
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.8s linear infinite; display: inline-block; }

/* ─────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .auth-left { display: none; }
  .auth-right { width: 100%; max-width: 100%; }
  .dash-sidebar { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── Light Mode ──────────────────────────────────── */





/* ── Light Mode ──────────────────────────────────── */
body.light {
  --bg:          #F4F6FA;
  --bg1:         #EDF0F7;
  --bg2:         #E6EAF4;
  --card:        #FFFFFF;
  --card2:       #F8F9FD;
  --border:      #DDE1EE;
  --border-hi:   #B8C0D8;
  --text:        #111827;
  --muted:       #4B5675;
  --faint:       #9CA3BE;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 48px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(99,102,241,0.08);
  background: #F4F6FA;
  color: #111827;
}
body.light .card        { background: #FFFFFF !important; border-color: #DDE1EE !important; }
body.light .dash-sidebar,
body.light aside        { background: #FFFFFF !important; border-color: #DDE1EE !important; }
body.light .stat-card   { background: #FFFFFF !important; border-color: #DDE1EE !important; }
body.light .form-control{ background: #FFFFFF !important; border-color: #DDE1EE !important; color: #111827 !important; }
body.light .table-wrap  { background: #FFFFFF !important; border-color: #DDE1EE !important; }
body.light table thead th { background: #EDF0F7 !important; color: #111827 !important; }
body.light table tbody tr { background: #FFFFFF; }
body.light table tbody tr:nth-child(even) { background: #F8F9FD !important; }
body.light table td     { border-color: #DDE1EE !important; color: #111827; }
body.light .btn-ghost   { border-color: #DDE1EE !important; color: #4B5675 !important; }
body.light .btn-ghost:hover { background: #E6EAF4 !important; color: #111827 !important; }
body.light .nav-item    { color: #4B5675 !important; }
body.light .nav-item.active-admin,
body.light .nav-item:hover { background: #EDF0F7 !important; color: #6366F1 !important; }
body.light .sidebar-logo,
body.light .sidebar-user { border-color: #DDE1EE !important; }
body.light input, body.light select, body.light textarea { background: #FFFFFF !important; color: #111827 !important; border-color: #DDE1EE !important; }
body.light select option { background: #FFFFFF; color: #111827; }
body.light .page-sub    { color: #4B5675 !important; }
body.light .text-muted, body.light .stat-card-label { color: #4B5675 !important; }
body.light .dash-inner  { background: #F4F6FA; }
body.light .dash-wrap   { background: #F4F6FA; }
body.light .alert       { border-color: #DDE1EE; }
