/* ===================================================
   Smart Digital v3 — style.css
   Clean, premium design | EN + Assamese
   =================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background: rgba(99, 102, 241, 0.25);
  color: var(--dark);
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #f97316;
  --blue: #3b82f6;
  --green: #10b981;
  --red: #ef4444;
  --dark: #0f172a;
  --dark2: #1e293b;
  --gray: #64748b;
  --light: #f8fafc;
  --border: #e2e8f0;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] {
  --white: #0f172a;
  --light: #1e293b;
  --dark: #f8fafc;
  --dark2: #e2e8f0;
  --gray: #94a3b8;
  --border: #334155;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

section[id],
div[id] {
  scroll-margin-top: 80px;
}

body {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--dark2);
  background: var(--white);
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.4s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: inherit;
  position: relative;
  z-index: 1;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    inset 0 10px 20px rgba(255, 255, 255, 0.1),
    inset 0 -4px 8px rgba(0, 0, 0, 0.4),
    0 10px 20px rgba(0, 0, 0, 0.2),
    0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.btn::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 4%;
  width: 92%;
  height: 40%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 40px 40px 100px 100px;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s;
}

.btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 42px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.3)
  );
  z-index: -2;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    inset 0 10px 20px rgba(255, 255, 255, 0.15),
    inset 0 -4px 8px rgba(0, 0, 0, 0.5),
    0 15px 25px rgba(0, 0, 0, 0.3),
    0 6px 12px rgba(0, 0, 0, 0.2) !important;
}

.btn:active {
  transform: scale(0.97) translateY(0);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.2),
    inset 0 10px 20px rgba(255, 255, 255, 0.05),
    inset 0 -2px 4px rgba(0, 0, 0, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.2),
    0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.4);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--gray);
  border: 2px solid var(--border);
}

.btn-outline-dark:hover {
  background: var(--light);
  transform: translateY(-2px);
}

.btn-whatsapp-hero {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

/* Liquid Glass Button */
.btn-liquid-glass {
  position: relative;
  background: linear-gradient(180deg, #1e2024 0%, #0d0e12 100%);
  color: #fff !important;
  border: none;
  font-family: "DM Sans", "Inter", sans-serif;
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    inset 0 10px 20px rgba(255, 255, 255, 0.1),
    inset 0 -4px 8px rgba(0, 0, 0, 0.5),
    0 10px 20px rgba(0, 0, 0, 0.4),
    0 4px 6px rgba(0, 0, 0, 0.2) !important;
  border-radius: 40px !important;
  z-index: 1;
}

.btn-liquid-glass::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 4%;
  width: 92%;
  height: 40%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 40px 40px 100px 100px;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s;
}

.btn-liquid-glass::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 42px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.8),
    rgba(255, 255, 255, 0.1),
    rgba(100, 150, 255, 0.5)
  );
  z-index: -2;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
}

.btn-liquid-glass:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.4),
    inset 0 10px 20px rgba(255, 255, 255, 0.15),
    inset 0 -4px 8px rgba(0, 0, 0, 0.6),
    0 15px 25px rgba(0, 0, 0, 0.5),
    0 6px 12px rgba(0, 0, 0, 0.3) !important;
}

.btn-liquid-glass:active {
  transform: scale(0.97) translateY(0);
  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.2),
    inset 0 10px 20px rgba(255, 255, 255, 0.05),
    inset 0 -2px 4px rgba(0, 0, 0, 0.5),
    0 4px 8px rgba(0, 0, 0, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

/* Section common */
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 8px auto 0;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray);
}

/* ===================== FLOATING WHATSAPP ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  animation: wFloat 3s ease-in-out infinite;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes wFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 2px solid transparent;
  background-clip: padding-box;
}

.navbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--accent),
    var(--blue)
  );
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.nav-logo img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
  background: #0f172a;
}

.sd-logo-img {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.sd-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sd-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.sd-smart {
  font-size: 14.4px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: 0.5px;
}

.sd-digital {
  font-size: 10.4px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.navbar.scrolled .sd-smart {
  color: var(--dark);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  margin: 0 auto;
}

.nav-link {
  display: block;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark2);
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--light);
  color: var(--primary);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.theme-toggle:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--light);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.lang-toggle:hover {
  border-color: var(--primary);
  background: rgba(99, 102, 241, 0.06);
}

.btn-call {
  padding: 9px 18px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.btn-whatsapp {
  padding: 9px 18px;
  border-radius: 50px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--dark2);
  border-radius: 3px;
  transition: all 0.3s;
  display: block;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================== URGENT BANNER ===================== */
.urgent-banner {
  background: linear-gradient(135deg, #991b1b, #dc2626, #ef4444);
  color: #fff;
  position: sticky;
  top: 72px;
  z-index: 999;
  border-bottom: 3px solid #fca5a5;
  animation: slideDownBanner 0.8s ease-out forwards;
  transition: opacity 0.3s ease;
}

@keyframes slideDownBanner {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.urgent-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.urgent-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 1.5s ease infinite;
  flex-shrink: 0;
}

.urgent-body {
  flex: 1;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
}

.urgent-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fca5a5;
}

.urgent-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.urgent-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.urgent-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.assam-icon {
  height: clamp(48px, 6vw, 80px); /* Adjusts size based on viewport width */
  width: auto;
  vertical-align: middle;
  margin-left: 10px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ===================== HERO ===================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 60px;
  min-height: 700px;
  background: #020617;
  position: relative;
  overflow: hidden;
}

.spline-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 80%;
  height: 140%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.25) 0%,
    rgba(168, 85, 247, 0.1) 40%,
    transparent 70%
  );
  animation: heroGlow 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.cyber-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(600px) rotateX(60deg) translateY(-100px)
    translateZ(-200px);
  transform-origin: top;
  animation: gridMove 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes gridMove {
  0% {
    transform: perspective(600px) rotateX(60deg) translateY(0)
      translateZ(-200px);
  }

  100% {
    transform: perspective(600px) rotateX(60deg) translateY(40px)
      translateZ(-200px);
  }
}

@keyframes heroGlow {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }

  100% {
    transform: translate(40px, 30px) scale(1.1);
    opacity: 1;
  }
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(220, 221, 255, 0.6);
  animation: floatPar linear infinite;
}

@keyframes floatPar {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.2;
  }

  50% {
    transform: translateY(-40px) scale(1.3);
    opacity: 0.6;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 0.2;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: slideInLeft 0.8s ease;
  pointer-events: none;
}

.hero-content > * {
  pointer-events: auto;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.4);
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 28px;
  color: #a5b4fc;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6366f1;
  animation: pulse 1.5s ease infinite;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #fff;
}

.gradient-text {
  background: linear-gradient(135deg, #f97316, #6366f1, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: #a5b4fc;
  margin-bottom: 14px;
  font-weight: 600;
}

.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Add specific glow classes */
.btn-glow {
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6) !important;
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.8) !important;
}

.neon-outline {
  border-color: #38bdf8 !important;
  color: #38bdf8 !important;
  box-shadow:
    inset 0 0 10px rgba(56, 189, 248, 0.2),
    0 0 10px rgba(56, 189, 248, 0.2);
}

.neon-outline:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  box-shadow:
    inset 0 0 15px rgba(56, 189, 248, 0.4),
    0 0 15px rgba(56, 189, 248, 0.4) !important;
}

/* Desktop and Laptop Animation Set */
.hero-right-graphic {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  pointer-events: none;
}

.hero-right-graphic > * {
  pointer-events: auto;
}

.device-composition {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 320px;
  perspective: 1000px;
}

.neon-desktop {
  position: absolute;
  top: 0;
  left: 8%;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: floatFloat 6s ease-in-out infinite;
  z-index: 1;
}

