:root {
  --bg-main: #060913;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 34, 62, 0.85);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 242, 254, 0.4);
  --primary: #00f2fe;
  --primary-hover: #4facfe;
  --secondary: #8b5cf6;
  --accent: #10b981;
  --accent-pink: #ec4899;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-glow: 0 0 30px rgba(0, 242, 254, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --bg-section-alt: rgba(15, 23, 42, 0.45);
}

.section-alt {
  background: var(--bg-section-alt);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-main);
}

body {
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 15% 15%, rgba(0, 242, 254, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    var(--bg-main);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glassmorphism utility */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* Mobile Nav Drawer Contact Card */
.mobile-contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 242, 254, 0.22);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 8px;
}

.mobile-contact-header {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.mobile-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-contact-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px !important;
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap !important;
}

.mobile-contact-row:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-contact-row.mcr-wa {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
}

.mobile-contact-row.mcr-wa:hover {
  background: rgba(37, 211, 102, 0.18);
}

.mcr-icon {
  font-size: 1.1rem;
}

.mcr-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-left: 8px;
}

.mcr-lbl {
  font-size: 0.72rem;
  color: var(--text-sub);
  font-weight: 600;
}

.mcr-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.3px;
  white-space: nowrap !important;
}

.mobile-contact-row.mcr-wa .mcr-num {
  color: #25d366;
}

.mcr-btn {
  background: var(--primary);
  color: #040814;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.mcr-btn-wa {
  background: #25d366;
  color: #ffffff;
}

.chat-mini-pill {
  background: rgba(37, 211, 102, 0.18);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25d366;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-family: var(--font-main);
  font-weight: 700;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Navigation & Header */
.header, .navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition-normal);
  border-bottom: 1px solid var(--border-glass);
  background: rgba(6, 9, 19, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container, .nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(6px, 1vw, 14px);
  width: 100% !important;
  max-width: 1560px !important;
  padding: 0 clamp(10px, 1.5vw, 24px) !important;
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.logo-emblem-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 0 14px rgba(0, 242, 254, 0.55));
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(12deg) scale(1.08);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: #ffffff;
}

.brand-badge-pill {
  font-size: 0.7rem;
  color: var(--primary);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  padding: 1px 7px;
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-top: 2px;
  font-weight: 600;
}

.brand-domain {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  color: var(--primary);
  margin-left: 6px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.4vw, 6px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
  min-width: 0;
}

.nav-links a {
  text-decoration: none;
  color: #f1f5f9;
  font-size: clamp(0.72rem, 0.76vw, 0.82rem);
  font-weight: 600;
  padding: 5px clamp(4px, 0.5vw, 8px);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.nav-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link-highlight {
  color: var(--primary) !important;
  font-weight: 600 !important;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.badge-hot {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  animation: pulseAnim 1.8s infinite;
}

.header-actions, .nav-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: clamp(6px, 0.7vw, 10px) !important;
  flex-shrink: 0 !important;
  margin-left: auto;
}

.btn-ai-header {
  background: rgba(0, 242, 254, 0.1);
  border: 1.5px solid rgba(0, 242, 254, 0.45);
  color: var(--primary);
  height: 38px;
  padding: 0 clamp(8px, 0.8vw, 14px);
  font-size: clamp(0.76rem, 0.8vw, 0.84rem);
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 242, 254, 0.15);
}

.btn-ai-header:hover {
  background: rgba(0, 242, 254, 0.22);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.4);
  transform: translateY(-1px);
}

.btn-header-cta {
  height: 38px;
  padding: 0 clamp(10px, 0.9vw, 16px);
  font-size: clamp(0.76rem, 0.8vw, 0.84rem);
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 10px rgba(0, 242, 254, 0.25);
}

.btn-whatsapp-header {
  background: rgba(37, 211, 102, 0.16);
  border: 1.5px solid rgba(37, 211, 102, 0.45);
  color: #25d366;
  height: 38px;
  padding: 0 clamp(8px, 0.8vw, 14px);
  font-size: clamp(0.76rem, 0.8vw, 0.84rem);
  font-weight: 700;
  border-radius: var(--radius-full);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.15);
}

.btn-whatsapp-header:hover {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

/* Floating WhatsApp Direct Chat Widget (Compact Desktop) */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 22px;
  left: 22px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.floating-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
  color: #ffffff;
}

/* Mobile Toggle Hamburger */
.mobile-toggle-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-toggle-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  background: rgba(10, 15, 30, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid var(--border-glass);
  padding: 16px 24px 24px;
  gap: 12px;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-nav-drawer a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

@media (max-width: 1290px) {
  .nav-links {
    display: none !important;
  }
  .mobile-toggle-btn {
    display: flex !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #040814;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* Hero Section */
.hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sections Common */
.section {
  padding: 80px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Software Marketplace Grid */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-sub);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
}

.software-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.software-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.software-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px -15px rgba(0, 242, 254, 0.2);
}

.software-card:hover::before {
  opacity: 1;
}

.software-card-top {
  margin-bottom: 20px;
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.25);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
  margin-bottom: 16px;
}

.software-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.software-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.software-highlights {
  list-style: none;
  margin-bottom: 24px;
}

.software-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}

.software-highlights li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
}

.tag-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tag-item {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.software-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--border-glass);
}

.price-wrap {
  display: flex;
  flex-direction: column;
}

.price-now {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.price-strike {
  font-size: 0.85rem;
  color: #64748b;
  text-decoration: line-through;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* Interactive Cost Calculator */
.calc-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-glass);
}

.calc-step {
  margin-bottom: 30px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.2), rgba(79, 172, 254, 0.25));
  border: 1px solid rgba(0, 242, 254, 0.45);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  width: auto;
  height: auto;
  flex-shrink: 0;
  white-space: nowrap;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.option-grid, .options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.option-box {
  border: 1.5px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.option-box:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 242, 254, 0.4);
  transform: translateY(-2px);
}

.option-box.selected {
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.08);
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.15);
}

.option-box input {
  margin-top: 4px;
  accent-color: var(--primary);
  width: 17px;
  height: 17px;
  cursor: pointer;
  flex-shrink: 0;
}

.opt-icon {
  width: 42px;
  height: 42px;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.opt-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.opt-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.opt-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.4;
}

.calc-result-box {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(139, 92, 246, 0.15));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.result-main h3 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.result-price {
  font-size: 2.2rem;
  font-weight: 850;
  color: var(--primary);
}

.result-timeline {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 600;
}

/* Tech Stack Badges */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.stack-card {
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition-fast);
}

