/* ═══════════════════════════════════════════════════════════
   CSI — CodeSecure India
   Design System v2.0
   Theme: Bold Editorial Dark | Fonts: Bricolage Grotesque + Outfit
   Primary: #FF6B2B (Orange Fire) | Bg: #080B12 (Abyss)
═══════════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── CSS VARIABLES ─────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg:          #080B12;
  --bg-2:        #0D1120;
  --bg-card:     #111827;
  --bg-card-2:   #161E30;
  --bg-overlay:  rgba(8,11,18,0.9);

  /* Brand Colors */
  --orange:      #FF6B2B;
  --orange-2:    #FF8A55;
  --orange-glow: rgba(255,107,43,0.15);
  --orange-light:rgba(255,107,43,0.08);
  --indigo:      #6366F1;
  --indigo-glow: rgba(99,102,241,0.15);
  --emerald:     #10B981;
  --amber:       #F59E0B;
  --rose:        #F43F5E;

  /* Text */
  --white:       #FFFFFF;
  --text-1:      #F8FAFC;
  --text-2:      #CBD5E1;
  --text-3:      #64748B;
  --text-4:      #334155;

  /* Borders */
  --border:      rgba(255,255,255,0.06);
  --border-2:    rgba(255,255,255,0.10);
  --border-glow: rgba(255,107,43,0.25);

  /* Typography */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-body:    'Outfit', sans-serif;

  /* Spacing & Radius */
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-2xl:  32px;

  /* Shadows */
  --shadow:      0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg:   0 12px 48px rgba(0,0,0,0.5);
  --shadow-orange: 0 8px 32px rgba(255,107,43,0.3);

  /* Transitions */
  --t: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-2);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--orange); color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--white);
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--white);
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: var(--white);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}
.section-eyebrow::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn-primary-csi {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--t);
  box-shadow: var(--shadow-orange);
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.btn-primary-csi:hover {
  background: var(--orange-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255,107,43,0.45);
}

.btn-outline-csi {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-1) !important;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.72rem 1.75rem;
  border-radius: 50px;
  border: 1.5px solid var(--border-2);
  cursor: pointer;
  transition: var(--t);
  white-space: nowrap;
}
.btn-outline-csi:hover {
  border-color: var(--orange);
  color: var(--orange) !important;
  background: var(--orange-light);
}

.btn-ghost-csi {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0;
  border: none;
  cursor: pointer;
  transition: var(--t);
}
.btn-ghost-csi:hover { gap: 0.7rem; }
.btn-ghost-csi i { transition: transform 0.25s; }
.btn-ghost-csi:hover i { transform: translateX(4px); }

/* Large button */
.btn-primary-csi.lg { padding: 0.9rem 2.25rem; font-size: 1rem; }
.btn-outline-csi.lg { padding: 0.87rem 2.25rem; font-size: 1rem; }

/* ── CARDS ─────────────────────────────────────────────────── */
.csi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--t);
  overflow: hidden;
}
.csi-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ── SECTION SPACING ───────────────────────────────────────── */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-lg { padding: 8rem 0; }

/* ── DIVIDER ───────────────────────────────────────────────── */
.h-divider { height: 1px; background: var(--border); width: 100%; }

/* ════════════════════════════════════════════════════════════
   NAVBAR — Glassmorphism + Mega Menu
════════════════════════════════════════════════════════════ */
.csi-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.csi-navbar {
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: var(--t);
}
.csi-navbar.scrolled {
  background: rgba(8,11,18,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
}

/* Brand */
.csi-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  margin-right: 2.5rem;
  text-decoration: none;
}
.brand-mark {
  width: 38px; height: 38px;
  background: var(--orange);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  transition: var(--t);
  box-shadow: 0 4px 16px rgba(255,107,43,0.4);
}
.csi-brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: -0.3px;
}
.brand-name span { color: var(--orange); }
.brand-tagline {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  list-style: none;
  padding: 0; margin: 0;
  flex: 1;
}
.nav-menu-item { position: relative; }

.nav-menu-link, button.nav-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-2);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--t);
  letter-spacing: 0.1px;
  white-space: nowrap;
}
.nav-menu-link:hover,
.nav-menu-link.active { color: var(--white); background: rgba(255,255,255,0.05); }
.nav-menu-link.active { color: var(--orange) !important; }

.nav-chev { font-size: 0.6rem; transition: transform 0.3s; }
.nav-menu-item.open .nav-chev { transform: rotate(180deg); }

/* Nav Right */
.nav-end {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-call {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-3);
  text-decoration: none;
  transition: var(--t);
}
.nav-call i { color: var(--orange); }
.nav-call:hover { color: var(--white); }

/* ── MEGA PANEL ────────────────────────────────────────────── */
.mega-panel {
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: rgba(10,14,24,0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  z-index: 999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, visibility 0.25s, transform 0.25s ease;
  pointer-events: none;
}
.mega-panel::after {
  content: '';
  position: absolute;
  top: 0; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}
.nav-menu-item.open .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-body {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  gap: 2rem;
}

/* Mega columns */
.mega-intro {
  min-width: 230px;
  max-width: 250px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border);
  padding-right: 2rem;
}

.mega-intro-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.mega-intro-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-bottom: 0.75rem;
}

