/* ==========================================================================
   DefCMS Demo Theme — Modern SaaS Product Page
   Selector: [data-preset="demo"]
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Variable Overrides
   -------------------------------------------------------------------------- */

[data-preset="demo"] {
  --dark-bg: #080B16;
  --dark-surface: #0F1225;
  --dark-elevated: #161937;
  --primary-olive: #6366F1;
  --primary-olive-light: #818CF8;
  --primary-navy: #4F46E5;
  --primary-navy-light: #6366F1;
  --accent-amber: #10B981;
  --accent-amber-bright: #34D399;
  --accent-cyan: #06B6D4;
  --accent-green: #10B981;
  --text-primary: #F1F5F9;
  --text-secondary: #94A3B8;
  --border: rgba(99, 102, 241, 0.15);

  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   2. Keyframe Animations
   -------------------------------------------------------------------------- */

@keyframes float {
  0%, 100% { transform: perspective(800px) rotateY(-8deg) rotateX(4deg) translateY(0); }
  50%      { transform: perspective(800px) rotateY(-8deg) rotateX(4deg) translateY(-18px); }
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
  50%      { box-shadow: 0 0 40px rgba(99, 102, 241, 0.6); }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -20px) scale(1.05); }
  66%      { transform: translate(-15px, 15px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-25px, 25px) scale(0.95); }
  66%      { transform: translate(20px, -10px) scale(1.05); }
}

/* --------------------------------------------------------------------------
   3. Hide Security HUD Elements
   -------------------------------------------------------------------------- */

[data-preset="demo"] .hero-visual,
[data-preset="demo"] .security-hud,
[data-preset="demo"] .grid-bg {
  display: none !important;
}

/* --------------------------------------------------------------------------
   4. Navigation
   -------------------------------------------------------------------------- */