.stack-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.stack-icon {
  font-size: 2rem;
  margin-bottom: 8px;
}

.stack-name {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Modal Dialog Styling (Modern Web Standards Compliance) */
dialog:modal {
  margin: auto;
  padding: 0;
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  background: #0b1120;
  color: var(--text-main);
  max-width: 580px;
  width: 90%;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 242, 254, 0.2);
  /* MANDATORY modern guidance: contain scroll inside modal */
  overscroll-behavior: contain;
}

dialog::backdrop {
  /* MANDATORY modern guidance: backdrop overflow hidden + overscroll-behavior contain */
  overflow: hidden;
  overscroll-behavior: contain;
  background-color: rgba(5, 10, 25, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-sub);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.modal-body {
  padding: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-sub);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  background: #0f172a;
  border: 1px solid var(--accent);
  color: var(--text-main);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 1000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-glass);
  background: #040711;
  padding: 70px 0 30px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 340px;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 25px;
  font-size: 0.88rem;
  color: #cbd5e1;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom-link {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-bottom-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ===================================================
   📱 VIP ENTERPRISE MOBILE RESPONSIVE ENGINE
   =================================================== */
@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .mobile-toggle-btn { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .compare-table { min-width: 600px; }
  .compare-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 768px) {
  /* Prevent horizontal overflow across the entire page */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }


  /* VIP Header */
  .header {
    position: sticky;
    top: 0;
    z-index: 999;
  }
  .header-container {
    height: 60px;
    padding: 0 14px;
  }
  .brand-logo-img {
    width: 32px;
    height: 32px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .brand-badge-pill {
    font-size: 0.62rem;
    padding: 0 5px;
  }
  .btn-header-cta {
    display: inline-flex !important;
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 0.74rem !important;
    flex-shrink: 0 !important;
  }
  .btn-ai-header {
    display: inline-flex !important;
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 0.74rem !important;
    flex-shrink: 0 !important;
  }
  .btn-whatsapp-header {
    display: inline-flex !important;
    height: 34px !important;
    padding: 0 10px !important;
    font-size: 0.74rem !important;
    flex-shrink: 0 !important;
  }
  .header-actions {
    gap: 6px !important;
  }
  .btn-theme-toggle {
    width: 34px !important;
    height: 34px !important;
    flex-shrink: 0 !important;
  }

  /* Mobile Nav Drawer (Full height app-like drawer) */
  .mobile-nav-drawer {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - 60px);
    background: rgba(8, 13, 26, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 16px 18px 40px;
    display: none;
    flex-direction: column;
    overflow-y: auto;
    z-index: 1000;
    gap: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  }
  .mobile-nav-drawer.open {
    display: flex;
    animation: fadeInDrawer 0.2s ease-out;
  }
  .mobile-nav-drawer a {
    font-size: 1rem;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* Hero Section */
  .hero {
    padding: 36px 0 28px;
  }
  .hero-tag {
    font-size: 0.74rem;
    padding: 4px 10px;
    margin-bottom: 16px;
    max-width: 100%;
    text-align: left;
    white-space: normal;
    line-height: 1.4;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.25rem);
    line-height: 1.25;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
  }
  .hero-sub {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 28px;
  }
  .hero-btns .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.92rem;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  .stat-card {
    padding: 14px 10px;
  }
  .stat-num {
    font-size: 1.65rem;
  }
  .stat-label {
    font-size: 0.76rem;
    line-height: 1.3;
  }

  /* Sections Common */
  .section {
    padding: 48px 0;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .section-title {
    font-size: 1.7rem;
    line-height: 1.25;
  }
  .section-desc {
    font-size: 0.92rem;
  }

  /* 14 Interactive Live Demos Category Pills on Mobile */
  .demo-category-pills {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    overflow-x: visible !important;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    width: 100% !important;
  }
  .demo-cat-btn {
    width: 100% !important;
    text-align: center !important;
    padding: 8px 6px !important;
    font-size: 0.78rem !important;
    white-space: normal !important;
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: var(--radius-full);
  }

  /* Software Store Marketplace Categories on Mobile: Strict 3 x 2 Grid (Point 6) */
  .filter-bar {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    overflow-x: visible !important;
    padding: 0 !important;
    margin: 0 0 24px 0 !important;
    width: 100% !important;
  }
  .filter-bar .filter-btn {
    width: 100% !important;
    text-align: center !important;
    padding: 8px 4px !important;
    font-size: 0.78rem !important;
    white-space: normal !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: var(--radius-full);
  }
  .demo-showcase-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 14px;
  }
  .demo-showcase-card {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }
  .demo-card-title {
    font-size: 1.1rem;
  }
  .demo-card-desc {
    font-size: 0.85rem;
  }
  .demo-card-features li {
    font-size: 0.8rem;
  }

  /* Fullscreen Simulator Chrome Bar */
  .demo-browser-chrome {
    height: auto;
    min-height: 52px;
    padding: 8px 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .demo-chrome-left {
    flex: 1;
    max-width: 100%;
    gap: 8px;
  }
  .demo-window-controls, .demo-nav-arrows {
    display: none !important;
  }
  .demo-address-bar {
    padding: 4px 10px;
    font-size: 0.72rem;
  }
  .demo-chrome-center {
    display: none !important; /* Hide device switcher on real phones */
  }
  .demo-chrome-right {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .demo-switcher-select {
    flex: 1;
    font-size: 0.78rem;
    padding: 6px 8px;
  }
  .btn-demo-order {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .btn-demo-close {
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .demo-viewport-area {
    padding: 0;
  }
  .demo-canvas-frame {
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  /* Software Marketplace Store */
  .software-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .software-card {
    padding: 20px 16px;
  }
  .software-card-bottom {
    flex-wrap: wrap;
    gap: 12px;
  }
  .software-card-bottom .btn {
    width: 100%;
  }

  /* Engineering Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-card {
    padding: 22px 18px;
  }

  /* Market Price Comparison Matrix (Point 7) */
  .table-scroll-hint {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto 12px auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.25);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    width: fit-content;
  }
  .compare-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 0 18px 0 !important;
    border-radius: var(--radius-md) !important;
    border: 1px solid var(--border-glass) !important;
    background: rgba(15, 23, 42, 0.6) !important;
  }
  .compare-table {
    min-width: 580px;
  }
  .compare-table th, .compare-table td {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  /* Cost Calculator */
  .calc-container {
    padding: 20px 14px !important;
    margin: 0 !important;
    width: 100% !important;
    border-radius: var(--radius-md);
  }
  .options-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }
  .option-box {
    padding: 12px 14px;
    gap: 12px;
  }
  .opt-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.25rem !important;
  }
  .opt-name {
    font-size: 0.92rem;
  }
  .opt-desc {
    font-size: 0.78rem;
  }
  .calc-result-box {
    flex-direction: column;
    text-align: center;
    padding: 20px 14px;
    gap: 14px;
  }
  .result-price {
    font-size: 1.85rem;
  }

  /* Legal Entity & Document Verification Desk */
  .legal-main-card {
    padding: 20px 14px !important;
  }
  .legal-facts-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .verify-doc-panel {
    padding: 16px 14px !important;
    margin-top: 18px !important;
  }
  .verify-input-group {
    flex-direction: column !important;
    width: 100% !important;
  }
  .verify-input {
    min-width: 0 !important;
    width: 100% !important;
    font-size: 0.9rem !important;
  }
  .verify-input-group .btn {
    width: 100% !important;
  }

  /* FAQ Accordion Mobile */
  .faq-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 14px !important;
    margin-top: 24px !important;
  }
  .faq-card {
    padding: 18px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .faq-q {
    font-size: 0.98rem !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  .faq-a {
    font-size: 0.88rem !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  /* Floating WhatsApp & AI Assistant (Sleek Compact FABs - Point 5) */
  .floating-whatsapp-btn {
    bottom: 16px !important;
    left: 14px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 998 !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45) !important;
  }
  .floating-whatsapp-btn .wa-text,
  .floating-whatsapp-btn .pulse-dot {
    display: none !important;
  }
  .floating-whatsapp-btn .wa-icon {
    font-size: 20px !important;
    line-height: 1 !important;
  }

  .floating-ai-trigger {
    bottom: 16px !important;
    right: 14px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 998 !important;
    box-shadow: 0 4px 14px rgba(0, 242, 254, 0.45) !important;
  }
  .floating-ai-trigger .ai-trigger-text,
  .floating-ai-trigger .pulse-dot {
    display: none !important;
  }
  .floating-ai-trigger .trigger-icon {
    font-size: 20px !important;
    line-height: 1 !important;
  }

  .floating-ai-widget {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 78dvh !important;
    max-height: 78dvh !important;
    border-radius: 20px 20px 0 0 !important;
    border: 1px solid var(--border-glow) !important;
    border-bottom: none !important;
    z-index: 10001 !important;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8) !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .floating-ai-widget.open {
    transform: translateY(0) !important;
  }
  .floating-ai-header {
    padding: 14px 16px !important;
  }
  .floating-ai-chips {
    overflow-x: auto !important;
    white-space: nowrap !important;
    padding: 8px 12px !important;
    flex-shrink: 0 !important;
  }
  .floating-ai-body {
    flex: 1 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    padding: 14px !important;
  }
  .floating-ai-footer {
    padding: 10px 14px 20px !important;
    flex-shrink: 0 !important;
  }
  .floating-ai-input {
    font-size: 16px; /* Prevents auto-zoom on mobile Safari */
  }

  /* Dialog Modals */
  dialog:modal {
    width: 95%;
    max-width: 95%;
    max-height: 90dvh;
    border-radius: var(--radius-md);
  }
  .modal-header {
    padding: 18px 16px;
  }
  .modal-body {
    padding: 18px 16px;
  }

  /* Demos: E-Commerce Storefront on Mobile */
  .ec-store-header {
    padding: 10px 14px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .ec-store-search {
    order: 3;
    width: 100%;
  }
  .ec-product-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
  }
  .ec-product-card {
    padding: 10px !important;
  }
  .ec-product-img {
    height: 110px !important;
    font-size: 2.2rem !important;
  }
  .ec-product-name {
    font-size: 0.85rem !important;
  }
  .ec-cart-drawer {
    width: 100% !important;
  }

  /* Demos: MLM Binary Tree on Mobile */
  .mlm-tree-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 14px 8px;
  }
  .mlm-tree-canvas {
    min-width: 540px;
  }
  .mlm-controls-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  /* Demos: POS Terminal on Mobile */
  .pos-terminal-layout {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
}

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

/* ===================================================
   INTERACTIVE LIVE DEMOS HUB
   =================================================== */
.demo-section {
  position: relative;
  overflow: hidden;
}

.demo-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.demo-tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-sub);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-tab-btn:hover, .demo-tab-btn.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

.demo-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.demo-pane.active {
  display: block;
}

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

/* Chat Simulator */
.chat-sim-box {
  max-width: 650px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: #090e1a;
  box-shadow: var(--shadow-card);
}

.chat-sim-header {
  background: #0f182c;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
}

.chat-sim-body {
  height: 340px;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-msg {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-msg.bot {
  align-self: flex-start;
  background: #182238;
  color: #e2e8f0;
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.chat-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #040814;
  font-weight: 500;
  border-bottom-right-radius: 2px;
}

.chat-msg-time {
  font-size: 0.72rem;
  opacity: 0.65;
  margin-top: 4px;
  text-align: right;
}

.chat-sim-footer {
  padding: 14px 20px;
  background: #0c1424;
  border-top: 1px solid var(--border-glass);
  display: flex;
  gap: 10px;
}

.chat-chips {
  display: flex;
  gap: 8px;
  padding: 10px 20px;
  background: #0a0f1d;
  overflow-x: auto;
}

.chat-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.chat-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Storefront Simulator */
.store-sim-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.store-item-card {
  padding: 18px;
  border-radius: var(--radius-md);
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
}

.store-item-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.store-cart-bar {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* MLM Tree Simulator */
.tree-sim-wrap {
  padding: 30px;
  background: #090e1b;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  text-align: center;
}

.tree-node {
  display: inline-block;
  padding: 12px 20px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid #8b5cf6;
  border-radius: var(--radius-md);
  margin: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tree-node:hover {
  transform: scale(1.05);
  background: rgba(139, 92, 246, 0.3);
}

.tree-line {
  width: 2px;
  height: 20px;
  background: #8b5cf6;
  margin: 0 auto;
}

/* POS Barcode & Billing Simulator */
.pos-sim-box {
  background: #080d1a;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  padding: 28px;
}

.pos-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.pos-table th, .pos-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.pos-table th {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

/* Extended 14 Demos Grid & Category Ribbon */
.demo-category-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.demo-cat-btn {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  font-weight: 600;
}

.demo-cat-btn:hover, .demo-cat-btn.active {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--primary);
  color: var(--primary);
}

.demo-switcher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 30px;
}

.demo-select-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-select-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.9);
}

.demo-select-card.active {
  border-color: var(--primary);
  background: rgba(0, 242, 254, 0.1);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

.demo-select-icon {
  font-size: 1.6rem;
  min-width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-select-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.demo-select-cat {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Interactive Simulator Boxes */
.sim-container {
  background: #090e1b;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.sim-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Legal Entity & Document Verification Styling */
.legal-main-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-glow);
  margin-bottom: 30px;
  width: 100%;
  box-sizing: border-box;
}

.legal-entity-header {
  margin-bottom: 24px;
}

.legal-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin: 18px 0;
}

.legal-fact-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-fact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.legal-fact-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-all;
}

.legal-address-bar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  word-break: break-word;
}

.legal-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  font-size: 0.92rem;
}

.legal-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.contact-lbl {
  color: var(--text-sub);
  font-weight: 500;
}

.contact-val {
  font-weight: 700;
  text-decoration: none;
}

.helpline-link {
  color: var(--primary);
  transition: opacity var(--transition-fast);
}

.helpline-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.whatsapp-link {
  color: #25d366;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--transition-fast);
}

.whatsapp-link:hover {
  opacity: 0.9;
}

.chat-pill {
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25d366;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
}

.verify-doc-panel {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
  width: 100%;
  box-sizing: border-box;
}

.verify-panel-head {
  margin-bottom: 14px;
}

.verify-input-group {
  display: flex;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.verify-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}

.verify-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
}