.monitor {
  width: 100%;
  height: 160px;
  background: #0f172a;
  border: 3px solid #38bdf8;
  border-radius: 12px;
  box-shadow:
    0 0 25px rgba(56, 189, 248, 0.3),
    inset 0 0 15px rgba(56, 189, 248, 0.2);
  padding: 8px;
  position: relative;
}

.monitor .screen {
  width: 100%;
  height: 100%;
  background: #020617;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-icon {
  font-size: 40px;
  color: #38bdf8;
  text-shadow: 0 0 10px #38bdf8;
  animation: pulseIcon 2s infinite;
}

.code-lines {
  position: absolute;
  left: 10px;
  top: 10px;
  width: 60px;
  height: 4px;
  background: #a855f7;
  box-shadow:
    0 8px 0 #a855f7,
    0 16px 0 rgba(168, 85, 247, 0.5),
    0 24px 0 rgba(168, 85, 247, 0.2);
  opacity: 0.5;
}

.stand {
  width: 24px;
  height: 30px;
  background: linear-gradient(to bottom, #38bdf8, #0f172a);
}

.base {
  width: 90px;
  height: 8px;
  background: #38bdf8;
  border-radius: 4px;
  box-shadow: 0 0 15px #38bdf8;
}

.neon-laptop {
  position: absolute;
  bottom: 20px;
  right: 2%;
  width: 220px;
  z-index: 2;
  animation: floatFloat 5s ease-in-out infinite 1s;
}

.laptop-screen {
  width: 100%;
  height: 130px;
  background: #0f172a;
  border: 3px solid #a855f7;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.3);
  padding: 6px;
}

.inner-screen {
  width: 100%;
  height: 100%;
  background: #020617;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.laptop-icon {
  font-size: 36px;
  color: #a855f7;
  text-shadow: 0 0 12px #a855f7;
  animation: spinSlow 15s linear infinite;
}

@keyframes spinSlow {
  100% {
    transform: rotate(360deg);
  }
}

.laptop-keyboard {
  width: 112%;
  height: 14px;
  background: #a855f7;
  margin-left: -6%;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 5px 20px rgba(168, 85, 247, 0.5);
  position: relative;
}

.trackpad {
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 4px;
  background: rgba(2, 6, 23, 0.5);
  border-radius: 2px;
}

.floating-elements i {
  position: absolute;
  color: #e2e8f0;
  font-size: 28px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  z-index: 3;
  animation: floatFloat 4s ease-in-out infinite;
}

.float-1 {
  top: 20%;
  left: -10px;
  color: #38bdf8;
  animation-delay: 0.5s;
}

.float-2 {
  bottom: 40%;
  right: -20px;
  color: #a855f7;
  animation-delay: 1.5s;
}

.float-3 {
  top: -20px;
  right: 20%;
  color: #6366f1;
  animation-delay: 2.5s;
}

.float-4 {
  bottom: -10px;
  left: 30%;
  color: #10b981;
  animation-delay: 0.2s;
}

.float-5 {
  top: 60%;
  left: 10%;
  color: #f59e0b;
  animation-delay: 1.8s;
}

.float-6 {
  bottom: 10%;
  left: 45%;
  color: #10b981;
  animation-delay: 3.2s;
}

.float-7 {
  top: 10%;
  right: 5%;
  color: #ef4444;
  animation-delay: 0.9s;
}

@keyframes floatFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

@keyframes pulseIcon {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* Shop Status Card (Neon updated) */
.shop-status-card {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  padding: 24px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(25px);
  border: 2px solid transparent;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.6),
    inset 0 0 20px rgba(99, 102, 241, 0.1);
  animation: slideInRight 0.8s ease;
  transition: all 0.4s;
  overflow: hidden;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.shop-status-card.is-open {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(16, 185, 129, 0.18);
}
.shop-status-card.is-open .shop-spinning-border {
  background: conic-gradient(from var(--border-angle, 0deg), rgba(16, 185, 129, 0.35) 0%, rgba(52, 211, 153, 0.25) 20%, transparent 40%, transparent 60%, rgba(5, 150, 105, 0.3) 80%, rgba(16, 185, 129, 0.35) 100%);
}

.shop-status-card.is-closed {
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 50px rgba(239, 68, 68, 0.12);
}
.shop-status-card.is-closed .shop-spinning-border {
  background: conic-gradient(from var(--border-angle, 0deg), #ef4444 0%, #f87171 20%, transparent 40%, transparent 60%, #dc2626 80%, #ef4444 100%);
}

/* ── Spinning border ── */
.shop-spinning-border {
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  z-index: -1;
  animation: spinBorder 3s linear infinite;
  background: conic-gradient(from var(--border-angle, 0deg), rgba(16, 185, 129, 0.35) 0%, rgba(52, 211, 153, 0.25) 20%, transparent 40%, transparent 60%, rgba(5, 150, 105, 0.3) 80%, rgba(16, 185, 129, 0.35) 100%);
}

@property --border-angle {
  syntax: "<angle>";
  inherits: true;
  initial-value: 0deg;
}

@keyframes spinBorder {
  to { --border-angle: 360deg; }
}

/* ── Shimmer sweep ── */
.shop-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.07) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmerSweep 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

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

.shop-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  transition: background 0.5s;
}

.glow-open {
  background: rgba(16, 185, 129, 0.35);
}

.glow-closed {
  background: rgba(239, 68, 68, 0.25);
}

.shop-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.shop-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  transition: all 0.4s;
}

.icon-open {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  animation: shopPulse 2s ease infinite;
}

.icon-closed {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

@keyframes shopPulse {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  }

  50% {
    box-shadow: 0 8px 40px rgba(16, 185, 129, 0.75);
    transform: scale(1.05);
  }
}

.shop-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shop-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  width: fit-content;
}

.shop-badge.open {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.shop-badge.closed {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* ── Badge wrap + live dot ── */
.shop-badge-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shop-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981, 0 0 12px #10b981;
  animation: liveDotPulse 1.2s ease-in-out infinite;
  flex-shrink: 0;
}

.shop-status-card.is-closed .shop-live-dot {
  background: #ef4444;
  box-shadow: 0 0 6px #ef4444, 0 0 12px #ef4444;
}

@keyframes liveDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.shop-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

/* ── Progress bar ── */
.shop-progress-wrap {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  height: 8px;
  margin-bottom: 14px;
  overflow: hidden;
}

.shop-progress-bar {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #10b981, #34d399);
  box-shadow: 0 0 8px #10b981;
  transition: width 1s linear;
  width: 0%;
}

.shop-status-card.is-closed .shop-progress-bar {
  background: linear-gradient(90deg, #ef4444, #f87171);
  box-shadow: 0 0 8px #ef4444;
}

.shop-progress-label {
  display: block;
  text-align: right;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 5px;
  letter-spacing: 0.5px;
}

.shop-hours-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.shop-hour-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 14px;
}

.shop-hour-item i {
  font-size: 18px;
  color: #a5b4fc;
}

.shop-hour-item > div {
  display: flex;
  flex-direction: column;
}

.hour-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hour-time {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.shop-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
}

.shop-countdown-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px 20px;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

#shopCountdown {
  font-size: 18px;
  font-weight: 800;
  color: #fbbf24;
}

.shop-clock {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  font-family: "Courier New", monospace;
  color: #fbbf24;
  letter-spacing: 4px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  text-shadow:
    0 0 8px rgba(251, 191, 36, 0.9),
    0 0 20px rgba(251, 191, 36, 0.6),
    0 0 40px rgba(251, 191, 36, 0.3);
  animation: neonFlicker 4s ease-in-out infinite;
}

