/* ============================================================
   BetWiseTech — Global Design System
   Kurumsal, profesyonel, soft indigo tema
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Serif+Display&family=JetBrains+Mono:wght@400;600&display=swap');

/* ── Design Tokens ── */
:root {
  /* ── App / Dashboard Brand ── */
  --brand:        #6366F1;
  --brand-dark:   #4F46E5;
  --brand-light:  #818CF8;
  --brand-bg:     rgba(99,102,241,.08);
  --brand-border: rgba(99,102,241,.2);

  /* ── App Backgrounds ── */
  --bg-base:   #0D0F1A;
  --bg-surface:#131625;
  --bg-card:   #181B2E;
  --bg-input:  #0D0F1A;
  --bg-hover:  rgba(255,255,255,.03);

  /* ── App Borders ── */
  --border:    rgba(255,255,255,.07);
  --border-md: rgba(255,255,255,.12);

  /* ── App Text ── */
  --text-1: #F1F5F9;
  --text-2: #94A3B8;
  --text-3: #64748B;
  --text-4: #475569;

  /* ── Status Colors ── */
  --green:        #10B981;
  --green-bg:     rgba(16,185,129,.1);
  --green-border: rgba(16,185,129,.2);
  --yellow:       #F59E0B;
  --yellow-bg:    rgba(245,158,11,.1);
  --yellow-border:rgba(245,158,11,.2);
  --red:          #EF4444;
  --red-bg:       rgba(239,68,68,.1);
  --red-border:   rgba(239,68,68,.2);
  --blue:         #3B82F6;
  --blue-bg:      rgba(59,130,246,.1);
  --blue-border:  rgba(59,130,246,.2);

  /* ── App Layout ── */
  --sb-width: 240px;
  --sb-bg:    #0A0C18;
  --topbar-h: 60px;

  /* ── Radius ── */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 18px;

  /* ── Shadow ── */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.5);

  /* ── Public / Marketing Site Tokens ── */
  /* Orange accent (primary CTA) */
  --pub-accent:        #F97316;
  --pub-accent-dark:   #EA580C;
  --pub-accent-light:  #FB923C;
  --pub-accent-bg:     rgba(249,115,22,.08);
  --pub-accent-border: rgba(249,115,22,.2);

  /* Dark ink palette (used in public page dark sections) */
  --ink-50:  #F8FAFC;
  --ink-100: #F1F5F9;
  --ink-200: #E2E8F0;
  --ink-300: #CBD5E1;
  --ink-400: #94A3B8;
  --ink-500: #64748B;
  --ink-600: #475569;
  --ink-700: #334155;
  --ink-800: #1E293B;
  --ink-900: #0F172A;

  /* Gold accent (used in about/contact dark sections) */
  --gold:        #F97316;
  --gold-light:  #FB923C;
  --gold-pale:   rgba(249,115,22,.1);
  --gold-border: rgba(249,115,22,.25);

  /* Public typography */
  --font-sans:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Public section spacing */
  --section-py: 96px;

  /* Public radius */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;

  /* Public transitions */
  --tr: all .25s ease;

  /* Public emerald (success) */
  --emerald-1: #10B981;
  --emerald-2: rgba(16,185,129,.3);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── App body (dashboard/admin sayfaları) ── */
body.app-body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-1);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
}

/* ── Fallback: .layout içeren sayfalar otomatik dark tema alır ── */
body:has(.layout) {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg-base);
  color: var(--text-1);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-size: 14px;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }

/* ── Layout ── */
.layout {
  display: grid;
  grid-template-columns: var(--sb-width) 1fr;
  min-height: 100vh;
}

/* ── Sidebar ── */
.sidebar {
  background: var(--sb-bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ── Sidebar Logo ── */
.sb-logo {
  padding: 18px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(99,102,241,.08) 0%, transparent 100%);
}
.sb-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--brand) 0%, #818CF8 100%);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(99,102,241,.35);
}
.sb-logo-icon svg { width: 17px; height: 17px; fill: #fff; }
.sb-logo-text {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.02em;
}
.sb-logo-badge {
  margin-left: auto;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 2px 7px;
  border-radius: 100px;
  border: 1px solid var(--brand-border);
  color: var(--brand-light);
  background: var(--brand-bg);
}
.sb-logo-badge.admin {
  border-color: rgba(239,68,68,.3);
  color: #F87171;
  background: rgba(239,68,68,.1);
}

/* ── Sidebar User ── */
.sb-user {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.sb-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #818CF8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(99,102,241,.3);
}
.sb-user-info { flex: 1; min-width: 0; }
.sb-user-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sb-user-role {
  font-size: 10px;
  color: var(--text-3);
  margin-top: 1px;
}
.sb-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 4px var(--green); }
  50%      { box-shadow: 0 0 10px var(--green); }
}

/* ── Sidebar Nav ── */
.sb-nav { padding: 8px 0; flex: 1; overflow-y: auto; }
.sb-nav::-webkit-scrollbar { width: 3px; }
.sb-nav::-webkit-scrollbar-track { background: transparent; }
.sb-nav::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.sb-section {
  padding: 14px 16px 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-4);
  display: flex;
  align-items: center;
  gap: 6px;
}
.sb-section::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-left: 4px;
}

.sb-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  transition: all .15s ease;
  border-left: 2px solid transparent;
  position: relative;
  cursor: pointer;
  margin: 1px 8px;
  border-radius: 8px;
  border-left: none;
}
.sb-link:hover {
  background: var(--bg-hover);
  color: var(--text-1);
}
.sb-link.active {
  background: var(--brand-bg);
  color: var(--brand-light);
  font-weight: 600;
}
.sb-link.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3px;
  background: var(--item-color, var(--brand));
  border-radius: 0 2px 2px 0;
}

/* ── Icon Wrap ── */
.sb-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s;
}
.sb-link .sb-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--text-3);
  transition: color .15s;
}
.sb-link.active .sb-icon { color: var(--item-color, var(--brand)); }
.sb-link:hover .sb-icon  { color: var(--text-1); }
.sb-link-label { flex: 1; }

/* ── Badge Dot ── */
.sb-badge-dot {
  min-width: 17px;
  height: 17px;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(239,68,68,.4);
}

/* ── Sidebar Footer ── */
.sb-footer {
  padding: 10px 16px 14px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sb-footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-4);
  transition: color .15s;
  padding: 6px 8px;
  border-radius: 7px;
}
.sb-footer a:hover { color: var(--text-2); background: var(--bg-hover); }
.sb-footer .sb-icon { width: 14px; height: 14px; opacity: .5; }

/* ── Main ── */
.main { display: flex; flex-direction: column; min-height: 100vh; }

/* ── Topbar ── */
.topbar {
  background: var(--sb-bg);
  border-bottom: 1px solid var(--border);
  padding: 0 28px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  flex-shrink: 0;
}
.topbar-left {}
.topbar-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
}
.topbar-sub {
  font-size: 10px;
  color: var(--text-4);
  margin-top: 1px;
}
.topbar-right { display: flex; align-items: center; gap: 6px; }
.tb-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-3);
  transition: all .15s;
  position: relative;
}
.tb-btn:hover { background: var(--bg-hover); color: var(--text-1); border-color: var(--border-md); }
.tb-btn svg { width: 15px; height: 15px; }
.tb-notif-dot {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  border: 1.5px solid var(--sb-bg);
}
.tb-user {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 5px 10px;
  cursor: pointer;
  transition: all .15s;
}
.tb-user:hover { background: var(--bg-hover); border-color: var(--border-md); }
.tb-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.tb-name { font-size: 12px; font-weight: 600; color: var(--text-1); }
.tb-chevron { color: var(--text-4); }
.tb-chevron svg { width: 12px; height: 12px; }

.live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 10px;
  color: var(--green);
  font-weight: 600;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}

/* ── Content ── */
.content { padding: 24px 28px; flex: 1; }