[data-preset="demo"] .nav {
  background: rgba(8, 11, 22, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

/* Demo nav is always dark — keep it dark when scrolled too (overrides
   light-theme.css), and use explicit light link colors so theme variable
   overrides can never make them dark-on-dark. */
[data-preset="demo"] .nav.scrolled {
  background: rgba(8, 11, 22, 0.95);
}

[data-preset="demo"] .logo {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

[data-preset="demo"] .nav-links a {
  color: rgba(232, 235, 245, 0.85);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

[data-preset="demo"] .nav-links a:hover {
  color: #ffffff;
}

[data-preset="demo"] .nav-cta {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.55rem 1.3rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

[data-preset="demo"] .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

[data-preset="demo"] .dropdown-menu {
  background: var(--dark-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* --------------------------------------------------------------------------
   5. Hero Section — Gradient Mesh Background
   -------------------------------------------------------------------------- */

[data-preset="demo"] .hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 60%, rgba(16, 185, 129, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
    var(--dark-bg);
  background-size: 200% 200%;
  animation: gradientShift 18s ease infinite;
}

/* Floating orb — top-left */
[data-preset="demo"] .hero::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 8%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  animation: orbFloat1 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* Floating orb — bottom-right */
[data-preset="demo"] .hero::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  animation: orbFloat2 15s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

[data-preset="demo"] .hero-content {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   5a. Hero Lines & BG Elements — Repurposed as Mesh Blobs
   -------------------------------------------------------------------------- */

[data-preset="demo"] .hero-lines {
  position: absolute !important;
  inset: 0;
  background:
    radial-gradient(circle 400px at 30% 20%, rgba(99, 102, 241, 0.06) 0%, transparent 100%),
    radial-gradient(circle 350px at 70% 70%, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  border: none;
  opacity: 1;
}

[data-preset="demo"] .hero-bg-element {
  position: absolute !important;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.07), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  border: none;
}

/* --------------------------------------------------------------------------
   6. Hero Content
   -------------------------------------------------------------------------- */

[data-preset="demo"] .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #818CF8;
  letter-spacing: 0.02em;
}

[data-preset="demo"] .hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  animation: glowPulse 2.5s ease-in-out infinite;
}

[data-preset="demo"] .hero-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
}

[data-preset="demo"] .hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 540px;
  font-weight: 400;
}

[data-preset="demo"] .highlight {
  color: #818CF8;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   7. Hero Stats
   -------------------------------------------------------------------------- */

[data-preset="demo"] .hero-stats {
  display: flex;
  gap: 2.5rem;
}

[data-preset="demo"] .stat-item {
  text-align: left;
}

[data-preset="demo"] .stat-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #6366F1, #10B981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-preset="demo"] .stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */

[data-preset="demo"] .btn-primary {
  background: linear-gradient(135deg, #6366F1, #8B5CF6);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

[data-preset="demo"] .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

[data-preset="demo"] .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

[data-preset="demo"] .btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 10px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

[data-preset="demo"] .btn-secondary:hover {
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
  color: #818CF8;
}

[data-preset="demo"] .hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   9. Demo Dashboard Visual — Glassmorphism 3D Card
   -------------------------------------------------------------------------- */

[data-preset="demo"] .demo-dashboard-visual {
  perspective: 800px;
  animation: float 6s ease-in-out infinite;
  transform: perspective(800px) rotateY(-8deg) rotateX(4deg);
  background: linear-gradient(135deg,
    rgba(99, 102, 241, 0.08),
    rgba(15, 18, 37, 0.7));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  padding: 2rem;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(99, 102, 241, 0.1) inset,
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

[data-preset="demo"] .demo-dashboard-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 180deg,
    transparent 0%,
    rgba(99, 102, 241, 0.04) 25%,
    transparent 50%
  );
  animation: gradientShift 20s linear infinite;
  pointer-events: none;
}

[data-preset="demo"] .demo-dashboard-visual:hover {
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg) translateY(-8px);
}

/* Inner dashboard elements */
[data-preset="demo"] .demo-db-titlebar {
  height: 32px;
  background: rgba(99, 102, 241, 0.06);
  border-bottom: 1px solid rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
  border-radius: 16px 16px 0 0;
}

[data-preset="demo"] .demo-db-dot { width: 9px; height: 9px; border-radius: 50%; }
[data-preset="demo"] .demo-db-dot:nth-child(1) { background: #ff5f57; }
[data-preset="demo"] .demo-db-dot:nth-child(2) { background: #ffbd2e; }
[data-preset="demo"] .demo-db-dot:nth-child(3) { background: #28c840; }

[data-preset="demo"] .demo-db-title {
  font-size: 0.65rem;
  color: rgba(241, 245, 249, 0.35);
  margin-left: auto;
  font-family: 'Inter', monospace;
  letter-spacing: 0.03em;
}

[data-preset="demo"] .demo-db-body {
  display: flex;
  height: calc(100% - 32px);
}

[data-preset="demo"] .demo-db-sidebar {
  width: 90px;
  background: rgba(99, 102, 241, 0.04);
  border-right: 1px solid rgba(99, 102, 241, 0.08);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

[data-preset="demo"] .demo-sb-item {
  height: 8px;
  border-radius: 4px;
  background: rgba(99, 102, 241, 0.1);
  transition: all 0.5s ease;
}

[data-preset="demo"] .demo-sb-item.active {
  background: rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.25);
}

[data-preset="demo"] .demo-db-main {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

[data-preset="demo"] .demo-db-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

[data-preset="demo"] .demo-db-card {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

[data-preset="demo"] .demo-db-card-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: #818CF8;
  font-family: 'Inter', monospace;
}

[data-preset="demo"] .demo-db-card-label {
  font-size: 0.5rem;
  color: rgba(148, 163, 184, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

[data-preset="demo"] .demo-db-chart {
  flex: 1;
  background: rgba(99, 102, 241, 0.03);
  border: 1px solid rgba(99, 102, 241, 0.06);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  min-height: 80px;
}

[data-preset="demo"] .demo-chart-bar {
  position: absolute;
  bottom: 8px;
  width: 14px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to top, rgba(99, 102, 241, 0.25), rgba(129, 140, 248, 0.7));
  animation: demoBarGrow 2s ease-out forwards;
}

@keyframes demoBarGrow {
  from { height: 0; }
}

[data-preset="demo"] .demo-db-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

[data-preset="demo"] .demo-table-row {
  height: 7px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.08);
  animation: demoRowSlide 0.5s ease-out backwards;
}

[data-preset="demo"] .demo-table-row:nth-child(odd) { background: rgba(99, 102, 241, 0.06); }
[data-preset="demo"] .demo-table-row:nth-child(1) { width: 100%; animation-delay: 0.8s; }
[data-preset="demo"] .demo-table-row:nth-child(2) { width: 85%; animation-delay: 1s; }
[data-preset="demo"] .demo-table-row:nth-child(3) { width: 92%; animation-delay: 1.2s; }
[data-preset="demo"] .demo-table-row:nth-child(4) { width: 78%; animation-delay: 1.4s; }

@keyframes demoRowSlide {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Card number pulse */
[data-preset="demo"] .demo-db-card:nth-child(1) .demo-db-card-num { animation: demoPulse 3s ease-in-out infinite; }
[data-preset="demo"] .demo-db-card:nth-child(2) .demo-db-card-num { animation: demoPulse 3s ease-in-out infinite 1s; }
[data-preset="demo"] .demo-db-card:nth-child(3) .demo-db-card-num { animation: demoPulse 3s ease-in-out infinite 2s; }

@keyframes demoPulse {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}

/* --------------------------------------------------------------------------
   10. Section Shared Styles — Gradient Dividers
   -------------------------------------------------------------------------- */

[data-preset="demo"] section {
  position: relative;
}

[data-preset="demo"] section + section::before {
  content: '';
  display: block;
  height: 1px;
  max-width: 80%;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.25), rgba(16, 185, 129, 0.15), transparent);
}

[data-preset="demo"] .section-header {
  text-align: center;
}

[data-preset="demo"] .section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #818CF8;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   11. Service Cards — Glassmorphism + Hover
   -------------------------------------------------------------------------- */

[data-preset="demo"] .service-card {
  background: rgba(15, 18, 37, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 14px;
  padding: 2rem;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

[data-preset="demo"] .service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(16, 185, 129, 0.2), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

[data-preset="demo"] .service-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  border-color: rgba(99, 102, 241, 0.25);
}

[data-preset="demo"] .service-card:hover::before {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   12. Clients Section
   -------------------------------------------------------------------------- */

[data-preset="demo"] .clients {
  background: rgba(8, 11, 22, 0.5);
}

[data-preset="demo"] .clients-header,
[data-preset="demo"] .clients-title {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

[data-preset="demo"] .clients-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  animation: none;
}

[data-preset="demo"] .client-item {
  opacity: 0.45;
  transition: opacity 0.3s ease;
  filter: grayscale(1) brightness(1.6);
}

[data-preset="demo"] .client-item:hover {
  opacity: 0.85;
  filter: grayscale(0) brightness(1);
}

/* --------------------------------------------------------------------------
   13. Solution Rows & Industry Cards
   -------------------------------------------------------------------------- */

[data-preset="demo"] .solution-row {
  background: rgba(15, 18, 37, 0.4);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: border-color 0.3s ease;
}

[data-preset="demo"] .solution-row:hover {
  border-color: rgba(99, 102, 241, 0.3);
}

[data-preset="demo"] .industry-card {
  background: rgba(15, 18, 37, 0.5);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 14px;
  padding: 1.75rem;
  transition: all 0.3s ease;
}

[data-preset="demo"] .industry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   14. About Section
   -------------------------------------------------------------------------- */

[data-preset="demo"] .about-section {
  background:
    radial-gradient(ellipse 50% 40% at 30% 50%, rgba(99, 102, 241, 0.06), transparent),
    var(--dark-bg);
}

/* --------------------------------------------------------------------------
   15. Contact Section — Glassmorphism Form
   -------------------------------------------------------------------------- */

[data-preset="demo"] .contact-section {
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(99, 102, 241, 0.06), transparent),
    var(--dark-bg);
}

[data-preset="demo"] .contact-section input,
[data-preset="demo"] .contact-section textarea,
[data-preset="demo"] .contact-section select {
  background: rgba(15, 18, 37, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: 100%;
  outline: none;
}

[data-preset="demo"] .contact-section input::placeholder,
[data-preset="demo"] .contact-section textarea::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

[data-preset="demo"] .contact-section input:focus,
[data-preset="demo"] .contact-section textarea:focus,
[data-preset="demo"] .contact-section select:focus {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12), 0 0 20px rgba(99, 102, 241, 0.1);
}

[data-preset="demo"] .contact-section label {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  display: block;
}

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */

[data-preset="demo"] .footer {
  background: linear-gradient(180deg, var(--dark-surface), #060812);
  border-top: 2px solid transparent;
  border-image: linear-gradient(90deg, transparent, #6366F1, #10B981, transparent) 1;
  padding-top: 3rem;
  color: var(--text-secondary);
}

[data-preset="demo"] .footer a {
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

[data-preset="demo"] .footer a:hover {
  color: #818CF8;
}

/* --------------------------------------------------------------------------
   17. Utility & Accent Element Animations
   -------------------------------------------------------------------------- */

[data-preset="demo"] .fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

[data-preset="demo"] [data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-preset="demo"] [data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Glow accent for primary interactive elements */
[data-preset="demo"] .glow-accent {
  animation: glowPulse 3s ease-in-out infinite;
}

/* Shimmer loading placeholder */
[data-preset="demo"] .shimmer {
  background: linear-gradient(90deg,
    rgba(99, 102, 241, 0.05) 25%,
    rgba(99, 102, 241, 0.12) 50%,
    rgba(99, 102, 241, 0.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s ease-in-out infinite;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   18. Scrollbar Theming
   -------------------------------------------------------------------------- */

[data-preset="demo"] ::-webkit-scrollbar {
  width: 8px;
}

[data-preset="demo"] ::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

[data-preset="demo"] ::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.25);
  border-radius: 4px;
}

[data-preset="demo"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.45);
}

/* --------------------------------------------------------------------------
   19. Selection Color
   -------------------------------------------------------------------------- */

[data-preset="demo"] ::selection {
  background: rgba(99, 102, 241, 0.3);
  color: #fff;
}

/* --------------------------------------------------------------------------
   20. Responsive — Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {

  [data-preset="demo"] .hero::before {
    width: 160px;
    height: 160px;
    top: 5%;
    left: 2%;
  }

  [data-preset="demo"] .hero::after {
    width: 120px;
    height: 120px;
    bottom: 10%;
    right: 3%;
  }

  [data-preset="demo"] .hero-title {
    font-size: 2rem;
    letter-spacing: -0.02em;
  }

  [data-preset="demo"] .hero-subtitle {
    font-size: 1rem;
  }

  [data-preset="demo"] .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  [data-preset="demo"] .stat-number {
    font-size: 1.5rem;
  }

  [data-preset="demo"] .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  [data-preset="demo"] .btn-primary,
  [data-preset="demo"] .btn-secondary {
    text-align: center;
    justify-content: center;
  }

  [data-preset="demo"] .demo-dashboard-visual {
    transform: none;
    animation: none;
    padding: 1.25rem;
  }

  [data-preset="demo"] .demo-dashboard-visual:hover {
    transform: none;
  }

  [data-preset="demo"] .demo-db-sidebar { width: 60px; }
  [data-preset="demo"] .demo-db-cards { grid-template-columns: 1fr 1fr; }

  [data-preset="demo"] .service-card {
    padding: 1.5rem;
  }

  [data-preset="demo"] .service-card:hover {
    transform: translateY(-2px) scale(1);
  }

  [data-preset="demo"] .clients-track {
    gap: 1.5rem;
  }

  [data-preset="demo"] section + section::before {
    max-width: 90%;
  }
}

@media (max-width: 480px) {

  [data-preset="demo"] .hero-title {
    font-size: 1.65rem;
  }

  [data-preset="demo"] .hero-badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.8rem;
  }

  [data-preset="demo"] .stat-number {
    font-size: 1.3rem;
  }

  [data-preset="demo"] .service-card {
    padding: 1.25rem;
    border-radius: 12px;
  }
}