@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow:
      0 0 8px rgba(251, 191, 36, 0.9),
      0 0 20px rgba(251, 191, 36, 0.6),
      0 0 40px rgba(251, 191, 36, 0.3);
  }
  20%, 24%, 55% {
    text-shadow: none;
    color: rgba(251, 191, 36, 0.7);
  }
}

.shop-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.shop-location i {
  color: var(--accent);
}

/* ===================== ADMIN BAR ===================== */
.admin-bar {
  display: flex;
  justify-content: flex-end;
  padding: 10px 24px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.btn-admin {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  border: 2px solid var(--border);
  padding: 8px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  font-family: inherit;
  transition: all 0.2s;
}

.btn-admin:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-admin i {
  transition: transform 0.4s;
}

.btn-admin:hover i {
  transform: rotate(120deg);
}

/* ===================== STATISTICS ===================== */
.statistics {
  background: linear-gradient(135deg, #0f172a, #1e1b4b);
  padding: 60px 24px;
}

.stats-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s;
}

.stat-card:hover {
  transform: translateY(-6px);
}

.stat-icon {
  font-size: 32px;
  color: #a5b4fc;
  margin-bottom: 4px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.8rem;
  font-weight: 900;
  color: #a5b4fc;
  align-self: flex-end;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
  text-align: center;
}

/* ===================== UPDATES / NOTICE BOARD ===================== */
.updates-section {
  padding: 80px 0;
  background: var(--light);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(239, 68, 68, 0.25);
  margin-bottom: 10px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1.2s ease infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

.notice-board {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  color: var(--dark);
  font-weight: 600;
  font-size: 14px;
}

.board-head-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.board-head-left i {
  color: var(--accent);
}

.board-ticker-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.ticker-label {
  flex-shrink: 0;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.board-ticker {
  flex: 1;
  overflow: hidden;
  padding: 0 16px;
  color: var(--dark);
  font-size: 13px;
  font-weight: 500;
}

#boardTickerText {
  white-space: nowrap;
  animation: ticker 45s linear infinite;
  display: inline-block;
}

@keyframes ticker {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.board-notifs {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.board-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  color: var(--gray);
  text-align: center;
}

.board-empty i {
  font-size: 40px;
  opacity: 0.4;
}

.notif-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--light);
  border-radius: 14px;
  padding: 16px;
  border-left: 4px solid var(--primary);
  animation: slideInLeft 0.4s ease;
  transition: box-shadow 0.2s;
}

.notif-card:hover {
  box-shadow: var(--shadow);
}

.notif-card-icon {
  font-size: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notif-card-body {
  flex: 1;
}

.notif-card-text {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  font-size: 15px;
}

.notif-card-time {
  font-size: 12px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 4px;
}

.notif-card-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  align-self: flex-start;
  white-space: nowrap;
}

.notif-type-info .notif-card-tag {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
}

.notif-type-success .notif-card-tag {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.notif-type-warning .notif-card-tag {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent);
}

.notif-type-event .notif-card-tag {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

.notif-type-info {
  border-left-color: var(--primary);
}

.notif-type-success {
  border-left-color: var(--green);
}

.notif-type-warning {
  border-left-color: var(--accent);
}

.notif-type-event {
  border-left-color: #ec4899;
}

/* ===================== SERVICES ===================== */
.services-section {
  padding: 80px 0;
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(99, 102, 241, 0.12);
  border-color: var(--primary);
}

.svc-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  transition: transform 0.3s;
}

.service-card:hover .svc-icon {
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
}

.service-card p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
  flex: 1;
}

.service-card p.dark-desc {
  color: var(--dark);
  font-weight: 500;
}

.price-tag {
  background: linear-gradient(135deg, var(--primary), var(--blue));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  margin-top: 4px;
}

/* ===================== CALCULATOR ===================== */
.calculator-section {
  padding: 80px 0;
  background: var(--light);
}

.calc-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-field label {
  font-weight: 700;
  font-size: 14px;
  color: var(--dark2);
}

.calc-field select,
.calc-field input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border 0.2s;
  outline: none;
}

.calc-field select:focus,
.calc-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.calc-result {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff;
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: background 0.3s;
}

.calc-result-label {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 8px;
}

.calc-total {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.calc-note {
  font-size: 12px;
  margin-top: 10px;
  opacity: 0.65;
}

/* ===================== GALLERY ===================== */
.gallery-section {
  padding: 80px 0;
  background: var(--light);
}

/* ── Filter Buttons ── */
.filter-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--gray);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  position: relative;
}

.filter-btn .filter-count {
  display: inline-block;
  background: rgba(99, 102, 241, 0.15);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 20px;
  margin-left: 5px;
}

.filter-btn.active .filter-count,
.filter-btn:hover .filter-count {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

/* ── Sub-Filter Chips ── */
.sub-filter-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  animation: fadeInSub 0.3s ease;
}