.mega-intro-body {
  font-size: 0.83rem;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.mega-pill-row { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 1.5rem; }
.mega-pill {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-light);
  border: 1px solid rgba(255,107,43,0.2);
  padding: 0.18rem 0.55rem;
  border-radius: 50px;
  letter-spacing: 0.3px;
}

.mega-view-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--orange);
  transition: var(--t);
}
.mega-view-link:hover { gap: 0.7rem; }

/* Service grid in mega */
.mega-services { flex: 1; }

.mega-grid-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.mega-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.mega-svc-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius);
  transition: var(--t);
  text-decoration: none;
  group: true;
}
.mega-svc-item:hover { background: rgba(255,107,43,0.06); }
.mega-svc-item:hover .msi-name { color: var(--orange); }
.mega-svc-item:hover .msi-arrow { opacity: 1; transform: translateX(0); }

.msi-icon {
  width: 36px; height: 36px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  color: var(--orange);
  flex-shrink: 0;
  transition: var(--t);
}
.mega-svc-item:hover .msi-icon { background: var(--orange-light); border-color: var(--border-glow); transform: scale(1.08); }

.msi-text { flex: 1; min-width: 0; }
.msi-name { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-1); margin-bottom: 0.1rem; transition: var(--t); }
.msi-desc { display: block; font-size: 0.72rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msi-arrow { font-size: 0.7rem; color: var(--orange); opacity: 0; transform: translateX(-6px); transition: var(--t); flex-shrink: 0; }

/* Promo card */
.mega-promo {
  min-width: 210px;
  max-width: 220px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-left: 1px solid var(--border);
  padding-left: 2rem;
}

.mega-promo-card {
  background: linear-gradient(135deg, #111827, #0D1120);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  flex: 1;
  position: relative;
  overflow: hidden;
}
.mega-promo-card::before {
  content: '';
  position: absolute;
  top: -30%; left: -30%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(255,107,43,0.07), transparent 70%);
}

.mpc-icon-wrap {
  width: 44px; height: 44px;
  background: var(--orange-light);
  border: 1px solid rgba(255,107,43,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--orange);
  margin-bottom: 0.9rem;
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,107,43,0.2); }
  50%      { box-shadow: 0 0 0 8px rgba(255,107,43,0); }
}

.mpc-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 0.35rem; }
.mpc-text  { font-size: 0.78rem; color: var(--text-3); line-height: 1.5; margin-bottom: 1rem; }

.mpc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.4rem; }
.mpc-stat {
  text-align: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.2rem;
}
.mpc-stat b { display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 800; color: var(--orange); line-height: 1; }
.mpc-stat small { font-size: 0.6rem; color: var(--text-3); }

.mega-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.6rem;
  border-radius: var(--radius);
  transition: var(--t);
  box-shadow: 0 4px 16px rgba(255,107,43,0.3);
}
.mega-cta-btn:hover { background: var(--orange-2); transform: translateY(-2px); }

/* Products mega */
.mega-product-list { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }

.mega-prod-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  text-decoration: none;
  transition: var(--t);
  position: relative;
  overflow: hidden;
}
.mega-prod-card:hover { border-color: var(--border-glow); transform: translateX(4px); }
.mega-prod-card:hover .mpcard-name { color: var(--orange); }

.mpcard-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: var(--t);
}
.mpcard-icon.blue { background: rgba(99,102,241,0.12); color: var(--indigo); }
.mpcard-icon.amber{ background: rgba(245,158,11,0.12); color: var(--amber); }
.mega-prod-card:hover .mpcard-icon { transform: scale(1.08) rotate(-5deg); }

.mpcard-body { flex: 1; }
.mpcard-name { font-size: 0.92rem; font-weight: 700; color: var(--white); display: block; margin-bottom: 0.2rem; font-family: var(--font-display); transition: var(--t); }
.mpcard-cat  { font-size: 0.68rem; color: var(--orange); background: var(--orange-light); border: 1px solid rgba(255,107,43,0.2); padding: 0.1rem 0.45rem; border-radius: 50px; font-weight: 600; }
.mpcard-desc { font-size: 0.78rem; color: var(--text-3); margin-top: 0.4rem; line-height: 1.5; }
.mpcard-feats { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: 0.5rem; }
.mpcard-feats span { font-size: 0.7rem; color: var(--text-3); display: flex; align-items: center; gap: 0.25rem; }
.mpcard-feats i { color: var(--emerald); }

/* Portfolio cats */
.mega-cat-grid { flex: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.35rem; align-content: start; }

.mega-cat-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  text-decoration: none;
  transition: var(--t);
}
.mega-cat-card:hover { border-color: var(--border-glow); background: var(--orange-light); }
.mega-cat-card:hover .mcat-name { color: var(--orange); }

.mcat-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--t);
}
.mega-cat-card:hover .mcat-icon { transform: scale(1.1); }
.mcat-name { display: block; font-size: 0.83rem; font-weight: 600; color: var(--text-1); transition: var(--t); }
.mcat-desc { display: block; font-size: 0.71rem; color: var(--text-3); }

/* Mega overlay */
.mega-overlay {
  position: fixed;
  inset: 0; top: 70px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.mega-overlay.active { opacity: 1; visibility: visible; }

/* ── HAMBURGER ─────────────────────────────────────────────── */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  transition: var(--t);
  flex-shrink: 0;
}
.hamburger:hover { border-color: var(--orange); background: var(--orange-light); }
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: var(--t);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width:1199px) {
  .nav-menu, .nav-end .nav-call { display: none !important; }
  .hamburger { display: flex; }
}
@media (max-width: 767px) {
  .nav-end { display: none !important; }
}

