/* ========================================
   NEXALYSE TECHNOLOGIES - MAIN STYLESHEET
   ======================================== */

/* ---- CSS Variables ---- */
:root {
  --primary: #0A2540;
  --secondary: #00C2FF;
  --accent: #00E676;
  --primary-rgb: 10, 37, 64;
  --secondary-rgb: 0, 194, 255;
  --accent-rgb: 0, 230, 118;
  --gradient-primary: linear-gradient(135deg, #0A2540 0%, #1a4b8c 100%);
  --gradient-accent: linear-gradient(135deg, #00C2FF 0%, #00E676 100%);
  --font-primary: 'Open Sans', system-ui, sans-serif;
  --font-heading: 'Open Sans', system-ui, sans-serif;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-bs-theme="dark"] {
  --bs-body-bg: #0d1117;
  --bs-body-color: #c9d1d9;
  --card-bg: #161b22;
  --border-color: #30363d;
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: var(--font-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { letter-spacing: -0.03em; font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { letter-spacing: -0.025em; }
h3 { letter-spacing: -0.02em; }
.section-title { letter-spacing: -0.025em; }
.hero-title { letter-spacing: -0.03em; font-weight: 800; }
.brand-logo-text, .loader-logo { font-family: var(--font-heading); letter-spacing: -0.03em; font-weight: 800; }

/* ---- Colors ---- */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-accent { color: var(--accent) !important; }
.bg-accent { background-color: var(--accent) !important; }
.bg-accent-soft { background-color: rgba(0, 230, 118, 0.1) !important; }
.btn-accent { background: var(--accent); color: var(--primary); font-weight: 600; border: none; }
.btn-accent:hover { background: #00d469; color: var(--primary); }

/* ---- Page Loader ---- */
#pageLoader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
#pageLoader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo { font-size: 2rem; font-weight: 800; color: white; font-family: var(--font-heading); }
.loader-bar {
  width: 200px; height: 3px; background: rgba(255,255,255,0.2);
  border-radius: 100px; margin: 16px auto 0;
  overflow: hidden;
}
.loader-bar::after {
  content: ''; display: block; height: 100%;
  background: var(--gradient-accent);
  animation: loaderAnim 1.2s ease-in-out forwards;
}
@keyframes loaderAnim { from { width: 0; } to { width: 100%; } }

/* ---- Navbar ---- */
#mainNavbar {
  background: rgba(10, 37, 64, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
  padding: 12px 0;
}
#mainNavbar.scrolled { background: rgba(10, 37, 64, 0.98) !important; }
.brand-text { font-family: var(--font-heading); font-size: 1.4rem; color: white; }
.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500; padding: 8px 12px !important;
  border-radius: 8px;
  transition: var(--transition);
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
  color: white !important;
  background: rgba(255,255,255,0.1);
}
.dropdown-menu.dropdown-menu-dark {
  background: #0d1f3c !important;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  margin-top: 8px !important;
}
.dropdown-item { border-radius: 6px; padding: 8px 16px; transition: var(--transition); }
.btn-icon {
  width: 38px; height: 38px; padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none; color: white;
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.btn-icon:hover { background: rgba(255,255,255,0.2); color: white; }
.btn-user {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px; color: white; padding: 4px 12px;
  transition: var(--transition);
}
.btn-user:hover { background: rgba(255,255,255,0.2); color: white; }

/* ---- Section Headers ---- */
.section-header { }
.badge-section {
  background: rgba(0, 194, 255, 0.15) !important;
  color: var(--secondary) !important;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 100px;
}
.section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; }
.section-subtitle { font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ---- Hero ---- */
.hero-section {
  background: var(--gradient-primary);
  min-height: 90vh;
  display: flex; align-items: center;
  position: relative;
}
.hero-bg-animation {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 70% 50%, rgba(0,194,255,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 80%, rgba(0,230,118,0.08) 0%, transparent 50%);
}
.hero-title { color: white; }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; }
.hero-stats .stat-item h3 { font-size: 2rem; }
.min-vh-85 { min-height: 85vh; }
.hero-visual { position: relative; height: 500px; }
.hero-card {
  position: absolute; background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--border-radius);
  padding: 10px 16px; color: white;
  box-shadow: var(--shadow-md);
}
.card-float-1 { top: 20%; left: 5%; animation: float 4s ease-in-out infinite; }
.card-float-2 { top: 60%; right: 5%; animation: float 4s ease-in-out infinite reverse; }
.tech-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; padding: 40px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 280px; height: 280px;
}
.tech-node {
  display: flex; align-items: center; justify-content: center;
  width: 64px; height: 64px;
  background: rgba(0, 194, 255, 0.15);
  border-radius: 16px;
  color: var(--secondary);
  font-size: 1.5rem;
  transition: var(--transition);
  animation: pulse 3s ease-in-out infinite;
}
.tech-node:hover { background: rgba(0, 194, 255, 0.3); transform: scale(1.1); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

/* ---- Partners ---- */
.partners-marquee {
  display: flex; align-items: center; gap: 40px;
  overflow: hidden; white-space: nowrap;
}
.partner-item { display: inline-flex; align-items: center; opacity: 0.6; transition: var(--transition); }
.partner-item:hover { opacity: 1; }

/* ---- Services Section (Redesigned) ---- */
.svc-section { background: var(--bs-body-bg); }
.svc-bg-blob {
  position: absolute;
  top: -120px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(0,194,255,0.06) 0%, transparent 68%);
  pointer-events: none;
}
.svc-card-link { display: block; }
.svc-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}
.svc-card-link:hover .svc-card {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,194,255,0.2);
}
.svc-card-link:hover .svc-card::after { transform: scaleX(1); }
.svc-icon-wrap {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, rgba(0,194,255,0.12) 0%, rgba(0,230,118,0.08) 100%);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
  transition: var(--transition);
  flex-shrink: 0;
}
.svc-card-link:hover .svc-icon-wrap {
  background: linear-gradient(135deg, rgba(0,194,255,0.22) 0%, rgba(0,230,118,0.14) 100%);
  transform: scale(1.06);
}
.svc-number {
  font-size: 1.75rem; font-weight: 800;
  color: rgba(0,0,0,0.06);
  letter-spacing: -0.03em;
  font-family: var(--font-heading);
  line-height: 1;
  user-select: none;
}
.svc-title {
  font-size: 1.15rem; font-weight: 700;
  color: var(--bs-body-color);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.svc-card-link:hover .svc-title { color: var(--secondary); }
.svc-desc { font-size: 0.9rem; line-height: 1.65; }
.svc-tags { }
.svc-tag {
  font-size: 0.72rem; font-weight: 600;
  background: rgba(0,194,255,0.08);
  color: var(--secondary);
  border: 1px solid rgba(0,194,255,0.18);
  border-radius: 100px;
  padding: 3px 11px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.svc-tag-more {
  background: rgba(0,0,0,0.04);
  color: var(--bs-secondary-color, #6c757d);
  border-color: rgba(0,0,0,0.08);
}
.svc-cta {
  color: var(--secondary);
  font-size: 0.875rem; font-weight: 600;
}
.svc-cta-label { transition: letter-spacing 0.25s ease; }
.svc-cta-arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(0,194,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition);
}
.svc-card-link:hover .svc-cta-arrow {
  background: var(--secondary);
  color: var(--primary);
  transform: translateX(4px);
}

/* Featured badge on service cards */
.svc-featured-badge {
  position: absolute;
  top: 1rem; right: 1rem;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--gradient-accent);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 100px;
  line-height: 1.6;
}

/* Services category hero */
.svc-cat-hero {
  background: var(--gradient-primary);
  padding-bottom: 0;
}
[data-bs-theme="dark"] .svc-cat-hero { background: linear-gradient(135deg, #06101e 0%, #0d1f3c 100%); }

.svc-cat-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 340px;
  height: 340px;
}
.svc-cat-hero-icon {
  width: 180px;
  height: 180px;
  border-radius: 48px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  color: #fff;
  box-shadow: 0 24px 64px rgba(0,194,255,0.35), 0 0 0 24px rgba(0,194,255,0.08);
}
.svc-cat-count-chip {
  position: absolute;
  bottom: 48px;
  right: 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 8px 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

/* Category header on services page */
.svc-cat-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 1.5rem;
}
[data-bs-theme="dark"] .svc-cat-header { border-color: #30363d; }

/* Dark mode */
[data-bs-theme="dark"] .svc-card {
  background: #161b22 !important;
  border-color: #30363d !important;
}
[data-bs-theme="dark"] .svc-number { color: rgba(255,255,255,0.07); }
[data-bs-theme="dark"] .svc-tag-more {
  background: rgba(255,255,255,0.05);
  color: #8b949e;
  border-color: #30363d;
}

/* ---- Hosting Hero ---- */
.hosting-hero {
  background: var(--gradient-primary);
  padding-bottom: 0;
}
[data-bs-theme="dark"] .hosting-hero { background: linear-gradient(135deg, #06101e 0%, #0d1f3c 100%); }
.hosting-trust-pill {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 7px 16px;
  color: white;
  font-size: 0.85rem; font-weight: 500;
  display: inline-flex; align-items: center;
}
.uptime-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.uptime-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
.uptime-value {
  font-size: 2.6rem; font-weight: 800;
  color: white; letter-spacing: -0.04em; line-height: 1;
}
.uptime-bars {
  display: flex; align-items: flex-end; gap: 3px;
}
.uptime-bar {
  flex: 1; height: 32px;
  background: var(--accent);
  border-radius: 3px; opacity: 0.65;
}
.uptime-bar-dip { height: 14px; background: #f59e0b; opacity: 1; }
.hstat-pill {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex; align-items: center;
}

/* ---- Hosting Plan Cards ---- */
.hplan-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  position: relative;
  display: flex; flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.hplan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.hplan-card-featured {
  background: var(--primary);
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
}
.hplan-card-featured:hover { transform: translateY(-5px); }
.hplan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-accent);
  color: var(--primary); font-weight: 700; font-size: 0.7rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 18px; border-radius: 100px; white-space: nowrap;
}
.hplan-header {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.hplan-card-featured .hplan-header { border-color: rgba(255,255,255,0.1); }
.hplan-category {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--secondary); margin-bottom: 4px;
}
.hplan-name {
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em;
  color: var(--bs-body-color); margin-bottom: 1rem;
}
.hplan-card-featured .hplan-name { color: white; }
.hplan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.hplan-currency { font-size: 1rem; font-weight: 700; color: var(--secondary); }
.hplan-amount {
  font-size: 2.75rem; font-weight: 800;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--bs-body-color);
}
.hplan-card-featured .hplan-amount { color: white; }
.hplan-period { font-size: 0.9rem; color: #6c757d; }
.hplan-card-featured .hplan-period { color: rgba(255,255,255,0.5); }
.hplan-savings {
  display: inline-flex; align-items: center;
  font-size: 0.75rem; font-weight: 600; color: var(--accent);
  background: rgba(0,230,118,0.1); border: 1px solid rgba(0,230,118,0.2);
  border-radius: 6px; padding: 3px 10px; margin-top: 4px;
}
.hplan-specs { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.hplan-specs li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.875rem; color: var(--bs-body-color);
}
.hplan-card-featured .hplan-specs li { border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.85); }
.hplan-specs li:last-child { border-bottom: none; }
.hplan-spec-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  background: rgba(0,194,255,0.1); color: var(--secondary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
}
.hplan-card-featured .hplan-spec-icon { background: rgba(0,194,255,0.18); }
.hplan-spec-icon-green { background: rgba(0,230,118,0.1) !important; color: var(--accent) !important; }
.hplan-card-featured .hplan-spec-icon-green { background: rgba(0,230,118,0.2) !important; }
.hplan-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 13px;
  border-radius: 10px; font-size: 0.9rem; font-weight: 700;
  text-decoration: none; border: none; cursor: pointer;
  transition: var(--transition); margin-top: auto;
}
.hplan-btn-primary { background: var(--gradient-accent); color: var(--primary); }
.hplan-btn-primary:hover { opacity: 0.88; color: var(--primary); }
.hplan-btn-outline { background: transparent; border: 1.5px solid rgba(0,0,0,0.12); color: var(--primary); }
.hplan-btn-outline:hover { background: var(--primary); color: white; border-color: var(--primary); }

[data-bs-theme="dark"] .hplan-card:not(.hplan-card-featured) {
  background: #161b22 !important; border-color: #30363d !important;
}
[data-bs-theme="dark"] .hplan-card:not(.hplan-card-featured) .hplan-name,
[data-bs-theme="dark"] .hplan-card:not(.hplan-card-featured) .hplan-amount { color: #e6edf3; }
[data-bs-theme="dark"] .hplan-card:not(.hplan-card-featured) .hplan-specs li { border-color: #21262d; color: #c9d1d9; }
[data-bs-theme="dark"] .hplan-card:not(.hplan-card-featured) .hplan-header { border-color: #30363d; }
[data-bs-theme="dark"] .hplan-btn-outline { border-color: #30363d; color: #e6edf3; }
[data-bs-theme="dark"] .hplan-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: transparent; }

/* ---- Pricing Cards ---- */
.pricing-card {
  background: var(--bs-body-bg);
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pricing-card-featured {
  border-color: var(--secondary);
  background: var(--primary);
  color: white;
}
.pricing-card-featured .text-muted { color: rgba(255,255,255,0.6) !important; }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-accent);
  color: var(--primary); font-weight: 700; font-size: 0.75rem;
  padding: 4px 16px; border-radius: 100px;
}
.pricing-price .amount { font-size: 3rem; font-weight: 800; }
.pricing-price .currency { font-size: 1.2rem; vertical-align: top; margin-top: 8px; display: inline-block; }
.pricing-features li { padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.05); font-size: 0.9rem; }
.pricing-card-featured .pricing-features li { border-color: rgba(255,255,255,0.1); }

/* ---- AI Section ---- */
.ai-section { background: var(--bs-body-bg); }
.ai-bg-gradient {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 80% 50%, rgba(0,194,255,0.05) 0%, transparent 60%);
}
.ai-feature-icon {
  min-width: 44px; height: 44px;
  background: rgba(0, 194, 255, 0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 1.2rem;
}
.ai-demo-card {
  background: var(--primary);
  border-radius: var(--border-radius-lg);
  padding: 8px; box-shadow: var(--shadow-lg);
}
.ai-chat-demo { background: #0d1f3c; border-radius: 14px; overflow: hidden; }
.chat-demo-header { background: rgba(255,255,255,0.05); padding: 12px 16px; color: white; font-size: 0.875rem; }
.chat-demo-messages { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.demo-msg { padding: 10px 14px; border-radius: 12px; font-size: 0.875rem; color: white; max-width: 85%; }
.demo-msg.bot { background: rgba(0,194,255,0.15); border: 1px solid rgba(0,194,255,0.2); }
.demo-msg.user { background: rgba(255,255,255,0.1); align-self: flex-end; }

/* ---- Shop Hero ---- */
.shop-hero {
  background: var(--gradient-primary);
  padding-bottom: 0;
}
[data-bs-theme="dark"] .shop-hero { background: linear-gradient(135deg, #06101e 0%, #0d1f3c 100%); }

.shop-search-bar .input-group { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.shop-search-icon {
  background: white; border: none; color: #6c757d;
  padding: 0 16px;
}
.shop-search-input {
  border: none; font-size: 0.95rem; padding: 14px 16px;
  background: white; color: #0A2540;
}
.shop-search-input:focus { box-shadow: none; outline: none; background: white; }
.shop-search-input::placeholder { color: #adb5bd; }

.shop-stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
}
.shop-stat-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.shop-stat-icon {
  width: 44px; height: 44px;
  background: rgba(0,194,255,0.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 1.1rem;
  margin-bottom: 12px;
}
.shop-stat-value {
  font-size: 1.4rem; font-weight: 800;
  color: white; letter-spacing: -0.03em; line-height: 1;
  margin-bottom: 4px;
}
.shop-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.3; }

/* ---- Shop Category Cards ---- */
.shop-cat-card { padding: 1.25rem 0.75rem; border-radius: var(--border-radius); transition: var(--transition); }
.shop-cat-card:hover { background: var(--bs-body-bg); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.shop-cat-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(0,194,255,0.12) 0%, rgba(0,230,118,0.08) 100%);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 1.4rem;
  overflow: hidden;
  transition: var(--transition);
}
.shop-cat-card:hover .shop-cat-icon {
  background: linear-gradient(135deg, rgba(0,194,255,0.22) 0%, rgba(0,230,118,0.14) 100%);
  transform: scale(1.06);
}
.shop-cat-name {
  font-size: 0.8rem; font-weight: 600;
  color: var(--bs-body-color); line-height: 1.3;
  transition: color 0.2s;
}
.shop-cat-card:hover .shop-cat-name { color: var(--secondary); }

/* ---- Shop Trust Strip ---- */
.shop-trust-strip { border-top: 1px solid rgba(0,0,0,0.06); border-bottom: 1px solid rgba(0,0,0,0.06); }
[data-bs-theme="dark"] .shop-trust-strip { border-color: #30363d; }

/* ---- Shop Hero Visual ---- */
.shop-hero-visual { max-width: 440px; margin: 0 auto; }
.shop-live-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.shop-live-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}
.shop-activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  padding: 10px 12px;
}
.shop-activity-icon {
  width: 34px; height: 34px;
  background: rgba(0,194,255,0.15);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 0.85rem;
  flex-shrink: 0;
}
.shop-live-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 14px 0 12px;
}

/* ---- Shop Why Section (v1 dark – kept for reference) ---- */
.shop-why-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}
[data-bs-theme="dark"] .shop-why-section { background: linear-gradient(135deg, #06101e 0%, #0d1f3c 100%); }
.shop-why-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: var(--transition);
}
.shop-why-card:hover { background: rgba(255,255,255,0.11); transform: translateY(-4px); }
.shop-why-icon {
  width: 52px; height: 52px;
  background: rgba(0,194,255,0.15);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* ---- Shop Hero Mosaic ---- */
.shop-hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}
.shop-mosaic-tile {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius);
  padding: 1rem 0.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  text-align: center;
}
.shop-mosaic-tile:hover { background: rgba(255,255,255,0.13); transform: translateY(-3px); border-color: rgba(0,194,255,0.35); }
.shop-mosaic-icon {
  width: 38px; height: 38px;
  background: rgba(0,194,255,0.15);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 0.9rem;
  overflow: hidden;
}
.shop-mosaic-name { font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.8); line-height: 1.2; }

/* ---- Shop Stats Bar ---- */
.shop-stats-bar { background: var(--gradient-primary); }
[data-bs-theme="dark"] .shop-stats-bar { background: linear-gradient(135deg, #06101e 0%, #0d1f3c 100%); }
.shop-stat-item { padding: 1.5rem 1rem; border-right: 1px solid rgba(255,255,255,0.08); }
.shop-stat-item-last { border-right: none; }
@media (max-width: 767px) { .shop-stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); } .shop-stat-item-last { border-bottom: none; } }
.shop-stat-num { font-size: 2.2rem; font-weight: 800; color: white; letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px; }
.shop-stat-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.5); font-weight: 500; }

/* ---- Shop Filter Sidebar ---- */
.shop-filter-panel {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-sm);
}
[data-bs-theme="dark"] .shop-filter-panel { border-color: rgba(255,255,255,0.08); }
.shop-filter-header {
  font-weight: 700; font-size: 1rem;
  color: var(--bs-body-color);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 1.25rem;
  display: flex; align-items: center;
}
[data-bs-theme="dark"] .shop-filter-header { border-color: rgba(255,255,255,0.08); }
.shop-filter-group { margin-bottom: 1.5rem; }
.shop-filter-group-title {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--bs-secondary-color);
  margin-bottom: 0.6rem;
}
.shop-filter-item {
  display: flex; align-items: center; gap: 9px;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 0.86rem; font-weight: 500;
  color: var(--bs-body-color);
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
}
.shop-filter-item:hover { background: var(--bs-body-secondary); color: var(--secondary); text-decoration: none; }
.shop-filter-item-all { font-weight: 600; }
.shop-filter-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(0,0,0,0.18); flex-shrink: 0;
  display: inline-block;
}
[data-bs-theme="dark"] .shop-filter-dot { background: rgba(255,255,255,0.22); }
.shop-filter-icon {
  width: 20px; display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 0.82rem; flex-shrink: 0;
}

