/* ==========================================================================
   OMNIPRO (PVT) LTD - LUXURY DESIGN SYSTEM & STYLESHEET
   Smart Electrical. Smarter Living.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Caveat:wght@600;700&family=Noto+Sans+Sinhala:wght@400;500;600;700;800;900&family=Noto+Sans+Tamil:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Color Palette - Luxury Dark Tech & Sapphire Cyan Glow */
  --bg-darkest: #05070B;
  --bg-dark: #090D14;
  --bg-surface: #0E1420;
  --bg-surface-elevated: #141D2C;
  --bg-card: rgba(18, 26, 38, 0.75);
  --bg-card-hover: rgba(26, 38, 56, 0.85);
  --bg-glass: rgba(14, 20, 32, 0.65);
  --bg-glass-light: rgba(255, 255, 255, 0.05);

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 210, 255, 0.3);
  --border-gold: rgba(255, 184, 0, 0.35);
  --border-focus: #00D2FF;

  /* Accent Colors */
  --accent-cyan: #00D2FF;
  --accent-blue: #0066FF;
  --accent-blue-deep: #0044BB;
  --accent-gold: #FFB800;
  --accent-amber: #FF9900;
  --accent-emerald: #00E599;
  --accent-purple: #9D4EDD;

  /* Text Colors */
  --text-white: #FFFFFF;
  --text-heading: #F8FAFC;
  --text-body: #94A3B8;
  --text-muted: #64748B;
  --text-accent: #38BDF8;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #00D2FF 0%, #0066FF 100%);
  --grad-cyan-glow: linear-gradient(135deg, #38BDF8 0%, #0284C7 100%);
  --grad-gold: linear-gradient(135deg, #FFE066 0%, #FFB800 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(25, 36, 52, 0.7) 0%, rgba(12, 17, 26, 0.9) 100%);
  --grad-hero-overlay: linear-gradient(180deg, rgba(5, 7, 11, 0.45) 0%, rgba(5, 7, 11, 0.92) 85%, #05070B 100%);
  --grad-mesh: radial-gradient(at 10% 20%, rgba(0, 210, 255, 0.12) 0px, transparent 50%),
                    radial-gradient(at 90% 80%, rgba(0, 102, 255, 0.15) 0px, transparent 50%),
                    radial-gradient(at 50% 50%, rgba(157, 78, 221, 0.08) 0px, transparent 60%);

  /* Shadows & Glows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-cyan-glow: 0 0 25px rgba(0, 210, 255, 0.35);
  --shadow-cyan-intense: 0 0 40px rgba(0, 210, 255, 0.6);
  --shadow-gold-glow: 0 0 25px rgba(255, 184, 0, 0.3);

  /* Typography */
  --font-heading: 'Outfit', 'Noto Sans Sinhala', 'Noto Sans Tamil', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans Sinhala', 'Noto Sans Tamil', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Transitions */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1280px;
  --header-height: 84px;
}

/* Light Mode Overrides */
[data-theme="light"] {
  --bg-darkest: #F8FAFC;
  --bg-dark: #FFFFFF;
  --bg-surface: #F1F5F9;
  --bg-surface-elevated: #E2E8F0;
  --bg-card: rgba(255, 255, 255, 0.9);
  --bg-card-hover: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-light: rgba(0, 0, 0, 0.03);

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(0, 102, 255, 0.25);

  --text-white: #0F172A;
  --text-heading: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-accent: #0284C7;

  --grad-hero-overlay: linear-gradient(180deg, rgba(248, 250, 252, 0.35) 0%, rgba(248, 250, 252, 0.95) 85%, #F8FAFC 100%);
  --grad-dark-card: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-darkest);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: var(--grad-mesh);
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* Utility Classes */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section-padding {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

.badge-gold {
  background: rgba(255, 184, 0, 0.1);
  border-color: rgba(255, 184, 0, 0.35);
  color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(255, 184, 0, 0.15);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.25rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-body);
  max-width: 650px;
  margin: 0 auto;
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-text {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Card Style */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md), 0 0 30px rgba(0, 210, 255, 0.15);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.btn-primary {
  background: var(--grad-primary);
  color: #05070B;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0, 210, 255, 0.6);
  color: #05070B;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-white);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: var(--text-white);
}

.btn-gold {
  background: var(--grad-gold);
  color: #05070B;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 184, 0, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 184, 0, 0.55);
}

.btn-outline-cyan {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.btn-outline-cyan:hover {
  background: rgba(0, 210, 255, 0.12);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.05rem;
}

/* ==========================================================================
   SUPER-PREMIUM NAVIGATION & TOP HEADER DESIGN SYSTEM
   ========================================================================== */

/* Top Micro Announcement & Hotline Bar */
.top-micro-bar {
  background: rgba(4, 7, 12, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-heading);
  font-size: 0.775rem;
  padding: 0.42rem 0;
  position: relative;
  z-index: 1002;
  transition: all var(--transition-normal);
}

[data-theme="light"] .top-micro-bar {
  background: #F1F5F9;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.top-micro-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
  gap: 1rem;
}

.micro-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-body);
}

.micro-pill {
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--accent-cyan);
  font-size: 0.675rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[data-theme="light"] .micro-pill {
  background: rgba(0, 102, 255, 0.1);
  border-color: rgba(0, 102, 255, 0.25);
  color: var(--accent-blue);
}

.micro-text {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.micro-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-body);
}

.micro-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-heading);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.micro-link:hover {
  color: var(--accent-cyan);
}

.micro-link-label {
  color: var(--text-muted);
  font-weight: 500;
}

.micro-sep {
  color: var(--border-subtle);
  opacity: 0.6;
}

.micro-wa {
  color: #25D366;
}

.micro-wa:hover {
  color: #2ee673;
}

.live-dot {
  width: 7px;
  height: 7px;
  background-color: #00E599;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #00E599;
  animation: livePulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px #00E599; }
  50% { opacity: 0.4; transform: scale(0.85); box-shadow: 0 0 2px #00E599; }
}

/* Master Fixed Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: all var(--transition-normal);
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header.scrolled {
  background: rgba(5, 8, 14, 0.95);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 210, 255, 0.08);
  border-bottom-color: rgba(0, 210, 255, 0.22);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(0, 102, 255, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   BRAND LOGO (Using New Vector/PNG Identity)
   -------------------------------------------------------------------------- */
.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  padding: 0.2rem 0;
}

.brand-logo-wrap {
  height: 36px;
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 34px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.15));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 16px rgba(0, 210, 255, 0.45));
}

/* Theme-adaptive logo images */
[data-theme="dark"] .logo-theme-dark {
  display: block;
}
[data-theme="dark"] .logo-theme-light {
  display: none;
}
[data-theme="light"] .logo-theme-dark {
  display: none;
}
[data-theme="light"] .logo-theme-light {
  display: block;
}

.logo-subline {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-family: var(--font-heading);
  margin-top: -1px;
  padding-left: 2px;
  transition: color var(--transition-fast);
}

[data-theme="light"] .logo-subline {
  color: var(--accent-blue);
}

/* --------------------------------------------------------------------------
   CENTER NAVIGATION MENU (Pill Design & Mega Menu)
   -------------------------------------------------------------------------- */
.main-nav {
  height: 100%;
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.15rem;
  height: 100%;
}

.nav-menu > li {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-heading);
  opacity: 0.88;
  padding: 0.42rem 0.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.nav-link:hover {
  opacity: 1;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .nav-link:hover {
  color: #0F172A;
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.05);
}

.nav-link.active {
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.28);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.14);
  opacity: 1;
}

[data-theme="light"] .nav-link.active {
  color: var(--accent-blue);
  background: rgba(0, 102, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.22);
}

.chevron-icon {
  transition: transform var(--transition-fast);
  opacity: 0.7;
}

@media (min-width: 1081px) {
  .nav-item-dropdown:hover .chevron-icon,
  .nav-item-dropdown.dropdown-open .chevron-icon {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--accent-cyan);
  }
}

/* Sparkle pill for Cost Estimator */
.nav-sparkle-pill {
  background: var(--grad-gold);
  color: #05070B;
  font-size: 0.58rem;
  font-weight: 800;
  padding: 0.12rem 0.38rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 0 8px rgba(255, 184, 0, 0.35);
  margin-left: 0.15rem;
}

/* --------------------------------------------------------------------------
   MEGA MENU & DROPDOWNS
   -------------------------------------------------------------------------- */
.nav-container {
  position: relative;
}

.nav-item-dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Luxury Mega Menu Panel - Positioned relative to nav container */
.mega-dropdown-wrapper {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
}

.mega-menu-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 820px;
  max-width: calc(100% - 2rem);
  background: rgba(8, 12, 22, 0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(0, 210, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(0, 210, 255, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1050;
}

/* Generous Hover Bridge: ensures cursor never drops hover when moving from nav link to panel */
.mega-menu-panel::before {
  content: '';
  position: absolute;
  top: -35px;
  left: -80px;
  right: -80px;
  height: 40px;
  background: transparent;
  pointer-events: auto;
}

[data-theme="light"] .mega-menu-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 102, 255, 0.22);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

@media (min-width: 901px) {
  .mega-dropdown-wrapper:hover .mega-menu-panel,
  .mega-dropdown-wrapper.dropdown-open .mega-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1fr;
  gap: 1.5rem;
}

.mega-col-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.785rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.65rem;
}

[data-theme="light"] .mega-col-title {
  color: var(--accent-blue);
}

.mega-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
}

[data-theme="light"] .mega-item {
  background: rgba(0, 0, 0, 0.02);
}