/* ── MOBILE DRAWER ─────────────────────────────────────────── */
.mob-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 88vw);
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.7);
}
.mob-drawer.open { transform: translateX(0); }

.mob-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mob-close-btn {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--t);
}
.mob-close-btn:hover { background: rgba(244,63,94,0.1); border-color: var(--rose); color: var(--rose); }

.mob-body { flex: 1; overflow-y: auto; padding: 0.5rem 0; }

.mob-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.82rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: var(--t);
}
.mob-link i { width: 20px; color: var(--orange); font-size: 0.9rem; }
.mob-link:hover { background: var(--orange-light); color: var(--white); padding-left: 1.5rem; }

.mob-acc-icon { font-size: 0.65rem; transition: transform 0.3s; margin-left: auto; }
.mob-section.open .mob-acc-icon { transform: rotate(180deg); }

.mob-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  background: rgba(255,107,43,0.03);
  border-left: 2px solid rgba(255,107,43,0.2);
  margin-left: 1.25rem;
  margin-right: 0.75rem;
  border-radius: 0 0 8px 8px;
}
.mob-section.open .mob-acc-body { max-height: 500px; }

.mob-sub-link {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  color: var(--text-3);
  text-decoration: none;
  transition: var(--t);
}
.mob-sub-link i { font-size: 0.8rem; color: var(--orange); }
.mob-sub-link:hover { color: var(--orange); padding-left: 1.1rem; }
.mob-sub-view { font-weight: 700; color: var(--orange); border-top: 1px solid var(--border); margin-top: 0.3rem; padding-top: 0.65rem; }

.mob-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.mob-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: var(--text-3);
  text-decoration: none;
}
.mob-phone i { color: var(--orange); }

.mob-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
  backdrop-filter: blur(3px);
}
.mob-overlay.active { opacity: 1; visibility: visible; }

/* ════════════════════════════════════════════════════════════
   HERO SECTION
════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 50%, rgba(255,107,43,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(99,102,241,0.05) 0%, transparent 55%);
}

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

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  border: 1px solid rgba(255,107,43,0.2);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.2; } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -2.5px;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title .line-2 {
  display: block;
  background: linear-gradient(135deg, var(--orange), #FF9A6C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-3);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-stars { color: var(--amber); font-size: 0.9rem; display: flex; gap: 2px; }
.hero-trust-text { font-size: 0.82rem; color: var(--text-3); }
.hero-trust-text strong { color: var(--text-1); }

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.hero-stat { }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}
.hero-stat-num span { color: var(--orange); }
.hero-stat-label { font-size: 0.78rem; color: var(--text-3); margin-top: 0.25rem; }

/* Hero right - dashboard mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup {
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  width: 100%;
  max-width: 480px;
  animation: float-up-down 5s ease-in-out infinite;
}
@keyframes float-up-down {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.mockup-dots { display: flex; gap: 5px; }
.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #FF5F56; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #27C93F; }
.mockup-title-bar {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-3);
  background: var(--bg-2);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  border: 1px solid var(--border);
}

.mockup-stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.6rem; margin-bottom: 1rem; }
.mockup-stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
}
.msc-label { font-size: 0.65rem; color: var(--text-3); margin-bottom: 0.3rem; display: block; }
.msc-val { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--white); line-height: 1; }
.msc-up { font-size: 0.62rem; color: var(--emerald); margin-top: 0.2rem; display: block; }

.mockup-bar-area {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem;
}
.mba-title { font-size: 0.72rem; font-weight: 600; color: var(--text-3); margin-bottom: 0.75rem; display: flex; justify-content: space-between; }
.mba-bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.mba-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--orange-light);
  border-top: 2px solid var(--orange);
  transition: var(--t);
  animation: bar-grow 1.5s ease-out both;
}
@keyframes bar-grow { from { height: 0 !important; } }
.mba-bar:nth-child(even) { background: var(--indigo-glow); border-color: var(--indigo); }

.mockup-badge {
  position: absolute;
  background: var(--bg-card-2);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.mockup-badge-left { top: 15%; right: -15%; }
.mockup-badge-bottom { bottom: 15%; left: -12%; }

.mb-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.mb-icon.green { background: rgba(16,185,129,0.15); color: var(--emerald); }
.mb-icon.orange{ background: var(--orange-light); color: var(--orange); }
.mb-title { font-size: 0.72rem; font-weight: 700; color: var(--white); display: block; }
.mb-sub   { font-size: 0.65rem; color: var(--text-3); }

/* ════════════════════════════════════════════════════════════
   STATS BAND
════════════════════════════════════════════════════════════ */
.stats-band {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.stats-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-num span { color: var(--orange); }
.stat-label { font-size: 0.8rem; color: var(--text-3); font-weight: 500; }

/* ════════════════════════════════════════════════════════════
   SERVICES SECTION
════════════════════════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--t);
  cursor: pointer;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--indigo));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.service-card:hover { border-color: var(--border-glow); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.service-card:hover::before { transform: scaleX(1); }

.svc-icon-wrap {
  width: 52px; height: 52px;
  background: var(--orange-light);
  border: 1px solid rgba(255,107,43,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 1.25rem;
  transition: var(--t);
}
.service-card:hover .svc-icon-wrap { transform: scale(1.08) rotate(-5deg); background: rgba(255,107,43,0.15); }

.svc-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  transition: var(--t);
}
.service-card:hover .svc-name { color: var(--orange); }

.svc-desc { font-size: 0.83rem; color: var(--text-3); line-height: 1.65; margin-bottom: 1.25rem; }

.svc-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
.svc-features li {
  font-size: 0.78rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.svc-features i { color: var(--emerald); font-size: 0.8rem; }

.svc-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: 1.25rem;
  transition: var(--t);
}
.service-card:hover .svc-arrow { gap: 0.6rem; }

/* ════════════════════════════════════════════════════════════
   WHY US
════════════════════════════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--t);
}
.why-card:hover { border-color: var(--border-glow); background: var(--bg-card-2); }
.why-icon { font-size: 1.5rem; color: var(--orange); margin-bottom: 0.9rem; }
.why-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.why-desc { font-size: 0.82rem; color: var(--text-3); line-height: 1.65; }

/* ════════════════════════════════════════════════════════════
   PORTFOLIO
════════════════════════════════════════════════════════════ */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--t);
  text-decoration: none;
  display: block;
}
.portfolio-card:hover { border-color: var(--border-glow); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }

.portfolio-img-wrap {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-card-2), var(--bg-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-4);
  position: relative;
  overflow: hidden;
}
.portfolio-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-cat-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--orange);
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
}

.portfolio-body { padding: 1.25rem; }
.portfolio-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.3rem; }
.portfolio-client { font-size: 0.78rem; color: var(--text-3); margin-bottom: 0.85rem; }
.portfolio-stack { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.stack-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-3);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
}

/* ════════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════════ */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  height: 100%;
}
.testi-stars { color: var(--amber); font-size: 0.9rem; display: flex; gap: 3px; margin-bottom: 1rem; }
.testi-quote { font-size: 0.9rem; color: var(--text-2); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--indigo));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}
.testi-name { font-weight: 700; color: var(--white); font-size: 0.88rem; display: block; }
.testi-role { font-size: 0.73rem; color: var(--text-3); }

/* ════════════════════════════════════════════════════════════
   BLOG
════════════════════════════════════════════════════════════ */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--t);
  display: block;
  text-decoration: none;
}
.blog-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }

.blog-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-card-2), var(--bg-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--text-4);
  overflow: hidden;
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; }

.blog-body { padding: 1.25rem; }
.blog-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
  display: block;
}
.blog-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); line-height: 1.35; margin-bottom: 0.5rem; transition: var(--t); }
.blog-card:hover .blog-title { color: var(--orange); }
.blog-excerpt { font-size: 0.8rem; color: var(--text-3); line-height: 1.65; margin-bottom: 1rem; }
.blog-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.73rem; color: var(--text-4); }

/* ════════════════════════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #0F1420, #080B12);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 5rem 3rem;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(255,107,43,0.08), transparent 70%);
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
  position: relative;
}
.cta-sub { font-size: 1.05rem; color: var(--text-3); max-width: 500px; margin: 0 auto 2.5rem; position: relative; }
.cta-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; }

/* ════════════════════════════════════════════════════════════
   NEWSLETTER
════════════════════════════════════════════════════════════ */
.newsletter-section {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}
.newsletter-form .form-control {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius) 0 0 var(--radius);
  height: auto;
}
.newsletter-form .form-control:focus {
  background: var(--bg-2);
  border-color: var(--orange);
  box-shadow: none;
  color: var(--white);
}
.newsletter-form .form-control::placeholder { color: var(--text-4); }
.btn-newsletter {
  background: var(--orange);
  color: #fff;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: var(--t);
  white-space: nowrap;
}
.btn-newsletter:hover { background: var(--orange-2); color: #fff; }
.nl-icon { font-size: 1.5rem; color: var(--orange); }

/* ════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.csi-footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding-top: 5rem;
  padding-bottom: 1.5rem;
}
.footer-desc { font-size: 0.85rem; color: var(--text-3); line-height: 1.75; margin-top: 1rem; }
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-4);
  margin-bottom: 1.25rem;
}
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-3);
  transition: var(--t);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-links a::before { content: '→'; font-size: 0.7rem; color: var(--orange); opacity: 0; transition: var(--t); }
.footer-links a:hover { color: var(--white); padding-left: 0.35rem; }
.footer-links a:hover::before { opacity: 1; }

.footer-contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list li { display: flex; gap: 0.75rem; font-size: 0.85rem; color: var(--text-3); }
.footer-contact-list i { color: var(--orange); font-size: 0.9rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact-list a { color: var(--text-3); transition: var(--t); }
.footer-contact-list a:hover { color: var(--orange); }

.social-links { display: flex; gap: 0.5rem; }
.social-link {
  width: 36px; height: 36px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-3);
  transition: var(--t);
}
.social-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }

.footer-divider { border: none; border-top: 1px solid var(--border); margin: 2.5rem 0 1.5rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-copy { font-size: 0.8rem; color: var(--text-4); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.8rem; color: var(--text-4); transition: var(--t); }
.footer-legal a:hover { color: var(--text-2); }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 52px; height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  z-index: 800;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--t);
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; box-shadow: 0 8px 32px rgba(37,211,102,0.5); }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 5rem; right: 1.5rem;
  width: 40px; height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-2);
  z-index: 800;
  cursor: pointer;
  transition: var(--t);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }

/* ── Page top offset ─────────────────────────────────────── */
.page-top-offset { padding-top: 70px; }

/* ════════════════════════════════════════════════════════════
   ADMIN PANEL — Clean Pro Dashboard
════════════════════════════════════════════════════════════ */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #0F1117;
}