/* ---- Sidebar Category Mini-Cards (svc-card hover pattern) ---- */
.shop-cat-svc-link { display: block; }
.shop-cat-svc-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--border-radius);
  padding: 0.7rem 0.9rem;
  display: flex; align-items: center; gap: 0.7rem;
  position: relative; overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
[data-bs-theme="dark"] .shop-cat-svc-card { border-color: rgba(255,255,255,0.08); }
.shop-cat-svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.shop-cat-svc-link:hover .shop-cat-svc-card {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,194,255,0.2);
}
.shop-cat-svc-link:hover .shop-cat-svc-card::after { transform: scaleX(1); }
.shop-cat-svc-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, rgba(0,194,255,0.12) 0%, rgba(0,230,118,0.08) 100%);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 0.82rem;
  flex-shrink: 0; overflow: hidden;
  transition: var(--transition);
}
.shop-cat-svc-link:hover .shop-cat-svc-icon {
  background: linear-gradient(135deg, rgba(0,194,255,0.22) 0%, rgba(0,230,118,0.14) 100%);
  transform: scale(1.08);
}
.shop-cat-svc-name {
  flex-grow: 1;
  font-size: 0.84rem; font-weight: 600;
  color: var(--bs-body-color);
  transition: color 0.2s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shop-cat-svc-link:hover .shop-cat-svc-name { color: var(--secondary); }
.shop-cat-svc-arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(0,194,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: var(--secondary);
  flex-shrink: 0;
  transition: var(--transition);
}
.shop-cat-svc-link:hover .shop-cat-svc-arrow {
  background: var(--secondary); color: var(--primary);
  transform: translateX(3px);
}

/* ---- Category Gradient Tiles (v3) ---- */
.shop-cat-card-new {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 200px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.shop-cat-card-new:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.18); }
.shop-cat-tile:nth-child(6n+1) .shop-cat-card-new { background: linear-gradient(135deg, #0A2540 0%, #0d3a6e 100%); }
.shop-cat-tile:nth-child(6n+2) .shop-cat-card-new { background: linear-gradient(135deg, #064e3b 0%, #059669 100%); }
.shop-cat-tile:nth-child(6n+3) .shop-cat-card-new { background: linear-gradient(135deg, #312e81 0%, #4f46e5 100%); }
.shop-cat-tile:nth-child(6n+4) .shop-cat-card-new { background: linear-gradient(135deg, #7c2d12 0%, #c2410c 100%); }
.shop-cat-tile:nth-child(6n+5) .shop-cat-card-new { background: linear-gradient(135deg, #0c4a6e 0%, #0284c7 100%); }
.shop-cat-tile:nth-child(6n+6) .shop-cat-card-new { background: linear-gradient(135deg, #4a1d96 0%, #7c3aed 100%); }
.shop-cat-card-inner {
  height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem; text-align: center;
}
.shop-cat-card-icon {
  width: 62px; height: 62px;
  background: rgba(255,255,255,0.15);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.55rem;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: transform 0.25s ease, background 0.25s ease;
}
.shop-cat-card-new:hover .shop-cat-card-icon { background: rgba(255,255,255,0.25); transform: scale(1.1); }
.shop-cat-card-name { font-weight: 700; color: white; font-size: 0.93rem; margin-bottom: 0.4rem; line-height: 1.25; }
.shop-cat-card-cta { font-size: 0.76rem; color: rgba(255,255,255,0.6); font-weight: 500; transition: color 0.2s; }
.shop-cat-card-new:hover .shop-cat-card-cta { color: white; }

/* ---- Horizontal Category Cards ---- */
.shop-hcat-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--border-radius-lg);
  padding: 1.1rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.shop-hcat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(0,194,255,0.3); text-decoration: none; }
.shop-hcat-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(0,194,255,0.12) 0%, rgba(0,230,118,0.08) 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
  transition: var(--transition);
}
.shop-hcat-card:hover .shop-hcat-icon { background: linear-gradient(135deg, rgba(0,194,255,0.22) 0%, rgba(0,230,118,0.14) 100%); }
.shop-hcat-name { font-weight: 700; font-size: 0.93rem; color: var(--bs-body-color); margin-bottom: 0.15rem; line-height: 1.2; }
.shop-hcat-desc { font-size: 0.79rem; color: var(--bs-secondary-color); margin: 0; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-hcat-arrow {
  width: 30px; height: 30px;
  background: rgba(0,194,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 0.72rem;
  flex-shrink: 0;
  margin-left: auto;
  transition: var(--transition);
}
.shop-hcat-card:hover .shop-hcat-arrow { background: var(--secondary); color: white; }
[data-bs-theme="dark"] .shop-hcat-card { border-color: rgba(255,255,255,0.07); background: rgba(255,255,255,0.03); }
[data-bs-theme="dark"] .shop-hcat-card:hover { border-color: rgba(0,194,255,0.3); }

/* ---- Shop Confidence Tiles ---- */
.shop-conf-tile {
  background: var(--bs-body-bg);
  border-radius: var(--border-radius);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.07);
  position: relative; overflow: hidden;
  transition: var(--transition);
  cursor: default;
}
.shop-conf-tile::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,194,255,0.06) 0%, rgba(0,230,118,0.04) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.shop-conf-tile::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.shop-conf-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,194,255,0.2);
}
.shop-conf-tile:hover::before { opacity: 1; }
.shop-conf-tile:hover::after { transform: scaleX(1); }
.shop-conf-tile:hover .shop-conf-num {
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-bs-theme="dark"] .shop-conf-tile { background: #161b22; border-color: rgba(255,255,255,0.08); }
.shop-conf-num {
  font-size: 2.2rem; font-weight: 800; color: var(--primary);
  letter-spacing: -0.04em; line-height: 1; margin-bottom: 4px;
  transition: var(--transition);
}
[data-bs-theme="dark"] .shop-conf-num { color: white; }
.shop-conf-unit { font-size: 1rem; font-weight: 600; }
.shop-conf-lbl { font-size: 0.78rem; color: var(--bs-secondary-color); font-weight: 500; }

/* ---- Shop Feature Rows ---- */
.shop-feature-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
}
.shop-feature-row::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  width: 3px; height: 0;
  background: var(--gradient-accent);
  transform: translateY(-50%);
  border-radius: 0 2px 2px 0;
  transition: height 0.3s ease;
}
.shop-feature-row:hover {
  background: var(--bs-body-bg);
  border-color: rgba(0,194,255,0.15);
  transform: translateX(5px);
  box-shadow: var(--shadow-sm);
}
.shop-feature-row:hover::before { height: 55%; }
.shop-feature-row:hover h5 { color: var(--secondary); }
.shop-feature-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(0,194,255,0.12) 0%, rgba(0,230,118,0.08) 100%);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 1.05rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.shop-feature-row:hover .shop-feature-icon {
  background: linear-gradient(135deg, rgba(0,194,255,0.22) 0%, rgba(0,230,118,0.14) 100%);
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 4px 16px rgba(0,194,255,0.2);
}
.shop-feature-row h5 { transition: color 0.2s ease; }

/* ---- Product Cards ---- */
/* ---- Product Detail Cards ---- */
.product-detail-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.product-detail-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}
.product-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,194,255,0.2);
}
.product-detail-card:hover::after { transform: scaleX(1); }
.product-detail-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.product-detail-amount { font-size: 2rem; font-weight: 800; color: var(--primary); letter-spacing: -0.03em; line-height: 1; }
.product-tabs-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: var(--transition);
}
.product-tabs-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}
.product-tabs-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,194,255,0.2);
}
.product-tabs-card:hover::after { transform: scaleX(1); }
.product-desc-body { line-height: 1.8; color: var(--bs-body-color); }
[data-bs-theme="dark"] .product-detail-card,
[data-bs-theme="dark"] .product-tabs-card { border-color: rgba(0,194,255,0.15); }
@media (max-width: 767px) {
  .product-detail-card { padding: 1.25rem; }
  .product-tabs-card { padding: 1.25rem; }
}