/* ===================================================
   GST BILLING & INVOICE GENERATOR STYLES
   =================================================== */
.invoice-card {
  background: #ffffff;
  color: #1e293b;
  border-radius: var(--radius-md);
  padding: 35px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-width: 850px;
  margin: 30px auto 0;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.inv-company-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
}

.inv-legal-name {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 2px;
}

.inv-gst-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 6px;
}

.inv-badge-paid {
  border: 2px solid #16a34a;
  color: #16a34a;
  font-weight: 900;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 1rem;
  letter-spacing: 2px;
  display: inline-block;
  transform: rotate(-5deg);
}

.inv-parties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 24px;
  font-size: 0.88rem;
}

.inv-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.inv-table th {
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  padding: 10px 12px;
  text-align: left;
  font-size: 0.82rem;
  border-bottom: 1px solid #cbd5e1;
}

.inv-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.88rem;
  color: #1e293b;
}

.inv-totals {
  width: 320px;
  margin-left: auto;
  margin-bottom: 24px;
}

.inv-total-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.9rem;
}

.inv-total-row.grand {
  border-top: 2px solid #0f172a;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  padding-top: 8px;
}

.inv-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.8rem;
  color: #64748b;
}

/* Print Invoice Rule */
@media print {
  body * {
    visibility: hidden;
  }
  #printableInvoice, #printableInvoice * {
    visibility: visible;
  }
  #printableInvoice {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    box-shadow: none;
  }
  .no-print {
    display: none !important;
  }
}