@keyframes fadeInSub {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sub-filter-btn {
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 12px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--gray);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.sub-filter-btn.active,
.sub-filter-btn:hover {
  background: #7c3aed;
  color: #fff;
  border-color: #7c3aed;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

/* ── Masonry Grid ── */
.gallery-grid {
  columns: 4;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.gallery-item img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ── Hover Overlay ── */
.gallery-overlay {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay .overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  color: #fff;
  font-size: 22px;
  background: rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: transform 0.35s ease;
}

.gallery-item:hover .overlay-icon {
  transform: translate(-50%, -50%) scale(1);
}

.gallery-overlay .overlay-title {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  transform: translateY(10px);
  transition: transform 0.35s ease;
}

.gallery-item:hover .overlay-title {
  transform: translateY(0);
}

.gallery-overlay .overlay-tag {
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
  transform: translateY(10px);
  transition: transform 0.35s ease 0.05s;
}

.gallery-item:hover .overlay-tag {
  transform: translateY(0);
}

.gallery-item.hidden {
  display: none;
}

/* ── Stagger Animation ── */
.gallery-item.fade-in {
  animation: galleryFadeIn 0.4s ease forwards;
}

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

/* ── Load More Button ── */
.load-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.btn-load-more {
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-load-more:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
  transform: translateY(-2px);
}

.btn-load-more i {
  transition: transform 0.3s;
}

.btn-load-more:hover i {
  transform: translateY(3px);
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(10px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: rgba(255,255,255,0.7);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
  background: rgba(255,255,255,0.1);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}

.lb-close:hover {
  color: #fff;
  background: rgba(255,255,255,0.2);
}

.lb-body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  padding: 20px;
}

.lb-image {
  max-width: 88vw;
  max-height: 78vh;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lb-caption {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  padding: 8px 20px;
  min-height: 24px;
}

.lb-counter {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  text-align: center;
  padding-bottom: 16px;
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: rgba(255,255,255,0.8);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-prev { left: 20px; }
.lb-next { right: 20px; }

.lb-prev:hover,
.lb-next:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.lb-download {
  position: absolute;
  bottom: 20px;
  right: 24px;
  color: rgba(255,255,255,0.6);
  font-size: 20px;
  text-decoration: none;
  background: rgba(255,255,255,0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}

.lb-download:hover {
  color: #fff;
  background: rgba(255,255,255,0.2);
}

/* ===================== CERTIFICATES ===================== */
.certificates-section {
  padding: 80px 0;
  background: var(--light);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--border);
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.cert-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cert-card:hover .cert-card-img {
  transform: scale(1.04);
}

.cert-card-body {
  padding: 16px 20px;
}

.cert-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.cert-card-platform {
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cert-card-platform i {
  color: var(--primary);
  font-size: 14px;
}

/* Coming Soon placeholder card */
.cert-card-placeholder {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 2px dashed var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  color: var(--gray);
  gap: 12px;
  transition: border-color 0.3s, color 0.3s;
}

.cert-card-placeholder:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cert-card-placeholder i {
  font-size: 36px;
  opacity: 0.5;
}

.cert-card-placeholder span {
  font-size: 14px;
  font-weight: 600;
}

/* ===================== LOCATION ===================== */
.location-section {
  padding: 80px 0;
  background: var(--white);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.loc-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.loc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}

.loc-item h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.loc-item p,
.loc-item a {
  font-size: 14px;
  color: var(--gray);
  text-decoration: none;
}

.loc-item a:hover {
  color: var(--primary);
}

.map-embed {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 380px;
  border: 2px solid var(--border);
}

.map-embed iframe {
  display: block;
}

/* ===================== CONTACT ===================== */
.contact-section {
  padding: 80px 0;
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark2);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.contact-ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
  transition: all 0.3s;
}

.cta-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.cta-card > i:first-child {
  font-size: 28px;
  width: 44px;
  text-align: center;
}

.cta-card > div {
  flex: 1;
}

.cta-card > div h4 {
  font-size: 15px;
  margin-bottom: 2px;
}

.cta-card > div p {
  font-size: 12px;
  color: var(--gray);
  font-weight: 400;
}

.cta-card > i:last-child {
  color: var(--gray);
}

.cta-whatsapp > i:first-child {
  color: #25d366;
}

.cta-whatsapp:hover {
  border-color: #25d366;
  color: #128c2c;
}

.cta-call > i:first-child {
  color: var(--primary);
}

.cta-call:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cta-fb > i:first-child {
  color: #1877f2;
}

.cta-fb:hover {
  border-color: #1877f2;
  color: #1877f2;
}

.working-hours-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.working-hours-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.working-hours-card h4 i {
  color: var(--primary);
}

.wh-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.wh-row:last-child {
  border-bottom: none;
}

.wh-row strong {
  color: var(--dark);
}

/* ===================== GAMES & DEMOS ===================== */
.games-section {
  padding: 5rem 0;
  background-color: var(--bg-alt);
}

.demos-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.games-grid,
.demos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Base Card Styles */
.game-card,
.service-card,
.demo-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
  border: 1px solid var(--border);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
}

/* Service Card Status Variations */
.highlight-card {
  border: 2px solid rgba(99, 102, 241, 0.4);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.05), #fff);
}

.highlight-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.disabled-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  opacity: 0.85;
  cursor: not-allowed;
}

.disabled-card:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border-color: #94a3b8;
}

.disabled-card .svc-icon {
  filter: grayscale(100%);
}

.disabled-card h3,
.disabled-card p {
  color: #64748b;
}

.svc-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.pulse-badge {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  animation: pulseBadge 2s infinite;
}

.offline-badge {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

@keyframes pulseBadge {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
  }
}

.svc-icon {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3.5rem;
}

.game-icon,
.demo-icon {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3.5rem;
}

@keyframes floatingGlow {
  0%,
  100% {
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
  }

  50% {
    transform: scale(1.15) translateY(-8px);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9))
      drop-shadow(0 0 25px rgba(255, 255, 255, 0.6));
  }
}

.game-icon i {
  transition: transform 0.5s ease;
}

.demo-icon i {
  transition: transform 0.5s ease;
  animation: floatingGlow 3s ease-in-out infinite;
}

.game-card:hover .game-icon i {
  transform: scale(1.1) rotate(5deg);
}

.demo-card:hover .demo-icon i {
  transform: scale(1.2) rotate(10deg);
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1));
}

/* Info & Content */
.game-info,
.demo-content {
  padding: 1.5rem;
  flex-grow: 1;
  text-align: center;
}

.game-info h3,
.demo-content h3 {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.game-info p,
.demo-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Actions */
.game-actions,
.demo-content .btn {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  gap: 1rem;
}

.game-actions .btn {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.demo-content .btn {
  padding: 0.75rem 1.5rem;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

/* ===================== FOOTER ===================== */
.footer {
  background: linear-gradient(180deg, #071129, #0f172a);
  color: #fff;
  padding-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.1fr 1fr 1.5fr;
  gap: 32px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-brand .footer-logo img {
  width: 35px;
  height: 35px;
  border-radius: 6px;
  object-fit: cover;
  background: #0f172a;
}

.footer-logo .sd-smart {
  font-size: 17.6px;
  color: #fff;
}

.footer-logo .sd-digital {
  font-size: 11.2px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.2s;
  font-size: 16px;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.footer-links h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links ul li a,
.footer-links ul li span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
  cursor: default;
}

.footer-links ul li a:hover {
  color: var(--accent);
}

.footer-contact h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--accent);
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===================== LEGAL / POLICY PAGES ===================== */
body.legal-page {
  opacity: 1;
  background: #f8fafc;
  color: #1e293b;
}

.legal-nav {
  background: #071129;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.legal-brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.legal-nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.legal-nav-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.legal-nav-links a:hover {
  color: #fff;
}

.legal-hero {
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.92), rgba(15, 23, 42, 0.96)),
    #0f172a;
  color: #fff;
  padding: 58px 0;
}

.legal-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-eyebrow {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.legal-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 14px;
  color: #fff;
}

.legal-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
}

.legal-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 24px 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.legal-card,
.legal-side-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.legal-card {
  padding: 34px;
}

.legal-card h2 {
  font-size: 1.25rem;
  margin: 30px 0 10px;
  color: #0f172a;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

.legal-card ul {
  margin: 10px 0 0 20px;
}

.legal-card a {
  color: #4f46e5;
  font-weight: 700;
}

.legal-note {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  padding: 14px 16px;
  color: #9a3412;
  font-size: 14px;
  margin-bottom: 24px;
}

.legal-side-card {
  padding: 22px;
  position: sticky;
  top: 96px;
}

.legal-side-card h3 {
  font-size: 1rem;
  color: #0f172a;
  margin-bottom: 14px;
}

.legal-side-card p,
.legal-side-card a {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
}

.legal-side-card a {
  display: block;
  color: #4f46e5;
  text-decoration: none;
  font-weight: 700;
  margin-top: 8px;
}

.legal-meta-list {
  display: grid;
  gap: 12px;
}

.legal-meta-item {
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.legal-meta-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.legal-contact-box {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  background: #f8fafc;
}

.legal-contact-box strong {
  display: block;
  color: #0f172a;
  margin-bottom: 6px;
}

.legal-footer {
  background: #071129;
  color: rgba(255, 255, 255, 0.62);
  padding: 24px;
  text-align: center;
  font-size: 13px;
}

.legal-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

/* ===================== MODALS ===================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.show {
  display: flex;
}

/* Theme Overrides */
:root[data-theme="dark"] {
  --white: #0f172a;
  --light: #1e293b;
  --dark: #f8fafc;
  --dark2: #e2e8f0;
  --gray: #94a3b8;
  --border: #334155;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .navbar {
  background: var(--white);
}

.modal-content {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modalPop 0.35s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.admin-modal {
  max-width: 700px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
  color: var(--gray);
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin: 0 auto 20px;
}

.modal-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  text-align: center;
}

.modal-content p {
  font-size: 14px;
  color: var(--gray);
  text-align: center;
  margin-bottom: 16px;
}

.modal-price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--light);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 16px;
  font-size: 15px;
}

.modal-price-box strong {
  font-size: 22px;
  color: var(--primary);
  font-weight: 800;
}

.modal-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dark2);
}

.modal-includes li::before {
  content: "✅";
  font-size: 13px;
}

/* Admin Modal */
.admin-header-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.admin-header-row h2 {
  font-size: 20px;
  color: var(--dark);
}

.admin-section {
  background: var(--light);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}