.mega-item:hover {
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.25);
  transform: translateX(3px);
}

[data-theme="light"] .mega-item:hover {
  background: rgba(0, 102, 255, 0.06);
  border-color: rgba(0, 102, 255, 0.2);
}

.mega-item-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

[data-theme="light"] .mega-item-icon {
  background: rgba(0, 102, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.2);
  color: var(--accent-blue);
}

.mega-item-content {
  display: flex;
  flex-direction: column;
}

.mega-item-name {
  font-family: var(--font-heading);
  font-size: 0.865rem;
  font-weight: 600;
  color: var(--text-heading);
  line-height: 1.3;
}

.mega-item:hover .mega-item-name {
  color: var(--accent-cyan);
}

[data-theme="light"] .mega-item:hover .mega-item-name {
  color: var(--accent-blue);
}

.mega-item-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
}

.mega-catalog-link {
  background: rgba(255, 184, 0, 0.06);
  border-color: rgba(255, 184, 0, 0.2);
}

.mega-catalog-link .mega-item-icon {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.3);
  color: var(--accent-gold);
}

.mega-catalog-link:hover {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.4);
}

/* Featured Spotlight Card inside Mega Menu */
.mega-featured-col {
  display: flex;
}

.mega-feature-card {
  background: linear-gradient(145deg, rgba(0, 210, 255, 0.12) 0%, rgba(0, 102, 255, 0.18) 100%);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  box-shadow: inset 0 0 20px rgba(0, 210, 255, 0.08);
}

[data-theme="light"] .mega-feature-card {
  background: linear-gradient(145deg, rgba(0, 102, 255, 0.06) 0%, rgba(0, 210, 255, 0.12) 100%);
  border-color: rgba(0, 102, 255, 0.25);
}

.mega-feature-badge {
  display: inline-block;
  background: var(--accent-cyan);
  color: #05070B;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.mega-feature-title {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 0.4rem;
}

[data-theme="light"] .mega-feature-title {
  color: #0F172A;
}

.mega-feature-desc {
  font-size: 0.785rem;
  color: var(--text-body);
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* Compact Standard Dropdown (e.g. Solutions) */
.compact-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: 290px;
  background: rgba(10, 15, 25, 0.98);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 210, 255, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 1050;
}

/* Hover Bridge for compact dropdown */
.compact-dropdown::before {
  content: '';
  position: absolute;
  top: -35px;
  left: -50px;
  right: -50px;
  height: 40px;
  background: transparent;
  pointer-events: auto;
}

[data-theme="light"] .compact-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 102, 255, 0.2);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

@media (min-width: 901px) {
  .nav-item-dropdown:hover .compact-dropdown,
  .nav-item-dropdown.dropdown-open .compact-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.dropdown-item:hover {
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
  transform: translateX(3px);
}

[data-theme="light"] .dropdown-item:hover {
  background: rgba(0, 102, 255, 0.08);
  color: var(--accent-blue);
}

.dropdown-item-icon-wrap {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.dropdown-item-title {
  font-family: var(--font-heading);
  font-size: 0.885rem;
  font-weight: 600;
  color: var(--text-heading);
}

.dropdown-item-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   RIGHT ACTION HUB
   -------------------------------------------------------------------------- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.nav-action-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  flex-shrink: 0;
}

[data-theme="light"] .nav-action-btn {
  background: rgba(0, 0, 0, 0.04);
}

.nav-action-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.25);
}

[data-theme="light"] .nav-action-btn:hover {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(0, 102, 255, 0.08);
}

.badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--accent-gold);
  color: #05070B;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1px;
  box-shadow: 0 0 8px rgba(255, 184, 0, 0.5);
}

/* ==========================================================================
   LANGUAGE SWITCHER DROPDOWN (EN, SI, TA)
   ========================================================================== */
.lang-dropdown-wrap {
  position: relative;
  z-index: 100;
  flex-shrink: 0;
}

.lang-toggle-btn {
  width: auto;
  min-width: 62px;
  height: 36px;
  padding: 0 0.55rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-heading);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

[data-theme="light"] .lang-toggle-btn {
  background: rgba(0, 0, 0, 0.04);
}

.lang-toggle-btn:hover,
.lang-dropdown-wrap.open .lang-toggle-btn {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.12);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.25);
}

[data-theme="light"] .lang-toggle-btn:hover,
[data-theme="light"] .lang-dropdown-wrap.open .lang-toggle-btn {
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  background: rgba(0, 102, 255, 0.08);
}

.current-lang-code {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-left: 2px;
}

[data-theme="light"] .current-lang-code {
  color: var(--accent-blue);
}

.lang-chevron {
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.lang-dropdown-wrap.open .lang-chevron {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 210px;
  background: rgba(14, 20, 32, 0.96);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 210, 255, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
  pointer-events: none;
  z-index: 1000;
}

[data-theme="light"] .lang-dropdown-menu {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.lang-dropdown-wrap.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-menu-header {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.4rem 0.65rem 0.35rem 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.35rem;
}

[data-theme="light"] .lang-menu-header {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.lang-option-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-white);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.lang-option-item:hover {
  background: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.25);
  transform: translateX(2px);
}

[data-theme="light"] .lang-option-item:hover {
  background: rgba(0, 102, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.2);
}

.lang-option-item.active {
  background: rgba(0, 210, 255, 0.16);
  border-color: var(--accent-cyan);
}

[data-theme="light"] .lang-option-item.active {
  background: rgba(0, 102, 255, 0.12);
  border-color: var(--accent-blue);
}

.lang-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.lang-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lang-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-heading);
}

.lang-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.lang-check-icon {
  color: var(--accent-cyan);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

[data-theme="light"] .lang-check-icon {
  color: var(--accent-blue);
}

.lang-option-item.active .lang-check-icon {
  opacity: 1;
}

/* Mobile Elements inside Navigation Drawer - Strictly Hidden on Desktop */
.mobile-lang-strip,
.mobile-drawer-footer {
  display: none !important;
}

.mobile-lang-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.mobile-lang-pills {
  display: flex;
  gap: 0.5rem;
}

.mobile-lang-pill {
  flex: 1;
  padding: 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

[data-theme="light"] .mobile-lang-pill {
  background: rgba(0, 0, 0, 0.04);
}

.mobile-lang-pill.active {
  background: var(--accent-cyan);
  color: #05070B;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

[data-theme="light"] .mobile-lang-pill.active {
  background: var(--accent-blue);
  color: #FFFFFF;
  border-color: var(--accent-blue);
}

/* Header Luxury CTA Button */
.header-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--grad-primary);
  color: #05070B;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 210, 255, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(0, 210, 255, 0.55);
  color: #05070B;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  z-index: 1;
}

/* Intermediate Desktop Scaling (prevents any overflow on laptops & Sinhala/Tamil text) */
@media (min-width: 1081px) and (max-width: 1400px) {
  .brand-logo-img {
    height: 30px;
    max-width: 125px;
  }
  .nav-container {
    padding: 0 0.65rem;
    gap: 0.25rem;
  }
  .nav-menu {
    gap: 0.05rem;
  }
  .nav-link {
    font-size: 0.76rem;
    padding: 0.32rem 0.38rem;
    gap: 0.18rem;
  }
  .nav-sparkle-pill {
    font-size: 0.58rem;
    padding: 0.1rem 0.3rem;
  }
  .nav-actions {
    gap: 0.25rem;
  }
  .lang-toggle-btn {
    min-width: 56px;
    height: 34px;
    padding: 0 0.35rem;
    font-size: 0.72rem;
  }
  .nav-action-btn {
    width: 34px;
    height: 34px;
  }
  .header-cta-btn {
    height: 34px;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
  }
}

body.nav-locked {
  overflow: hidden !important;
  touch-action: none;
}

/* Animated Hamburger Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
  flex-shrink: 0;
}

.mobile-nav-toggle:hover {
  background: rgba(0, 210, 255, 0.12);
  border-color: var(--accent-cyan);
}

.hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  background-color: var(--text-heading);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-hero-overlay);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
}

.hero-brand-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

.hero-description {
  font-size: 1.15rem;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Hero Key Selling Points Strip */
.hero-features-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.hero-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.hero-feature-text h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 2px;
}

.hero-feature-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   INTERACTIVE SMART SWITCH SIMULATOR IN HERO
   ========================================================================== */
.hero-simulator-wrapper {
  perspective: 1000px;
}

.simulator-card {
  background: rgba(15, 22, 33, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 210, 255, 0.15);
  position: relative;
  transition: transform var(--transition-normal);
}

.simulator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.sim-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-cyan 2s infinite;
}

@keyframes pulse-cyan {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 210, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); }
}