/* ── Page Header ── */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.page-title { font-size: 17px; font-weight: 700; color: var(--text-1); }
.page-sub { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.page-actions { display: flex; gap: 8px; align-items: center; }

/* ── KPI Grid ── */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.kpi {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}
.kpi:hover { border-color: var(--border-md); transform: translateY(-1px); }
.kpi::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
}
.kpi.c1::before { background: var(--brand); }
.kpi.c2::before { background: var(--green); }
.kpi.c3::before { background: var(--blue); }
.kpi.c4::before { background: #A78BFA; }
.kpi.c5::before { background: var(--red); }
.kpi-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.kpi.c1 .kpi-icon { background: var(--brand-bg); }
.kpi.c2 .kpi-icon { background: var(--green-bg); }
.kpi.c3 .kpi-icon { background: var(--blue-bg); }
.kpi.c4 .kpi-icon { background: rgba(167,139,250,.1); }
.kpi.c5 .kpi-icon { background: var(--red-bg); }
.kpi-icon svg { width: 16px; height: 16px; }
.kpi.c1 .kpi-icon svg { fill: var(--brand-light); }
.kpi.c2 .kpi-icon svg { fill: var(--green); }
.kpi.c3 .kpi-icon svg { fill: var(--blue); }
.kpi.c4 .kpi-icon svg { fill: #A78BFA; }
.kpi.c5 .kpi-icon svg { fill: var(--red); }
.kpi-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1;
  margin-bottom: 2px;
  font-variant-numeric: tabular-nums;
}
.kpi-lbl {
  font-size: 10px;
  color: var(--text-3);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.kpi-tag {
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 100px;
}
.kpi-tag.up   { background: var(--green-bg);  color: var(--green);  }
.kpi-tag.warn { background: var(--yellow-bg); color: var(--yellow); }
.kpi-tag.down { background: var(--red-bg);    color: var(--red);    }
.kpi-tag.neutral { background: var(--bg-hover); color: var(--text-3); }

/* ── Grid Rows ── */
.row { display: grid; gap: 14px; margin-bottom: 14px; }
.r-3-1 { grid-template-columns: 2fr 1fr; }
.r-2   { grid-template-columns: 1fr 1fr; }
.r-3   { grid-template-columns: 1fr 1fr 1fr; }

/* ── Panel ── */
.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.ph {
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ph-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ph-title svg { width: 14px; height: 14px; fill: var(--text-3); }
.pb { padding: 16px 18px; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--r-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .15s;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-hover); color: var(--text-1); border-color: var(--border-md); }
.btn-success {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid var(--green-border);
}
.btn-success:hover { background: rgba(16,185,129,.18); }
.btn-danger {
  background: var(--red-bg);
  color: #F87171;
  border: 1px solid var(--red-border);
}
.btn-danger:hover { background: rgba(239,68,68,.18); }
.btn-sm  { padding: 5px 11px; font-size: 11px; }
.btn-xs  { padding: 3px 8px;  font-size: 10px; }
.btn-lg  { padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 13px; height: 13px; }

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.b-brand, .badge-brand    { background: var(--brand-bg);  color: var(--brand-light); border: 1px solid var(--brand-border); }
.b-green, .badge-success  { background: var(--green-bg);  color: var(--green);       border: 1px solid var(--green-border); }
.b-blue,  .badge-info     { background: var(--blue-bg);   color: var(--blue);        border: 1px solid var(--blue-border);  }
.b-yellow,.badge-warning  { background: var(--yellow-bg); color: var(--yellow);      border: 1px solid var(--yellow-border);}
.b-red,   .badge-danger   { background: var(--red-bg);    color: #F87171;            border: 1px solid var(--red-border);   }
.b-gray,  .badge-neutral  { background: var(--bg-hover);  color: var(--text-3);      border: 1px solid var(--border);       }
.b-purple                 { background: rgba(167,139,250,.1); color: #A78BFA;        border: 1px solid rgba(167,139,250,.2);}

/* ── Table ── */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th {
  padding: 9px 12px;
  font-size: 9px;
  font-weight: 700;
  color: var(--text-4);
  text-transform: uppercase;
  letter-spacing: .07em;
  border-bottom: 1px solid var(--border);
  text-align: left;
  white-space: nowrap;
}
.tbl td {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,.03);
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover td { background: var(--bg-hover); }
.tbl-mono { font-family: 'JetBrains Mono', monospace; color: var(--brand-light); font-weight: 600; font-size: 11px; }
.user-cell { display: flex; align-items: center; gap: 8px; }
.user-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.user-name { font-size: 12px; font-weight: 600; color: var(--text-1); }
.user-email { font-size: 10px; color: var(--text-3); }

/* ── Form ── */
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-3);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 13px;
  color: var(--text-1);
  background: var(--bg-input);
  outline: none;
  font-family: inherit;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brand); }
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: 24px;
  width: 100%;
  max-width: 500px;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  transition: transform .2s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-title { font-size: 16px; font-weight: 700; color: var(--text-1); margin-bottom: 4px; }
.modal-sub { font-size: 12px; color: var(--text-3); margin-bottom: 20px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; }

/* ── Alert ── */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 12px;
  margin-bottom: 16px;
}
.alert svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; }
.alert-info    { background: var(--blue-bg);   border: 1px solid var(--blue-border);   color: #93C5FD; }
.alert-warning { background: var(--yellow-bg); border: 1px solid var(--yellow-border); color: #FCD34D; }
.alert-success { background: var(--green-bg);  border: 1px solid var(--green-border);  color: #6EE7B7; }
.alert-error   { background: var(--red-bg);    border: 1px solid var(--red-border);    color: #FCA5A5; }

/* ── Loading ── */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  color: var(--text-3);
  font-size: 12px;
  gap: 8px;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin .6s linear infinite;
  flex-shrink: 0;
}

/* ── Filters ── */
.filters-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  align-items: center;
}
.filter-select,
.search-input {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 12px;
  background: var(--bg-card);
  color: var(--text-1);
  outline: none;
  font-family: inherit;
  transition: border-color .15s;
}
.search-input { min-width: 200px; }
.filter-select:focus,
.search-input:focus { border-color: var(--brand); }
.filter-select option { background: var(--bg-card); }

/* ── Toast ── */
#toastContainer {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-1);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  max-width: 360px;
  box-shadow: var(--shadow-md);
  animation: slideIn .2s ease;
}
.toast.success { border-left-color: var(--green); }
.toast.error   { border-left-color: var(--red);   }
.toast.warning { border-left-color: var(--yellow); }

/* ── Progress Bar ── */
.prog-wrap { margin-bottom: 8px; }
.prog-top { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-3); margin-bottom: 4px; }
.prog-bar { height: 4px; background: var(--border); border-radius: 100px; overflow: hidden; }
.prog-fill { height: 100%; border-radius: 100px; background: var(--brand); transition: width .4s ease; }
.prog-steps { display: flex; justify-content: space-between; font-size: 9px; color: var(--text-4); margin-top: 4px; }