.admin-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--dark);
  margin-bottom: 14px;
}

.admin-section h3 i {
  color: var(--primary);
}

.admin-field {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-field label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  transition: border 0.2s;
  outline: none;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.admin-notif-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.admin-notif-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--border);
}

.admin-notif-text {
  flex: 1;
  font-size: 13px;
  color: var(--dark);
}

.admin-notif-delete {
  background: rgba(239, 68, 68, 0.1);
  border: none;
  color: var(--red);
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.admin-notif-delete:hover {
  background: rgba(239, 68, 68, 0.2);
}

.admin-notif-add {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-notif-add input {
  flex: 1;
  min-width: 160px;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  outline: none;
}

.admin-notif-add input:focus {
  border-color: var(--primary);
}

.admin-notif-add select {
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--dark);
  background: var(--white);
  outline: none;
}

.admin-hours-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-actions {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.admin-actions .btn {
  flex: 1;
  justify-content: center;
}

/* Toggle */
.toggle-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark2);
}

.toggle-check {
  display: none;
}

.toggle-slider {
  width: 44px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 12px;
  position: relative;
  transition: background 0.3s;
  flex-shrink: 0;
}

.toggle-slider::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.3s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.toggle-check:checked ~ .toggle-slider {
  background: var(--primary);
}

.toggle-check:checked ~ .toggle-slider::after {
  left: 23px;
}

/* Password input */
.pwd-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border 0.2s;
}

.pwd-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ===================== TOAST ===================== */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;

  z-index: 9999;
  opacity: 0;
  transition: all 0.35s;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-success {
  background: var(--green);
}

.toast-error {
  background: var(--red);
}