.sim-gang-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.sim-tab-btn {
  background: transparent;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-tab-btn.active {
  background: var(--grad-primary);
  color: #05070B;
  font-weight: 700;
}

/* Virtual Wall Switch Hardware */
.virtual-wall-switch {
  background: linear-gradient(145deg, #11151F, #080A10);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  aspect-ratio: 1 / 1;
  max-width: 300px;
  margin: 0 auto 1.5rem auto;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.1),
              0 15px 35px rgba(0, 0, 0, 0.7),
              0 0 30px rgba(0, 210, 255, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  cursor: pointer;
}

.switch-glass-beveled {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
}

.switch-brand-label {
  position: absolute;
  bottom: 14px;
  right: 18px;
  left: auto;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 5;
}

.switch-brand-label img,
.switch-brand-label .switch-logo-img {
  height: 13px;
  width: auto;
  max-width: 76px;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
}

[data-theme="light"] .switch-brand-label img,
[data-theme="light"] .switch-brand-label .switch-logo-img {
  filter: invert(1) drop-shadow(0 1px 2px rgba(255, 255, 255, 0.8));
}

.touch-buttons-grid {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-items: center;
  padding: 1rem;
}

.touch-buttons-grid.gang-1 {
  grid-template-columns: 1fr;
}
.touch-buttons-grid.gang-2 {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 1fr;
}
.touch-buttons-grid.gang-3 {
  grid-template-columns: repeat(3, 1fr);
}
.touch-buttons-grid.gang-4 {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.touch-button-node {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.touch-button-node:hover {
  border-color: rgba(0, 210, 255, 0.5);
  color: var(--accent-cyan);
}

.touch-button-node.active {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.15);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.7), inset 0 0 15px rgba(0, 210, 255, 0.4);
}

.touch-button-node.active::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(0, 210, 255, 0.4);
  animation: ripple 2s infinite;
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Simulator Room Lighting Preview */
.sim-room-status {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sim-room-info {
  display: flex;
  flex-direction: column;
}

.sim-room-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-white);
}

.sim-room-lights {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.sim-toggle-all-btn {
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sim-toggle-all-btn:hover {
  background: var(--accent-cyan);
  color: #05070B;
}

/* ==========================================================================
   FEATURED PRODUCTS (PRICE LIST SHOWCASE)
   ========================================================================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.product-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), 0 0 35px rgba(0, 210, 255, 0.2);
}

.product-badge-warranty {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 184, 0, 0.4);
  color: var(--accent-gold);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Product Brand Stamp (deprecated - authentic logo is laser-printed directly on switch faceplate) */
.product-brand-stamp {
  display: none !important;
}

.product-image-box {
  position: relative;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, #182232 0%, #0B0F17 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.product-img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-gang-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Feature bullets */
.product-spec-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.product-spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #CBD5E1;
}

.product-spec-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.product-pricing-row {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.product-actions-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

/* Featured Keycard Hero Card */
.keycard-feature-card {
  background: linear-gradient(135deg, rgba(20, 29, 44, 0.85) 0%, rgba(10, 15, 24, 0.95) 100%);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 210, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.keycard-feature-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.keycard-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.keycard-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.keycard-feature-card:hover .keycard-img-wrapper img {
  transform: scale(1.04);
}

/* ==========================================================================
   SOLUTIONS SECTION (SMART HOME, SMART HOTEL, SMART OFFICE)
   ========================================================================== */
.solution-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.solution-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}

.solution-tab-btn:hover {
  background: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.3);
  color: var(--accent-cyan);
}

.solution-tab-btn.active {
  background: var(--grad-primary);
  color: #05070B;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.4);
}

.solution-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.solution-panel.active {
  display: block;
}

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

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.solution-image-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
}

.solution-image-container img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.solution-image-container:hover img {
  transform: scale(1.03);
}

.solution-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 11, 0.95) 90%);
}

.solution-benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.75rem 0 2rem 0;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: all var(--transition-fast);
}

.benefit-card:hover {
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
}

.benefit-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--text-white);
}

.benefit-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   HOW IT WORKS (4 STEPS)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, #00D2FF 0%, #0066FF 50%, #FFB800 100%);
  opacity: 0.3;
  z-index: 0;
}

.step-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md), 0 0 25px rgba(0, 210, 255, 0.15);
}

.step-number-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
  transition: all var(--transition-fast);
}

.step-card:hover .step-number-badge {
  background: var(--grad-primary);
  color: #05070B;
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.6);
  transform: scale(1.08);
}

.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-body);
}

/* ==========================================================================
   WHY OMNIPRO & COMPARISON TABLE
   ========================================================================== */
.why-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 4rem;
}

.why-feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
}

.why-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md), 0 0 30px rgba(0, 210, 255, 0.12);
}

.why-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.comparison-wrapper {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  overflow-x: auto;
}

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

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.comparison-table th {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
}

.comparison-table th.highlight-col {
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.comparison-table td.highlight-col {
  background: rgba(0, 210, 255, 0.05);
  font-weight: 600;
  color: var(--text-white);
}

.check-icon {
  color: var(--accent-emerald);
  font-weight: 800;
}

.cross-icon {
  color: #EF4444;
}

/* ==========================================================================
   INTERACTIVE SWITCH & ROOM ESTIMATOR / CALCULATOR
   ========================================================================== */
.calculator-container {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg), 0 0 45px rgba(0, 210, 255, 0.12);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3rem;
}

.room-selector-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.room-item-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
}

.room-name-col h4 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 2px;
}

.room-name-col span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.gang-qty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.gang-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.qty-counter {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.qty-btn {
  background: transparent;
  color: var(--text-white);
  width: 24px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  transition: background var(--transition-fast);
}

.qty-btn:hover {
  background: rgba(0, 210, 255, 0.2);
  color: var(--accent-cyan);
}

.qty-display {
  width: 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
}

/* Calculator Summary Box */
.calc-summary-card {
  background: linear-gradient(145deg, #111827, #0A0F18);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.summary-item-row.total-row {
  border-top: 2px solid var(--accent-cyan);
  border-bottom: none;
  margin-top: 1rem;
  padding-top: 1.25rem;
}

.total-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* ==========================================================================
   PARTNER / DEALER SECTION
   ========================================================================== */
.partner-hero-box {
  background: linear-gradient(135deg, rgba(20, 29, 44, 0.9) 0%, rgba(10, 15, 24, 0.95) 100%);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(255, 184, 0, 0.12);
}

.partner-hero-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-gold);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.audience-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem 0;
}

.audience-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #E2E8F0;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.audience-tag:hover {
  background: rgba(255, 184, 0, 0.15);
  border-color: rgba(255, 184, 0, 0.4);
  color: var(--accent-gold);
  transform: translateY(-2px);
}

.partner-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.partner-benefit-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
}

/* Partner Form Card */
.partner-form-card {
  background: rgba(14, 20, 32, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.1rem;
  color: var(--text-white);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
  background: rgba(0, 0, 0, 0.65);
}

.form-select {
  cursor: pointer;
}

.form-select option {
  background: #090D14;
  color: #FFFFFF;
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* ==========================================================================
   CONTACT SECTION & FOOTER
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 1rem;
  color: var(--text-white);
  margin-bottom: 0.3rem;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
}

.contact-detail-text a:hover {
  color: var(--accent-cyan);
}

/* Site Footer */
.site-footer {
  background: #030407;
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 1;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: var(--radius-full);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-body);
  font-size: 0.875rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Floating Widgets */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.floating-quote-drawer-trigger {
  position: fixed;
  bottom: 96px;
  right: 28px;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--accent-cyan);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 210, 255, 0.2);
  z-index: 999;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.floating-quote-drawer-trigger:hover {
  background: var(--grad-primary);
  color: #05070B;
  transform: translateY(-3px);
}

/* ==========================================================================
   MODAL DIALOGS & DRAWERS
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 7, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 210, 255, 0.2);
  transform: scale(0.92);
  transition: transform var(--transition-normal);
}

.modal-backdrop.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close-btn:hover {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
}

/* ==========================================================================
   SUPER-PREMIUM SUBMISSION SUCCESS MODAL & WHATSAPP ACTIONS
   ========================================================================== */
.success-modal-wrapper {
  max-width: 480px;
  background: linear-gradient(180deg, #0E1624 0%, #080C14 100%);
  border: 1px solid rgba(0, 229, 153, 0.4);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 45px rgba(0, 229, 153, 0.2);
  border-radius: var(--radius-xl);
  padding: 1.35rem 1.5rem;
  text-align: center;
  position: relative;
  max-height: 94vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 229, 153, 0.3) transparent;
}

.success-modal-wrapper::-webkit-scrollbar {
  width: 5px;
}

.success-modal-wrapper::-webkit-scrollbar-thumb {
  background: rgba(0, 229, 153, 0.35);
  border-radius: 10px;
}

[data-theme="light"] .success-modal-wrapper {
  background: #FFFFFF;
  border-color: rgba(0, 180, 120, 0.35);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
}

.success-icon-badge {
  width: 54px;
  height: 54px;
  margin: 0 auto 0.65rem auto;
  border-radius: 50%;
  background: rgba(0, 229, 153, 0.12);
  border: 2px solid #00E599;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00E599;
  box-shadow: 0 0 22px rgba(0, 229, 153, 0.4);
}

.success-ref-code {
  display: inline-block;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  letter-spacing: 0.08em;
}

.success-details-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.9rem;
  text-align: left;
  font-size: 0.82rem;
  margin-bottom: 1rem;
  line-height: 1.55;
}

[data-theme="light"] .success-details-card {
  background: #F8FAFC;
}

.success-detail-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0;
}

[data-theme="light"] .success-detail-row {
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

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

.success-detail-label {
  color: var(--text-muted);
  font-weight: 500;
}

.success-detail-val {
  color: var(--text-heading);
  font-weight: 600;
  text-align: right;
}

.btn-whatsapp-hero {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.4);
  border: none;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  width: 100%;
}

.btn-whatsapp-hero:hover {
  background: linear-gradient(135deg, #2ee673 0%, #15a090 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}

.partner-direct-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-top: 0.55rem;
  border-top: 1px solid var(--border-subtle);
}

.partner-direct-link {
  color: #25D366;
  font-weight: 700;
  text-decoration: underline;
}

.partner-direct-link:hover {
  color: #2ee673;
}

/* Quotation Drawer */
.quote-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid rgba(0, 210, 255, 0.25);
  z-index: 2100;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
}