/* ---- Product Listing Cards ---- */
.product-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.product-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,194,255,0.2);
}
.product-card:hover::after { transform: scaleX(1); }
.product-image { position: relative; overflow: hidden; aspect-ratio: 1; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-overlay {
  position: absolute; inset: 0;
  background: rgba(10,37,64,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }
.product-badge { position: absolute; top: 10px; left: 10px; z-index: 1; padding: 4px 10px; border-radius: 6px; font-size: 0.75rem; font-weight: 600; }

/* ---- Testimonial Cards ---- */
.testimonial-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-avatar {
  width: 48px; height: 48px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--primary); font-size: 1.2rem;
}

/* ---- About Page ---- */
.about-hero {
  background: var(--gradient-primary);
  padding-bottom: 0;
}
[data-bs-theme="dark"] .about-hero { background: linear-gradient(135deg, #06101e 0%, #0d1f3c 100%); }

/* About hero carousel */
.about-carousel { position: relative; user-select: none; }

.about-carousel-track {
  position: relative;
  height: 360px;
}

.ac-slide {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.ac-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.ac-slide-inner {
  padding: 2.5rem 2.5rem 2rem;
}

.ac-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1.75rem;
  box-shadow: 0 8px 28px rgba(0,194,255,0.35);
}

.ac-stat {
  font-size: 3.75rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.ac-suffix {
  font-size: 2.25rem;
  color: var(--accent);
}

.ac-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}

.ac-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  margin: 0;
  max-width: 340px;
}

/* Service name inside carousel slide */
.ac-svc-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

/* Feature tag inside carousel slide */
.ac-svc-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}

/* Bottom progress bar */
.ac-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
}
.ac-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-accent);
  border-radius: 0 2px 2px 0;
}
.ac-slide.active .ac-progress-fill {
  animation: acProgressFill 4.5s linear forwards;
}
@keyframes acProgressFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* Dot navigation */
.ac-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1.25rem;
  padding-left: 0.25rem;
}
.ac-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.35s ease, background 0.35s ease, border-radius 0.35s ease;
  flex-shrink: 0;
}
.ac-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--accent);
}
.ac-dot:hover:not(.active) { background: rgba(255,255,255,0.5); }