/* Sidebar */
.admin-sidebar {
  width: 256px;
  background: #080B12;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 200;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.sidebar-logo {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-4);
  padding: 0.9rem 0.75rem 0.4rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-3);
  text-decoration: none;
  transition: var(--t);
  position: relative;
}
.sidebar-link i { width: 18px; text-align: center; font-size: 0.9rem; transition: var(--t); }
.sidebar-link:hover { background: rgba(255,107,43,0.06); color: var(--text-1); }
.sidebar-link.active { background: var(--orange-light); color: var(--orange); font-weight: 600; }
.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0; top: 25%; bottom: 25%;
  width: 3px;
  background: var(--orange);
  border-radius: 0 3px 3px 0;
}
.sidebar-link .badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--orange);
  color: #fff;
  padding: 0.15rem 0.45rem;
  border-radius: 50px;
}

.sidebar-footer {
  padding: 0.75rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

/* Admin main content */
.admin-main {
  margin-left: 256px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-topbar {
  background: #080B12;
  border-bottom: 1px solid var(--border);
  padding: 0 1.75rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}
.topbar-breadcrumb {
  font-size: 0.78rem;
  color: var(--text-3);
  margin-top: 1px;
}
.topbar-breadcrumb span { color: var(--orange); }

.topbar-actions { display: flex; align-items: center; gap: 0.75rem; }
.topbar-icon-btn {
  width: 36px; height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--text-3);
  transition: var(--t);
  cursor: pointer;
  text-decoration: none;
  position: relative;
}
.topbar-icon-btn:hover { border-color: var(--orange); color: var(--orange); }
.topbar-icon-btn .notif-dot {
  position: absolute;
  top: 6px; right: 6px;
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  border: 1.5px solid var(--bg);
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
}
.topbar-user:hover { border-color: var(--border-2); }
.topbar-avatar {
  width: 28px; height: 28px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.topbar-uname { font-size: 0.82rem; font-weight: 600; color: var(--text-1); }

/* Admin content area */
.admin-content { padding: 2rem 1.75rem; flex: 1; }

/* Stat cards */
.admin-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  transition: var(--t);
  height: 100%;
}
.admin-stat-card:hover { border-color: var(--border-2); transform: translateY(-2px); }

.asc-info {}
.asc-label { font-size: 0.78rem; font-weight: 600; color: var(--text-3); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.asc-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -1px;
}
.asc-change { font-size: 0.75rem; display: flex; align-items: center; gap: 0.3rem; }
.asc-change.up { color: var(--emerald); }
.asc-change.neutral { color: var(--text-3); }

.asc-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.asc-icon.orange { background: var(--orange-light); color: var(--orange); }
.asc-icon.indigo { background: var(--indigo-glow); color: var(--indigo); }
.asc-icon.emerald { background: rgba(16,185,129,0.1); color: var(--emerald); }
.asc-icon.amber { background: rgba(245,158,11,0.1); color: var(--amber); }

/* Admin table */
.admin-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.admin-table-head {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-table-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.admin-table-title small { display: block; font-size: 0.72rem; color: var(--text-3); font-weight: 400; margin-top: 1px; }

.table-csi { width: 100%; border-collapse: collapse; }
.table-csi thead th {
  background: rgba(255,255,255,0.02);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-4);
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table-csi tbody tr { border-bottom: 1px solid var(--border); transition: var(--t); }
.table-csi tbody tr:last-child { border-bottom: none; }
.table-csi tbody tr:hover { background: rgba(255,255,255,0.02); }
.table-csi td { padding: 0.9rem 1.5rem; font-size: 0.85rem; color: var(--text-2); vertical-align: middle; }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  letter-spacing: 0.3px;
}
.status-badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; }
.status-new     { background: rgba(99,102,241,0.12); color: var(--indigo);  } .status-new::before     { background: var(--indigo); }
.status-progress{ background: rgba(245,158,11,0.12); color: var(--amber);   } .status-progress::before{ background: var(--amber); }
.status-done    { background: rgba(16,185,129,0.12); color: var(--emerald); } .status-done::before    { background: var(--emerald); }
.status-closed  { background: rgba(100,116,139,0.12);color: var(--text-4);  } .status-closed::before  { background: var(--text-4); }