.quote-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-body {
  padding: 1.75rem;
  flex-grow: 1;
  overflow-y: auto;
}

.drawer-footer {
  padding: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.3);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #0E1420;
  border: 1px solid var(--accent-cyan);
  color: var(--text-white);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 210, 255, 0.3);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInLeft 0.3s ease forwards;
}

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

/* ==========================================================================
   11. PREVIEW & 360° INTERACTIVE 3D PRODUCT STUDIO (SUPER-PREMIUM)
   ========================================================================== */
.omni-360-studio-section {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 30%, rgba(0, 210, 255, 0.08) 0%, #05070B 75%);
  padding: 5rem 0;
  border-top: 1px solid rgba(0, 210, 255, 0.2);
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
}

.omni-360-showcase-card {
  background: linear-gradient(165deg, rgba(16, 24, 38, 0.85) 0%, rgba(8, 12, 19, 0.95) 100%);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: var(--radius-2xl);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 210, 255, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .omni-360-showcase-card {
  background: linear-gradient(165deg, #FFFFFF 0%, #F1F5F9 100%);
  border-color: rgba(0, 102, 255, 0.25);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.studio-grid-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

/* 3D Viewport Stage */
.stage-3d-viewport {
  position: relative;
  height: 480px;
  background: radial-gradient(circle at center, rgba(14, 22, 35, 0.9) 0%, rgba(5, 7, 12, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  overflow: hidden;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  touch-action: none;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8);
}

[data-theme="light"] .stage-3d-viewport {
  background: radial-gradient(circle at center, #F8FAFC 0%, #E2E8F0 100%);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.05);
}

.stage-3d-viewport:active {
  cursor: grabbing;
}

/* Ambient Ray Beams in 3D Stage */
.stage-ambient-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(0, 210, 255, 0.18) 0%, transparent 60%);
  transition: opacity 0.3s ease;
}

/* Interactive 3D Assembly */
.switch-3d-assembly {
  width: 260px;
  height: 260px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(var(--rot-x, -12deg)) rotateY(var(--rot-y, 25deg)) scale3d(var(--zoom, 1), var(--zoom, 1), var(--zoom, 1));
  transition: transform 0.05s linear;
}

/* Smooth Auto-Spin or Reset Animation */
.switch-3d-assembly.animating {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 3D Layers */
.layer-3d {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, opacity 0.4s ease;
  backface-visibility: visible;
}

/* Layer 1: Front 4mm Crystal Toughened Glass */
.layer-glass-faceplate {
  z-index: 10;
  transform: translateZ(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), inset 0 1px 3px rgba(255, 255, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

/* Dynamic Glass Glare Reflection Shader */
.glass-specular-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    var(--glare-angle, 135deg),
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.05) 30%,
    transparent 60%,
    rgba(255, 255, 255, 0.12) 100%
  );
  border-radius: inherit;
  z-index: 5;
}

/* Glass Beveled Chamfer Edge */
/* Glass Beveled Chamfer Edge (Polished Chrome Finish) */
.glass-beveled-edge {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15), inset 0 0 6px rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

/* Official Logo in Bottom-Right Corner */
.switch-3d-logo {
  position: absolute;
  bottom: 14px;
  right: 16px;
  left: auto;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 6;
  pointer-events: none;
}

.switch-3d-logo img,
.switch-3d-logo .switch-logo-img {
  height: 14px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  opacity: 0.92;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
}

[data-theme="light"] .switch-3d-logo img,
.finish-white .switch-3d-logo img {
  filter: invert(1) drop-shadow(0 1px 2px rgba(255, 255, 255, 0.8));
}

/* WiFi Indicator at Top Center */
.wifi-3d-led {
  position: absolute;
  top: 18px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 22px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  color: #00D2FF;
  animation: wifiPulse 2.5s infinite;
}

@keyframes wifiPulse {
  0%, 100% { opacity: 0.95; filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.8)); }
  50% { opacity: 0.55; filter: drop-shadow(0 0 3px rgba(0, 210, 255, 0.4)); }
}

/* 3D Touch Buttons Grid */
.touch-3d-grid {
  display: grid;
  gap: 1.25rem;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-items: center;
  padding: 1.5rem 0.5rem;
  z-index: 7;
}

.touch-3d-grid.gang-1 { grid-template-columns: 1fr; }
.touch-3d-grid.gang-2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; gap: 1.5rem; }
.touch-3d-grid.gang-3 { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
.touch-3d-grid.gang-4 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1.15rem; }

.touch-3d-node {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(0, 210, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00D2FF;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.6), inset 0 0 8px rgba(0, 210, 255, 0.3);
}

.touch-3d-node:hover {
  transform: scale(1.1);
  box-shadow: 0 0 24px rgba(0, 210, 255, 0.9), inset 0 0 12px rgba(0, 210, 255, 0.6);
}

.touch-3d-node.active {
  border-color: #00E5FF;
  color: #FFFFFF;
  background: rgba(0, 210, 255, 0.25);
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.95), inset 0 0 14px rgba(0, 210, 255, 0.65);
}

.touch-3d-node.active::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(0, 210, 255, 0.5);
  animation: ringRipple 2s infinite;
}