/* Foundation section — light bg to avoid clash with dark hero */
.about-foundation {
  background: var(--bs-body-secondary, #f8f9fa);
}
[data-bs-theme="dark"] .about-foundation { background: #111827; }
.about-foundation-blob { display: none; }

.fd-intro { color: var(--bs-secondary-color); font-size: 0.95rem; line-height: 1.7; }

/* Pillar chips (left column) */
.fd-pillar-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border: 1.5px solid var(--bs-border-color);
  border-radius: 10px;
  color: var(--bs-secondary-color);
  background: var(--bs-body-bg);
  font-size: 0.875rem; font-weight: 600;
  width: fit-content;
  letter-spacing: 0.01em;
  transition: var(--transition);
}
.fd-pillar-chip:hover {
  border-color: var(--secondary);
  color: var(--primary);
}
.fd-chip-active {
  background: rgba(0,194,255,0.07);
  border-color: var(--secondary);
  color: var(--primary);
}
.fd-chip-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
  background: var(--bs-border-color);
}
.fd-chip-active .fd-chip-dot { background: var(--secondary); }

/* Pillar items (right column) */
.fd-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem 2rem;
  border-radius: var(--border-radius-lg);
  border: 1.5px solid var(--bs-border-color);
  background: var(--bs-body-bg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.fd-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gradient-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 3px 0 0 3px;
}
.fd-item:hover { border-color: var(--secondary); transform: translateX(4px); box-shadow: var(--shadow-md); }
.fd-item:hover::before { transform: scaleY(1); }
.fd-num {
  font-size: 2.75rem; font-weight: 900;
  color: rgba(0,0,0,0.05);
  letter-spacing: -0.05em; line-height: 1;
  flex-shrink: 0; width: 3rem;
  user-select: none;
  align-self: center;
}
[data-bs-theme="dark"] .fd-num { color: rgba(255,255,255,0.05); }
.fd-icon-circle {
  width: 52px; height: 52px; flex-shrink: 0;
  background: rgba(0,194,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); font-size: 1.2rem;
  transition: var(--transition);
}
.fd-item:hover .fd-icon-circle { background: rgba(0,194,255,0.18); transform: scale(1.08); }
.fd-content { flex: 1; min-width: 0; }
.fd-title {
  font-size: 1.1rem; font-weight: 700;
  color: var(--bs-body-color); letter-spacing: -0.01em; margin-bottom: 8px;
}
.fd-subtitle { color: var(--secondary); font-size: 0.8rem; font-weight: 600; margin-bottom: 6px; }
.fd-body { color: var(--bs-secondary-color); font-size: 0.9rem; line-height: 1.7; }