/* Admin form */
.admin-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.form-label-csi { font-size: 0.8rem; font-weight: 600; color: var(--text-2); margin-bottom: 0.4rem; display: block; }
.form-control-csi {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.7rem 1rem;
  transition: var(--t);
  outline: none;
}
.form-control-csi:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,43,0.1); }
.form-control-csi::placeholder { color: var(--text-4); }
.form-select-csi {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Admin login page */
.admin-login-page {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.admin-login-page::before {
  content: '';
  position: absolute;
  top: -20%; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 60%;
  background: radial-gradient(ellipse, rgba(255,107,43,0.05), transparent 70%);
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}
.login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

/* ════════════════════════════════════════════════════════════
   UTILITIES
════════════════════════════════════════════════════════════ */
.text-orange { color: var(--orange) !important; }
.text-muted-csi { color: var(--text-3) !important; }
.bg-card-csi { background: var(--bg-card); }

/* AOS defaults */
[data-aos] { opacity: 0; }
[data-aos].aos-animate { opacity: 1; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width:1199px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .stats-band-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-bottom: none; }
  .stat-item:nth-child(4) { border-right: none; border-bottom: none; }
}

@media (max-width:991px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .hero { padding: 6rem 0 4rem; }
  .hero-visual { margin-top: 3rem; }
  .mockup-badge-left, .mockup-badge-bottom { display: none; }
}

@media (max-width:767px) {
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-band-grid { grid-template-columns: repeat(2,1fr); }
  .hero-stats { gap: 1.25rem; }
  .cta-section { padding: 3rem 1.5rem; }
  .section { padding: 4rem 0; }
  .mega-svc-grid { grid-template-columns: 1fr; }
  .mega-cat-grid { grid-template-columns: 1fr; }
}

@media (max-width:575px) {
  .hero-title { letter-spacing: -1.5px; }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .stats-band-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* Page hero */
.page-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.breadcrumb-csi { display: flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; color: var(--text-3); list-style: none; padding: 0; margin: 0; }
.breadcrumb-csi a { color: var(--text-3); transition: var(--t); }
.breadcrumb-csi a:hover { color: var(--orange); }
.breadcrumb-csi li + li::before { content: '/'; margin-right: 0.5rem; color: var(--text-4); }
.breadcrumb-csi .active { color: var(--orange); }

/* Contact form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}
.form-label { font-size: 0.82rem; font-weight: 600; color: var(--text-2); margin-bottom: 0.4rem; }
.form-control, .form-select {
  background: var(--bg-2) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 0.875rem;
  padding: 0.7rem 1rem;
  transition: var(--t);
}
.form-control:focus, .form-select:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(255,107,43,0.1) !important;
  background: var(--bg-2) !important;
}
.form-control::placeholder { color: var(--text-4) !important; }

/* ════════════════════════════════════════════════════════════
   LEGACY / COMPATIBILITY CLASSES (old views still use these)
════════════════════════════════════════════════════════════ */

/* Page Hero (used in inner pages) */
.page-hero {
  padding: 7rem 0 3.5rem;
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 80%;
  background: radial-gradient(ellipse, rgba(255,107,43,0.05), transparent 70%);
}
.page-hero-content { position: relative; }
.page-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-hero-eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
  display: inline-block;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}
.page-hero p { font-size: 1rem; color: var(--text-3); max-width: 600px; }

/* Breadcrumb */
.csi-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 1rem;
  flex-wrap: wrap;
}
.csi-breadcrumb a { color: var(--text-3); transition: var(--t); }
.csi-breadcrumb a:hover { color: var(--orange); }
.csi-breadcrumb .sep { color: var(--text-4); }
.csi-breadcrumb .current { color: var(--orange); }

/* Section spacing */
.section-py   { padding: 5rem 0; }
.section-py-sm{ padding: 3rem 0; }

/* Glass card (used in service-detail, blog-detail sidebars) */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--t);
}
.glass-card:hover { border-color: var(--border-2); }

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}
.fi {
  width: 20px; height: 20px;
  background: rgba(16,185,129,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Tech badge */
.tech-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--text-3);
  border-radius: 50px;
  gap: 0.25rem;
}

/* Service cards (used in services.blade.php - has old class names) */
.service-icon-wrap {
  width: 52px; height: 52px;
  background: var(--orange-light);
  border: 1px solid rgba(255,107,43,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--orange);
  margin-bottom: 1.25rem;
  transition: var(--t);
}
.service-card:hover .service-icon-wrap { transform: scale(1.08) rotate(-5deg); }
.service-card-glow { display: none; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: 1rem;
  transition: var(--t);
}
.service-card:hover .service-link { gap: 0.6rem; }

/* Filter tabs (portfolio page) */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-btn {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-3);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--t);
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Portfolio overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,11,18,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--t);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.portfolio-info { padding: 1.25rem; }
.portfolio-cat { font-size: 0.7rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 0.4rem; }
.portfolio-info h6 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.portfolio-info p { font-size: 0.82rem; color: var(--text-3); margin-bottom: 0.75rem; line-height: 1.6; }
.portfolio-tech-stack { display: flex; flex-wrap: wrap; gap: 0.3rem; }

/* Blog meta badges (old views) */
.blog-cat-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  border: 1px solid rgba(255,107,43,0.2);
  padding: 0.18rem 0.5rem;
  border-radius: 50px;
}
.blog-meta { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; font-size: 0.75rem; color: var(--text-3); margin-bottom: 0.6rem; }
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  transition: var(--t);
}
.blog-card:hover .blog-read-more { gap: 0.6rem; }

/* Contact info items */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  transition: var(--t);
}
.contact-info-item:hover { border-color: var(--border-glow); }
.contact-info-icon {
  width: 40px; height: 40px;
  background: var(--orange-light);
  border: 1px solid rgba(255,107,43,0.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--orange);
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); margin-bottom: 0.25rem; }
.contact-info-value { font-size: 0.9rem; font-weight: 500; color: var(--text-1); }