@keyframes ringRipple {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Layer 2: Touch Capacitive PCB */
.layer-touch-pcb {
  z-index: 5;
  transform: translateZ(4px);
  background: linear-gradient(145deg, #0A2617 0%, #03140C 100%);
  border: 1px solid #10B981;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pcb-circuit-traces {
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle, #34D399 1.5px, transparent 1.5px),
    linear-gradient(90deg, rgba(52, 211, 153, 0.15) 1px, transparent 1px),
    linear-gradient(rgba(52, 211, 153, 0.15) 1px, transparent 1px);
  background-size: 16px 16px, 16px 16px, 16px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.pcb-chip {
  background: #111827;
  border: 1px solid #E5E7EB;
  border-radius: 3px;
  padding: 0.35rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #10B981;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

/* Layer 3: Magnetic Relays & Isolation Housing */
.layer-relay-isolation {
  z-index: 3;
  transform: translateZ(-4px);
  background: linear-gradient(145deg, #1E293B 0%, #0F172A 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.relay-modules-wrap {
  display: flex;
  gap: 0.65rem;
}

.relay-box {
  background: #0284C7;
  border: 1px solid #38BDF8;
  border-radius: 4px;
  width: 44px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.52rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6);
}

/* Layer 4: Rear Wall Chassis & Stepped Cylindrical Terminals (Sri Lanka 86mm Standard) */
.layer-rear-chassis {
  z-index: 1;
  transform: translateZ(-14px);
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rear-chassis-face {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: #000000 url('../images/switch-back-view.jpg?v=10') center center / cover no-repeat;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  transform: rotateY(180deg);
  transform-style: preserve-3d;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.95), 0 20px 50px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0.75rem;
}

.rear-chassis-specular {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    var(--glare-angle, 135deg),
    rgba(255, 255, 255, 0.18) 0%,
    transparent 45%,
    rgba(0, 210, 255, 0.1) 100%
  );
  pointer-events: none;
  border-radius: inherit;
  z-index: 2;
}

.rear-hardware-badge-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  width: 100%;
}

.rear-hardware-pill {
  background: rgba(8, 12, 22, 0.88);
  border: 1px solid rgba(0, 210, 255, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-cyan);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

/* Real Photo Mode Overlay Container */
.stage-real-photo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 20;
  background: rgba(5, 7, 11, 0.85);
  backdrop-filter: blur(12px);
}

.stage-real-photo-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.real-photo-img-wrap {
  width: 260px;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(0, 210, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 210, 255, 0.2);
  position: relative;
  background: #000000;
}

.real-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.real-photo-img-wrap:hover .real-photo-img {
  transform: scale(1.06);
}

.real-photo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(8, 12, 22, 0.85);
  border: 1px solid var(--accent-cyan);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  color: #FFF;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   EXPLODED 3D VIEW STATE (TEARDOWN IN 3D SPACE)
   ========================================================================== */
.switch-3d-assembly.exploded .layer-glass-faceplate {
  transform: translateZ(125px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 210, 255, 0.3);
}

.switch-3d-assembly.exploded .layer-touch-pcb {
  transform: translateZ(45px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 185, 129, 0.4);
}

.switch-3d-assembly.exploded .layer-relay-isolation {
  transform: translateZ(-40px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.switch-3d-assembly.exploded .layer-rear-chassis {
  transform: translateZ(-120px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
}

/* Floating 3D Callout Badges in Exploded View */
.layer-callout-badge {
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%) translateZ(10px);
  background: rgba(14, 20, 32, 0.92);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 210, 255, 0.3);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.switch-3d-assembly.exploded .layer-callout-badge {
  opacity: 1;
}

/* ==========================================================================
   COLOR FINISHES (Black, White, Gold, Grey)
   ========================================================================== */
/* Obsidian Black (Default) */
.switch-3d-assembly.finish-black .layer-glass-faceplate {
  background: linear-gradient(135deg, #131A26 0%, #070A0F 100%);
}

/* Glacier White */
.switch-3d-assembly.finish-white .layer-glass-faceplate {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), inset 0 1px 3px rgba(255, 255, 255, 0.9);
}
.switch-3d-assembly.finish-white .touch-3d-node {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.2);
  color: rgba(15, 23, 42, 0.6);
}
.switch-3d-assembly.finish-white .touch-3d-node.active {
  border-color: #00B478;
  color: #00B478;
  background: rgba(0, 180, 120, 0.15);
  box-shadow: 0 0 20px rgba(0, 180, 120, 0.5);
}

/* Champagne Gold */
.switch-3d-assembly.finish-gold .layer-glass-faceplate {
  background: linear-gradient(135deg, #2D2311 0%, #171106 100%);
  border-color: rgba(255, 184, 0, 0.4);
}
.switch-3d-assembly.finish-gold .touch-3d-node {
  border-color: rgba(255, 184, 0, 0.3);
  color: rgba(255, 184, 0, 0.5);
}
.switch-3d-assembly.finish-gold .touch-3d-node.active {
  border-color: #FFB800;
  color: #FFB800;
  background: rgba(255, 184, 0, 0.2);
  box-shadow: 0 0 25px rgba(255, 184, 0, 0.7);
}

/* Space Grey */
.switch-3d-assembly.finish-grey .layer-glass-faceplate {
  background: linear-gradient(135deg, #2A3342 0%, #151B24 100%);
  border-color: rgba(148, 163, 184, 0.3);
}

/* 3D Studio Controls & Toolbar */
.studio-drag-hint-pill {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(6, 10, 16, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.3);
  backdrop-filter: blur(12px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.studio-tools-overlay {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 20;
}

.tool-circle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 20, 32, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
}

.tool-circle-btn:hover, .tool-circle-btn.active {
  background: var(--accent-cyan);
  color: #05070B;
  border-color: var(--accent-cyan);
  transform: scale(1.08);
}

/* Studio Sidebar Options */
.studio-options-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.studio-opt-group-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Gang selector tabs */
.studio-gang-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.studio-gang-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.studio-gang-pill:hover, .studio-gang-pill.active {
  background: var(--grad-primary);
  color: #05070B;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.4);
}

/* Color Swatches */
.studio-swatches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.studio-swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.swatch-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.studio-swatch-item.active .swatch-circle {
  border-color: var(--accent-cyan);
  transform: scale(1.15);
  box-shadow: 0 0 18px rgba(0, 210, 255, 0.6);
}

.swatch-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Action Toggles */
.studio-actions-toggles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.studio-toggle-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  color: var(--text-white);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.studio-toggle-card:hover, .studio-toggle-card.active {
  background: rgba(0, 210, 255, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Preset Angles Bar */
.studio-angles-bar {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.angle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-white);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.angle-btn:hover {
  background: rgba(0, 210, 255, 0.2);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ==========================================================================
   12. DEDICATED 360° MODAL VIEWER DIALOG
   ========================================================================== */
.omni-360-modal-card {
  max-width: 960px;
  width: 95%;
  background: linear-gradient(170deg, #0D131F 0%, #06090F 100%);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 210, 255, 0.2);
}

/* 360 Button on Product Cards */
.btn-view-360 {
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-view-360:hover {
  background: var(--accent-cyan);
  color: #05070B;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
  transform: translateY(-2px);
}

/* ==========================================================================
   13. SITE-WIDE PREMIUM ANIMATIONS SUITE
   ========================================================================== */
/* Scroll Reveal Engine */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal="zoom"] {
  transform: scale(0.92);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) scale(1) translateX(0);
}

/* Stagger Children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.33s; opacity: 1; transform: translateY(0); }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.40s; opacity: 1; transform: translateY(0); }

/* Interactive 3D Card Hover Physics */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.12s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.tilt-card .card-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.tilt-card:hover .card-glare {
  opacity: 1;
}

/* Shimmer Button Light Beam */
.btn-primary::after, .btn-gold::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.btn-primary:hover::after, .btn-gold:hover::after {
  transform: translateX(100%);
}

/* Pulsing Aura Keyframes */
@keyframes auraFloating {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.05); }
}

.floating-aura {
  animation: auraFloating 6s ease-in-out infinite;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ========================================================================== */
body.nav-locked {
  overflow: hidden !important;
  touch-action: none;
}

@media (max-width: 1100px) {
  .nav-menu {
    gap: 0.15rem;
  }
  .nav-link {
    padding: 0.45rem 0.65rem;
    font-size: 0.85rem;
  }
  .mega-menu-panel {
    width: 680px;
  }
}

@media (max-width: 1024px) {
  .hero-grid, .solution-grid, .partner-grid, .calc-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

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

  .steps-grid::before {
    display: none;
  }

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

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

  .keycard-feature-card {
    grid-template-columns: 1fr;
  }

  .studio-grid-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
  }
}

@media (max-width: 1080px) {
  :root {
    --header-height: 64px;
  }

  /* Hide Desktop Nav and show Mobile Toggle */
  .mobile-nav-toggle {
    display: flex;
  }

  .header-cta-btn {
    display: none !important;
  }

  .nav-actions {
    gap: 0.35rem;
    align-items: center;
  }

  .nav-action-btn {
    width: 36px;
    height: 36px;
    padding: 0;
  }

  .lang-toggle-btn {
    min-width: 58px;
    height: 36px;
    padding: 0 0.45rem;
    font-size: 0.74rem;
  }

  /* Full Screen Luxury Mobile Frosted Drawer */
  .main-nav {
    display: block !important;
    position: fixed !important;
    top: var(--header-height) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: calc(100vh - var(--header-height)) !important;
    height: calc(100dvh - var(--header-height)) !important;
    background: rgba(6, 9, 16, 0.98) !important;
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
    border-top: 1px solid rgba(0, 210, 255, 0.22) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 1.15rem 1.15rem 4.5rem 1.15rem !important;
    box-sizing: border-box !important;
    transform: translateY(-120%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, visibility 0.28s ease !important;
    z-index: 9999 !important;
  }

  [data-theme="light"] .main-nav {
    background: rgba(255, 255, 255, 0.99) !important;
    border-top-color: rgba(0, 102, 255, 0.22) !important;
  }

  .main-nav.active {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Mobile Language Selector at Top of Drawer */
  .mobile-lang-strip {
    display: block !important;
    padding: 0 0 1rem 0 !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
  }

  [data-theme="light"] .mobile-lang-strip {
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
  }

  .mobile-lang-label {
    display: block !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    color: var(--text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    margin-bottom: 0.5rem !important;
  }

  .mobile-lang-pills {
    display: flex !important;
    gap: 0.45rem !important;
    background: rgba(255, 255, 255, 0.04) !important;
    padding: 4px !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
  }

  [data-theme="light"] .mobile-lang-pills {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
  }

  .mobile-lang-pill {
    flex: 1 !important;
    padding: 0.5rem 0.25rem !important;
    border-radius: calc(var(--radius-sm) - 3px) !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-body) !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all var(--transition-fast) !important;
    text-align: center !important;
  }

  .mobile-lang-pill.active {
    background: var(--accent-cyan) !important;
    color: #05070B !important;
    box-shadow: 0 2px 10px rgba(0, 210, 255, 0.4) !important;
  }

  [data-theme="light"] .mobile-lang-pill.active {
    background: var(--accent-blue) !important;
    color: #FFFFFF !important;
  }

  .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.55rem !important;
    width: 100% !important;
    max-width: 100% !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .nav-menu > li {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    height: auto !important;
  }

  .nav-link {
    font-size: 0.96rem !important;
    font-weight: 600 !important;
    padding: 0.8rem 1.05rem !important;
    border-radius: var(--radius-md) !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: all var(--transition-fast) !important;
  }

  [data-theme="light"] .nav-link {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.07) !important;
    color: #0F172A !important;
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(0, 210, 255, 0.12) !important;
    border-color: rgba(0, 210, 255, 0.35) !important;
    color: var(--accent-cyan) !important;
  }

  .nav-sparkle-pill {
    margin-left: auto !important;
    font-size: 0.68rem !important;
    padding: 0.18rem 0.5rem !important;
  }

  /* Mega Menu & Dropdown Accordions on Mobile */
  .mega-menu-panel, 
  .compact-dropdown {
    position: static !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    box-shadow: inset 0 2px 12px rgba(0, 0, 0, 0.4) !important;
    background: rgba(14, 20, 32, 0.9) !important;
    border: 1px solid rgba(0, 210, 255, 0.25) !important;
    border-radius: var(--radius-md) !important;
    padding: 0.85rem !important;
    margin: 0.5rem 0 0 0 !important;
    display: none !important;
  }

  [data-theme="light"] .mega-menu-panel, 
  [data-theme="light"] .compact-dropdown {
    background: #F8FAFC !important;
    border-color: rgba(0, 102, 255, 0.2) !important;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.04) !important;
  }

  .nav-item-dropdown.mobile-open > .mega-menu-panel,
  .nav-item-dropdown.mobile-open > .compact-dropdown {
    display: block !important;
    animation: mobileAccordionOpen 0.25s ease !important;
  }

  .nav-item-dropdown.mobile-open .chevron-icon {
    transform: rotate(180deg) !important;
    color: var(--accent-cyan) !important;
  }

  .mega-menu-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mega-menu-col {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .mega-col-title {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: var(--accent-cyan) !important;
    margin-bottom: 0.5rem !important;
    padding-bottom: 0.35rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
  }

  [data-theme="light"] .mega-col-title {
    color: var(--accent-blue) !important;
    border-bottom-color: rgba(0, 0, 0, 0.08) !important;
  }

  .mega-links-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mega-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.65rem 0.85rem !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    transition: all var(--transition-fast) !important;
  }

  [data-theme="light"] .mega-item {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
  }

  .mega-item:hover, .mega-item:active {
    background: rgba(0, 210, 255, 0.12) !important;
    border-color: rgba(0, 210, 255, 0.3) !important;
    transform: none !important;
  }

  .mega-item-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: var(--radius-xs) !important;
    background: rgba(0, 210, 255, 0.12) !important;
    border: 1px solid rgba(0, 210, 255, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: var(--accent-cyan) !important;
    flex-shrink: 0 !important;
  }

  .mega-item-content {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    flex: 1 !important;
  }

  .mega-item-name {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    line-height: 1.3 !important;
  }

  [data-theme="light"] .mega-item-name {
    color: #0F172A !important;
  }

  .mega-item-desc {
    font-size: 0.72rem !important;
    color: var(--text-muted) !important;
    line-height: 1.3 !important;
    margin-top: 2px !important;
  }

  .mega-featured-col {
    display: none !important;
  }

  /* Compact dropdown */
  .compact-dropdown {
    gap: 0.45rem !important;
  }

  .dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.75rem 0.85rem !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
  }

  [data-theme="light"] .dropdown-item {
    background: rgba(0, 0, 0, 0.02) !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
  }

  .dropdown-item:hover, .dropdown-item:active {
    background: rgba(0, 210, 255, 0.12) !important;
    border-color: rgba(0, 210, 255, 0.3) !important;
    transform: none !important;
  }

  .dropdown-item-title {
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
  }

  [data-theme="light"] .dropdown-item-title {
    color: #0F172A !important;
  }

  .dropdown-item-sub {
    font-size: 0.72rem !important;
    color: var(--text-muted) !important;
  }

  /* Mobile Drawer Footer with CTA & Quick Links */
  .mobile-drawer-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-top: 1.25rem !important;
    padding-top: 1.15rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  [data-theme="light"] .mobile-drawer-footer {
    border-top-color: rgba(0, 0, 0, 0.08) !important;
  }

  .mobile-drawer-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-md) !important;
  }

  .mobile-drawer-contact {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }

  .mobile-drawer-contact-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    padding: 0.6rem 0.5rem !important;
    border-radius: var(--radius-sm) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: var(--text-heading) !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all var(--transition-fast) !important;
  }

  [data-theme="light"] .mobile-drawer-contact-item {
    background: rgba(0, 0, 0, 0.03) !important;
    border-color: rgba(0, 0, 0, 0.07) !important;
  }

  .mobile-drawer-contact-item:hover {
    border-color: var(--accent-cyan) !important;
    color: var(--accent-cyan) !important;
    background: rgba(0, 210, 255, 0.1) !important;
  }

  /* 360 Studio & 360 Modal on <= 900px */
  .studio-grid-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.75rem !important;
    width: 100% !important;
  }

  .stage-3d-viewport {
    height: 380px !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: var(--radius-xl) !important;
  }

  .switch-3d-assembly {
    width: 220px !important;
    height: 220px !important;
    margin: 0 auto !important;
  }

  .studio-options-panel {
    width: 100% !important;
    max-width: 100% !important;
  }

  .studio-gang-selector {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.4rem !important;
  }

  .studio-gang-pill {
    padding: 0.6rem 0.25rem !important;
    font-size: 0.8rem !important;
  }

  .studio-swatches-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.5rem !important;
    justify-items: center !important;
  }

  .studio-angles-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
  }

  .angle-btn {
    width: 100% !important;
    text-align: center !important;
    padding: 0.5rem 0.35rem !important;
    font-size: 0.78rem !important;
  }

  .studio-actions-toggles {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }

  .omni-360-modal-card {
    max-width: 95% !important;
    width: 95% !important;
    padding: 1.5rem 1.25rem !important;
    margin: 1rem auto !important;
  }

  .omni-360-modal-card .omni-360-showcase-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .layer-callout-badge {
    display: none !important;
  }
}

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

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  /* Top Micro Hotline Bar */
  .top-micro-bar {
    font-size: 0.72rem;
    padding: 0.35rem 0;
  }

  .micro-left {
    display: none;
  }

  .top-micro-container {
    justify-content: center;
  }

  .micro-right {
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .micro-link {
    font-size: 0.75rem;
  }

  /* Sticky Header */
  .site-header {
    height: var(--header-height);
  }

  .brand-logo-wrap {
    height: 30px;
  }

  .brand-logo-img {
    height: 28px;
    max-width: 125px;
  }

  .logo-subline {
    font-size: 0.5rem;
    letter-spacing: 0.12em;
  }

  /* Hero Section */
  .hero-section {
    padding: 3rem 0 4rem 0;
  }

  .hero-brand-highlight {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    max-width: 100%;
    white-space: normal;
    text-align: left;
    line-height: 1.35;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
  }

  .hero-features-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1.25rem;
  }

  .hero-feature-item {
    align-items: center;
  }

  .simulator-card {
    padding: 1.25rem;
  }

  .simulator-switch-box {
    padding: 1.5rem 1rem;
  }

  .switch-glass-plate {
    width: 180px;
    height: 180px;
  }

  /* 360° Studio Showcase Mobile Overhaul */
  .omni-360-studio-section {
    padding: 3rem 0;
  }

  .omni-360-showcase-card {
    padding: 1.25rem 1rem !important;
    border-radius: var(--radius-xl);
  }

  .omni-360-modal-card {
    width: 96% !important;
    max-width: 96% !important;
    padding: 1.25rem 0.85rem !important;
    margin: 1rem auto !important;
  }

  .omni-360-modal-card .omni-360-showcase-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }

  .studio-grid-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .stage-3d-viewport {
    height: 340px !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: var(--radius-lg) !important;
  }

  .switch-3d-assembly {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto !important;
  }

  .touch-3d-node {
    width: 42px !important;
    height: 42px !important;
    font-size: 0.92rem !important;
  }

  .studio-options-panel {
    width: 100% !important;
    max-width: 100% !important;
  }

  .studio-tools-overlay {
    top: 10px;
    right: 10px;
    gap: 0.35rem;
  }

  .tool-circle-btn {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }

  .studio-drag-hint-pill {
    font-size: 0.68rem;
    padding: 0.3rem 0.65rem;
    bottom: 10px;
    max-width: 92%;
    text-align: center;
  }

  .studio-gang-selector {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.35rem !important;
  }

  .studio-gang-pill {
    padding: 0.55rem 0.2rem !important;
    font-size: 0.76rem !important;
  }

  .studio-swatches-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.4rem !important;
    justify-items: center;
  }

  .swatch-circle {
    width: 30px;
    height: 30px;
  }

  .studio-angles-bar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.4rem !important;
    width: 100% !important;
  }

  .angle-btn {
    width: 100% !important;
    text-align: center !important;
    padding: 0.45rem 0.3rem !important;
    font-size: 0.74rem !important;
  }

  .studio-actions-toggles {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .studio-toggle-card {
    padding: 0.6rem 0.7rem;
    font-size: 0.76rem;
  }

  .studio-live-bar {
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: stretch !important;
  }

  .studio-live-bar .btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 42px !important;
  }

  .switch-3d-assembly.exploded .layer-glass-faceplate {
    transform: translateZ(50px);
  }

  .switch-3d-assembly.exploded .layer-touch-pcb {
    transform: translateZ(20px);
  }

  .switch-3d-assembly.exploded .layer-relay-isolation {
    transform: translateZ(-20px);
  }

  .switch-3d-assembly.exploded .layer-rear-chassis {
    transform: translateZ(-50px);
  }

  .layer-callout-badge {
    display: none !important;
  }

  /* Product Catalog & Cards */
  .featured-grid, .catalog-grid, .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-card {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }

  .product-image-wrap {
    height: 200px;
  }

  .product-action-row {
    flex-direction: column;
    gap: 0.5rem;
  }

  .product-action-row .btn, 
  .product-action-row .btn-view-360 {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .product-filter-bar {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.25rem 0.25rem 0.75rem 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  /* Comparison, Solution & Feature Cards */
  .steps-grid, .why-features-grid, .solution-benefits-list, .room-item-row {
    grid-template-columns: 1fr;
  }

  .solution-tabs-nav {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .solution-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .solution-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.6rem 1.1rem;
    font-size: 0.85rem;
  }

  /* Estimator & Calculators */
  .calc-grid, .estimator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .estimator-card, .calc-card {
    padding: 1.25rem;
  }

  .estimator-summary-box {
    padding: 1.25rem;
  }

  .est-grand-total {
    font-size: 1.85rem;
  }

  /* Footer */
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

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

  /* Floating Widgets on Mobile */
  .floating-whatsapp {
    bottom: 18px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .floating-quote-drawer-trigger {
    bottom: 18px;
    left: 16px;
    right: auto;
    padding: 0.55rem 0.95rem;
    font-size: 0.8rem;
  }

  /* Modals & Drawers */
  .modal-dialog {
    width: 95% !important;
    max-width: 95% !important;
    padding: 1.35rem !important;
    max-height: 90vh;
    overflow-y: auto;
  }

  .form-row, .form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .form-input, .form-select, .form-textarea {
    font-size: 16px !important;
    min-height: 48px;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .badge-tag {
    font-size: 0.72rem;
    padding: 0.35rem 0.8rem;
  }

  .omni-360-modal-card {
    padding: 1.15rem 0.65rem !important;
    width: 98% !important;
    max-width: 98% !important;
  }

  .omni-360-showcase-card {
    padding: 1rem 0.65rem !important;
  }

  .stage-3d-viewport {
    height: 290px !important;
  }

  .switch-3d-assembly {
    width: 175px !important;
    height: 175px !important;
  }

  .touch-3d-node {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.8rem !important;
  }

  .studio-drag-hint-pill {
    font-size: 0.62rem !important;
    padding: 0.25rem 0.5rem !important;
  }

  .studio-gang-pill {
    font-size: 0.7rem !important;
    padding: 0.45rem 0.15rem !important;
  }

  .swatch-circle {
    width: 26px !important;
    height: 26px !important;
  }

  .swatch-label {
    font-size: 0.65rem !important;
  }

  .studio-actions-toggles {
    grid-template-columns: 1fr !important;
    gap: 0.4rem !important;
  }

  .studio-angles-bar {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.35rem !important;
  }

  .angle-btn {
    font-size: 0.68rem !important;
    padding: 0.4rem 0.2rem !important;
  }

  .hero-brand-highlight {
    font-size: 0.72rem;
  }

  .glass-card {
    padding: 1.25rem;
  }
}




/* ==========================================================================
   LANGUAGE-SPECIFIC LUXURY TYPOGRAPHY RULES (SINHALA & TAMIL HEADERS)
   ========================================================================== */
html[lang="si"],
html[lang="si"] body {
  --font-heading: 'Noto Sans Sinhala', 'Outfit', sans-serif;
  --font-body: 'Noto Sans Sinhala', 'Plus Jakarta Sans', sans-serif;
  font-family: 'Noto Sans Sinhala', 'Plus Jakarta Sans', sans-serif;
}

html[lang="si"] h1,
html[lang="si"] h2,
html[lang="si"] h3,
html[lang="si"] h4,
html[lang="si"] h5,
html[lang="si"] h6,
html[lang="si"] .hero-title,
html[lang="si"] .section-title,
html[lang="si"] .section-header h2,
html[lang="si"] .brand-logo,
html[lang="si"] .btn,
html[lang="si"] .badge-tag {
  font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif !important;
  letter-spacing: 0 !important;
  line-height: 1.32 !important;
  font-weight: 700;
}

html[lang="si"] .hero-title {
  font-size: clamp(2rem, 3.8vw, 3.35rem) !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

html[lang="si"] .section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem) !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}

html[lang="ta"],
html[lang="ta"] body {
  --font-heading: 'Noto Sans Tamil', 'Outfit', sans-serif;
  --font-body: 'Noto Sans Tamil', 'Plus Jakarta Sans', sans-serif;
  font-family: 'Noto Sans Tamil', 'Plus Jakarta Sans', sans-serif;
}

html[lang="ta"] h1,
html[lang="ta"] h2,
html[lang="ta"] h3,
html[lang="ta"] h4,
html[lang="ta"] h5,
html[lang="ta"] h6,
html[lang="ta"] .hero-title,
html[lang="ta"] .section-title,
html[lang="ta"] .section-header h2,
html[lang="ta"] .brand-logo,
html[lang="ta"] .btn,
html[lang="ta"] .badge-tag {
  font-family: 'Noto Sans Tamil', 'Outfit', sans-serif !important;
  letter-spacing: 0 !important;
  line-height: 1.32 !important;
  font-weight: 700;
}

/* ==========================================================================
   OFFICIAL DISTRIBUTOR & DEALER DIRECTORY STYLING (බෙදාහරින්නන්ගේ නාමාවලිය)
   ========================================================================== */
.distributor-directory-section {
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(0, 210, 255, 0.04) 0%, transparent 60%), var(--bg-dark);
}

.distributor-controls-card {
  background: rgba(15, 23, 36, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.distributor-controls-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.distributor-search-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
  max-width: 480px;
}

.distributor-search-wrap .search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-cyan);
  pointer-events: none;
}