/* Timeline */
.about-timeline { position: relative; padding: 0 0 10px; }
.about-timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, transparent, rgba(0,194,255,0.5), transparent);
  transform: translateX(-50%);
}
.tl-item {
  position: relative;
  width: 50%;
  padding-bottom: 2rem;
}
.tl-left { left: 0; padding-right: 3rem; text-align: right; }
.tl-right { left: 50%; padding-left: 3rem; text-align: left; }
.tl-dot {
  position: absolute;
  top: 14px;
  width: 14px; height: 14px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0,194,255,0.2), 0 0 12px rgba(0,194,255,0.4);
}
.tl-left .tl-dot  { right: -7px; }
.tl-right .tl-dot { left: -7px; }
.tl-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--border-radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.tl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tl-year {
  display: block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--secondary); margin-bottom: 6px;
}
.tl-title { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.tl-desc { font-size: 0.875rem; line-height: 1.6; }

[data-bs-theme="dark"] .tl-card { background: #161b22 !important; border-color: #30363d !important; }

@media (max-width: 768px) {
  .about-timeline::before { left: 10px; }
  .tl-item { width: 100%; left: 0 !important; padding-right: 0 !important; padding-left: 2.5rem !important; text-align: left !important; }
  .tl-left .tl-dot, .tl-right .tl-dot { left: 3px !important; right: auto !important; }
}

/* Certifications */
.cert-card { padding: 1rem; border-radius: var(--border-radius); transition: var(--transition); }
.cert-card:hover { background: var(--bs-body-secondary-bg, #f8f9fa); transform: translateY(-3px); }
.cert-logo-wrap {
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  filter: grayscale(100%); opacity: .55;
  transition: .25s;
}
.cert-card:hover .cert-logo-wrap { filter: none; opacity: 1; }
.cert-logo-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cert-pill {
  background: rgba(0,194,255,0.1);
  color: var(--secondary);
  border: 1px solid rgba(0,194,255,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem; font-weight: 600;
  display: inline-block;
}
.cert-label { font-size: 0.78rem; font-weight: 600; color: var(--bs-body-color); margin-top: 8px; }
.cert-issuer { font-size: 0.72rem; color: #6c757d; }

/* ---- Blog Cards ---- */
.blog-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-image { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.blog-card:hover .blog-image img { transform: scale(1.04); }
.blog-category { position: absolute; top: 12px; left: 12px; background: var(--secondary) !important; color: var(--primary) !important; font-weight: 600; }

/* ---- Home Services v3 — Left Panel + Right 2-col Grid ---- */
.home-svc3 { background: var(--bs-body-bg); }
.home-svc3-panel {
  position: sticky; top: 100px;
  padding-left: 1.5rem;
  border-left: 3px solid transparent;
  border-image: var(--gradient-accent) 1;
}
.home-svc3-panel-stats {
  display: flex; flex-direction: column; gap: 1rem;
}
.home-svc3-stat {
  display: flex; align-items: baseline; gap: 0.5rem;
}
.home-svc3-stat-val {
  font-size: 1.75rem; font-weight: 800;
  background: var(--gradient-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -0.04em; line-height: 1;
}
.home-svc3-stat-lbl {
  font-size: 0.82rem; color: var(--bs-secondary-color, #6c757d); font-weight: 500;
}
.home-svc3-link { display: flex; }
.home-svc3-card {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.home-svc3-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
}
.home-svc3-link:hover .home-svc3-card {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,194,255,0.2);
}
.home-svc3-link:hover .home-svc3-card::after { transform: scaleX(1); }
.home-svc3-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0,194,255,0.12) 0%, rgba(0,230,118,0.08) 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--secondary);
  transition: var(--transition);
}
.home-svc3-link:hover .home-svc3-icon {
  background: linear-gradient(135deg, rgba(0,194,255,0.22) 0%, rgba(0,230,118,0.14) 100%);
  transform: scale(1.07);
}
.home-svc3-num {
  font-size: 1.5rem; font-weight: 900;
  color: rgba(0,0,0,0.05); letter-spacing: -0.03em;
  line-height: 1; user-select: none; font-family: var(--font-heading);
}
.home-svc3-title {
  font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.home-svc3-link:hover .home-svc3-title { color: var(--secondary); }
.home-svc3-desc {
  font-size: 0.85rem; line-height: 1.65;
  color: var(--bs-secondary-color, #6c757d);
  flex: 1; margin-bottom: 0.75rem;
}
.home-svc3-tag {
  font-size: 0.7rem; font-weight: 600;
  background: rgba(0,194,255,0.08); color: var(--secondary);
  border: 1px solid rgba(0,194,255,0.18);
  border-radius: 100px; padding: 2px 10px; white-space: nowrap;
}
.home-svc3-tag-more {
  background: rgba(0,0,0,0.04);
  color: var(--bs-secondary-color, #6c757d);
  border-color: rgba(0,0,0,0.08);
}
.home-svc3-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem; margin-top: auto;
  border-top: 1px solid rgba(0,0,0,0.06);
  color: var(--secondary); font-size: 0.82rem; font-weight: 600;
}
.home-svc3-cta i { transition: transform 0.25s ease; }
.home-svc3-link:hover .home-svc3-cta i { transform: translateX(5px); }
[data-bs-theme="dark"] .home-svc3-card { background: #161b22; border-color: #30363d; }
[data-bs-theme="dark"] .home-svc3-num { color: rgba(255,255,255,0.05); }
[data-bs-theme="dark"] .home-svc3-cta { border-top-color: rgba(255,255,255,0.07); }

/* ---- CTA Section ---- */
.cta-card {
  background: var(--gradient-primary);
  border-radius: var(--border-radius-lg);
  padding: 4rem 2rem;
  position: relative; overflow: hidden;
}
.cta-title { color: white; }
.cta-card::before {
  content: ''; position: absolute;
  top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,194,255,0.15), transparent 60%);
  pointer-events: none;
}

/* ---- Plan CTA (split panel) ---- */
.plan-cta-wrap {
  border-radius: 28px;
  overflow: hidden;
  background: var(--gradient-primary);
  position: relative;
  box-shadow: 0 32px 80px rgba(10,37,64,0.3);
}

.plan-cta-left {
  padding: 4rem;
  position: relative;
}
.plan-cta-blob {
  position: absolute;
  top: -60px; left: -60px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(0,194,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.plan-cta-title {
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.plan-cta-sub {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 460px;
}

/* Contact channel rows */
.plan-cta-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.plan-cta-channel:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(0,194,255,0.35);
  transform: translateX(4px);
}
.plan-cta-channel-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(0,194,255,0.3);
}
.plan-cta-channel-body { flex: 1; min-width: 0; }
.plan-cta-channel-title {
  font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 2px;
}
.plan-cta-channel-sub {
  font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.4;
}
.plan-cta-channel-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.plan-cta-channel:hover .plan-cta-channel-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* Right trust panel */
.plan-cta-right {
  padding: 4rem 3rem;
  background: rgba(0,0,0,0.18);
  border-left: 1px solid rgba(255,255,255,0.07);
}
.plan-cta-trust {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.plan-cta-trust-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(0,194,255,0.12);
  border: 1px solid rgba(0,194,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--secondary);
  flex-shrink: 0;
}

/* ---- Footer ---- */
.footer-main { background: #060e1a; }
.footer-top { border-bottom: 1px solid rgba(255,255,255,0.06); }
.footer-title { font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--secondary); }
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); text-decoration: none;
  transition: var(--transition);
}
.social-icon:hover { background: var(--secondary); color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); }

/* ---- AI Chat Widget ---- */
.ai-chat-widget { position: fixed; bottom: 24px; right: 24px; z-index: 1050; pointer-events: none; }
.ai-chat-widget > * { pointer-events: auto; }
.chat-toggle {
  width: 56px; height: 56px;
  background: var(--gradient-accent);
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,230,118,0.4);
  transition: var(--transition);
  position: relative;
}
.chat-toggle:hover { transform: scale(1.1); }
.chat-badge {
  position: absolute; top: -4px; right: -4px;
  background: #ff4444; color: white;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: 0.7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.chat-window {
  position: absolute; bottom: 70px; right: 0;
  width: 360px; height: 480px;
  background: #0d1f3c;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.chat-header {
  background: rgba(255,255,255,0.05);
  padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.chat-avatar {
  width: 36px; height: 36px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem;
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
  background: #091629;
}
.message { max-width: 85%; }
.bot-message { align-self: flex-start; }
.user-message { align-self: flex-end; }
.message-content {
  padding: 10px 14px; border-radius: 12px;
  font-size: 0.875rem; color: white;
}
.bot-message .message-content { background: rgba(0,194,255,0.15); border: 1px solid rgba(0,194,255,0.2); }
.user-message .message-content { background: rgba(255,255,255,0.15); }
.typing-indicator .message-content { display: flex; gap: 4px; align-items: center; }
.typing-indicator span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--secondary); opacity: 0.6;
  animation: typing 1.4s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.chat-quick-replies { padding: 8px 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.quick-reply {
  background: rgba(0,194,255,0.1); border: 1px solid rgba(0,194,255,0.2);
  color: var(--secondary); border-radius: 100px; padding: 4px 12px; font-size: 0.8rem;
  cursor: pointer; transition: var(--transition);
}
.quick-reply:hover { background: rgba(0,194,255,0.2); }
.chat-input { padding: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.chat-input .form-control {
  background: rgba(255,255,255,0.08) !important; border: 1px solid rgba(255,255,255,0.15) !important;
  color: white !important; border-radius: 100px 0 0 100px !important;
}
.chat-input .form-control::placeholder { color: rgba(255,255,255,0.4); }
.chat-input .btn-accent { border-radius: 0 100px 100px 0 !important; }

/* ---- Back to Top ---- */
.btn-back-top {
  position: fixed; bottom: 90px; right: 24px; z-index: 1040;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: white; border: 2px solid rgba(255,255,255,0.2);
  display: none; align-items: center; justify-content: center;
  transition: var(--transition); cursor: pointer;
}
.btn-back-top:hover { background: var(--secondary); color: var(--primary); }
.btn-back-top.show { display: flex; }

/* ---- Dashboard ---- */
.dashboard-layout { display: flex; min-height: 100vh; }
.dashboard-sidebar {
  width: 260px; background: var(--primary); color: white;
  flex-shrink: 0; position: sticky; top: 72px; height: calc(100vh - 72px);
  overflow-y: auto; transition: var(--transition);
}
.dashboard-content { flex: 1; padding: 24px; min-width: 0; }
.dashboard-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; color: rgba(255,255,255,0.7);
  text-decoration: none; transition: var(--transition);
  border-radius: 0;
}
.dashboard-nav-link:hover, .dashboard-nav-link.active {
  color: white; background: rgba(255,255,255,0.1);
  border-left: 3px solid var(--secondary);
}
.stat-widget {
  background: var(--bs-body-bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.stat-widget:hover { box-shadow: var(--shadow-md); }
.stat-widget-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

/* ---- Utility ---- */
.text-primary { color: var(--primary) !important; }
[data-bs-theme="dark"] .text-primary { color: var(--secondary) !important; }
.rounded-xl { border-radius: var(--border-radius-lg) !important; }
.rounded-lg { border-radius: var(--border-radius) !important; }
.py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .chat-window { width: 320px; }
  .dashboard-sidebar { display: none; }
  .pricing-price .amount { font-size: 2.5rem; }
}

@media (max-width: 576px) {
  .hero-stats { gap: 16px !important; }
  .hero-actions { flex-direction: column !important; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* ---- Dark Mode ---- */
[data-bs-theme="dark"] .service-card,
[data-bs-theme="dark"] .product-card,
[data-bs-theme="dark"] .testimonial-card,
[data-bs-theme="dark"] .blog-card,
[data-bs-theme="dark"] .pricing-card:not(.pricing-card-featured),
[data-bs-theme="dark"] .stat-widget {
  background: #161b22 !important;
  border-color: #30363d !important;
}

[data-bs-theme="dark"] #mainNavbar { background: rgba(13, 17, 23, 0.98) !important; }
[data-bs-theme="dark"] .hero-section { background: linear-gradient(135deg, #06101e 0%, #0d1f3c 100%); }

/* ---- Print ---- */
@media print {
  #mainNavbar, .ai-chat-widget, .btn-back-top, footer { display: none !important; }
  body { color: black !important; }
}

/* ════════════════════════════════════════
   SCROLL PROGRESS BAR
════════════════════════════════════════ */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, #00C2FF 0%, #00E676 50%, #00C2FF 100%);
  background-size: 200% 100%;
  z-index: 100000;
  transition: width 0.05s linear;
  animation: progressShimmer 2s linear infinite;
}
@keyframes progressShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ════════════════════════════════════════
   CART DRAWER
════════════════════════════════════════ */
#cartDrawerOverlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 10000; opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}
#cartDrawerOverlay.active { opacity: 1; visibility: visible; }

#cartDrawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 400px; max-width: 95vw;
  background: #fff; z-index: 10001;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.18);
}
#cartDrawer.active { transform: translateX(0); }
[data-bs-theme="dark"] #cartDrawer { background: #161b22; }

.cd-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid #f0f2f5;
  flex-shrink: 0;
}
[data-bs-theme="dark"] .cd-header { border-color: #30363d; }
.cd-title {
  font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700;
  color: #0A2540; display: flex; align-items: center; gap: 6px;
}
[data-bs-theme="dark"] .cd-title { color: #e6edf3; }
.cd-count {
  background: #00C2FF; color: #0A2540; font-size: 0.7rem; font-weight: 700;
  border-radius: 50px; padding: 1px 8px; font-family: 'Plus Jakarta Sans', sans-serif;
}
.cd-close {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e2e8f0;
  background: transparent; color: #64748b; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.cd-close:hover { background: #f1f5f9; color: #0A2540; }
[data-bs-theme="dark"] .cd-close { border-color: #30363d; color: #8b949e; }

.cd-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cd-loading { display: flex; align-items: center; justify-content: center; padding: 48px 0; color: #00C2FF; font-size: 1.5rem; }
.cd-empty { text-align: center; padding: 48px 0; }
.cd-empty-icon {
  width: 72px; height: 72px; border-radius: 50%; background: #f8fafc;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #94a3b8; margin: 0 auto 16px;
}
.cd-empty-text { color: #64748b; font-size: 0.9rem; margin-bottom: 16px; }
.cd-shop-link {
  display: inline-block; background: #0A2540; color: #fff;
  padding: 8px 20px; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: background 0.15s;
}
.cd-shop-link:hover { background: #1a4b8c; color: #fff; }

.cd-item {
  display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f2f5;
  align-items: center;
}
[data-bs-theme="dark"] .cd-item { border-color: #21262d; }
.cd-item:last-child { border-bottom: none; }
.cd-item-img {
  width: 64px; height: 64px; border-radius: 10px; object-fit: cover;
  background: #f8fafc; flex-shrink: 0;
}
.cd-item-img-placeholder {
  width: 64px; height: 64px; border-radius: 10px; background: #f1f5f9;
  display: flex; align-items: center; justify-content: center;
  color: #94a3b8; font-size: 1.2rem; flex-shrink: 0;
}
.cd-item-info { flex: 1; min-width: 0; }
.cd-item-name {
  font-size: 0.87rem; font-weight: 600; color: #1a2940;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-decoration: none; display: block;
}
[data-bs-theme="dark"] .cd-item-name { color: #e6edf3; }
.cd-item-name:hover { color: #00C2FF; }
.cd-item-qty { font-size: 0.78rem; color: #94a3b8; margin-top: 3px; }
.cd-item-price { font-size: 0.9rem; font-weight: 700; color: #0A2540; white-space: nowrap; }
[data-bs-theme="dark"] .cd-item-price { color: #e6edf3; }
.cd-remove {
  background: none; border: none; color: #94a3b8; cursor: pointer;
  padding: 4px; font-size: 0.78rem; transition: color 0.15s;
}
.cd-remove:hover { color: #ef4444; }

.cd-footer {
  padding: 16px 24px; border-top: 1px solid #f0f2f5; flex-shrink: 0;
}
[data-bs-theme="dark"] .cd-footer { border-color: #30363d; }
.cd-total-row {
  display: flex; justify-content: space-between; margin-bottom: 14px;
  font-size: 0.9rem; font-weight: 600; color: #0A2540;
}
[data-bs-theme="dark"] .cd-total-row { color: #e6edf3; }
.cd-total-amt { font-size: 1.05rem; font-weight: 800; color: #1a4b8c; }
[data-bs-theme="dark"] .cd-total-amt { color: #00C2FF; }
.cd-btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 12px; border-radius: 10px;
  font-size: 0.88rem; font-weight: 700; text-decoration: none;
  margin-bottom: 8px; border: none; cursor: pointer; transition: all 0.18s;
}
.cd-btn:last-child { margin-bottom: 0; }
.cd-btn-primary { background: linear-gradient(135deg, #0A2540, #1a4b8c); color: #fff; }
.cd-btn-primary:hover { opacity: 0.9; color: #fff; }
.cd-btn-outline { background: transparent; border: 1.5px solid #e2e8f0; color: #374151; }
.cd-btn-outline:hover { background: #f8fafc; color: #0A2540; }
[data-bs-theme="dark"] .cd-btn-outline { border-color: #30363d; color: #c9d1d9; }
[data-bs-theme="dark"] .cd-btn-outline:hover { background: #21262d; }

/* ════════════════════════════════════════
   COOKIE CONSENT BANNER
════════════════════════════════════════ */
#cookieBanner {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px);
  width: min(760px, calc(100vw - 32px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  z-index: 9998;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
}
#cookieBanner.show { transform: translateX(-50%) translateY(0); opacity: 1; }
[data-bs-theme="dark"] #cookieBanner { background: #161b22; border: 1px solid #30363d; }
.ck-inner {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
}
.ck-icon { font-size: 1.8rem; color: #f59e0b; flex-shrink: 0; line-height: 1; }
.ck-text { flex: 1; min-width: 0; }
.ck-title { font-weight: 700; font-size: 0.9rem; color: #0A2540; margin-bottom: 2px; }
[data-bs-theme="dark"] .ck-title { color: #e6edf3; }
.ck-desc { font-size: 0.78rem; color: #64748b; line-height: 1.5; margin: 0; }
[data-bs-theme="dark"] .ck-desc { color: #8b949e; }
.ck-link { color: #00C2FF; text-decoration: none; }
.ck-link:hover { text-decoration: underline; }
.ck-actions { display: flex; gap: 8px; flex-shrink: 0; }
.ck-btn {
  padding: 8px 18px; border-radius: 8px; font-size: 0.82rem; font-weight: 700;
  cursor: pointer; border: none; white-space: nowrap; transition: all 0.15s;
}
.ck-btn-primary { background: #0A2540; color: #fff; }
.ck-btn-primary:hover { background: #1a4b8c; }
.ck-btn-outline { background: transparent; border: 1.5px solid #e2e8f0; color: #374151; }
.ck-btn-outline:hover { background: #f8fafc; }
[data-bs-theme="dark"] .ck-btn-outline { border-color: #30363d; color: #c9d1d9; }
@media (max-width: 640px) {
  .ck-inner { flex-direction: column; align-items: flex-start; }
  .ck-actions { width: 100%; }
  .ck-btn { flex: 1; text-align: center; }
}

/* ════════════════════════════════════════
   SEARCH OVERLAY
════════════════════════════════════════ */
#searchOverlay {
  position: fixed; inset: 0; z-index: 10002;
  background: rgba(6, 15, 30, 0.85);
  backdrop-filter: blur(12px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 12vh;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
#searchOverlay.active { opacity: 1; visibility: visible; }

.so-box {
  width: min(640px, calc(100vw - 32px));
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  transform: translateY(-12px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#searchOverlay.active .so-box { transform: translateY(0) scale(1); }
[data-bs-theme="dark"] .so-box { background: #161b22; border: 1px solid #30363d; }

.so-input-wrap {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid #f0f2f5;
}
[data-bs-theme="dark"] .so-input-wrap { border-color: #30363d; }
.so-icon { color: #94a3b8; font-size: 1rem; flex-shrink: 0; }
.so-input {
  flex: 1; border: none; outline: none; font-size: 1rem; font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif; color: #0A2540; background: transparent;
}
[data-bs-theme="dark"] .so-input { color: #e6edf3; }
.so-input::placeholder { color: #94a3b8; }
.so-esc {
  font-size: 0.72rem; background: #f1f5f9; color: #64748b; border-radius: 5px;
  padding: 2px 7px; border: 1px solid #e2e8f0; flex-shrink: 0; cursor: pointer;
}
[data-bs-theme="dark"] .so-esc { background: #21262d; border-color: #30363d; color: #8b949e; }

.so-results { max-height: 420px; overflow-y: auto; }
.so-hint { padding: 20px; text-align: center; color: #94a3b8; font-size: 0.85rem; }
.so-loading { padding: 20px; text-align: center; color: #94a3b8; font-size: 0.85rem; }
.so-empty { padding: 20px; text-align: center; color: #94a3b8; font-size: 0.85rem; }

.so-group-label {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  color: #94a3b8; padding: 10px 20px 4px;
}
.so-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px; text-decoration: none; transition: background 0.12s;
}
.so-item:hover, .so-item.focused { background: #f8fafc; }
[data-bs-theme="dark"] .so-item:hover, [data-bs-theme="dark"] .so-item.focused { background: #21262d; }
.so-item-thumb {
  width: 44px; height: 44px; border-radius: 8px; object-fit: cover;
  background: #f1f5f9; flex-shrink: 0;
}
.so-item-icon {
  width: 44px; height: 44px; border-radius: 8px; background: rgba(0,194,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: #00C2FF; font-size: 1rem; flex-shrink: 0;
}
.so-item-name { font-size: 0.9rem; font-weight: 600; color: #0A2540; }
[data-bs-theme="dark"] .so-item-name { color: #e6edf3; }
.so-item-type { font-size: 0.75rem; color: #94a3b8; margin-top: 1px; }
.so-item-arrow { color: #94a3b8; font-size: 0.75rem; margin-left: auto; }

/* ════════════════════════════════════════
   DARK MODE
════════════════════════════════════════ */
[data-bs-theme="dark"] body { background: #0d1117; color: #c9d1d9; }
[data-bs-theme="dark"] .card { background: #161b22 !important; border-color: #30363d !important; color: #c9d1d9; }
[data-bs-theme="dark"] .card-header, [data-bs-theme="dark"] .card-footer { border-color: #30363d !important; background: #21262d !important; }
[data-bs-theme="dark"] section { background-color: #0d1117; }
[data-bs-theme="dark"] .bg-white, [data-bs-theme="dark"] .bg-light { background: #161b22 !important; }
[data-bs-theme="dark"] .text-dark, [data-bs-theme="dark"] h1, [data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3, [data-bs-theme="dark"] h4, [data-bs-theme="dark"] h5 { color: #e6edf3 !important; }
[data-bs-theme="dark"] .text-muted { color: #8b949e !important; }
[data-bs-theme="dark"] .border, [data-bs-theme="dark"] .border-top,
[data-bs-theme="dark"] .border-bottom { border-color: #30363d !important; }
[data-bs-theme="dark"] .table { --bs-table-bg: #161b22; --bs-table-border-color: #30363d; color: #c9d1d9; }
[data-bs-theme="dark"] .form-control, [data-bs-theme="dark"] .form-select {
  background: #21262d; border-color: #30363d; color: #e6edf3;
}
[data-bs-theme="dark"] .form-control:focus, [data-bs-theme="dark"] .form-select:focus {
  background: #21262d; border-color: #00C2FF; color: #e6edf3;
}
[data-bs-theme="dark"] footer { background: #060d17 !important; }
[data-bs-theme="dark"] #mainNavbar { background: rgba(13, 17, 23, 0.98) !important; }
[data-bs-theme="dark"] .hero-section { background: linear-gradient(135deg, #06101e 0%, #0d1f3c 100%) !important; }
[data-bs-theme="dark"] #pageLoader { background: #060d17; }
[data-bs-theme="dark"] .dropdown-menu { background: #161b22 !important; border-color: #30363d !important; }
[data-bs-theme="dark"] .dropdown-item { color: #c9d1d9 !important; }
[data-bs-theme="dark"] .dropdown-item:hover { background: #21262d !important; color: #e6edf3 !important; }
[data-bs-theme="dark"] .modal-content { background: #161b22; border-color: #30363d; }
[data-bs-theme="dark"] .modal-header, [data-bs-theme="dark"] .modal-footer { border-color: #30363d; }
[data-bs-theme="dark"] hr { border-color: #30363d; }
[data-bs-theme="dark"] .inv-stat-card { background: #161b22 !important; border-color: #30363d !important; }
[data-bs-theme="dark"] .dashboard-layout { background: #0d1117; }
[data-bs-theme="dark"] .dashboard-content { background: #0d1117; }