/* ===================================================
   COMPETITOR PRICE COMPARISON TABLE
   =================================================== */
.compare-container {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th, .compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.95rem;
}

.compare-table th {
  background: #0f172a;
  color: var(--text-main);
  font-weight: 700;
}

.compare-table th.col-highlight,
.compare-table td.col-highlight {
  background: rgba(0, 242, 254, 0.08);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
}

/* ===================================================
   SEO RICH FAQ ACCORDION
   =================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 20px;
  margin-top: 36px;
  width: 100%;
  box-sizing: border-box;
}

.faq-card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  transition: var(--transition-fast);
  word-break: break-word;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

.faq-card:hover {
  border-color: rgba(0, 242, 254, 0.4);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.faq-q {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.faq-q::before {
  content: 'Q.';
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-a {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.65;
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* ===================================================
   FLOATING AI ASSISTANT & VOICE MIC WIDGET
   =================================================== */
.floating-ai-trigger {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 99999;
  background: linear-gradient(135deg, #00f2fe, #3b82f6);
  color: #020617;
  font-weight: 800;
  font-size: 0.84rem;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
  transition: all 0.25s ease;
}

.floating-ai-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.65);
}

.floating-ai-trigger .trigger-icon {
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-ai-widget {
  position: fixed;
  bottom: 85px;
  right: 24px;
  width: 420px;
  max-width: calc(100vw - 32px);
  height: 580px;
  max-height: calc(100vh - 110px);
  background: #090e1b;
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 242, 254, 0.25);
  z-index: 99998;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-ai-widget.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.floating-ai-header {
  background: #0f182c;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
}

.floating-ai-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #040814;
  font-weight: 800;
}

.floating-ai-actions button {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-sub);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.floating-ai-actions button:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.floating-ai-chips {
  display: flex;
  gap: 8px;
  padding: 10px 16px;
  background: #060a14;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.floating-ai-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: var(--text-sub);
  font-size: 0.74rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.floating-ai-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 242, 254, 0.1);
}

.floating-ai-body {
  flex: 1;
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: radial-gradient(circle at top right, rgba(0, 242, 254, 0.04), transparent 50%), #090e1b;
}

.floating-ai-footer {
  padding: 12px 16px;
  background: #0b1222;
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-ai-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  color: #fff;
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}

.floating-ai-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
}

.mic-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-sub);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition-fast);
}

.mic-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--primary);
  color: var(--primary);
}

.mic-btn.recording {
  background: #ef4444 !important;
  color: #fff !important;
  border-color: #ef4444 !important;
  animation: pulseMic 1.2s infinite;
}

@keyframes pulseMic {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.audio-listening-hud {
  display: none;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 16px 8px;
  animation: fadeIn 0.2s ease;
}

.wave-bars {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 12px;
}

.wave-bar {
  width: 2px;
  height: 100%;
  background: #ef4444;
  border-radius: 2px;
  animation: waveAnim 0.8s ease-in-out infinite alternate;
}

.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; }

@keyframes waveAnim {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* ===================================================
   🎮 14 FULL-FIDELITY LIVE DEMO SHOWCASE & SIMULATOR
   =================================================== */

/* Showcase Cards Grid in Demos Section */
.demo-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.demo-showcase-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.demo-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00f2fe, #8b5cf6);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.demo-showcase-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 242, 254, 0.45);
  box-shadow: 0 20px 35px -10px rgba(0, 242, 254, 0.2);
  background: rgba(18, 28, 52, 0.85);
}

.demo-showcase-card:hover::before {
  opacity: 1;
}

.demo-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.demo-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.demo-category-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.demo-card-body {
  margin-bottom: 20px;
}

.demo-icon-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.demo-card-icon {
  font-size: 2.2rem;
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.demo-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.demo-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.demo-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.demo-card-features li {
  font-size: 0.82rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
}

.demo-card-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}