.distributor-search-input {
  width: 100%;
  background: rgba(8, 12, 20, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 0.75rem 1.25rem 0.75rem 2.75rem;
  color: #FFFFFF;
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
}

.distributor-search-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.25);
  background: rgba(10, 16, 26, 0.95);
}

.distributor-search-input::placeholder {
  color: #64748B;
}

.distributor-live-count {
  font-size: 0.88rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.distributor-live-count strong {
  color: var(--accent-cyan);
  font-size: 1.05rem;
}

.distributor-filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  overflow-x: auto;
  padding-bottom: 2px;
}

.distributor-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: #CBD5E1;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.distributor-filter-btn:hover {
  background: rgba(0, 210, 255, 0.1);
  border-color: rgba(0, 210, 255, 0.35);
  color: #FFFFFF;
}

.distributor-filter-btn.active {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.25) 0%, rgba(255, 184, 0, 0.15) 100%);
  border-color: var(--accent-cyan);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

/* Distributor Cards Grid */
.distributor-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.dealer-card {
  background: rgba(15, 22, 33, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dealer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dealer-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.45);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 210, 255, 0.15);
}

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

.dealer-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.dealer-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, rgba(10, 15, 25, 0.9) 100%);
  border: 1px solid rgba(0, 210, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

.dealer-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

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

.dealer-name {
  font-size: 1.25rem;
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.dealer-location-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-cyan);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.dealer-district-sep {
  color: rgba(255, 255, 255, 0.25);
}

.dealer-district {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.8rem;
}

.dealer-type-label {
  font-size: 0.8rem;
  color: #94A3B8;
  margin-bottom: 0.85rem;
}

.dealer-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.95rem;
}