/* Alert / success */
.alert-success-csi {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  color: var(--emerald);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Buttons legacy */
.btn-csi-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
  box-shadow: var(--shadow-orange);
}
.btn-csi-primary:hover { background: var(--orange-2); transform: translateY(-2px); }

.btn-lg-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
  box-shadow: var(--shadow-orange);
}
.btn-lg-primary:hover { background: var(--orange-2); transform: translateY(-2px); }

.btn-csi-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--amber);
  color: #000 !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
}
.btn-csi-gold:hover { background: #FBBF24; transform: translateY(-2px); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: #fff !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--t);
  text-decoration: none;
}
.btn-whatsapp:hover { background: #1DA851; transform: translateY(-2px); }

/* CTA section */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #0F1420, #080B12);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 5rem 3rem;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 80%;
  background: radial-gradient(ellipse, rgba(255,107,43,0.07), transparent 70%);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1px;
  position: relative;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-3);
  max-width: 520px;
  position: relative;
}

/* mpcard amber category tag */
.mpcard-cat-amber {
  font-size: 0.68rem;
  background: rgba(245,158,11,0.1);
  color: var(--amber);
  border: 1px solid rgba(245,158,11,0.2);
  padding: 0.1rem 0.45rem;
  border-radius: 50px;
  font-weight: 600;
}

/* Bootstrap pagination dark style */
.pagination { --bs-pagination-bg: var(--bg-card); --bs-pagination-border-color: var(--border); --bs-pagination-color: var(--text-2); --bs-pagination-hover-bg: var(--orange-light); --bs-pagination-hover-color: var(--orange); --bs-pagination-hover-border-color: var(--border-glow); --bs-pagination-active-bg: var(--orange); --bs-pagination-active-border-color: var(--orange); --bs-pagination-disabled-bg: var(--bg-card); --bs-pagination-disabled-color: var(--text-4); }
.page-link { font-family: var(--font-body); font-size: 0.85rem; }

/* Products page */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--t);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover { border-color: var(--border-glow); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}
.product-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.5rem;
  display: block;
}
.product-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--white); letter-spacing: -0.5px; margin-bottom: 0.75rem; }
.product-desc { font-size: 0.875rem; color: var(--text-3); line-height: 1.7; flex: 1; margin-bottom: 1.5rem; }
.product-features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.product-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.83rem; color: var(--text-2); }
.product-features i { color: var(--emerald); }

/* About page */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--t);
}
.team-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--indigo));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 auto 1rem;
}
.team-name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.team-role { font-size: 0.8rem; color: var(--orange); font-weight: 600; }

/* Bootstrap invalid feedback in dark */
.invalid-feedback { font-size: 0.78rem; color: var(--rose); }
.is-invalid.form-control, .is-invalid.form-select {
  border-color: var(--rose) !important;
}

/* ═══════════════════════════════════════════════════════════════════
   ADVANCED FEATURES CSS — CRM, AI, Portal, Marketing, Analytics
   ═══════════════════════════════════════════════════════════════════ */

/* Pipeline drag-drop cards */
.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  margin-bottom: .5rem;
  cursor: grab;
  transition: var(--t);
}
.pipeline-card:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,.3); }
.pipeline-card.dragging { opacity: .4; }
.pipeline-col { min-height: 80px; border-radius: var(--radius); transition: background .2s; }
.pipeline-col.dragover { background: var(--orange-light); }