/* ── Timeline ── */
.tl { display: flex; flex-direction: column; }
.tl-item { display: flex; gap: 12px; }
.tl-left { display: flex; flex-direction: column; align-items: center; width: 14px; flex-shrink: 0; }
.tl-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.tl-dot.done    { background: var(--green); }
.tl-dot.active  { background: var(--brand); }
.tl-dot.pending { background: var(--border-md); }
.tl-line { width: 1px; flex: 1; background: var(--border); min-height: 16px; margin: 3px 0; }
.tl-body { flex: 1; padding-bottom: 14px; }
.tl-title { font-size: 12px; font-weight: 600; color: var(--text-1); }
.tl-time  { font-size: 10px; color: var(--text-3); margin-top: 2px; }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-3); }
.empty-state svg { width: 40px; height: 40px; fill: var(--text-4); margin-bottom: 12px; }
.empty-state h3 { font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.empty-state p  { font-size: 12px; }

/* ── Stat Mini ── */
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.stat-mini { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px; text-align: center; }
.stat-mini-val { font-size: 18px; font-weight: 800; color: var(--text-1); margin-bottom: 1px; }
.stat-mini-lbl { font-size: 9px; color: var(--text-4); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* ── Chart Bars ── */
.chart-bars { display: flex; align-items: flex-end; gap: 5px; height: 80px; padding: 0 2px; }
.chart-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.chart-bar { width: 100%; border-radius: 3px 3px 0 0; background: var(--brand-bg); transition: height .5s ease; min-height: 2px; }
.chart-bar.hi { background: var(--brand); }
.chart-lbl { font-size: 9px; color: var(--text-4); }

/* ── Auth Pages ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-base);
  padding: 40px 16px;
  position: relative;
  overflow: hidden;
}
.auth-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 30% 70%, rgba(99,102,241,.12) 0%, transparent 65%);
  pointer-events: none;
}
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-md);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}
.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 28px;
  justify-content: center;
}
.auth-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--brand);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-logo-icon svg { width: 18px; height: 18px; fill: #fff; }
.auth-title { font-size: 22px; font-weight: 700; color: var(--text-1); text-align: center; margin-bottom: 6px; }
.auth-sub   { font-size: 13px; color: var(--text-3); text-align: center; margin-bottom: 28px; }
.auth-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-3); }
.auth-footer a { color: var(--brand-light); font-weight: 600; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
  color: var(--text-4);
  font-size: 11px;
}
.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-auth {
  width: 100%;
  padding: 11px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.btn-auth:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-social {
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .15s;
  font-family: inherit;
}
.btn-social:hover { border-color: var(--border-md); background: var(--bg-hover); color: var(--text-1); }
.social-login { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.input-icon-wrap { position: relative; }
.input-icon-wrap input { padding-right: 40px; }
.input-icon {
  position: absolute;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: var(--text-3);
  display: flex;
  align-items: center;
}
.input-icon svg { width: 15px; height: 15px; }
.input-icon:hover { color: var(--text-1); }
.form-check { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.form-check input[type=checkbox] { width: 15px; height: 15px; accent-color: var(--brand); }
.form-check label { font-size: 12px; color: var(--text-3); }

/* ── Welcome Banner ── */
.welcome {
  background: linear-gradient(135deg, rgba(99,102,241,.12) 0%, rgba(99,102,241,.04) 100%);
  border: 1px solid var(--brand-border);
  border-radius: var(--r-xl);
  padding: 22px 26px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.welcome::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(99,102,241,.1) 0%, transparent 70%);
  pointer-events: none;
}
.welcome-title { font-size: 20px; font-weight: 700; color: var(--text-1); margin-bottom: 4px; }
.welcome-title span { color: var(--brand-light); }
.welcome-sub { font-size: 12px; color: var(--text-3); line-height: 1.5; }
.welcome-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 1280px) { .kpi-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 1100px) { .r-3-1, .r-2, .r-3 { grid-template-columns: 1fr; } }
@media (max-width: 1024px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .content { padding: 16px; }
  .topbar { padding: 0 16px; }
}
@media (max-width: 640px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .welcome-actions { display: none; }
  .auth-card { padding: 28px 20px; }
}

/* ── Animations ── */
@keyframes spin    { to { transform: rotate(360deg); } }
@keyframes slideIn { from { transform: translateX(16px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes pulse   { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(1.4); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   MISSING CLASS FIXES — Topbar, Tables, Cards, Pages
   ============================================================ */

/* ── Topbar aliases (admin pages use tb-title/tb-sub/tb-right) ── */
.tb-title  { font-size: 14px; font-weight: 700; color: var(--text-1); }
.tb-sub    { font-size: 10px; color: var(--text-4); margin-top: 1px; }
.tb-right  { display: flex; align-items: center; gap: 6px; }
.tb-dot {
  position: absolute; top: 5px; right: 5px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); border: 1.5px solid var(--sb-bg);
}
.tb-user-av {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand); display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 10px; font-weight: 700;
}
.tb-user-name { font-size: 12px; font-weight: 600; color: var(--text-1); }

/* ── Topbar search & actions (financial/reports/settings) ── */
.tb-search {
  display: flex; align-items: center; gap: 8px; flex: 1; max-width: 320px;
}
.tb-search input {
  width: 100%; padding: 7px 12px; border: 1px solid var(--border);
  border-radius: var(--r-md); background: var(--bg-input);
  color: var(--text-1); font-size: 12px; outline: none; font-family: inherit;
}
.tb-search input:focus { border-color: var(--brand); }
.tb-actions { display: flex; align-items: center; gap: 6px; }
.tb-notif   { position: relative; }
.theme-toggle {
  width: 32px; height: 32px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-3); transition: all .15s;
}
.theme-toggle:hover { background: var(--bg-hover); color: var(--text-1); }
.theme-toggle svg { width: 15px; height: 15px; }

/* ── KPI tag aliases ── */
.kpi-tag.neutral { background: var(--bg-hover);  color: var(--text-3); }
.kpi-tag.warn    { background: var(--yellow-bg); color: var(--yellow); }
.kpi-tag.down    { background: var(--red-bg);    color: var(--red);    }

/* ── KPI Card (financial/reports pages) ── */
.kpi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px; position: relative;
  overflow: hidden; transition: border-color .2s, transform .2s;
}
.kpi-card:hover { border-color: var(--border-md); transform: translateY(-1px); }
.kpi-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; }
.kpi-card.gold::before   { background: #F59E0B; }
.kpi-card.green::before  { background: var(--green); }
.kpi-card.blue::before   { background: var(--blue); }
.kpi-card.red::before    { background: var(--red); }
.kpi-card.purple::before { background: #A78BFA; }
.kpi-label { font-size: 10px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.kpi-value { font-size: 24px; font-weight: 800; color: var(--text-1); line-height: 1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.kpi-change { font-size: 11px; font-weight: 600; }
.kpi-change.green  { color: var(--green); }
.kpi-change.red    { color: var(--red); }
.kpi-change.gold   { color: #F59E0B; }
.kpi-change.blue   { color: var(--blue); }
.kpi-change.purple { color: #A78BFA; }
.kpi-change.down   { color: var(--red); }

/* ── Panel aliases (financial/reports/settings) ── */
.panel-hdr {
  padding: 13px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.panel-title {
  font-size: 12px; font-weight: 700; color: var(--text-1);
  display: flex; align-items: center; gap: 7px;
  text-transform: uppercase; letter-spacing: .04em;
}
.panel-body { padding: 16px 18px; }

/* ── Page header actions ── */
.page-header-actions { display: flex; gap: 8px; align-items: center; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--r-md);
  font-size: 12px; font-weight: 600; cursor: pointer;
  border: 1px solid var(--border-md); background: transparent;
  color: var(--text-2); transition: all .15s; font-family: inherit;
}
.btn-outline:hover { background: var(--bg-hover); color: var(--text-1); border-color: var(--brand); }

/* ── Data Table (admin pages) ── */
.search-wrap { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: 9px 12px; font-size: 9px; font-weight: 700;
  color: var(--text-4); text-transform: uppercase; letter-spacing: .07em;
  border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap;
}
.data-table td {
  padding: 10px 12px; font-size: 12px; color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,.03); vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--bg-hover); }
.empty-row td { text-align: center; padding: 32px; color: var(--text-4); font-size: 12px; }

/* ── Two column layouts ── */
.two-col      { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.two-col-wide { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }

/* ── Detail Grid ── */
.detail-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.detail-item  { display: flex; flex-direction: column; gap: 3px; }
.detail-label { font-size: 9px; font-weight: 700; color: var(--text-4); text-transform: uppercase; letter-spacing: .06em; }
.detail-value { font-size: 12px; color: var(--text-1); font-weight: 500; }

/* ── Timeline text ── */
.tl-text { font-size: 11px; color: var(--text-3); margin-top: 2px; }

/* ── Action buttons ── */
.action-btns { display: flex; gap: 6px; align-items: center; }
.btn-approve {
  padding: 4px 10px; border-radius: var(--r-sm); font-size: 10px; font-weight: 700;
  cursor: pointer; background: var(--green-bg); color: var(--green);
  border: 1px solid var(--green-border); font-family: inherit; transition: all .15s;
}
.btn-approve:hover { background: rgba(16,185,129,.2); }
.btn-reject {
  padding: 4px 10px; border-radius: var(--r-sm); font-size: 10px; font-weight: 700;
  cursor: pointer; background: var(--red-bg); color: #F87171;
  border: 1px solid var(--red-border); font-family: inherit; transition: all .15s;
}
.btn-reject:hover { background: rgba(239,68,68,.2); }

/* ── Method tag ── */
.method-tag {
  display: inline-flex; align-items: center; padding: 2px 8px;
  border-radius: 100px; font-size: 10px; font-weight: 700;
  background: var(--blue-bg); color: var(--blue); border: 1px solid var(--blue-border);
}

/* ── Settings form ── */
.form-label {
  display: block; font-size: 10px; font-weight: 700; color: var(--text-3);
  margin-bottom: 5px; text-transform: uppercase; letter-spacing: .05em;
}
.form-control, .form-input {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border);
  border-radius: var(--r-md); font-size: 13px; color: var(--text-1);
  background: var(--bg-input); outline: none; font-family: inherit;
  transition: border-color .15s;
}
.form-control:focus, .form-input:focus { border-color: var(--brand); }

/* ── Toggle switch ── */
.toggle { position: relative; display: inline-block; width: 40px; height: 22px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--border-md); border-radius: 22px; transition: .3s;
}
.toggle-slider::before {
  content: ''; position: absolute; width: 16px; height: 16px;
  left: 3px; bottom: 3px; background: #fff; border-radius: 50%; transition: .3s;
}
.toggle input:checked + .toggle-slider { background: var(--brand); }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); }

/* ── Toast container ── */
.toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
}