.dealer-pill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  color: #CBD5E1;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
}

.dealer-guarantee {
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.22);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.65rem;
  font-size: 0.74rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: inline-block;
}

.dealer-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-dealer-wa {
  flex: 1;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25D366;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-dealer-wa:hover {
  background: #25D366;
  color: #05070B;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.btn-dealer-call {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn-dealer-call:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #05070B;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.distributor-empty-state {
  grid-column: 1 / -1;
  background: rgba(15, 23, 36, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .distributor-controls-card {
    padding: 1.15rem;
  }

  .distributor-controls-top {
    flex-direction: column;
    align-items: stretch;
  }

  .distributor-search-wrap {
    max-width: 100%;
  }

  .distributor-cards-grid {
    grid-template-columns: 1fr;
  }
}

html[lang="si"] .dealer-name {
  font-family: 'Noto Sans Sinhala', 'Outfit', sans-serif !important;
  font-weight: 700;
}

html[lang="ta"] .dealer-name {
  font-family: 'Noto Sans Tamil', 'Outfit', sans-serif !important;
  font-weight: 700;
}

/* ==========================================================================
   14. DIGITAL VISITING CARD & LUXURY PHONE-MOCKUP EXECUTIVE HUB
   ========================================================================== */
.digital-card-page-body {
  background: radial-gradient(circle at 50% 10%, rgba(0, 210, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 184, 0, 0.05) 0%, transparent 40%),
              #050811;
  min-height: 100vh;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

.digital-card-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 8, 17, 0.88);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0;
}

.dcard-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dcard-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.dcard-back-btn:hover {
  background: rgba(0, 210, 255, 0.2);
  color: #FFFFFF;
}

.dcard-brand-img {
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  display: block;
}

.dcard-lang-wrap {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 2px;
  gap: 2px;
}

.dcard-lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dcard-lang-btn.active {
  background: var(--accent-cyan);
  color: #05070B;
}

.digital-card-stage {
  padding: 1.5rem 0 4rem 0;
}

.dcard-container {
  max-width: 440px;
  margin: 0 auto;
}

/* NFC Tap Signal Beacon Strip */
.nfc-status-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.1) 0%, rgba(14, 20, 32, 0.9) 100%);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: var(--radius-full);
  padding: 0.45rem 0.85rem;
  margin-bottom: 1.25rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.15);
  transition: all var(--transition-fast);
}

.nfc-status-pill:hover {
  border-color: var(--accent-cyan);
  box-shadow: 0 6px 25px rgba(0, 210, 255, 0.3);
  transform: translateY(-2px);
}

.nfc-pulse-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  animation: pulse-cyan 2s infinite;
}

.nfc-status-text {
  font-size: 0.75rem;
  font-weight: 600;
  color: #E2E8F0;
  margin: 0 0.5rem;
  flex: 1;
  text-align: left;
}

.nfc-tap-prompt {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--accent-cyan);
  color: #05070B;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ----------------------------------------------------
   DISPLAY MODE SELECTOR (FIT TO PHONE vs 3D DEVICE FRAME)
   ---------------------------------------------------- */