.demo-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.demo-card-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.demo-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.demo-price-wrap {
  display: flex;
  flex-direction: column;
}

.demo-price-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.demo-price-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.btn-launch-demo {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #040814;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-launch-demo:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 22px rgba(0, 242, 254, 0.45);
}

/* ===================================================
   🖥️ FULLSCREEN IMMERSIVE LIVE WEBSITE SIMULATOR MODAL
   =================================================== */
#fullscreenDemoViewer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  width: 100vw;
  height: 100vh;
  background: #060914;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

#fullscreenDemoViewer.active {
  display: flex;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

/* Browser Chrome Top Bar */
.demo-browser-chrome {
  height: 54px;
  background: #0a0f20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 16px;
  flex-shrink: 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.demo-chrome-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  max-width: 500px;
}

.demo-window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  display: inline-block;
}

.demo-dot-red { background: #ff5f56; border: 1px solid #e0443e; }
.demo-dot-yellow { background: #ffbd2e; border: 1px solid #dea123; }
.demo-dot-green { background: #27c93f; border: 1px solid #1aab29; }

.demo-nav-arrows {
  display: flex;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.demo-arrow-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-arrow-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.demo-address-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #e2e8f0;
  font-family: 'JetBrains Mono', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-address-ssl {
  color: #10b981;
  font-size: 0.85rem;
}

.demo-chrome-center {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.device-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.device-toggle-btn.active, .device-toggle-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  color: var(--primary);
}

.demo-chrome-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-switcher-select {
  background: #111a30;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.btn-demo-order {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #040814;
  border: none;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.btn-demo-order:hover {
  transform: scale(1.03);
}

.btn-demo-close {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-demo-close:hover {
  background: #ef4444;
  color: #fff;
}

/* Viewport Area */
.demo-viewport-area {
  flex: 1;
  overflow: hidden;
  background: #030611;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.demo-canvas-frame {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background: #080d1c;
  transition: width 0.3s ease, margin 0.3s ease;
  position: relative;
}

/* Device View Modes */
.demo-canvas-frame.view-tablet {
  width: 768px;
  height: calc(100vh - 84px);
  margin: 15px auto;
  border-radius: 20px;
  border: 4px solid #1e293b;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
}

.demo-canvas-frame.view-mobile {
  width: 390px;
  height: calc(100vh - 84px);
  margin: 15px auto;
  border-radius: 40px;
  border: 8px solid #1e293b;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
}

/* Individual Full Demo Website Viewports */
.demo-site-view {
  display: none;
  width: 100%;
  min-height: 100%;
  background: #080d1e;
  color: #f8fafc;
}

.demo-site-view.active {
  display: block;
}

/* ---------------------------------------------------
   1. E-COMMERCE LIVE STOREFRONT STYLES
   --------------------------------------------------- */
.ec-store-header {
  background: #0e172e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 50;
}

.ec-store-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ec-search-box {
  flex: 1;
  max-width: 450px;
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 6px 14px;
}

.ec-search-box input {
  background: transparent;
  border: none;
  color: #fff;
  width: 100%;
  outline: none;
  font-size: 0.88rem;
}

.ec-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ec-cart-btn {
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.35);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ec-hero-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 50%, #064e3b 100%);
  padding: 40px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.ec-hero-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.ec-category-bar {
  padding: 16px 32px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 23, 42, 0.4);
}

.ec-cat-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-sub);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.ec-cat-chip.active, .ec-cat-chip:hover {
  background: var(--primary);
  color: #040814;
  border-color: var(--primary);
}

.ec-catalog-section {
  padding: 32px;
}

.ec-catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.ec-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.ec-product-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast);
  position: relative;
}

.ec-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.ec-prod-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.ec-prod-icon {
  font-size: 3.5rem;
  text-align: center;
  margin: 12px 0;
}

.ec-prod-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}

.ec-prod-cat {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.ec-prod-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  margin-top: auto;
}

.ec-prod-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

.ec-btn-add {
  background: rgba(0, 242, 254, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.ec-btn-add:hover {
  background: var(--primary);
  color: #040814;
}

/* Add Product Modal (In-Demo) */
.demo-internal-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.demo-internal-modal.active {
  display: flex;
}

.demo-modal-dialog {
  background: #0d1527;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.demo-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

/* ---------------------------------------------------
   2. MLM DIRECT SELLING 9-TIER PORTAL STYLES
   --------------------------------------------------- */
.mlm-dashboard {
  padding: 28px;
}

.mlm-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.mlm-kpi-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.mlm-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
}

.mlm-kpi-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.mlm-kpi-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.mlm-tree-container {
  background: #080d1c;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  margin-bottom: 24px;
  overflow-x: auto;
}

.mlm-node-box {
  display: inline-block;
  background: #111a30;
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 12px 20px;
  min-width: 170px;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
  transition: transform var(--transition-fast);
}

.mlm-node-box:hover {
  transform: scale(1.05);
}

.mlm-tree-branches {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
  position: relative;
}

.mlm-tree-branches::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 25%;
  right: 25%;
  height: 2px;
  background: rgba(0, 242, 254, 0.4);
}

/* ---------------------------------------------------
   3. CLOUD POS BARCODE TERMINAL STYLES
   --------------------------------------------------- */
.pos-terminal-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  height: calc(100vh - 54px);
  background: #060913;
}

@media (max-width: 900px) {
  .pos-terminal-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
}

.pos-catalog-side {
  padding: 24px;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.pos-cart-side {
  padding: 24px;
  background: #090e1f;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.pos-quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.pos-quick-btn {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.pos-quick-btn:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Print Thermal Receipt Slip */
.receipt-paper-slip {
  background: #fff;
  color: #111;
  font-family: 'Courier New', Courier, monospace;
  width: 320px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  font-size: 0.85rem;
  line-height: 1.4;
}

/* ====================================================
   🌗 THEME SWITCHER & LIGHT/DARK THEME ENGINE
   ==================================================== */

.btn-theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-theme-toggle:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: scale(1.1) rotate(15deg);
  box-shadow: var(--shadow-glow);
}

.btn-theme-toggle .theme-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* --- LIGHT MODE PALETTE --- */
/* --- LIGHT MODE PALETTE --- */
[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --border-glass: rgba(148, 163, 184, 0.28);
  --border-glow: rgba(2, 132, 199, 0.35);
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --secondary: #7c3aed;
  --accent: #059669;
  --accent-pink: #db2777;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-sub: #334155;
  --bg-section-alt: #f1f5f9;
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.16);
  --shadow-card: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] body {
  background: 
    radial-gradient(circle at 15% 15%, rgba(2, 132, 199, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(124, 58, 237, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(5, 150, 105, 0.04) 0%, transparent 50%),
    #f8fafc;
  color: #0f172a;
}

/* Light Theme Typography High-Contrast Guarantee */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
  color: #0f172a !important;
}

[data-theme="light"] p,
[data-theme="light"] li,
[data-theme="light"] .section-desc,
[data-theme="light"] .hero-sub,
[data-theme="light"] .faq-a,
[data-theme="light"] .opt-desc,
[data-theme="light"] .software-desc,
[data-theme="light"] .service-desc {
  color: #334155 !important;
}

[data-theme="light"] strong {
  color: #0f172a !important;
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .header-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(203, 213, 225, 0.9);
}

[data-theme="light"] .nav-links a {
  color: #334155;
}

[data-theme="light"] .nav-links a:hover {
  color: #0284c7;
}

[data-theme="light"] .hero-tag {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0369a1;
}

[data-theme="light"] .hero-title {
  color: #0f172a !important;
}

[data-theme="light"] .hero-sub {
  color: #334155 !important;
}

[data-theme="light"] .brand-title {
  color: #0f172a;
}

[data-theme="light"] .section-title {
  color: #0f172a !important;
}

[data-theme="light"] .section-desc {
  color: #475569 !important;
}

[data-theme="light"] .glass {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.06);
}

/* Cost Calculator in Light Mode */
[data-theme="light"] .calc-container {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .step-title {
  color: #0f172a !important;
}

[data-theme="light"] .step-num {
  background: #e0f2fe !important;
  border-color: #38bdf8 !important;
  color: #0369a1 !important;
}

[data-theme="light"] .opt-icon {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .option-box {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .option-box:hover {
  background: #f8fafc !important;
  border-color: #0284c7 !important;
}

[data-theme="light"] .option-box.selected {
  background: rgba(2, 132, 199, 0.08) !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.15) !important;
}

[data-theme="light"] .opt-name {
  color: #0f172a !important;
  font-weight: 700 !important;
}

[data-theme="light"] .opt-desc {
  color: #475569 !important;
}

[data-theme="light"] .calc-result-box {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(124, 58, 237, 0.08)) !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .calc-total-price,
[data-theme="light"] #quotePrice {
  color: #0284c7 !important;
}

[data-theme="light"] #quoteSummary {
  color: #334155 !important;
}

[data-theme="light"] #quoteTimeline {
  color: #059669 !important;
}