.toast-info {
  background: var(--primary);
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .spline-background {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 60px 32px;
  }

  .shop-status-card {
    max-width: 500px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .map-embed {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .legal-nav-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-main {
    grid-template-columns: 1fr;
    padding: 30px 18px 44px;
  }

  .legal-card {
    padding: 24px 20px;
  }

  .legal-side-card {
    position: static;
  }

  .legal-contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    backdrop-filter: blur(16px);
    padding: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid var(--border);
  }

  /* Urgent Banner Mobile Fixes */
  .urgent-inner {
    padding: 8px 12px;
    gap: 8px;
  }

  .urgent-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .urgent-label {
    font-size: 9px;
  }

  #urgentNoticeText {
    font-size: 11px;
    line-height: 1.2;
  }

  .urgent-timer {
    font-size: 11px;
    padding: 4px 10px;
  }

  .urgent-close {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  .nav-menu.open {
    display: flex;
  }

  [data-theme="dark"] .nav-menu {
    background: var(--light);
    border-bottom-color: var(--border);
  }

  .btn-call,
  .btn-whatsapp {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 50px 20px;
    gap: 40px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .calc-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    columns: 3;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-hours-row {
    grid-template-columns: 1fr;
  }

  .admin-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    columns: 2;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-liquid-glass {
    padding: 10px 18px !important;
    font-size: 13px !important;
  }

  .shop-clock {
    font-size: 26px;
  }

  .shop-title {
    font-size: 22px;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PUNCH BUTTON / HYPE WIDGET ===== */

/* Main Punch Widget - Hero Section */
.punch-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 12px;
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  backdrop-filter: blur(8px);
  margin-top: 20px;
  animation: punch-fade-in 0.6s ease-out;
}

.punch-btn {
  background: linear-gradient(135deg, #6366f1, #818cf8);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 24px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
  min-width: 50px;
  min-height: 50px;
}

.punch-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.6);
}

.punch-btn:active {
  transform: scale(0.94);
}

.punch-btn.punching {
  animation: punch-anim 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.punch-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.punch-count {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.punch-label {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Inline Punch Widget - Services/Games Sections */
.punch-widget-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(249, 115, 22, 0.08);
  border-radius: 8px;
  margin-left: 16px;
  animation: punch-fade-in 0.4s ease-out;
}

.punch-btn-sm {
  background: linear-gradient(135deg, #f97316, #fb923c);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(249, 115, 22, 0.3);
  min-width: 38px;
  min-height: 38px;
}

.punch-btn-sm:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.5);
}

.punch-btn-sm:active {
  transform: scale(0.92);
}

.punch-btn-sm.punching {
  animation: punch-anim 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.punch-count-sm {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.punch-label-sm {
  font-size: 11px;
  color: var(--gray);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Demo Card Like Button - Special Compact Version */
.punch-widget-demo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 6px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

[data-theme="dark"] .punch-widget-demo {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
}

.demo-link-wrapper:hover .punch-widget-demo {
  border-color: rgba(236, 72, 153, 0.5);
  transform: translateX(2px);
}

.punch-btn-xs {
  background: linear-gradient(135deg, #ec4899, #f43f5e);
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0;
}

.punch-btn-xs i {
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

.punch-btn-xs:hover {
  transform: scale(1.15);
  box-shadow: 0 3px 8px rgba(236, 72, 153, 0.5);
}

.punch-btn-xs.punching {
  animation: punch-anim 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.punch-count-xs {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark);
  min-width: 10px;
  text-align: center;
}

.demo-link-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: rgba(255, 255, 255, 0.6);
  padding: 6px 8px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .demo-link-wrapper {
  background: rgba(15, 23, 42, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.demo-link-wrapper:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.3);
  background: var(--white);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .demo-link-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.6);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.demo-link-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(to bottom, #ffffff, #f1f5f9, #e2e8f0) !important;
  color: #334155 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-decoration: none !important;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  flex: 1;
}

[data-theme="dark"] .demo-link-wrapper a {
  background: linear-gradient(to bottom, #4b5563, #374151, #1f2937) !important;
  color: #e2e8f0 !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 2px 4px rgba(0,0,0,0.3);
}

.demo-link-wrapper a:hover {
  background: linear-gradient(to bottom, #f8fafc, #e2e8f0, #cbd5e1) !important;
  transform: scale(1.02);
}

[data-theme="dark"] .demo-link-wrapper a:hover {
  background: linear-gradient(to bottom, #6b7280, #4b5563, #374151) !important;
  color: #fff !important;
}

.demo-link-wrapper a i {
  color: var(--primary);
  font-size: 11px;
  opacity: 0.8;
}

[data-theme="dark"] .demo-link-wrapper a i {
  color: #94a3b8;
}

/* Punch Animation */
@keyframes punch-anim {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.35) rotate(-8deg);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes punch-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Punch Widgets */
@media (max-width: 768px) {
  .punch-widget {
    padding: 10px 12px;
    gap: 10px;
  }

  .punch-btn {
    padding: 8px 10px;
    font-size: 20px;
    min-width: 44px;
    min-height: 44px;
  }

  .punch-count {
    font-size: 16px;
  }

  .punch-widget-inline {
    margin-left: 8px;
    padding: 6px 10px;
  }

  .punch-btn-sm {
    padding: 5px 8px;
    font-size: 14px;
    min-width: 34px;
    min-height: 34px;
  }

  .punch-count-sm {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .punch-widget {
    padding: 8px 10px;
    gap: 8px;
    margin-top: 16px;
  }

  .punch-btn {
    padding: 6px 8px;
    font-size: 18px;
    min-width: 40px;
    min-height: 40px;
  }

  .punch-count {
    font-size: 14px;
  }

  .punch-label {
    font-size: 10px;
  }

  .punch-widget-inline {
    display: flex;
    margin-left: 4px;
    margin-top: 10px;
    padding: 6px 8px;
  }

  .punch-btn-sm {
    padding: 4px 6px;
    font-size: 13px;
    min-width: 32px;
    min-height: 32px;
  }

  .demo-link-wrapper {
    gap: 4px;
    padding: 3px;
  }

  .punch-btn-xs {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .punch-count-xs {
    font-size: 11px;
  }
}
/* ===================================================
   MAGIC BG REMOVER STYLES
   =================================================== */

.btn-magic {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(168, 85, 247, 0.4);
  background-size: 200% 200%;
  animation: magicGradient 4s ease infinite;
}

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

.btn-magic:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(168, 85, 247, 0.6);
}

.magic-modal-content {
  max-width: 500px !important;
  text-align: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
}

.magic-header {
  margin-bottom: 25px;
}

.magic-icon-wrap {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 24px;
  color: #fff;
  animation: magicPulse 2s infinite;
}

@keyframes magicPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(168, 85, 247, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

.magic-preview-area {
  min-height: 250px;
  background: #020617;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
  border: 2px dashed rgba(255, 255, 255, 0.1);
}

.magic-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  color: var(--gray);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top-color: #a855f7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.checkered-bg {
  background-image: 
    linear-gradient(45deg, #1e293b 25%, transparent 25%),
    linear-gradient(-45deg, #1e293b 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1e293b 75%),
    linear-gradient(-45deg, transparent 75%, #1e293b 75%);
  background-size: 20px 20px;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  border-radius: 8px;
  padding: 10px;
}

#magic-result-img {
  max-width: 100%;
  max-height: 350px;
  display: block;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.magic-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===================================================
   EXTRACTED INLINE STYLES
   =================================================== */

/* Hero button rows */
.hero-buttons-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

/* Hero CTA button style (red-black gradient overrides) */
.btn-hero-cta {
  padding: 12px 24px;
  font-weight: bold;
  background: linear-gradient(135deg, #ff0000, #000000);
}

.btn-hero-cta-alt {
  padding: 12px 24px;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(135deg, #ff0000, #000000);
}

/* Demo links — vertical list layout */
.demo-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
  align-items: center;
}

/* Demo links — horizontal wrap layout */
.demo-links-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

/* Icon gradient backgrounds */
.icon-bg-medical    { background: linear-gradient(135deg, #10b981, #34d399); }
.icon-bg-school     { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.icon-bg-salon      { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.icon-bg-grocery    { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.icon-bg-restaurant { background: linear-gradient(135deg, #f97316, #fb923c); }
.icon-bg-gym        { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.icon-bg-tech       { background: linear-gradient(135deg, #3b82f6, #2dd4bf); }
.icon-bg-fashion    { background: linear-gradient(135deg, #6366f1, #a855f7); }
.icon-bg-primary    { background: linear-gradient(135deg, #6366f1, #818cf8); }
.icon-bg-whatsapp   { background: linear-gradient(135deg, #10b981, #34d399); }
.icon-bg-disabled   { background: linear-gradient(135deg, #9ca3af, #d1d5db); }
.icon-bg-quiz       { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.icon-bg-memory     { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.icon-bg-reflex     { background: linear-gradient(135deg, #06b6d4, #22d3ee); }

/* ===================================================
   NEW STYLES FOR STUDY ZONE & TABS
   =================================================== */

.scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}
.scroll-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--border);
  border-radius: 4px;
}

.scroll-wrapper .demos-grid,
.scroll-wrapper .games-grid {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 20px;
  width: max-content;
  padding: 10px;
}

.scroll-wrapper .demo-card,
.scroll-wrapper .game-card {
  width: 320px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* ── Premium Segmented Control Tabs ── */
.tab-container {
  display: inline-flex;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 36px;
  flex-wrap: wrap;
  width: 100%;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 60px;
  padding: 6px;
  max-width: 520px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tab-container .filter-btn {
  flex: 1;
  min-width: 140px;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  background: transparent;
  color: var(--gray);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  text-align: center;
  white-space: nowrap;
  position: relative;
  letter-spacing: 0.2px;
}

.tab-container .filter-btn:hover {
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  box-shadow: none;
}

.tab-container .filter-btn.active {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45);
  transform: none;
}

@media (max-width: 480px) {
  .tab-container {
    max-width: 100%;
    border-radius: 20px;
    padding: 5px;
  }
  .tab-container .filter-btn {
    flex: 1 1 auto;
    min-width: 120px;
    font-size: 13px;
    padding: 10px 16px;
  }
}

.tab-content {
  display: none;
  animation: fadeEffect 0.5s;
}

.tab-content.active {
  display: block;
}

.ai-services-placeholder {
  min-height: 200px;
  border: 2px dashed var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  padding: 40px 20px;
  background-color: var(--white);
}

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


/* ======================================================== */
/* AI SERVICES PORTAL MERGED CSS */
/* ======================================================== */

.ai-services-wrapper {
    --ai-primary: #6366f1;
    --ai-primary-hover: #4f46e5;
    --ai-bg: transparent;
    --ai-card-bg: rgba(17, 24, 39, 0.7);
    --ai-card-border: rgba(255, 255, 255, 0.08);
    --ai-text-main: #f9fafb;
    --ai-text-muted: #9ca3af;
    --ai-glass: blur(12px) saturate(180%);
}


        

        

        

/* ================================================================== */
/* REDESIGNED AI SERVICE CARDS — Premium offline-card style with AI twist */
/* ================================================================== */

/* Hub label */
.ai-hub-tag {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 18px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-align: center;
    margin: 0 auto 4px;
    display: table;
}

/* Scroll hint bar */
.ai-scroll-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 14px;
    animation: hintPulse 2.5s ease-in-out infinite;
}

.ai-scroll-hint i { font-size: 14px; }

.ai-scroll-dots {
    display: flex;
    gap: 4px;
}

.ai-scroll-dots span {
    width: 6px;
    height: 6px;
    background: #6366f1;
    border-radius: 50%;
    animation: dotMove 1.4s ease infinite;
}
.ai-scroll-dots span:nth-child(2) { animation-delay: 0.2s; }
.ai-scroll-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotMove {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}

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

/* Scroll frame — wraps wrapper + nav btns */
.ai-scroll-frame {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Nav arrow buttons */
.ai-nav-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.3);
    background: var(--white);
    color: #6366f1;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(99,102,241,0.12);
    z-index: 2;
}

.ai-nav-btn:hover {
    background: #6366f1;
    color: #fff;
    border-color: #6366f1;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    transform: scale(1.08);
}

/* Scroll wrapper with right fade indicator */
.ai-scroll-wrapper {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    /* Right fade — signals more content */
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.ai-scroll-wrapper:active { cursor: grabbing; }

/* Big, very visible scrollbar for PC */
.ai-scroll-wrapper::-webkit-scrollbar { height: 10px; }
.ai-scroll-wrapper::-webkit-scrollbar-track {
    background: #e0e7ff;
    border-radius: 10px;
    margin: 0 4px;
}
.ai-scroll-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    border: 2px solid #e0e7ff;
}
.ai-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}

/* ── AI Service Card ── */
.ai-svc-card {
    background: var(--white);
    border: 1.5px solid rgba(99, 102, 241, 0.2);
    border-radius: 20px;
    padding: 28px 20px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    width: 240px;
    flex-shrink: 0;
    scroll-snap-align: start;
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.06);
    /* Subtle top gradient tint */
    background: linear-gradient(180deg, rgba(99,102,241,0.04) 0%, #ffffff 40%);
}

.ai-svc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(99, 102, 241, 0.2);
    border-color: var(--primary);
}

/* Big coloured icon block */
.ai-svc-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    transition: transform 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.ai-svc-card:hover .ai-svc-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Category tag */
.ai-svc-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #6366f1;
}

.ai-svc-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.ai-svc-card p {
    font-size: 12.5px;
    color: var(--gray);
    line-height: 1.5;
    flex: 1;
    margin: 0;
}

/* CTA pill — mimics price-tag style */
.ai-svc-cta {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 50px;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.ai-svc-card:hover .ai-svc-cta {
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    transform: translateY(-1px);
}

.ai-svc-cta i { font-size: 10px; transition: transform 0.3s; }
.ai-svc-card:hover .ai-svc-cta i { transform: translateX(3px); }

/* Badges */
.ai-svc-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 9px;
    font-weight: 900;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.ai-badge-live {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    animation: pulseBadge 2s infinite;
}

.ai-badge-new {
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.ai-badge-beta {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Dark theme adjustments */
[data-theme="dark"] .ai-svc-card {
    background: linear-gradient(180deg, rgba(99,102,241,0.08) 0%, rgba(15,23,42,0.9) 40%);
    border-color: rgba(99, 102, 241, 0.25);
}
[data-theme="dark"] .ai-svc-card h3 { color: #f1f5f9; }
[data-theme="dark"] .ai-nav-btn {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(99, 102, 241, 0.4);
}
[data-theme="dark"] .ai-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(99, 102, 241, 0.1);
}

/* ── Demo site card pills ── */
.demo-pills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    width: 100%;
    margin-top: 4px;
}

.demo-pill-wrap {
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(99, 102, 241, 0.06);
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 50px;
    padding: 3px 8px 3px 10px;
    transition: background 0.2s, border-color 0.2s;
}

.demo-pill-wrap:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.35);
}

.demo-pill {
    font-size: 11px;
    font-weight: 700;
    color: #6366f1;
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3px;
}

.demo-pill i { font-size: 9px; opacity: 0.7; }

.demo-pill-wrap .punch-widget-demo {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 2px;
}

/* Game card action pills */
.game-pills {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 4px;
}

.game-pill-code {
    background: rgba(15, 23, 42, 0.08);
    color: var(--dark);
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background 0.2s;
}

.game-pill-code:hover { background: rgba(15, 23, 42, 0.15); }

[data-theme="dark"] .demo-pill-wrap {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.2);
}

[data-theme="dark"] .demo-pill-wrap:hover {
    background: rgba(99, 102, 241, 0.18);
}

[data-theme="dark"] .game-pill-code {
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
}

[data-theme="dark"] .game-pill-code:hover { background: rgba(255, 255, 255, 0.15); }

/* Offline services card grid */
.offline-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    padding: 4px;
}

/* ============================================================ */
/* OFFLINE SHOP SERVICES — simple cards (no badge / no CTA)     */
/* ============================================================ */
.offline-svc-category {
    margin-bottom: 2.5rem;
}

.offline-svc-cat-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.06), rgba(14, 165, 233, 0.02) 60%, transparent);
    border-left: 4px solid #6366f1;
    border-radius: 0 12px 12px 0;
}

.offline-svc-cat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    flex-shrink: 0;
}

.offline-svc-cat-title {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--text, #0f172a);
    letter-spacing: 0.2px;
}

.offline-svc-cat-sub {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--gray, #64748b);
    font-weight: 500;
}

[data-theme="dark"] .offline-svc-cat-header {
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.12), rgba(14, 165, 233, 0.04) 60%, transparent);
}

[data-theme="dark"] .offline-svc-cat-title { color: #f1f5f9; }
[data-theme="dark"] .offline-svc-cat-sub { color: #94a3b8; }

.offline-svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.1rem;
    padding: 4px 4px 12px;
}

.offline-svc-card {
    background: var(--ai-card-bg, #ffffff);
    border: 1px solid var(--ai-card-border, rgba(99, 102, 241, 0.12));
    border-radius: 16px;
    padding: 1.1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.offline-svc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.04), rgba(99, 102, 241, 0.04));
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.offline-svc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
    border-color: rgba(99, 102, 241, 0.35);
}

.offline-svc-card:hover::before {
    opacity: 1;
}

.offline-svc-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.offline-svc-card h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text, #0f172a);
    line-height: 1.3;
}

.offline-svc-card p {
    margin: 0;
    font-size: 13px;
    color: var(--gray, #64748b);
    line-height: 1.45;
}

[data-theme="dark"] .offline-svc-card {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .offline-svc-card h4 { color: #f1f5f9; }
[data-theme="dark"] .offline-svc-card p { color: #94a3b8; }

/* Bottom CTA strip */
.offline-svc-cta-strip {
    margin-top: 1.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(99, 102, 241, 0.08));
    border: 1px dashed rgba(99, 102, 241, 0.35);
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    font-size: 14px;
    color: var(--text, #0f172a);
    text-align: center;
}

.offline-svc-cta-strip i.fa-store {
    color: #6366f1;
    font-size: 18px;
}

.offline-svc-call-btn {
    background: linear-gradient(135deg, #25d366, #059669);
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offline-svc-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

[data-theme="dark"] .offline-svc-cta-strip { color: #f1f5f9; }

@media (max-width: 600px) {
    .offline-svc-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.85rem;
    }
    .offline-svc-card {
        padding: 0.9rem 0.85rem;
    }
    .offline-svc-icon {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }
    .offline-svc-card h4 { font-size: 14px; }
    .offline-svc-card p { font-size: 12px; }
}

/* Coming soon CTA pill (grayed out) */
.ai-svc-cta-soon {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 50px;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Hide nav buttons on mobile (touch scroll is fine) */
/* AI Services — two-row horizontal grid (desktop) */
#toolGrid {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    gap: 1rem;
    width: max-content;
    padding: 4px 4px 12px;
}

#noResults {
    grid-row: 1 / 3;
}

@media (max-width: 768px) {
    .ai-nav-btn { display: none; }
    .ai-scroll-hint { font-size: 12px; }
    .ai-svc-card { width: 210px; }
    #toolGrid {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;
        grid-template-rows: unset;
    }
}

/* ============================================================ */
/* GLOBAL BIGGER SCROLLBARS (all horizontal scroll zones)       */
/* ============================================================ */
.scroll-wrapper::-webkit-scrollbar { height: 10px; }
.scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
.scroll-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}
.scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
}


        .ai-search-container {
            max-width: 600px;
            margin: 0 auto 3rem;
            position: relative;
            z-index: 10;
        }


        .ai-search-input {
            width: 100%;
            background: var(--ai-card-bg);
            backdrop-filter: var(--ai-glass);
            border: 1px solid var(--ai-card-border);
            border-radius: 16px;
            padding: 1rem 1.5rem 1rem 3.5rem;
            color: var(--ai-text-main);
            font-size: 1rem;
            outline: none;
            transition: all 0.3s ease;
        }

        .ai-search-input:focus {
            border-color: var(--ai-primary);
            box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
        }

        .ai-search-icon {
            position: absolute;
            left: 1.25rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--ai-text-muted);
            pointer-events: none;
        }

        .ai-badge {
            position: absolute;
            top: 1.25rem;
            right: 1.25rem;
            font-size: 0.65rem;
            font-weight: 800;
            padding: 0.25rem 0.6rem;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .ai-badge-new { background: #10b981; color: white; }
        .ai-badge-beta { background: #f59e0b; color: white; }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 1.5rem;
        }

        .footer-links a {
            color: var(--ai-text-muted);
            text-decoration: none;
            font-size: 0.85rem;
            transition: color 0.2s;
        }

        .footer-links a:hover { color: var(--ai-primary); }

        /* No results message */
        .ai-no-results {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem 2rem;
            color: var(--ai-text-muted);
            display: none;
        }

        /* Ambient Background Elements */
        .bg-glow {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
            background: 
                radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 40%);
        }

        .portal-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 1.5rem;
            width: 100%;
        }

        .header {
            text-align: center;
            margin-bottom: 4rem;
        }

        .header h1 {
            font-family: 'Outfit', sans-serif;
            font-size: 3rem;
            font-weight: 800;
            background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        @media (max-width: 768px) {
            .header h1 { font-size: 2.25rem; }
        }

        .header p {
            color: var(--ai-text-muted);
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* Horizontal scroll container for AI grid */
        .ai-scroll-wrapper {
            overflow-x: auto;
            overflow-y: hidden;
            padding-bottom: 16px;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            cursor: grab;
        }

        .ai-scroll-wrapper:active {
            cursor: grabbing;
        }

        .ai-scroll-wrapper::-webkit-scrollbar {
            height: 6px;
        }

        .ai-scroll-wrapper::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 4px;
        }

        .ai-scroll-wrapper::-webkit-scrollbar-thumb {
            background: rgba(99, 102, 241, 0.5);
            border-radius: 4px;
        }

        .ai-scroll-wrapper::-webkit-scrollbar-thumb:hover {
            background: rgba(99, 102, 241, 0.8);
        }

        .ai-grid {
            display: flex;
            flex-wrap: nowrap;
            gap: 1.5rem;
            width: max-content;
            padding: 4px 4px 8px;
        }

        .ai-card {
            background: var(--ai-card-bg);
            backdrop-filter: var(--ai-glass);
            -webkit-backdrop-filter: var(--ai-glass);
            border: 1px solid var(--ai-card-border);
            border-radius: 24px;
            padding: 1.75rem;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
            width: 300px;
            flex-shrink: 0;
            scroll-snap-align: start;
        }

        .ai-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
            pointer-events: none;
        }

        .ai-card:hover {
            transform: translateY(-8px);
            border-color: rgba(99, 102, 241, 0.4);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
            background: rgba(17, 24, 39, 0.85);
        }

        .ai-card-icon {
            font-size: 2rem;
            margin-bottom: 1.25rem;
            background: rgba(255, 255, 255, 0.03);
            width: 56px;
            height: 56px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 16px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .ai-card-tag {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--ai-primary);
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .ai-card h3 {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--ai-text-main);
        }

        .ai-card p {
            font-size: 0.95rem;
            color: var(--ai-text-muted);
            line-height: 1.5;
            margin-bottom: 1.5rem;
            flex-grow: 1;
        }

        .ai-card-footer {
            display: flex;
            align-items: center;
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--ai-primary);
            gap: 0.5rem;
        }

        .ai-card-footer svg {
            transition: transform 0.3s ease;
        }

        .ai-card:hover .ai-card-footer svg {
            transform: translateX(4px);
        }

        .footer {
            margin-top: auto;
            padding: 4rem 1.5rem 2rem;
            text-align: center;
            border-top: 1px solid rgba(255, 255, 255, 0.03);
        }

        .footer p {
            color: var(--ai-text-muted);
            font-size: 0.9rem;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .ai-card {
            animation: fadeIn 0.6s ease forwards;
            opacity: 0;
        }

        .ai-card:nth-child(1) { animation-delay: 0.1s; }
        .ai-card:nth-child(2) { animation-delay: 0.15s; }
        .ai-card:nth-child(3) { animation-delay: 0.2s; }
        .ai-card:nth-child(4) { animation-delay: 0.25s; }
        .ai-card:nth-child(5) { animation-delay: 0.3s; }
        .ai-card:nth-child(6) { animation-delay: 0.35s; }
        .ai-card:nth-child(7) { animation-delay: 0.4s; }
        .ai-card:nth-child(8) { animation-delay: 0.45s; }
        .ai-card:nth-child(9) { animation-delay: 0.5s; }

    }

/* ===== SHOP OPENING COUNTDOWN BAR ===== */
.opening-countdown-bar {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  border-bottom: 1px solid rgba(99,102,241,0.3);
  padding: 14px 20px;
  position: relative;
  overflow: hidden;
}

.opening-countdown-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 40px,
    rgba(99,102,241,0.04) 40px,
    rgba(99,102,241,0.04) 41px
  );
  pointer-events: none;
}

.ocb-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ocb-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.ocb-fire { font-size: 26px; flex-shrink: 0; }

.ocb-title {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.ocb-sub {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

.ocb-timer {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.ocb-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 50px;
}

.ocb-unit span {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.ocb-unit small {
  font-size: 9px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.ocb-colon {
  font-size: 20px;
  font-weight: 800;
  color: rgba(255,255,255,0.3);
  margin-bottom: 12px;
}

.ocb-notify-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.1s;
  flex-shrink: 0;
}

.ocb-notify-btn:hover { opacity: 0.88; transform: scale(1.02); }

@media (max-width: 700px) {
  .ocb-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .ocb-notify-btn { width: 100%; justify-content: center; }
  .ocb-timer { width: 100%; justify-content: center; }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  padding: 80px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.testi-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.testi-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 100px;
  color: var(--primary);
  opacity: 0.07;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testi-stars {
  color: #f59e0b;
  font-size: 16px;
  letter-spacing: 2px;
}

.testi-text {
  font-size: 15px;
  color: var(--dark2);
  line-height: 1.65;
  font-style: italic;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.testi-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.testi-author span {
  font-size: 12px;
  color: var(--gray);
}

@media (max-width: 600px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================ */
/* AI AGENT MODAL                                               */
/* ============================================================ */
.agent-modal-content {
  max-width: 640px;
  padding: 32px;
}

.agent-modal-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 2px dashed #e2e8f0;
}

.agent-modal-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.agent-modal-title-block h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.agent-modal-tagline {
  font-size: 14px;
  color: #6366f1;
  font-weight: 600;
  margin: 0;
  font-style: italic;
}

.agent-modal-section {
  margin-bottom: 18px;
}

.agent-modal-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.agent-modal-section p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.agent-modal-section ul.modal-includes {
  margin: 0;
  padding-left: 0;
}

.agent-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.agent-chip {
  background: linear-gradient(135deg, #eef2ff, #f3e8ff);
  color: #6366f1;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid #e0e7ff;
}

.agent-usecase-box {
  background: linear-gradient(135deg, #fef3c7, #fce7f3);
  padding: 16px 18px;
  border-radius: 14px;
  border-left: 4px solid #ec4899;
}

.agent-usecase-box h4 {
  color: #0f172a;
}

.agent-modal-contact-note {
  background: #f1f5f9;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 13px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 16px;
}

.agent-modal-contact-note i {
  color: #6366f1;
  font-size: 16px;
}

.agent-modal-cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  background: linear-gradient(135deg, #25d366, #059669);
  color: #fff;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.agent-modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

[data-theme="dark"] .agent-modal-header {
  border-bottom-color: #334155;
}

[data-theme="dark"] .agent-modal-title-block h2,
[data-theme="dark"] .agent-modal-section h4 {
  color: #f1f5f9;
}

[data-theme="dark"] .agent-modal-section p {
  color: #cbd5e1;
}

[data-theme="dark"] .agent-chip {
  background: linear-gradient(135deg, #312e81, #4c1d95);
  color: #c7d2fe;
  border-color: #4338ca;
}

[data-theme="dark"] .agent-usecase-box {
  background: linear-gradient(135deg, #451a03, #500724);
}

[data-theme="dark"] .agent-modal-contact-note {
  background: #1e293b;
  color: #cbd5e1;
}

@media (max-width: 600px) {
  .agent-modal-content {
    padding: 24px 20px;
  }
  .agent-modal-header {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .agent-modal-title-block h2 {
    font-size: 20px;
  }
}

/* Keep the main footer layout stable after later AI-section helper styles. */
.footer .footer-links {
  display: block;
  margin-bottom: 0;
}

.footer .footer-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.footer .footer-links a:hover {
  color: var(--accent);
}