.dcard-view-mode-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 20, 32, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 4px;
  margin: 0 auto 1.25rem auto;
  max-width: 320px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.btn-card-mode {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-card-mode:hover {
  color: #FFFFFF;
}

.btn-card-mode.active {
  background: linear-gradient(135deg, #00D2FF 0%, #0066FF 100%);
  color: #05070B;
  box-shadow: 0 2px 10px rgba(0, 210, 255, 0.35);
}

/* ----------------------------------------------------
   PHONE MOCKUP FRAME (PREMIUM SMARTPHONE HARDWARE CHASSIS)
   ---------------------------------------------------- */
.phone-mockup-wrapper {
  perspective: 1200px;
  margin-bottom: 2rem;
  transition: all 0.35s ease;
}

.phone-device-frame {
  position: relative;
  background: #111622;
  border-radius: 46px;
  padding: 10px;
  box-shadow: 
    0 0 0 3px rgba(255, 255, 255, 0.12),
    0 0 0 5px #070B12,
    0 25px 65px rgba(0, 0, 0, 0.8),
    0 0 45px rgba(0, 210, 255, 0.15);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-device-frame:hover {
  box-shadow: 
    0 0 0 3px rgba(0, 210, 255, 0.4),
    0 0 0 5px #070B12,
    0 30px 80px rgba(0, 0, 0, 0.9),
    0 0 55px rgba(0, 210, 255, 0.25);
}

/* Dynamic Island Notch */
.phone-dynamic-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 26px;
  background: #000000;
  border-radius: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.island-camera {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0B132B;
  border: 1.5px solid #1C2541;
}

.island-sensor {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #060B18;
}

.island-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

/* ----------------------------------------------------
   FIT-TO-PHONE NATIVE CARD DISPLAY MODE (NO FAKE BEZELS)
   ---------------------------------------------------- */
.phone-mockup-wrapper.fit-to-phone-mode .phone-device-frame {
  background: transparent;
  border-radius: 28px;
  padding: 0;
  border: 1px solid rgba(0, 210, 255, 0.3);
  box-shadow: 
    0 15px 45px rgba(0, 0, 0, 0.6),
    0 0 35px rgba(0, 210, 255, 0.15);
  transform: none !important;
}

.phone-mockup-wrapper.fit-to-phone-mode .phone-dynamic-island {
  display: none;
}

.phone-mockup-wrapper.fit-to-phone-mode .phone-card-canvas {
  border-radius: 26px;
}

.phone-mockup-wrapper.fit-to-phone-mode .card-light-body {
  padding: 2rem 1.5rem 1.5rem 1.5rem;
}

/* ----------------------------------------------------
   EXECUTIVE VISITING CARD (PHONE SCREEN CANVAS)
   ---------------------------------------------------- */
.phone-card-canvas {
  background: #FFFFFF;
  border-radius: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.04);
  transition: border-radius 0.35s ease;
}

/* TOP LIGHT / IVORY CARD BODY */
.card-light-body {
  background: #FFFFFF;
  padding: 3rem 1.75rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: padding 0.35s ease;
}

/* Official Brand Logo at Top */
.card-brand-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.card-brand-logo-img {
  height: 34px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
  display: block;
}

.card-brand-sub {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #0284C7;
  text-transform: uppercase;
}

/* Avatar Photo */
.card-avatar-container {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0.25rem auto 1rem auto;
}

.card-avatar-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #0284C7 0%, #0F766E 50%, #F59E0B 100%);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.25);
}

.card-avatar-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 18%;
  display: block;
  border: 2px solid #FFFFFF;
}

/* Identity & Role */
.card-name-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: 0.02em;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.card-role-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0369A1;
  margin-bottom: 0.25rem;
}

.card-company-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 1.25rem;
}

/* Contact Info Items List */
.card-contact-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.card-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1E293B;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.4rem 0.6rem;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  transition: all var(--transition-fast);
}

.card-contact-item:hover {
  background: #F0F9FF;
  border-color: #BAE6FD;
  color: #0369A1;
  transform: translateX(3px);
}

.card-contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0284C7;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-contact-text {
  flex: 1;
  word-break: break-word;
  line-height: 1.35;
}

/* Signature Script Tagline */
.card-signature-wrapper {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.card-signature-script {
  font-family: 'Caveat', cursive;
  font-size: 1.65rem;
  font-weight: 700;
  color: #0F766E;
  letter-spacing: 0.02em;
}

/* BOTTOM DARK TEAL FOOTER BLOCK */
.card-dark-footer {
  background: linear-gradient(180deg, #032B28 0%, #021F1D 100%);
  padding: 1.5rem 1.5rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  color: #FFFFFF;
}

.card-scan-prompt {
  font-size: 0.88rem;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

/* QR Code Box */
.card-qr-white-tile {
  width: 125px;
  height: 125px;
  background: #FFFFFF;
  border-radius: 14px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  margin-bottom: 0.85rem;
}

.card-qr-white-tile svg {
  width: 100%;
  height: 100%;
}

.card-nfc-tap-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.35);
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.card-nfc-tap-badge:hover {
  background: rgba(0, 210, 255, 0.25);
  border-color: var(--accent-cyan);
  transform: scale(1.03);
}

.nfc-dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
  animation: pulse-cyan 1.5s infinite;
}

/* Action Center */
.dcard-action-center {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.dcard-btn-primary {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 0 25px rgba(255, 184, 0, 0.35);
}

.dcard-quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.dcard-action-tile {
  background: rgba(15, 23, 36, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 0.85rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #FFFFFF;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dcard-action-tile:hover {
  transform: translateY(-3px);
  border-color: var(--accent-cyan);
  box-shadow: 0 8px 20px rgba(0, 210, 255, 0.2);
}

.tile-icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-wa:hover .tile-icon-bubble {
  background: rgba(37, 211, 102, 0.2);
}

.tile-call:hover .tile-icon-bubble {
  background: rgba(0, 210, 255, 0.2);
}

.tile-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #CBD5E1;
}

.dcard-nfc-beam-btn {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.12) 0%, rgba(15, 23, 36, 0.9) 100%);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #FFFFFF;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  width: 100%;
}

.dcard-nfc-beam-btn:hover {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.22) 0%, rgba(15, 23, 36, 0.95) 100%);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.25);
}

.beam-icon-pulse {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
  animation: pulse-cyan 2s infinite;
}

.beam-text-col strong {
  display: block;
  font-size: 0.88rem;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.beam-text-col span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Products Showcase on Digital Card */
.dcard-products-showcase {
  background: rgba(15, 23, 36, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.dcard-sec-title {
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

.dcard-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dcard-product-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.dcard-product-link:hover {
  background: rgba(0, 210, 255, 0.08);
  border-color: rgba(0, 210, 255, 0.25);
  transform: translateX(4px);
}

.highlight-partner-link {
  background: rgba(255, 184, 0, 0.06);
  border-color: rgba(255, 184, 0, 0.25);
}

.highlight-partner-link:hover {
  background: rgba(255, 184, 0, 0.12);
  border-color: var(--accent-gold);
}

.dlink-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.dlink-text {
  flex: 1;
}

.dlink-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #FFFFFF;
}

.dlink-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1px;
}

.dlink-arrow {
  color: var(--accent-cyan);
  font-weight: 700;
}

.dcard-footer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.dcard-home-link {
  color: var(--accent-cyan);
  text-decoration: none;
  font-weight: 600;
}

/* NFC Beacon Animation in Modal */
.nfc-modal-anim {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nfc-center-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.2);
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.nfc-beacon-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 210, 255, 0.5);
  animation: beacon-expand 2s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
}

.ring-1 { width: 80px; height: 80px; animation-delay: 0s; }
.ring-2 { width: 105px; height: 105px; animation-delay: 0.4s; }
.ring-3 { width: 130px; height: 130px; animation-delay: 0.8s; }

@keyframes beacon-expand {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Executive Regional Card in Distributor Grid */
.dealer-card.executive-dealer-card {
  background: linear-gradient(135deg, rgba(20, 30, 48, 0.85) 0%, rgba(12, 18, 30, 0.95) 100%);
  border: 1.5px solid rgba(255, 184, 0, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(255, 184, 0, 0.15);
}

.dealer-card.executive-dealer-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 35px rgba(255, 184, 0, 0.25);
}

.btn-dealer-nfc-card {
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.18) 0%, rgba(0, 210, 255, 0.18) 100%);
  border: 1px solid rgba(255, 184, 0, 0.4);
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-dealer-nfc-card:hover {
  background: linear-gradient(135deg, #FFB800 0%, #00D2FF 100%);
  color: #05070B;
  box-shadow: 0 0 15px rgba(255, 184, 0, 0.4);
}

/* ==========================================================================
   DIGITAL VISITING CARD RESPONSIVE MOBILE FIT
   ========================================================================== */
@media (max-width: 640px) {
  .digital-card-stage {
    padding: 1rem 0 3rem 0;
  }

  .dcard-container {
    max-width: 100%;
    padding: 0 0.85rem;
  }

  .dcard-view-mode-bar {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .btn-card-mode {
    font-size: 0.74rem;
    padding: 0.45rem 0.6rem;
  }

  /* Default on mobile: Sleek edge-to-edge native card fit without double bezels */
  .phone-mockup-wrapper:not(.force-mockup-mode) .phone-device-frame {
    background: transparent;
    border-radius: 24px;
    padding: 0;
    border: 1px solid rgba(0, 210, 255, 0.35);
    box-shadow: 
      0 12px 35px rgba(0, 0, 0, 0.6),
      0 0 25px rgba(0, 210, 255, 0.15);
    transform: none !important;
  }

  .phone-mockup-wrapper:not(.force-mockup-mode) .phone-dynamic-island {
    display: none;
  }

  .phone-mockup-wrapper:not(.force-mockup-mode) .phone-card-canvas {
    border-radius: 23px;
  }

  .phone-mockup-wrapper:not(.force-mockup-mode) .card-light-body {
    padding: 1.85rem 1.15rem 1.25rem 1.15rem;
  }

  .card-avatar-container {
    width: 96px;
    height: 96px;
    margin: 0.25rem auto 0.85rem auto;
  }

  .card-name-title {
    font-size: 1.35rem;
  }

  .card-role-title {
    font-size: 0.82rem;
  }

  .card-company-title {
    font-size: 0.78rem;
    margin-bottom: 1rem;
  }

  .card-contact-item {
    font-size: 0.78rem;
    padding: 0.38rem 0.55rem;
  }

  .card-contact-icon {
    width: 26px;
    height: 26px;
  }

  .card-signature-script {
    font-size: 1.5rem;
  }

  .card-dark-footer {
    padding: 1.25rem 1rem 1.5rem 1rem;
  }

  .card-qr-white-tile {
    width: 115px;
    height: 115px;
  }

  .dcard-quick-actions-grid {
    gap: 0.45rem;
  }

  .dcard-action-tile {
    padding: 0.75rem 0.35rem;
  }

  .tile-icon-bubble {
    width: 36px;
    height: 36px;
  }

  .tile-label {
    font-size: 0.68rem;
  }
}