/* Legal Compliance & Verification Desk in Light Mode */
[data-theme="light"] .legal-main-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .legal-fact-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .legal-fact-label {
  color: #64748b !important;
}

[data-theme="light"] .legal-fact-val {
  color: #0f172a !important;
}

[data-theme="light"] .legal-address-bar {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}

[data-theme="light"] .verify-doc-panel {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .verify-input {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

/* FAQ Accordion in Light Mode */
[data-theme="light"] .faq-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .faq-q {
  color: #0f172a !important;
  font-weight: 700 !important;
}

[data-theme="light"] .faq-a {
  color: #334155 !important;
}

/* Software Catalog Cards in Light Mode */
[data-theme="light"] .software-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .software-title {
  color: #0f172a !important;
}

[data-theme="light"] .software-desc {
  color: #475569 !important;
}

[data-theme="light"] .software-highlights li {
  color: #334155 !important;
}

[data-theme="light"] .tag-item {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .price-now {
  color: #0284c7 !important;
}

[data-theme="light"] .price-strike {
  color: #94a3b8 !important;
}

/* Services in Light Mode */
[data-theme="light"] .service-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .service-title {
  color: #0f172a !important;
}

[data-theme="light"] .service-desc {
  color: #475569 !important;
}

/* Price Matrix Table in Light Mode */
[data-theme="light"] .compare-container {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .compare-table th {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

[data-theme="light"] .compare-table td {
  color: #334155 !important;
  border-color: #f1f5f9 !important;
}

[data-theme="light"] .compare-table tr:hover td {
  background: #f8fafc !important;
}

[data-theme="light"] .feature-name {
  color: #0f172a !important;
}

[data-theme="light"] .compare-highlight,
[data-theme="light"] .compare-table th.col-highlight,
[data-theme="light"] .compare-table td.col-highlight {
  background: rgba(2, 132, 199, 0.08) !important;
  color: #0284c7 !important;
  font-weight: 700 !important;
}

/* Stat Cards in Light Mode */
[data-theme="light"] .stat-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .stat-num {
  color: #0284c7 !important;
}

[data-theme="light"] .stat-label {
  color: #475569 !important;
}

/* Modals in Light Mode */
[data-theme="light"] dialog:modal {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .modal-header {
  border-bottom: 1px solid #e2e8f0 !important;
}

[data-theme="light"] .modal-title {
  color: #0f172a !important;
}

[data-theme="light"] .form-label {
  color: #334155 !important;
}

[data-theme="light"] .form-control {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] .modal-close-btn {
  color: #64748b !important;
}

[data-theme="light"] .modal-close-btn:hover {
  color: #0f172a !important;
}

/* ===================================================
   GUARANTEED ULTRA-HIGH CONTRAST FOOTER ACROSS ALL THEMES
   =================================================== */
.footer,
[data-theme="light"] .footer {
  background: #040711 !important;
  color: #cbd5e1 !important;
}

.footer .brand-logo,
[data-theme="light"] .footer .brand-logo {
  color: #ffffff !important;
}

.footer .brand-title,
[data-theme="light"] .footer .brand-title {
  color: #ffffff !important;
}

.footer .brand-domain,
[data-theme="light"] .footer .brand-domain {
  color: #00f2fe !important;
  background: rgba(0, 242, 254, 0.1) !important;
  border-color: rgba(0, 242, 254, 0.25) !important;
}

.footer-brand p,
[data-theme="light"] .footer-brand p,
.footer p,
[data-theme="light"] .footer p {
  color: #cbd5e1 !important;
}

.footer strong,
[data-theme="light"] .footer strong,
.footer-legal-box strong,
[data-theme="light"] .footer-legal-box strong {
  color: #ffffff !important;
}

.footer code,
[data-theme="light"] .footer code {
  color: #38bdf8 !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.footer-col h4,
[data-theme="light"] .footer-col h4 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.footer-links li,
[data-theme="light"] .footer-links li {
  color: #94a3b8 !important;
}

.footer-links a,
[data-theme="light"] .footer-links a,
.footer-col a,
[data-theme="light"] .footer-col a {
  color: #94a3b8 !important;
}

.footer-links a:hover,
[data-theme="light"] .footer-links a:hover,
.footer-col a:hover,
[data-theme="light"] .footer-col a:hover {
  color: #00f2fe !important;
}

.footer-bottom,
[data-theme="light"] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #cbd5e1 !important;
}

.footer-bottom-link,
[data-theme="light"] .footer-bottom-link {
  color: #94a3b8 !important;
}

.footer-bottom-link:hover,
[data-theme="light"] .footer-bottom-link:hover {
  color: #00f2fe !important;
}

/* Light Mode Mobile Drawer Card Overrides */

[data-theme="light"] .mobile-contact-card {
  background: #f8fafc;
  border-color: #cbd5e1;
}

[data-theme="light"] .mobile-contact-row {
  background: #ffffff;
  border-color: #e2e8f0;
}

[data-theme="light"] .mobile-contact-row.mcr-wa {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

[data-theme="light"] .mobile-contact-row.mcr-wa .mcr-num {
  color: #15803d;
}

[data-theme="light"] .ai-chat-drawer {
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
}

[data-theme="light"] .ai-chat-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .ai-msg-ai {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #e2e8f0;
}

[data-theme="light"] .ai-chat-input-wrap {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

[data-theme="light"] .ai-chat-input {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
}

[data-theme="light"] .sim-browser-bar {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .sim-url-input {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
}

[data-theme="light"] .mobile-nav-drawer {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .mobile-nav-drawer a {
  color: #0f172a;
  border-bottom-color: #f1f5f9;
}

[data-theme="light"] .demo-browser-chrome {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .demo-switcher-select {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

[data-theme="light"] .demo-address-bar {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}

[data-theme="light"] .device-toggle-btn {
  color: #64748b;
}

[data-theme="light"] .device-toggle-btn.active,
[data-theme="light"] .device-toggle-btn:hover {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
}

[data-theme="light"] .demo-arrow-btn {
  color: #64748b;
}

[data-theme="light"] .demo-arrow-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

[data-theme="light"] .demo-showcase-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .demo-showcase-card:hover {
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.5);
  box-shadow: 0 15px 35px -5px rgba(2, 132, 199, 0.15);
}

[data-theme="light"] .demo-cat-btn {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .demo-cat-btn.active,
[data-theme="light"] .demo-cat-btn:hover {
  background: rgba(2, 132, 199, 0.12);
  border-color: #0284c7;
  color: #0284c7;
}

[data-theme="light"] .floating-ai-chips {
  background: #f8fafc;
  border-bottom-color: #e2e8f0;
}

[data-theme="light"] .floating-ai-chip {
  background: #ffffff;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .floating-ai-body {
  background: #ffffff;
}

[data-theme="light"] .floating-ai-footer {
  background: #f8fafc;
  border-top-color: #e2e8f0;
}

[data-theme="light"] .floating-ai-input {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #0f172a;
}

/* ====================================================
   🏛️ JIVIKA ENTERPRISES CORPORATE ECOSYSTEM STYLES
   ==================================================== */
.corporate-section {
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(0, 242, 254, 0.05), transparent 70%);
}

.corporate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.corporate-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.corporate-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 242, 254, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.corporate-card.highlight-card {
  border-color: rgba(0, 242, 254, 0.35);
  background: linear-gradient(180deg, rgba(0, 242, 254, 0.06) 0%, rgba(10, 15, 30, 0.8) 100%);
}

.corp-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  width: fit-content;
  margin-bottom: 16px;
}

.corp-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.corp-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.corp-desc {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.corp-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.corp-footer {
  margin-top: auto;
}

.corp-link {
  width: 100%;
  text-align: center;
  font-size: 0.88rem;
  padding: 10px 18px;
  text-decoration: none;
}

[data-theme="light"] .corporate-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .corporate-card.highlight-card {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-color: #bae6fd;
}

[data-theme="light"] .corp-meta {
  border-top-color: #f1f5f9;
  color: #64748b;
}

/* ====================================================
   ⭐ CLIENT REVIEWS & VERIFIED FEEDBACK STYLES
   ==================================================== */
.reviews-section {
  position: relative;
  background: radial-gradient(circle at 50% 10%, rgba(245, 158, 11, 0.04), transparent 70%);
}

.review-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(13, 21, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 18px 28px;
  margin-top: 32px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  flex-wrap: wrap;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.stats-overview {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stats-score {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: #fbbf24;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -1px;
}

.stats-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.stats-stars {
  color: #fbbf24;
  font-size: 1.25rem;
  letter-spacing: 2px;
  line-height: 1;
}

.stats-count {
  font-size: 0.82rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Category Filter Bar */
.review-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  padding: 4px 0;
}

.review-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  padding: 9px 22px;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}

.review-filter-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(0, 242, 254, 0.45);
  transform: translateY(-1px);
}

.review-filter-btn.active {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.22), rgba(79, 172, 254, 0.22)) !important;
  border-color: var(--primary) !important;
  color: #00f2fe !important;
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.25);
}

/* 3-Column Compact Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ===================================================
   ⭐ STONIC AI SAAS REVIEW CARD SYSTEM (Exact user reference)
   =================================================== */
.ston-card {
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.ston-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.ston-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.ston-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ston-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.ston-avatar.av-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.ston-avatar.av-blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.ston-avatar.av-pink   { background: linear-gradient(135deg, #ec4899, #db2777); }
.ston-avatar.av-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.ston-avatar.av-teal   { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.ston-avatar.av-amber  { background: linear-gradient(135deg, #f59e0b, #b45309); }

.ston-user-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ston-user-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ston-user-role {
  font-size: 0.78rem;
  color: #8892b0;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ston-meta-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ston-time {
  font-size: 0.72rem;
  color: #55627a;
  font-family: 'JetBrains Mono', monospace;
}

.ston-check {
  color: #10b981;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: -2px;
}

.ston-quote {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #cbd5e1;
  font-style: italic;
  margin: 0 0 18px 0;
  flex-grow: 1;
}

.ston-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
  margin-top: auto;
}

.ston-stars {
  color: #fbbf24;
  font-size: 0.92rem;
  letter-spacing: 2px;
  line-height: 1;
  flex-shrink: 0;
}

.ston-badges {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ston-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
}

.badge-proof {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.badge-division {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
}

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

.btn-reviews-more {
  background: rgba(0, 242, 254, 0.08);
  border: 1.5px solid rgba(0, 242, 254, 0.35);
  color: var(--primary);
  padding: 12px 30px;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.12);
}

.btn-reviews-more:hover {
  background: rgba(0, 242, 254, 0.18);
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.25);
  transform: translateY(-2px);
}

.reviews-more-count {
  font-size: 0.8rem;
  opacity: 0.85;
}

.star-rating-selector {
  display: flex;
  gap: 6px;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.star-btn {
  color: #475569;
  transition: var(--transition-fast);
  user-select: none;
}

.star-btn.active {
  color: #fbbf24;
}

/* Light Theme Support */
[data-theme="light"] .review-stats-bar,
[data-theme="light"] .ston-card {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .ston-card:hover {
  border-color: #0284c7;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .ston-user-name {
  color: #0f172a;
}

[data-theme="light"] .ston-user-role {
  color: #64748b;
}

[data-theme="light"] .ston-quote {
  color: #334155;
}

[data-theme="light"] .ston-card-foot {
  border-top-color: #f1f5f9;
}

[data-theme="light"] .review-filter-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #475569;
}

[data-theme="light"] .review-filter-btn.active {
  background: #e0f2fe !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

/* ===================================================
   🛡️ BULLETPROOF RESPONSIVE HEADER & 3-BUTTON SAFEGUARD
   Ensures WhatsApp, Ask AI & Get Quote are 100% visible
   across ALL desktop/laptop viewports (1000px - 4K)
   =================================================== */
.header,
#mainHeader {
  width: 100% !important;
  box-sizing: border-box !important;
}

.header-container,
#mainHeader .header-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1600px !important;
  padding: 0 clamp(10px, 1.8vw, 24px) !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

.brand-logo {
  flex-shrink: 0 !important;
}

.header-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: clamp(6px, 0.75vw, 10px) !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
}

.btn-theme-toggle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  flex-shrink: 0 !important;
}

.btn-whatsapp-header,
.btn-ai-header,
.btn-header-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 36px !important;
  padding: 0 clamp(8px, 0.8vw, 14px) !important;
  font-size: clamp(0.74rem, 0.78vw, 0.82rem) !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

/* Nav links auto-fit */
@media (min-width: 1291px) {
  .nav-links {
    display: flex !important;
    align-items: center !important;
    gap: clamp(2px, 0.4vw, 6px) !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
  .nav-links a {
    padding: 4px clamp(4px, 0.5vw, 8px) !important;
    font-size: clamp(0.72rem, 0.76vw, 0.82rem) !important;
    white-space: nowrap !important;
  }
  .mobile-toggle-btn {
    display: none !important;
  }
}

@media (max-width: 1290px) {
  .nav-links {
    display: none !important;
  }
  .mobile-toggle-btn {
    display: flex !important;
  }
}

@media (max-width: 900px) {
  /* On mobile and tablet: keep only Logo, Theme Toggle, Get Quote, and 3-Line Menu */
  .btn-whatsapp-header,
  .btn-ai-header {
    display: none !important;
  }
  .header-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .btn-theme-toggle {
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
  }
  .btn-header-cta {
    display: inline-flex !important;
    height: 36px !important;
    padding: 0 12px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
  }
  .mobile-toggle-btn {
    display: flex !important;
    width: 38px !important;
    height: 38px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4.5px !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }
  .mobile-toggle-btn span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    transition: all 0.25s ease !important;
  }
  .mobile-toggle-btn.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg) !important;
  }
  .mobile-toggle-btn.active span:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }
  .mobile-toggle-btn.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg) !important;
  }
}

@media (max-width: 480px) {
  .header-container {
    height: 56px !important;
    padding: 0 10px !important;
  }
  .brand-logo-img {
    width: 30px !important;
    height: 30px !important;
  }
  .brand-title {
    font-size: 1.05rem !important;
  }
  .brand-badge-pill {
    font-size: 0.58rem !important;
    padding: 0 4px !important;
  }
  .header-actions {
    gap: 6px !important;
  }
  .btn-theme-toggle {
    width: 34px !important;
    height: 34px !important;
  }
  .btn-header-cta {
    height: 34px !important;
    padding: 0 9px !important;
    font-size: 0.72rem !important;
  }
  .mobile-toggle-btn {
    width: 36px !important;
    height: 36px !important;
  }
  .mobile-toggle-btn span {
    width: 18px !important;
    height: 2px !important;
  }
}

/* Light mode for 3-line hamburger menu */
[data-theme="light"] .mobile-toggle-btn {
  background: rgba(15, 23, 42, 0.05) !important;
  border-color: rgba(15, 23, 42, 0.16) !important;
}
[data-theme="light"] .mobile-toggle-btn span {
  background: #0f172a !important;
}

/* ===================================================
   📱 MOBILE REVIEWS PANEL & CATEGORY FILTER BAR
   =================================================== */
@media (max-width: 768px) {
  .review-stats-bar {
    padding: 16px 14px !important;
    margin-top: 18px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    text-align: center !important;
    border-radius: 14px !important;
  }
  .stats-overview {
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .stats-score {
    font-size: 2.2rem !important;
  }
  .stats-stars {
    font-size: 1.15rem !important;
    letter-spacing: 2px !important;
  }
  .stats-count {
    font-size: 0.78rem !important;
  }
  .stats-action {
    width: 100% !important;
  }
  .stats-action .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 16px rgba(0, 242, 254, 0.3) !important;
  }

  /* Horizontal swipeable category pill bar on mobile */
  .review-filter-bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    justify-content: flex-start !important;
    padding: 6px 4px 10px 4px !important;
    gap: 8px !important;
    margin-top: 16px !important;
  }
  .review-filter-bar::-webkit-scrollbar {
    display: none !important;
  }
  .review-filter-btn {
    padding: 7px 15px !important;
    font-size: 0.78rem !important;
    flex-shrink: 0 !important;
    border-radius: 9999px !important;
  }

  /* Reviews grid & card styling on mobile */
  .reviews-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin-top: 16px !important;
  }
  .ston-card {
    padding: 16px 14px 14px !important;
    border-radius: 14px !important;
  }
  .ston-card-head {
    gap: 8px !important;
    margin-bottom: 10px !important;
  }
  .ston-avatar {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.8rem !important;
  }
  .ston-user-name {
    font-size: 0.9rem !important;
  }
  .ston-user-role {
    font-size: 0.72rem !important;
  }
  .ston-time {
    font-size: 0.68rem !important;
  }
  .ston-quote {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    margin-bottom: 12px !important;
  }
  .ston-card-foot {
    padding-top: 10px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .ston-stars {
    font-size: 0.85rem !important;
  }
  .ston-badge {
    font-size: 0.62rem !important;
    padding: 2.5px 6px !important;
  }
}