/* AI Chat */
.chat-msg { display: flex; gap: .6rem; align-items: flex-start; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-bubble {
  max-width: 72%;
  padding: .7rem 1rem;
  border-radius: 16px;
  font-size: .875rem;
  line-height: 1.65;
}
.chat-bubble.assistant {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-2);
  border-radius: 4px 16px 16px 16px;
}
.chat-bubble.user {
  background: var(--orange);
  color: #fff;
  border-radius: 16px 4px 16px 16px;
}
.chat-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700;
  flex-shrink: 0;
}
.chat-avatar.ai  { background: linear-gradient(135deg, var(--orange), var(--indigo)); color: #fff; }
.chat-avatar.usr { background: var(--indigo); color: #fff; }
#chatMessages::-webkit-scrollbar { width: 5px; }
#chatMessages::-webkit-scrollbar-track { background: transparent; }
#chatMessages::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 3px; }

/* Stat mini (AI page) */
.stat-mini {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  transition: var(--t);
}
.stat-mini:hover { border-color: var(--border-2); }
.stat-mini-val { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--white); }
.stat-mini-label { font-size: .72rem; color: var(--text-3); margin-top: .2rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* AI Panel tabs */
.ai-panel { display: none; }
.ai-panel.active { display: block; }

/* Client Portal Layout */
.portal-layout { display: flex; min-height: 100vh; background: #080B12; }
.portal-sidebar {
  width: 240px;
  background: #0A0E1A;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
}
.portal-nav { flex: 1; overflow-y: auto; padding: .75rem; }
.portal-nav-link {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem .85rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-3);
  text-decoration: none;
  transition: var(--t);
  margin-bottom: 2px;
}
.portal-nav-link i { width: 16px; text-align: center; font-size: .85rem; }
.portal-nav-link:hover { background: rgba(255,107,43,.06); color: var(--text-1); }
.portal-nav-link.active { background: var(--orange-light); color: var(--orange); font-weight: 600; }
.portal-main { margin-left: 240px; flex: 1; display: flex; flex-direction: column; }
.portal-topbar {
  background: #0A0E1A;
  border-bottom: 1px solid var(--border);
  padding: 0 1.75rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.portal-content { padding: 1.75rem; }

/* Portal status progress bar */
.progress-bar-csi {
  height: 8px;
  background: var(--bg-2);
  border-radius: 50px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--orange), var(--indigo));
  transition: width .6s ease;
}

/* Invoice PDF styles */
.pdf-page { width: 210mm; min-height: 297mm; margin: 0 auto; background: #fff; color: #1a1a2e; font-family: 'Arial', sans-serif; }
.pdf-table { width: 100%; border-collapse: collapse; }
.pdf-table th { background: #1a1a2e; color: #fff; padding: 10px 14px; font-size: 12px; text-align: left; }
.pdf-table td { padding: 9px 14px; font-size: 12px; border-bottom: 1px solid #f0f0f0; }
.pdf-table tr:last-child td { border-bottom: none; }

/* Marketing campaign preview */
.campaign-preview {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-2);
  max-height: 400px;
  overflow-y: auto;
}
.campaign-preview::-webkit-scrollbar { width: 4px; }
.campaign-preview::-webkit-scrollbar-thumb { background: #ccc; border-radius: 2px; }

/* SEO score indicator */
.seo-score {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
}
.seo-score.good    { background: rgba(16,185,129,.15); color: var(--emerald); border: 2px solid var(--emerald); }
.seo-score.warning { background: rgba(245,158,11,.12); color: var(--amber);   border: 2px solid var(--amber); }
.seo-score.bad     { background: rgba(244,63,94,.12);  color: var(--rose);    border: 2px solid var(--rose); }

/* Ticket priority badges */
.priority-low      { background: rgba(16,185,129,.1);  color: var(--emerald); }
.priority-medium   { background: rgba(245,158,11,.1);  color: var(--amber); }
.priority-high     { background: rgba(255,107,43,.1);  color: var(--orange); }
.priority-critical { background: rgba(244,63,94,.1);   color: var(--rose); }
.priority-badge { font-size: .68rem; font-weight: 700; padding: .2rem .55rem; border-radius: 50px; text-transform: uppercase; letter-spacing: .8px; display: inline-flex; align-items: center; gap: .3rem; }

/* Activity timeline */
.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 1.25rem; }
.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: .25rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--orange);
  border: 2px solid var(--bg);
}
.timeline-dot.call     { background: var(--emerald); }
.timeline-dot.email    { background: var(--indigo); }
.timeline-dot.whatsapp { background: #25D366; }
.timeline-dot.note     { background: var(--amber); }
.timeline-dot.stage_change { background: var(--orange); }

/* Follow-up alert badge */
.followup-alert {
  background: rgba(244,63,94,.08);
  border: 1px solid rgba(244,63,94,.2);
  border-radius: var(--radius);
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--rose);
  margin-bottom: .5rem;
}

/* Mobile portal */
@media (max-width: 991px) {
  .portal-sidebar { transform: translateX(-100%); transition: transform .3s; }
  .portal-sidebar.open { transform: translateX(0); }
  .portal-main { margin-left: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   AI/ML SERVICE — Special Card & Spotlight Styles
   ═══════════════════════════════════════════════════════════════ */

/* AI service card — purple accent override */
.service-card-ai {
  border-color: rgba(139, 92, 246, 0.35) !important;
  background: linear-gradient(160deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.06) 100%);
  position: relative;
  overflow: hidden;
}
.service-card-ai::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(139,92,246,.08));
  pointer-events: none;
}
.service-card-ai:hover {
  border-color: rgba(139, 92, 246, 0.65) !important;
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.2);
}

/* AI icon wrap — purple glow */
.svc-icon-ai {
  background: linear-gradient(135deg, rgba(124,58,237,.18), rgba(99,102,241,.12)) !important;
  border: 1px solid rgba(139,92,246,.35) !important;
  color: #A78BFA !important;
}
.svc-icon-ai i { color: #A78BFA !important; }

/* Pulse animation for the "New Service" dot */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .6; transform: scale(1.4); }
}

/* AI Spotlight responsive */
.ai-spotlight .row { position: relative; z-index: 1; }
@media (max-width: 991px) {
  .ai-spotlight { padding: 1.75rem !important; }
  .ai-spotlight [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (max-width: 575px) {
  .ai-spotlight { padding: 1.25rem !important; border-radius: 14px !important; }
}

/* AI/ML page hero section */
.ai-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: 30px;
  padding: .4rem 1.2rem;
  margin-bottom: 1.25rem;
  font-size: .78rem;
  font-weight: 700;
  color: #A78BFA;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Tech stack pill */
.ai-tech-pill {
  display: inline-block;
  background: rgba(139,92,246,.1);
  border: 1px solid rgba(139,92,246,.25);
  color: #C4B5FD;
  font-size: .72rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: 20px;
  margin: .2rem;
}

/* AI capability card */
.ai-cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all .3s;
  height: 100%;
}
.ai-cap-card:hover {
  border-color: rgba(139,92,246,.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(124,58,237,.15);
}
.ai-cap-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(99,102,241,.15));
  border: 1px solid rgba(139,92,246,.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #A78BFA;
}