/* ── Progress bar (settings/reports) ── */
.progress { height: 6px; background: var(--border); border-radius: 100px; overflow: hidden; }
.progress-bar { height: 100%; border-radius: 100px; background: var(--brand); transition: width .4s ease; }

/* ── Message thread (tickets) ── */
.msg-thread { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; }
.msg-bubble { display: flex; gap: 10px; align-items: flex-start; }
.msg-bubble.staff { flex-direction: row-reverse; }
.msg-av {
  width: 30px; height: 30px; border-radius: 50%; background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.msg-bubble.staff .msg-av { background: var(--green); }
.msg-body {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 10px 14px; max-width: 75%;
}
.msg-bubble.staff .msg-body { background: var(--brand-bg); border-color: var(--brand-border); }
.msg-name { font-size: 10px; font-weight: 700; color: var(--text-3); margin-bottom: 4px; }
.msg-text { font-size: 12px; color: var(--text-1); line-height: 1.5; }
.msg-time { font-size: 10px; color: var(--text-4); margin-top: 4px; }
.msg-meta { font-size: 10px; color: var(--text-4); }
.reply-area { padding: 14px 18px; border-top: 1px solid var(--border); }
.reply-box {
  width: 100%; padding: 10px 12px; border: 1px solid var(--border);
  border-radius: var(--r-md); background: var(--bg-input); color: var(--text-1);
  font-size: 13px; font-family: inherit; resize: vertical; min-height: 80px;
  outline: none; transition: border-color .15s;
}
.reply-box:focus { border-color: var(--brand); }

/* ── User stats ── */
.user-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.user-stat { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 10px; text-align: center; }
.user-stat-val { font-size: 18px; font-weight: 800; color: var(--text-1); }
.user-stat-lbl { font-size: 9px; color: var(--text-4); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-top: 2px; }

/* ── Orders table (admin/dashboard) ── */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th {
  padding: 8px 10px; text-align: left; color: var(--text-3); font-weight: 600;
  border-bottom: 1px solid var(--border); font-size: 10px; text-transform: uppercase; letter-spacing: .05em;
}
.orders-table td { padding: 10px; border-bottom: 1px solid var(--border); color: var(--text-2); vertical-align: middle; font-size: 12px; }
.orders-table tr:last-child td { border-bottom: none; }
.orders-table tr:hover td { background: var(--bg-surface); }

/* ── Pay row / Ticket row (admin/dashboard) ── */
.pay-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.pay-row:last-child { border-bottom: none; }
.tkt-row-a { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.tkt-row-a:last-child { border-bottom: none; }

/* ── CLIENT PORTAL — Alert Banner ── */
.alert-banner {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  border-radius: var(--r-md); background: var(--yellow-bg);
  border: 1px solid var(--yellow-border); color: var(--yellow);
  font-size: 12px; margin-bottom: 16px;
}
.alert-banner-text { flex: 1; }
.alert-banner-close { background: none; border: none; cursor: pointer; color: var(--yellow); font-size: 16px; line-height: 1; padding: 0 4px; }

/* ── Order Card ── */
.order-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; margin-bottom: 12px; }
.order-card:last-child { margin-bottom: 0; }
.oc-header, .oc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.oc-no     { font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600; color: var(--brand-light); margin-bottom: 3px; }
.oc-name   { font-size: 14px; font-weight: 700; color: var(--text-1); }
.oc-date   { font-size: 11px; color: var(--text-3); margin-top: 2px; }
.oc-amount { font-size: 20px; font-weight: 800; color: var(--brand-light); margin-top: 6px; font-variant-numeric: tabular-nums; }

/* ── Progress top/steps ── */
.prog-top   { display: flex; justify-content: space-between; font-size: 10px; color: var(--text-3); margin-bottom: 4px; }
.prog-steps { display: flex; justify-content: space-between; font-size: 9px; color: var(--text-4); margin-top: 4px; }

/* ── Service Row (dashboard) ── */
.svc-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.svc-row:last-child { border-bottom: none; }
.svc-ico { width: 30px; height: 30px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-ico svg { width: 14px; height: 14px; }
.svc-name { font-size: 12px; font-weight: 600; color: var(--text-1); }
.svc-desc { font-size: 10px; color: var(--text-3); margin-top: 1px; }

/* ── Ticket Row (dashboard/tickets) ── */
.tkt-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.tkt-row:last-child { border-bottom: none; }
.tkt-dot  { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.tkt-subj { font-size: 12px; font-weight: 600; color: var(--text-1); }
.tkt-meta { font-size: 10px; color: var(--text-3); margin-top: 1px; }
.tkt-no   { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--brand-light); font-weight: 600; }

/* ── Quick Actions ── */
.qa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qa-btn {
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 14px 10px;
  display: flex; flex-direction: column; align-items: center;
  gap: 7px; cursor: pointer; transition: all .15s; text-decoration: none;
}
.qa-btn:hover { background: var(--brand-bg); border-color: var(--brand-border); }
.qa-btn svg { width: 20px; height: 20px; fill: var(--text-3); }
.qa-btn:hover svg { fill: var(--brand-light); }
.qa-lbl { font-size: 11px; font-weight: 600; color: var(--text-3); text-align: center; }
.qa-btn:hover .qa-lbl { color: var(--brand-light); }

/* ── Notifications ── */
.notif-item { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.notif-item:last-child { border-bottom: none; }
.notif-ico { width: 28px; height: 28px; border-radius: 50%; background: var(--brand-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.notif-ico svg { width: 13px; height: 13px; fill: var(--brand-light); }
.notif-text { font-size: 12px; color: var(--text-1); font-weight: 500; }
.notif-time { font-size: 10px; color: var(--text-4); margin-top: 2px; }

/* ── Online row ── */
.online-row { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-2); }
.online-row:last-child { border-bottom: none; }
.online-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; box-shadow: 0 0 6px var(--green); }

/* ── Support card ── */
.support-card { background: var(--brand-bg); border: 1px solid var(--brand-border); border-radius: var(--r-lg); padding: 16px; text-align: center; }

/* ── SERVICE CARD (my-services) ── */
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; transition: border-color .2s, transform .2s; }
.service-card:hover { border-color: var(--border-md); transform: translateY(-1px); }
.sc-header { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.sc-icon { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--brand-bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sc-icon svg { width: 18px; height: 18px; fill: var(--brand-light); }
.sc-title { font-size: 14px; font-weight: 700; color: var(--text-1); margin-bottom: 3px; }
.sc-desc  { font-size: 11px; color: var(--text-3); line-height: 1.5; }
.sc-meta  { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.sc-meta-item { font-size: 10px; color: var(--text-3); display: flex; align-items: center; gap: 4px; }
.feature-list { display: flex; flex-direction: column; gap: 6px; }
.feature-item { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-2); }
.feature-item.done    { color: var(--green); }
.feature-item.pending { color: var(--text-4); }
.feature-item.active  { color: var(--brand-light); }
.feature-item svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ── Service chips (my-orders) ── */
.service-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.service-chips .done    { background: var(--green-bg);  color: var(--green);  border: 1px solid var(--green-border);  border-radius: 100px; padding: 2px 8px; font-size: 10px; font-weight: 600; }
.service-chips .pending { background: var(--yellow-bg); color: var(--yellow); border: 1px solid var(--yellow-border); border-radius: 100px; padding: 2px 8px; font-size: 10px; font-weight: 600; }

/* ── Tickets page ── */
.filter-btn { padding: 6px 14px; border-radius: var(--r-md); font-size: 11px; font-weight: 600; cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--text-3); transition: all .15s; font-family: inherit; }
.filter-btn:hover, .filter-btn.active { background: var(--brand-bg); color: var(--brand-light); border-color: var(--brand-border); }
.tickets-table { width: 100%; border-collapse: collapse; }
.tbl-head th { padding: 9px 12px; font-size: 9px; font-weight: 700; color: var(--text-4); text-transform: uppercase; letter-spacing: .07em; border-bottom: 1px solid var(--border); text-align: left; }

/* ── Ticket Detail ── */
.ticket-header { margin-bottom: 20px; }
.ticket-id    { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--brand-light); font-weight: 600; margin-bottom: 6px; }
.ticket-title { font-size: 18px; font-weight: 700; color: var(--text-1); margin-bottom: 10px; }
.ticket-meta-row  { display: flex; flex-wrap: wrap; gap: 16px; }
.ticket-meta-item { font-size: 11px; color: var(--text-3); display: flex; align-items: center; gap: 5px; }
.messages-wrap { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; max-height: 480px; overflow-y: auto; }
.info-card { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px; margin-bottom: 12px; }
.info-row  { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 12px; }
.info-row:last-child { border-bottom: none; }

/* ── Payment page ── */
.steps-bar { display: flex; align-items: center; margin-bottom: 24px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; position: relative; }
.step-num { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: var(--border-md); color: var(--text-4); border: 2px solid var(--border); transition: all .2s; }
.step.done .step-num   { background: var(--green); color: #fff; border-color: var(--green); }
.step.active .step-num { background: var(--brand); color: #fff; border-color: var(--brand); }
.step-label { font-size: 10px; color: var(--text-4); font-weight: 600; text-align: center; }
.step.done .step-label   { color: var(--green); }
.step.active .step-label { color: var(--brand-light); }
.step-line { position: absolute; top: 14px; left: 50%; right: -50%; height: 2px; background: var(--border); z-index: -1; }
.step.done .step-line { background: var(--green); }
.step:last-child .step-line { display: none; }

/* ── Pay card ── */
.pay-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; margin-bottom: 14px; }
.order-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 12px; color: var(--text-2); }
.order-summary-row:last-child { border-bottom: none; }

/* ── Method tabs ── */
.method-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.method-tab {
  padding: 8px 16px; border-radius: var(--r-md); font-size: 12px; font-weight: 600;
  cursor: pointer; border: 1px solid var(--border); background: transparent;
  color: var(--text-3); transition: all .15s; font-family: inherit;
}
.method-tab:hover, .method-tab.active, .method-tab.selected { background: var(--brand-bg); color: var(--brand-light); border-color: var(--brand-border); }

/* ── Pay panel ── */
.pay-panel { display: none; }
.pay-panel.active { display: block; }

/* ── IBAN box ── */
.iban-box { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; margin-bottom: 14px; }
.iban-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--border); }
.iban-row:last-child { border-bottom: none; }
.iban-label { font-size: 10px; color: var(--text-4); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.iban-value { font-size: 13px; color: var(--text-1); font-weight: 600; font-family: 'JetBrains Mono', monospace; }

/* ── Wallet display ── */
.wallet-display { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; margin-bottom: 14px; }
.wallet-label   { font-size: 10px; color: var(--text-4); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.wallet-address { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--brand-light); word-break: break-all; margin-bottom: 6px; }
.wallet-network { font-size: 10px; color: var(--text-3); }
.qr-placeholder { width: 120px; height: 120px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--text-4); font-size: 11px; margin: 12px auto; }

/* ── Success message ── */
.success-msg { text-align: center; padding: 32px 20px; }
.success-msg svg { width: 48px; height: 48px; fill: var(--green); margin-bottom: 12px; }

/* ── Auth page (login) ── */
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-grid .auth-card { border-radius: 0; max-width: none; box-shadow: none; }
.alert-msg {
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-radius: var(--r-md); font-size: 12px; margin-bottom: 14px;
  background: var(--red-bg); border: 1px solid var(--red-border); color: #FCA5A5;
}
.divider-text { font-size: 11px; color: var(--text-4); white-space: nowrap; }
.back-link { font-size: 12px; color: var(--text-3); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.back-link:hover { color: var(--text-1); }

/* ── Responsive fixes ── */
@media (max-width: 1024px) {
  .two-col, .two-col-wide { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .auth-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .qa-grid { grid-template-columns: 1fr 1fr; }
  .steps-bar { gap: 4px; }
  .step-label { display: none; }
  .method-tabs { gap: 6px; }
  .method-tab { padding: 6px 10px; font-size: 11px; }
}
/* ============================================================
   HOMEPAGE (index.html) — Missing CSS Classes
   Ticker, Stats, Features, How, Testimonials, CTA, Footer,
   Mobile Menu, Hamburger, Preloader, Live Support, Back-to-top
   ============================================================ */

/* ── Ticker ── */
.ticker-wrap {
  background: #111827;
  border-top: 1px solid rgba(249,115,22,.15);
  border-bottom: 1px solid rgba(249,115,22,.15);
  overflow: hidden;
  padding: 10px 0;
  white-space: nowrap;
}
.ticker-track {
  display: inline-flex;
  gap: 0;
  animation: ticker 40s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.ticker-item strong { color: #F97316; font-weight: 700; }
.ticker-sep { color: rgba(249,115,22,.4); font-size: 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Stats Band ── */
.stats-band {
  background: #fff;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
  padding: 40px 0;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-cell { padding: 8px; }
.stat-num {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 42px;
  font-weight: 700;
  color: #F97316;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-lbl {
  font-size: 14px;
  color: #6B7280;
  font-weight: 500;
}
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ── Section Header ── */
.sec-hd {
  text-align: center;
  margin-bottom: 56px;
}
.sec-hd h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: #111827;
  margin-top: 12px;
  margin-bottom: 14px;
  line-height: 1.2;
}
.sec-hd p {
  font-size: 16px;
  color: #6B7280;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #F97316;
  background: rgba(249,115,22,.08);
  border: 1px solid rgba(249,115,22,.2);
  border-radius: 100px;
  padding: 5px 16px;
}

/* ── Features Grid ── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feat-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 32px 28px;
  transition: all .3s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.1);
  border-color: rgba(249,115,22,.3);
}
.feat-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}
.feat-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}
.feat-card p {
  font-size: 14px;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 16px;
}
.feat-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feat-card ul li {
  font-size: 13px;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 8px;
}
.feat-card ul li::before {
  content: '✓';
  color: #10B981;
  font-weight: 700;
  flex-shrink: 0;
}

/* ── How It Works ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.how-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, #F97316, rgba(249,115,22,.2));
  z-index: 0;
}
.how-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.how-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EA580C, #F97316);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(249,115,22,.3);
}
.how-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}
.how-step p {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.6;
}

/* ── Testimonials ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: all .3s;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.08);
}
.testi-stars {
  color: #F59E0B;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testi-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EA580C, #F97316);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.testi-name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.testi-role {
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 2px;
}

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, #EA580C 0%, #F97316 50%, #EA580C 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,255,255,.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner .eyebrow { color: rgba(255,255,255,.8); background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.cta-inner h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: #fff;
  margin: 16px 0 12px;
}
.cta-inner p {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  background: #fff;
  color: #EA580C;
  border: none;
  font-weight: 700;
}
.btn-white:hover {
  background: #FFF7ED;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

/* ── Footer ── */
#footer {
  background: #111827;
  padding: 64px 0 32px;
  color: rgba(255,255,255,.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: all .2s;
}
.footer-socials a:hover {
  background: rgba(249,115,22,.15);
  border-color: rgba(249,115,22,.3);
  color: #F97316;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li, .footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color .2s;
}
.footer-col ul li a:hover { color: #F97316; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: #F97316; }

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(10,12,20,.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(249,115,22,.2);
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 9998;
  transform: translateY(-110%);
  transition: transform .3s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: all .2s;
}
.mobile-menu a:hover { background: rgba(255,255,255,.07); color: #fff; }

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1024px) { .hamburger { display: flex; } }

/* ── Preloader ── */
#preloader {
  position: fixed;
  inset: 0;
  background: #111827;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease;
}
#preloader.hidden { opacity: 0; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  color: #F97316;
  margin-bottom: 24px;
  letter-spacing: -.5px;
}
.preloader-bar {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 100px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-fill {
  height: 100%;
  background: linear-gradient(90deg, #EA580C, #F97316);
  border-radius: 100px;
  animation: preload 1.5s ease forwards;
}
@keyframes preload { from { width: 0; } to { width: 100%; } }

/* ── Live Support ── */
.live-support {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9990;
}
.ls-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #EA580C, #F97316);
  border: none;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(249,115,22,.4);
  position: relative;
  transition: transform .2s;
}
.ls-btn:hover { transform: scale(1.08); }
.ls-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(249,115,22,.4);
  animation: ls-pulse 2s infinite;
}
@keyframes ls-pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}
.ls-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,.2);
  overflow: hidden;
  transform: scale(.9) translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: all .25s ease;
  transform-origin: bottom right;
}
.ls-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }
.ls-header {
  background: linear-gradient(135deg, #EA580C, #F97316);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.ls-header-icon { font-size: 20px; }
.ls-header-title { font-size: 14px; font-weight: 700; }
.ls-header-sub { font-size: 11px; opacity: .8; margin-top: 1px; }
.ls-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 2px 6px;
}
.ls-close:hover { color: #fff; }
.ls-body { padding: 16px 18px; }
.ls-msg {
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 14px;
}
.ls-options { display: flex; flex-direction: column; gap: 8px; }
.ls-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: all .2s;
}
.ls-option:hover { background: #FFF7ED; border-color: rgba(249,115,22,.3); color: #EA580C; }
.ls-option-icon { font-size: 18px; }
.ls-footer {
  padding: 10px 18px;
  background: #F9FAFB;
  border-top: 1px solid #E5E7EB;
  font-size: 11px;
  color: #9CA3AF;
  text-align: center;
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(17,24,39,.8);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all .2s;
  opacity: 0;
  pointer-events: none;
  z-index: 9989;
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: #F97316; border-color: #F97316; color: #fff; }

/* ── Homepage Responsive ── */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .how-grid::before { display: none; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .feat-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}
/* ============================================================
   PUBLIC PAGES — Navbar, Page Hero, About, Contact,
   Services, Blog, Portfolio, Register
   ============================================================ */

/* ── Public Header Wrapper ── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: rgba(17,24,39,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s, box-shadow .3s;
}
#header.scrolled {
  background: rgba(17,24,39,.98);
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}

/* ── Shared Navbar (public pages) ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}
.logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -.3px;
}
.logo-icon { color: #F97316; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 7px 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.65);
  transition: all .2s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-links a.active { color: #F97316; background: rgba(249,115,22,.1); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.lang-switch {
  display: flex;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
  margin-right: 4px;
}
.lang-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.45);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}
.lang-btn.active, .lang-btn:hover { background: rgba(249,115,22,.2); color: #F97316; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(249,115,22,.12) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-hero-inner .eyebrow { margin-bottom: 16px; display: inline-block; }
.page-hero-inner h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page-hero-inner h1 em { color: #F97316; font-style: italic; }
.page-hero-inner p {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  max-width: 560px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.page-hero-inner .hero-actions { justify-content: center; }

/* ── About Page ── */
.about-intro { padding: 80px 0; background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual { position: relative; }
.about-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  margin-bottom: 16px;
  transition: all .3s;
}
.about-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }
.about-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.about-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #EA580C, #F97316);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.about-card-title { font-size: 16px; font-weight: 700; color: #111827; }
.about-card-sub   { font-size: 13px; color: #6B7280; margin-top: 2px; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 24px; }
.about-stat { text-align: center; padding: 16px; background: #F9FAFB; border-radius: 12px; }
.about-stat-val { font-family: 'DM Serif Display', Georgia, serif; font-size: 28px; color: #F97316; font-weight: 700; }
.about-stat-lbl { font-size: 12px; color: #6B7280; margin-top: 4px; }

/* ── Contact Page ── */
.contact-sec { padding: 80px 0; background: #F9FAFB; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info h2 { font-family: 'DM Serif Display', Georgia, serif; font-size: 32px; color: #111827; margin-bottom: 14px; }
.contact-info p  { font-size: 15px; color: #6B7280; line-height: 1.7; margin-bottom: 28px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(249,115,22,.1); border: 1px solid rgba(249,115,22,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.ci-text h4 { font-size: 14px; font-weight: 700; color: #111827; margin-bottom: 3px; }
.ci-text p  { font-size: 13px; color: #6B7280; }
.contact-channels { display: flex; flex-direction: column; gap: 10px; }
.channel-btn {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px; border-radius: 12px;
  background: #fff; border: 1px solid #E5E7EB;
  font-size: 14px; font-weight: 600; color: #374151;
  text-decoration: none; transition: all .2s;
}
.channel-btn:hover { border-color: rgba(249,115,22,.3); background: #FFF7ED; color: #EA580C; }
.contact-form-wrap {
  background: #fff; border: 1px solid #E5E7EB;
  border-radius: 24px; padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.form-title { font-size: 22px; font-weight: 700; color: #111827; margin-bottom: 6px; }
.form-sub   { font-size: 14px; color: #6B7280; margin-bottom: 24px; }

/* ── Services Page ── */
.fd-sec { padding: 80px 0; }
.fd-sec:nth-child(even) { background: #F9FAFB; }
.fd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.fd-grid.reverse { direction: rtl; }
.fd-grid.reverse > * { direction: ltr; }
.fd-content h2 { font-family: 'DM Serif Display', Georgia, serif; font-size: 32px; color: #111827; margin-bottom: 14px; }
.fd-content p  { font-size: 15px; color: #6B7280; line-height: 1.7; margin-bottom: 20px; }
.fd-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fd-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #374151; }
.fd-list li::before { content: '✓'; color: #10B981; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.fd-visual { position: relative; }
.mod-visual {
  background: #1F2937; border: 1px solid #374151;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
}
.mv-header {
  background: #111827; padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid #374151;
}
.mv-icon { font-size: 20px; }
.mv-title { font-size: 14px; font-weight: 700; color: #fff; }
.mv-sub   { font-size: 11px; color: #6B7280; margin-top: 1px; }
.mv-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 16px; }
.mv-stat { background: #111827; border-radius: 8px; padding: 12px; text-align: center; }
.mv-stat-val { font-size: 20px; font-weight: 700; color: #F97316; }
.mv-stat-lbl { font-size: 10px; color: #6B7280; margin-top: 2px; }

/* ── Blog Page ── */
.seo-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; justify-content: center; }
.seo-tag {
  padding: 5px 14px; border-radius: 100px;
  background: rgba(249,115,22,.08); border: 1px solid rgba(249,115,22,.2);
  font-size: 12px; font-weight: 600; color: #F97316;
  cursor: pointer; transition: all .2s;
}
.seo-tag:hover, .seo-tag.active { background: rgba(249,115,22,.15); border-color: rgba(249,115,22,.4); }
.blog-sec { padding: 80px 0; background: #F9FAFB; }
.blog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.blog-featured {
  background: #fff; border: 1px solid #E5E7EB;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  margin-bottom: 24px; transition: all .3s;
}
.blog-featured:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.1); }
.bf-thumb {
  height: 240px; background: linear-gradient(135deg, #111827, #1F2937);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; position: relative; overflow: hidden;
}
.bf-badge {
  position: absolute; top: 16px; left: 16px;
  background: #F97316; color: #fff;
  font-size: 11px; font-weight: 700; padding: 4px 12px;
  border-radius: 100px; letter-spacing: .05em;
}
.bf-body { padding: 24px; }
.bf-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.bf-cat  { font-size: 11px; font-weight: 700; color: #F97316; text-transform: uppercase; letter-spacing: .06em; }
.bf-date { font-size: 11px; color: #9CA3AF; }
.bf-title { font-size: 20px; font-weight: 700; color: #111827; line-height: 1.4; margin-bottom: 10px; }

/* ── Blog Detail ── */
.article-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.am-cat  { font-size: 12px; font-weight: 700; color: #F97316; text-transform: uppercase; letter-spacing: .06em; }
.am-date { font-size: 12px; color: #9CA3AF; }
.am-read { font-size: 12px; color: #9CA3AF; }
.article-title   { font-family: 'DM Serif Display', Georgia, serif; font-size: clamp(28px,3.5vw,44px); color: #111827; line-height: 1.2; margin-bottom: 16px; }
.article-excerpt { font-size: 17px; color: #6B7280; line-height: 1.7; margin-bottom: 24px; }
.article-author  { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid #E5E7EB; border-bottom: 1px solid #E5E7EB; margin-bottom: 32px; }
.aa-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,#EA580C,#F97316); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.aa-name { font-size: 14px; font-weight: 700; color: #111827; }
.aa-role { font-size: 12px; color: #9CA3AF; margin-top: 2px; }
.article-sec { padding: 80px 0; background: #fff; }
.article-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }

/* ── Portfolio Page ── */
.demo-sec { padding: 80px 0; background: #F9FAFB; }
.demo-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center; }
.demo-tab {
  padding: 8px 20px; border-radius: 100px;
  border: 1px solid #E5E7EB; background: #fff;
  font-size: 13px; font-weight: 600; color: #6B7280;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.demo-tab:hover, .demo-tab.active { background: #F97316; border-color: #F97316; color: #fff; }
.demo-screen {
  background: #1F2937; border: 1px solid #374151;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
  max-width: 900px; margin: 0 auto;
}
.demo-screen-bar {
  background: #111827; padding: 10px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #374151;
}
.ds-dot { width: 10px; height: 10px; border-radius: 50%; }
.ds-url {
  flex: 1; background: #1F2937; border-radius: 6px;
  padding: 4px 12px; font-size: 11px; color: #6B7280;
  margin: 0 12px; font-family: monospace;
}
.demo-screen-body { padding: 20px; }
.adm-layout { display: grid; grid-template-columns: 180px 1fr; gap: 0; min-height: 400px; }
.adm-sidebar { background: #0A0C18; padding: 16px 0; border-right: 1px solid rgba(255,255,255,.07); }
.adm-logo { padding: 12px 16px; font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.adm-nav-item {
  padding: 8px 16px; font-size: 12px; color: rgba(255,255,255,.5);
  display: flex; align-items: center; gap: 8px; cursor: pointer;
  transition: all .15s; border-radius: 6px; margin: 1px 8px;
}
.adm-nav-item:hover, .adm-nav-item.active { background: rgba(99,102,241,.1); color: #818CF8; }

/* ── Register Page ── */
.auth-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(249,115,22,.1) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.step-indicator {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 28px;
}
.step-indicator .step-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border-md, rgba(255,255,255,.12));
  transition: all .2s;
}
.step-indicator .step-dot.active { background: #6366F1; width: 24px; border-radius: 4px; }
.pkg-select-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.pkg-option {
  border: 2px solid var(--border, rgba(255,255,255,.07));
  border-radius: var(--r-lg, 14px); padding: 16px;
  cursor: pointer; transition: all .2s;
  background: var(--bg-surface, #131625);
}
.pkg-option:hover { border-color: var(--brand-border, rgba(99,102,241,.2)); }
.pkg-option.selected { border-color: var(--brand, #6366F1); background: var(--brand-bg, rgba(99,102,241,.08)); }
.pkg-option-name  { font-size: 14px; font-weight: 700; color: var(--text-1, #F1F5F9); margin-bottom: 4px; }
.pkg-option-price { font-size: 18px; font-weight: 800; color: var(--brand-light, #818CF8); margin-bottom: 2px; }
.pkg-option-games { font-size: 11px; color: var(--text-3, #64748B); }

/* ── Public Pages Responsive ── */
@media (max-width: 1024px) {
  .about-grid, .contact-grid, .fd-grid, .blog-layout, .article-layout { grid-template-columns: 1fr; }
  .fd-grid.reverse { direction: ltr; }
  .adm-layout { grid-template-columns: 1fr; }
  .adm-sidebar { display: none; }
}
@media (max-width: 768px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
  .pkg-select-row { grid-template-columns: 1fr; }
  .demo-tabs { gap: 6px; }
  .demo-tab { padding: 6px 14px; font-size: 12px; }
}
/* ============================================================
   PUBLIC PAGES PART 2 — About, Contact, Services,
   Blog, Blog Detail, Portfolio extra classes
   ============================================================ */

/* ── About Page Extra ── */
.about-content h2 { font-family: 'DM Serif Display', Georgia, serif; font-size: 32px; color: #111827; margin-bottom: 14px; }
.about-content p  { font-size: 15px; color: #6B7280; line-height: 1.7; margin-bottom: 16px; }
.values-sec  { padding: 80px 0; background: #F9FAFB; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-card  { background: #fff; border: 1px solid #E5E7EB; border-radius: 20px; padding: 28px; text-align: center; transition: all .3s; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.08); }
.value-icon  { font-size: 40px; margin-bottom: 14px; display: block; }
.value-card h3 { font-size: 17px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.value-card p  { font-size: 13px; color: #6B7280; line-height: 1.7; }
.team-sec  { padding: 80px 0; background: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg,#EA580C,#F97316); display: flex; align-items: center; justify-content: center; font-size: 32px; margin: 0 auto 14px; }
.team-name { font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.team-role { font-size: 13px; color: #F97316; font-weight: 600; margin-bottom: 8px; }
.team-bio  { font-size: 13px; color: #6B7280; line-height: 1.6; }
.why-sec   { padding: 80px 0; background: #F9FAFB; }
.why-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-list  { display: flex; flex-direction: column; gap: 20px; }
.why-item  { display: flex; gap: 16px; align-items: flex-start; }
.why-num   { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg,#EA580C,#F97316); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-text h4 { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.why-text p  { font-size: 13px; color: #6B7280; line-height: 1.6; }
.why-visual  { position: relative; }
.cert-grid   { display: grid; grid-template-columns: repeat(auto-fill,minmax(140px,1fr)); gap: 14px; }

/* ── Contact Page Extra ── */
.form-submit { width: 100%; padding: 12px; background: linear-gradient(135deg,#EA580C,#F97316); color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all .2s; font-family: inherit; }
.form-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(249,115,22,.3); }
.form-note { font-size: 12px; color: #9CA3AF; text-align: center; margin-top: 12px; }
.faq-sec  { padding: 80px 0; background: #fff; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin: 0 auto; }
.faq-item { background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 14px; padding: 20px 24px; cursor: pointer; transition: all .2s; }
.faq-item:hover { border-color: rgba(249,115,22,.3); background: #FFF7ED; }
.faq-q { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq-a { font-size: 13px; color: #6B7280; line-height: 1.7; }

/* ── Services Page Extra ── */
.mv-list { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.mv-item { display: flex; align-items: center; gap: 10px; font-size: 12px; color: rgba(255,255,255,.7); }
.mv-dot  { width: 6px; height: 6px; border-radius: 50%; background: #F97316; flex-shrink: 0; }
.int-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(120px,1fr)); gap: 12px; }
.int-card { background: #fff; border: 1px solid #E5E7EB; border-radius: 12px; padding: 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: all .3s; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.int-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); border-color: rgba(249,115,22,.3); }
.int-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 900; }
.int-name { font-size: 11px; font-weight: 700; color: #111827; text-align: center; }
.int-type { font-size: 10px; color: #9CA3AF; text-align: center; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th { padding: 12px 16px; background: #F9FAFB; font-size: 13px; font-weight: 700; color: #111827; border: 1px solid #E5E7EB; text-align: center; }
.compare-table td { padding: 10px 16px; border: 1px solid #E5E7EB; font-size: 13px; color: #374151; text-align: center; }
.compare-table tr:hover td { background: #FFF7ED; }
.check { color: #10B981; font-weight: 700; font-size: 16px; }
.cross { color: #EF4444; font-weight: 700; font-size: 16px; }
.price-row td { font-weight: 700; background: #F9FAFB; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); font-weight: 700; }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ── Blog Page Extra ── */
.bf-excerpt { font-size: 14px; color: #6B7280; line-height: 1.7; margin-bottom: 16px; }
.bf-footer  { display: flex; align-items: center; justify-content: space-between; }
.bf-author  { display: flex; align-items: center; gap: 8px; }
.bf-avatar  { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg,#EA580C,#F97316); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.bf-author-name { font-size: 12px; font-weight: 600; color: #374151; }
.bf-read    { font-size: 11px; color: #9CA3AF; }
.blog-grid  { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.blog-card  { background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; overflow: hidden; transition: all .3s; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }
.bc-thumb   { height: 160px; background: linear-gradient(135deg,#111827,#1F2937); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.bc-body    { padding: 18px; }
.bc-meta    { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bc-cat     { font-size: 10px; font-weight: 700; color: #F97316; text-transform: uppercase; letter-spacing: .06em; }
.bc-date    { font-size: 10px; color: #9CA3AF; }
.bc-title   { font-size: 15px; font-weight: 700; color: #111827; line-height: 1.4; margin-bottom: 8px; }
.bc-excerpt { font-size: 12px; color: #6B7280; line-height: 1.6; margin-bottom: 12px; }
.bc-link    { font-size: 12px; font-weight: 700; color: #F97316; text-decoration: none; }
.bc-link:hover { text-decoration: underline; }
.seo-block  { background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 14px; padding: 20px; margin-bottom: 24px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 32px; }
.page-btn   { width: 36px; height: 36px; border-radius: 8px; border: 1px solid #E5E7EB; background: #fff; font-size: 13px; font-weight: 600; color: #374151; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s; font-family: inherit; }
.page-btn:hover, .page-btn.active { background: #F97316; border-color: #F97316; color: #fff; }
.blog-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget { background: #fff; border: 1px solid #E5E7EB; border-radius: 16px; padding: 20px; }
.sw-title   { font-size: 14px; font-weight: 700; color: #111827; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid #E5E7EB; }
.toc-list   { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.toc-list li a { font-size: 13px; color: #6B7280; text-decoration: none; display: flex; align-items: center; gap: 6px; transition: color .2s; }
.toc-list li a:hover { color: #F97316; }
.sw-cta     { background: linear-gradient(135deg,#EA580C,#F97316); border-radius: 12px; padding: 20px; text-align: center; color: #fff; }
.sw-cta h4  { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.sw-cta p   { font-size: 12px; opacity: .85; margin-bottom: 14px; }
.sw-posts   { display: flex; flex-direction: column; gap: 12px; }
.sw-post    { display: flex; gap: 10px; align-items: flex-start; }
.sw-post-thumb { width: 48px; height: 48px; border-radius: 8px; background: #F9FAFB; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.sw-post-title { font-size: 12px; font-weight: 600; color: #111827; line-height: 1.4; margin-bottom: 3px; }
.sw-post-date  { font-size: 10px; color: #9CA3AF; }

/* ── Blog Detail Extra ── */
.article-content { max-width: 720px; }
.article-thumb   { height: 320px; background: linear-gradient(135deg,#111827,#1F2937); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 80px; margin-bottom: 32px; }
.article-body    { font-size: 16px; color: #374151; line-height: 1.8; }
.article-body h2 { font-family: 'DM Serif Display', Georgia, serif; font-size: 26px; color: #111827; margin: 32px 0 14px; }
.article-body h3 { font-size: 20px; font-weight: 700; color: #111827; margin: 24px 0 10px; }
.article-body p  { margin-bottom: 16px; }
.article-body ul { padding-left: 20px; margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; }
.article-callout { background: #FFF7ED; border-left: 4px solid #F97316; border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 24px 0; font-size: 15px; color: #374151; font-style: italic; }
.article-table   { width: 100%; border-collapse: collapse; margin: 24px 0; }
.article-table th { padding: 10px 14px; background: #F9FAFB; font-size: 13px; font-weight: 700; color: #111827; border: 1px solid #E5E7EB; text-align: left; }
.article-table td { padding: 10px 14px; border: 1px solid #E5E7EB; font-size: 13px; color: #374151; }
.article-tags    { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #E5E7EB; }
.article-tag     { padding: 4px 12px; border-radius: 100px; background: #F9FAFB; border: 1px solid #E5E7EB; font-size: 12px; color: #6B7280; text-decoration: none; transition: all .2s; }
.article-tag:hover { background: #FFF7ED; border-color: rgba(249,115,22,.3); color: #F97316; }
.article-share   { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.share-label     { font-size: 13px; font-weight: 600; color: #374151; }
.share-btn       { width: 36px; height: 36px; border-radius: 8px; background: #F9FAFB; border: 1px solid #E5E7EB; display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: all .2s; text-decoration: none; }
.share-btn:hover { background: #FFF7ED; border-color: rgba(249,115,22,.3); }

/* ── Portfolio Extra ── */
.adm-main       { padding: 16px; flex: 1; }
.adm-kpis       { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 12px; }
.adm-kpi        { background: #161626; border: 1px solid #1E1E30; border-radius: 8px; padding: 10px; }
.adm-kpi-val    { font-size: 18px; font-weight: 700; color: #E8E8F0; margin-bottom: 2px; }
.adm-kpi-lbl    { font-size: 9px; color: #5A5A7A; text-transform: uppercase; letter-spacing: .06em; }
.adm-kpi-chg    { font-size: 10px; color: #10B981; margin-top: 2px; }
.adm-chart-area { background: #161626; border: 1px solid #1E1E30; border-radius: 8px; padding: 12px; margin-bottom: 12px; }
.adm-chart-title { font-size: 11px; color: #BBBBCC; font-weight: 600; margin-bottom: 8px; }
.adm-bars       { display: flex; align-items: flex-end; gap: 4px; height: 60px; }
.adm-bar        { flex: 1; border-radius: 2px 2px 0 0; background: rgba(139,92,246,.4); min-height: 2px; }
.adm-bar.hi     { background: linear-gradient(to top,#9A7A2E,#C9A84C); }
.adm-table-area { background: #161626; border: 1px solid #1E1E30; border-radius: 8px; padding: 12px; }
.adm-table-title { font-size: 11px; color: #BBBBCC; font-weight: 600; margin-bottom: 8px; }
.adm-row        { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid #1E1E30; font-size: 11px; color: #8888AA; }
.adm-row:last-child { border-bottom: none; }
.adm-row.head   { color: #5A5A7A; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.adm-badge      { padding: 2px 8px; border-radius: 100px; font-size: 9px; font-weight: 700; }
.adm-badge.yellow { background: rgba(201,168,76,.15); color: #C9A84C; }
.adm-badge.green  { background: rgba(16,185,129,.15); color: #10B981; }
.adm-badge.red    { background: rgba(239,68,68,.15); color: #EF4444; }
.demo-features  { padding: 80px 0; background: #fff; }
.df-grid        { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.df-card        { background: #F9FAFB; border: 1px solid #E5E7EB; border-radius: 16px; padding: 24px; transition: all .3s; }
.df-card:hover  { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.08); border-color: rgba(249,115,22,.3); }
.df-icon        { font-size: 32px; margin-bottom: 12px; display: block; }
.df-card h3     { font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.df-card p      { font-size: 13px; color: #6B7280; line-height: 1.6; }

/* ── Extra Responsive ── */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid   { grid-template-columns: 1fr 1fr; }
  .why-grid    { grid-template-columns: 1fr; }
  .faq-grid    { grid-template-columns: 1fr; }
  .blog-layout { grid-template-columns: 1fr; }
  .adm-kpis    { grid-template-columns: 1fr 1fr; }
  .df-grid     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid   { grid-template-columns: 1fr 1fr; }
  .blog-grid   { grid-template-columns: 1fr; }
  .adm-kpis    { grid-template-columns: 1fr 1fr; }
  .df-grid     { grid-template-columns: 1fr; }
}