/* ==========================================================================
   AI LAB TECHNOLOGIES — TIER-1 GLOBAL MNC ENTERPRISE DESIGN SYSTEM
   Central Design Tokens, Universal Navigation, Mega-Menus, Components & Footer
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS & ROOT VARIABLES
   ========================================================================== */
:root {
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Brand Colors */
  --brand-red: #df2a19;
  --primary: #df2a19;
  --brand-red-hover: #f03e2e;
  --brand-red-light: rgba(223, 42, 25, 0.08);
  --brand-red-glow: rgba(223, 42, 25, 0.25);

  --brand-cobalt: #2563eb;
  --brand-emerald: #10b981;
  --brand-amber: #f59e0b;
  --brand-violet: #8b5cf6;
  --brand-cyan: #06b6d4;

  /* Light Theme Palette (Default) */
  --bg-page: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-dark-section: #f8fafc;
  --bg-dark-card: #ffffff;
  --footer-bg: #f8fafc;

  --hero-bg: radial-gradient(circle at 80% 20%, rgba(223, 42, 25, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 40%),
    #f8fafc;
  --hero-title: #0f172a;
  --hero-desc: #332155;
  --hero-box-bg: rgba(255, 255, 255, 0.95);
  --hero-box-border: rgba(226, 232, 240, 0.9);
  --hero-box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  --hero-grid-line: rgba(15, 23, 42, 0.04);
  --hero-stat-bg: rgba(15, 23, 42, 0.03);
  --hero-stat-border: rgba(15, 23, 42, 0.08);

  --text-primary: #0f172a;
  --text-secondary: #332155;
  --text-muted: #64748b;
  --text-inverted: #ffffff;
  --text-inverted-muted: #94a3b8;

  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-dark: #cbd5e1;
  --border-glow: rgba(223, 42, 25, 0.2);

  --header-bg: rgba(255, 255, 255, 0.92);
  --header-border: rgba(226, 232, 240, 0.9);
  --dropdown-bg: #ffffff;
  --dropdown-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);

  --btn-glass-bg: rgba(15, 23, 42, 0.04);
  --btn-glass-color: #0f172a;
  --btn-glass-border: #cbd5e1;
  --btn-glass-hover-bg: rgba(223, 42, 25, 0.08);
  --btn-glass-hover-border: #df2a19;
  --btn-glass-hover-color: #df2a19;

  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 10px 25px -5px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(223, 42, 25, 0.15);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1320px;
}

/* Explicit Light Theme */
html[data-theme="light"],
body.light-theme,
html.light {
  --bg-page: #ffffff;
  --bg-surface: #f8fafc;
  --bg-surface-elevated: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  --bg-dark-section: #f8fafc;
  --bg-dark-card: #ffffff;
  --footer-bg: #f8fafc;

  --hero-bg: radial-gradient(circle at 80% 20%, rgba(223, 42, 25, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 40%),
    #f8fafc;
  --hero-title: #0f172a;
  --hero-desc: #332155;
  --hero-box-bg: rgba(255, 255, 255, 0.95);
  --hero-box-border: rgba(226, 232, 240, 0.9);
  --hero-box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(226, 232, 240, 0.8);
  --hero-grid-line: rgba(15, 23, 42, 0.04);
  --hero-stat-bg: rgba(15, 23, 42, 0.03);
  --hero-stat-border: rgba(15, 23, 42, 0.08);

  --text-primary: #0f172a;
  --text-secondary: #332155;
  --text-muted: #64748b;
  --text-inverted: #ffffff;
  --text-inverted-muted: #94a3b8;

  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-dark: #cbd5e1;
  --border-glow: rgba(223, 42, 25, 0.2);

  --header-bg: rgba(255, 255, 255, 0.92);
  --header-border: rgba(226, 232, 240, 0.9);
  --dropdown-bg: #ffffff;
  --dropdown-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);

  --btn-glass-bg: rgba(15, 23, 42, 0.04);
  --btn-glass-color: #0f172a;
  --btn-glass-border: #cbd5e1;
  --btn-glass-hover-bg: rgba(223, 42, 25, 0.08);
  --btn-glass-hover-border: #df2a19;
  --btn-glass-hover-color: #df2a19;

  --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 10px 25px -5px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 20px 40px -10px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(223, 42, 25, 0.15);
}

/* Explicit Dark Theme */
html[data-theme="dark"],
body.dark-theme,
html.dark {
  --bg-page: #060911;
  --bg-surface: #0a0f1d;
  --bg-surface-elevated: #0f172a;
  --bg-subtle: #132d33;
  --bg-card: #0d1424;
  --bg-dark-section: #05080e;
  --bg-dark-card: #0c1220;
  --footer-bg: #05080e;

  --hero-bg: radial-gradient(circle at 80% 20%, rgba(223, 42, 25, 0.14) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 40%),
    #060911;
  --hero-title: #ffffff;
  --hero-desc: #cbd5e1;
  --hero-box-bg: rgba(15, 23, 42, 0.75);
  --hero-box-border: rgba(255, 255, 255, 0.12);
  --hero-box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(223, 42, 25, 0.15);
  --hero-grid-line: rgba(255, 255, 255, 0.03);
  --hero-stat-bg: rgba(255, 255, 255, 0.04);
  --hero-stat-border: rgba(255, 255, 255, 0.08);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverted: #0f172a;
  --text-inverted-muted: #475569;

  --border-subtle: #1e293b;
  --border-medium: #332155;
  --border-dark: #0f172a;
  --border-glow: rgba(223, 42, 25, 0.35);

  --header-bg: rgba(6, 9, 17, 0.92);
  --header-border: rgba(30, 41, 59, 0.85);
  --dropdown-bg: #0b1329;
  --dropdown-shadow: 0 30px 65px -10px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.1);

  --btn-glass-bg: rgba(255, 255, 255, 0.08);
  --btn-glass-color: #ffffff;
  --btn-glass-border: rgba(255, 255, 255, 0.18);
  --btn-glass-hover-bg: rgba(255, 255, 255, 0.16);
  --btn-glass-hover-border: rgba(255, 255, 255, 0.35);
  --btn-glass-hover-color: #ffffff;

  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(223, 42, 25, 0.3);
}

/* ==========================================================================
   02. RESET & GLOBAL BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  background-color: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color var(--transition-base), color var(--transition-base);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.5rem, 4.5vw, 1.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.3;
}

h4 {
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: 700;
  line-height: 1.35;
}

h5 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

h6 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* ==========================================================================
   03. LAYOUT UTILITIES & CONTAINERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 2.5vw, 24px);
  padding-right: clamp(16px, 2.5vw, 24px);
  min-width: 0;
}

.section-pad {
  padding-top: clamp(15px, 1vw, 100px);
  padding-bottom: clamp(25px, 1vw, 100px);
}

.section-pad-sm {
  padding-top: clamp(40px, 5vw, 60px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.section-pad-lg {
  padding-top: clamp(80px, 10vw, 130px);
  padding-bottom: clamp(80px, 10vw, 130px);
}

.section-dark {
  background-color: var(--bg-dark-section);
  color: var(--hero-desc);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--hero-title);
}

.section-dark p {
  color: var(--hero-desc);
}

.section-surface {
  background-color: var(--bg-surface);
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm {
  gap: 12px;
}

.gap-md {
  gap: 24px;
}

.gap-lg {
  gap: 36px;
}

/* Grid Primitives */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   04. SECTION HEADERS & CHIPS
   ========================================================================== */
.section-header {
  margin-bottom: clamp(37px, 2vw, 35px);
}

.section-header.text-center {
  /* max-width: 820px; */
  margin-left: auto;
  margin-right: auto;
}

.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--brand-red-light);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
  margin-bottom: 16px;
}

.section-chip i {
  font-size: 0.8125rem;
}

.section-title {
  margin-bottom: 16px;
}

.section-lead {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   05. BUTTONS & INTERACTIVE PRIMITIVES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn i {
  font-size: 0.875rem;
  transition: transform var(--transition-fast);
}

.btn:hover i {
  transform: translateX(3px);
}

.btn-primary {
  background-color: var(--brand-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(223, 42, 25, 0.3);
}

.btn-primary:hover {
  background-color: var(--brand-red-hover);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(223, 42, 25, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-surface-elevated);
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  border-color: var(--brand-red);
  color: var(--brand-red);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-glass {
  background: var(--btn-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--btn-glass-color);
  border: 1px solid var(--btn-glass-border);
}

.btn-glass:hover {
  background: var(--btn-glass-hover-bg);
  border-color: var(--btn-glass-hover-border);
  color: var(--btn-glass-hover-color);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}

/* ==========================================================================
   06. GLOBAL HEADER & ENTERPRISE MEGA-NAVIGATION
   ========================================================================== */
:root {
  --header-height: 76px;
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }
}

body {
  padding-top: var(--header-height);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 9999;
  background-color: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--header-border);
  transition: height var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--border-medium);
  background-color: var(--header-bg);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
  position: relative;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text-brand {
  color: var(--brand-red);
}

/* Desktop Navigation List */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-item {
  position: static;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
  line-height: 1.2;
  text-decoration: none;
}

.nav-link:hover,
.nav-item.active .nav-link {
  color: var(--brand-red);
  background-color: var(--brand-red-light);
}

.nav-link i.fa-chevron-down {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--brand-red);
}

/* Header Actions Right (CTA + Theme Toggle) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-cta-btn {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* ==========================================================================
   07. ENTERPRISE MEGA-MENU ARCHITECTURE
   ========================================================================== */
.mega-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: var(--dropdown-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--dropdown-shadow);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s, visibility 0.2s 0.5s;
  z-index: 10000;
  max-width: calc(100vw - 32px);
}

.mega-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1) 0s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) 0s, visibility 0s 0s;
}

/* Mega-Menu Sizes */
.mega-menu-services,
.mega-menu-focus {
  width: max-content;
  min-width: 960px;
  max-width: 1150px;
}

.mega-menu-platforms {
  width: 880px;
}

.mega-menu-company {
  width: 580px;
}

/* Mega-Menu Grid Structure */
.mega-grid {
  display: grid;
  gap: 24px;
}

.mega-grid-3cols {
  grid-template-columns: repeat(3, 1fr);
}

.mega-grid-focus {
  grid-template-columns: 320px 1fr;
  gap: 28px;
}

.mega-column-heading {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Mega-Menu Interactive Items */
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mega-item:hover {
  background-color: var(--brand-red-light);
}

.mega-item-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--brand-red);
  transition: all var(--transition-fast);
}

.mega-item:hover .mega-item-icon {
  background-color: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
  transform: none;
}

.mega-item-content {
  flex: 1;
}

.mega-item-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  margin-bottom: 2px;
  transition: color var(--transition-fast);
}

.mega-item:hover .mega-item-title {
  color: var(--brand-red);
}

.mega-item-desc {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   MODERN 3-SECTION MEGA-MENU (10 PRODUCTS + PRODUCT DETAILS + FEATURED RED CARD)
   ========================================================================== */
.mega-menu.mega-menu-products-v2 {
  display: block !important;
  padding: 22px 24px !important;
  width: 1080px !important;
  max-width: min(1080px, calc(100vw - 24px));
  box-sizing: border-box !important;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.12), 0 0 1px rgba(15, 23, 42, 0.08);
}

.mega-3col-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: stretch;
  min-height: 460px;
  width: 100%;
  box-sizing: border-box;
}

/* SECTION 1: 10 PRODUCTS LIST */
.mega-col-products {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #f1f5f9;
  padding-right: 12px;
  max-height: 450px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(223, 42, 25, 0.3) #f8fafc;
}

.mega-col-products::-webkit-scrollbar {
  width: 5px;
}

.mega-col-products::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 4px;
}

.mega-col-products::-webkit-scrollbar-thumb {
  background: rgba(223, 42, 25, 0.28);
  border-radius: 4px;
  transition: background 0.2s ease;
}

.mega-col-products::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red, #df2a19);
}

.mega-prod-group-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1e293b;
  padding: 10px 8px 6px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.mega-prod-group-title i {
  color: var(--brand-red, #df2a19);
  font-size: 0.85rem;
}

.mega-prod-group-title:first-child {
  margin-top: 0;
  padding-top: 4px;
}

.mega-prod-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 3.5px solid transparent;
  color: #334155;
  margin-bottom: 2px;
  position: relative;
}

.mega-prod-nav-btn:hover,
.mega-prod-nav-btn.active {
  background-color: #fff5f5;
  border-left-color: var(--brand-red, #df2a19);
  transform: none;
}

.mega-nav-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff5f5;
  border: 1px solid rgba(223, 42, 25, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.825rem;
  color: var(--brand-red, #df2a19);
  transition: all 0.18s ease;
}

.mega-prod-nav-btn:hover .mega-nav-icon,
.mega-prod-nav-btn.active .mega-nav-icon {
  background-color: var(--brand-red, #df2a19);
  color: #ffffff;
  border-color: var(--brand-red, #df2a19);
  box-shadow: 0 2px 8px rgba(223, 42, 25, 0.25);
}

.mega-nav-name {
  flex: 1;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.3;
  transition: color 0.18s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mega-prod-nav-btn:hover .mega-nav-name,
.mega-prod-nav-btn.active .mega-nav-name {
  color: var(--brand-red, #df2a19);
  font-weight: 700;
}

.mega-nav-arrow {
  font-size: 0.72rem;
  color: #cbd5e1;
  opacity: 1;
  transform: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.mega-prod-nav-btn:hover .mega-nav-arrow,
.mega-prod-nav-btn.active .mega-nav-arrow {
  color: var(--brand-red, #df2a19);
}

/* SECTION 2: PRODUCT DETAILS PANEL */
.mega-col-details {
  display: flex;
  flex-direction: column;
  border-right: none;
  padding-right: 6px;
  position: relative;
  height: 100%;
}

.mega-detail-panel {
  display: none;
  flex-direction: column;
  height: 100%;
}

.mega-detail-panel.active {
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: megaFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes megaFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-red, #df2a19);
  background: #fff5f5;
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(223, 42, 25, 0.18);
  margin-bottom: 10px;
  width: fit-content;
}

.mega-detail-badge i {
  font-size: 0.78rem;
}

.mega-detail-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Sub-Category Tabs for General & Commercial Aviation */
.mega-aviation-tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 14px 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.mega-sub-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1.5px solid transparent;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.835rem;
  font-weight: 600;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
}

.mega-sub-tab i {
  font-size: 0.825rem;
  color: #64748b;
  transition: color 0.2s ease;
}

.mega-sub-tab:hover {
  color: var(--brand-red, #df2a19);
  background: #f8fafc;
  border-color: rgba(223, 42, 25, 0.2);
}

.mega-sub-tab:hover i {
  color: var(--brand-red, #df2a19);
}

.mega-sub-tab.active {
  background: #fff5f5;
  color: var(--brand-red, #df2a19);
  border-color: rgba(223, 42, 25, 0.28);
  font-weight: 700;
  box-shadow: none;
}

.mega-sub-tab.active i {
  color: var(--brand-red, #df2a19);
}

.mega-sub-content {
  display: none;
}

.mega-sub-content.active {
  display: flex;
  flex-direction: column;
  flex: 1;
  animation: megaSubFade 0.22s ease-out;
}

@keyframes megaSubFade {
  from {
    opacity: 0;
    transform: translateY(3px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mega-detail-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 0 16px 0;
}

.mega-detail-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  flex: 1;
}

.mega-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.835rem;
  color: #334155;
  line-height: 1.4;
  font-weight: 500;
}

.mega-feature-item i {
  color: var(--brand-red, #df2a19);
  font-size: 0.925rem;
  margin-top: 1px;
  flex-shrink: 0;
}

.mega-detail-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: none;
}

.mega-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-red, #df2a19);
  background: #fff5f5;
  border: 1.5px solid rgba(223, 42, 25, 0.28);
  padding: 9px 20px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
}

.mega-detail-link:hover {
  background: var(--brand-red, #df2a19);
  color: #ffffff;
  border-color: var(--brand-red, #df2a19);
  box-shadow: 0 4px 14px rgba(223, 42, 25, 0.25);
  transform: translateY(-1px);
}

.mega-detail-link i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.mega-detail-link:hover i {
  transform: translateX(3px);
}

/* SECTION 3: FEATURED SPOTLIGHT CARD */
.mega-col-featured {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.mega-red-card {
  background: #ffffff;
  background-image: radial-gradient(circle at 100% 100%, rgba(223, 42, 25, 0.08) 0%, transparent 60%);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  color: #0f172a;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.mega-red-card:hover {
  border-color: rgba(223, 42, 25, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.mega-red-card .mega-card-media {
  width: 100%;
  height: 140px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.mega-red-card .mega-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.mega-red-card:hover .mega-card-img {
  transform: scale(1.04);
}

.mega-red-card .mega-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mega-red-card .mega-card-title {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.mega-red-card .mega-card-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0 0 16px 0;
  flex: 1;
}

.mega-red-card .mega-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1e293b;
  color: #ffffff;
  font-size: 0.835rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 9999px;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  margin-top: auto;
}

.mega-red-card .mega-card-cta i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.mega-red-card .mega-card-cta:hover {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28);
  transform: translateY(-1px);
}

.mega-red-card .mega-card-cta:hover i {
  transform: translateX(3px);
}

/* --- Dark Mode Support --- */
html.dark .mega-menu.mega-menu-products-v2,
html[data-theme="dark"] .mega-menu.mega-menu-products-v2 {
  background: #0f172a;
  border-color: rgba(239, 68, 68, 0.25);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 1px rgba(239, 68, 68, 0.2);
}

html.dark .mega-col-products,
html[data-theme="dark"] .mega-col-products,
html.dark .mega-col-details,
html[data-theme="dark"] .mega-col-details {
  border-right-color: rgba(239, 68, 68, 0.2);
}

html.dark .mega-prod-group-title,
html[data-theme="dark"] .mega-prod-group-title {
  color: #f87171;
}

html.dark .mega-prod-nav-btn,
html[data-theme="dark"] .mega-prod-nav-btn {
  color: #cbd5e1;
}

html.dark .mega-prod-nav-btn:hover,
html[data-theme="dark"] .mega-prod-nav-btn:hover,
html.dark .mega-prod-nav-btn.active,
html[data-theme="dark"] .mega-prod-nav-btn.active {
  background-color: rgba(239, 68, 68, 0.1);
  border-left-color: #ef4444;
}

html.dark .mega-nav-icon,
html[data-theme="dark"] .mega-nav-icon {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
  color: #f87171;
}

html.dark .mega-prod-nav-btn:hover .mega-nav-icon,
html[data-theme="dark"] .mega-prod-nav-btn:hover .mega-nav-icon,
html.dark .mega-prod-nav-btn.active .mega-nav-icon,
html[data-theme="dark"] .mega-prod-nav-btn.active .mega-nav-icon {
  background-color: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
}

html.dark .mega-nav-name,
html[data-theme="dark"] .mega-nav-name {
  color: #e2e8f0;
}

html.dark .mega-prod-nav-btn:hover .mega-nav-name,
html[data-theme="dark"] .mega-prod-nav-btn:hover .mega-nav-name,
html.dark .mega-prod-nav-btn.active .mega-nav-name,
html[data-theme="dark"] .mega-prod-nav-btn.active .mega-nav-name {
  color: #f87171;
}

html.dark .mega-detail-badge,
html[data-theme="dark"] .mega-detail-badge {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
  color: #f87171;
}

html.dark .mega-detail-title,
html[data-theme="dark"] .mega-detail-title {
  color: #f8fafc;
}

html.dark .mega-detail-desc,
html[data-theme="dark"] .mega-detail-desc {
  color: #94a3b8;
}

html.dark .mega-feature-item,
html[data-theme="dark"] .mega-feature-item {
  color: #cbd5e1;
}

html.dark .mega-feature-item i,
html[data-theme="dark"] .mega-feature-item i {
  color: #f87171;
}

html.dark .mega-detail-footer,
html[data-theme="dark"] .mega-detail-footer {
  border-top-color: rgba(239, 68, 68, 0.2);
}

html.dark .mega-detail-link,
html[data-theme="dark"] .mega-detail-link {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.25);
  color: #f87171;
}

html.dark .mega-detail-link:hover,
html[data-theme="dark"] .mega-detail-link:hover {
  background: #dc2626;
  color: #ffffff;
}

html.dark .mega-aviation-tabs,
html[data-theme="dark"] .mega-aviation-tabs {
  background: #0f172a;
  border-color: rgba(239, 68, 68, 0.22);
}

html.dark .mega-sub-tab,
html[data-theme="dark"] .mega-sub-tab {
  color: #94a3b8;
}

html.dark .mega-sub-tab:hover,
html[data-theme="dark"] .mega-sub-tab:hover {
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
}

html.dark .mega-sub-tab.active,
html[data-theme="dark"] .mega-sub-tab.active {
  background: #1e293b;
  color: #f87171;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

html.dark .mega-sub-tab.active i,
html[data-theme="dark"] .mega-sub-tab.active i {
  color: #f87171;
}

/* Dark Mode Adaptation for Section 3 Card */
html.dark .mega-red-card,
html[data-theme="dark"] .mega-red-card {
  background: linear-gradient(150deg, rgba(220, 38, 38, 0.14) 0%, rgba(220, 38, 38, 0.05) 100%), #131d33;
  border-color: rgba(220, 38, 38, 0.35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  color: #f8fafc;
}

html.dark .mega-red-card .mega-card-title,
html[data-theme="dark"] .mega-red-card .mega-card-title {
  color: #ffffff;
}

html.dark .mega-red-card .mega-card-desc,
html[data-theme="dark"] .mega-red-card .mega-card-desc {
  color: #94a3b8;
}

html.dark .mega-red-card .mega-card-cta,
html[data-theme="dark"] .mega-red-card .mega-card-cta {
  background: #dc2626;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
}

html.dark .mega-red-card .mega-card-cta:hover,
html[data-theme="dark"] .mega-red-card .mega-card-cta:hover {
  background: #ef4444;
}

/* Focus Areas Sidebar & Preview Tab Panel */
.focus-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 6px;
}

.focus-nav-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.focus-nav-btn i.main-icon {
  font-size: 0.95rem;
  color: var(--text-muted);
  width: 20px;
  text-align: center;
}

.focus-nav-btn .arrow-indicator {
  margin-left: auto;
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition-fast);
}

.focus-nav-btn:hover,
.focus-nav-btn.active {
  background: var(--brand-red-light);
  color: var(--brand-red);
  border-color: var(--border-glow);
}

.focus-nav-btn:hover i.main-icon,
.focus-nav-btn.active i.main-icon {
  color: var(--brand-red);
}

.focus-nav-btn:hover .arrow-indicator,
.focus-nav-btn.active .arrow-indicator {
  opacity: 1;
  transform: translateX(0);
  color: var(--brand-red);
}

/* Focus Showcase Panel */
.focus-showcase-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.focus-showcase-meta {
  margin-bottom: 20px;
}

.focus-showcase-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--brand-red-light);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.focus-showcase-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.focus-showcase-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.focus-submodules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.submodule-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.submodule-pill:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow);
}

.submodule-pill i {
  font-size: 0.875rem;
  color: var(--brand-red);
}

.submodule-pill-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.focus-showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* Mobile Hamburger Toggle */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  font-size: 1.06rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-menu-toggle:hover {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

/* ==========================================================================
   08. MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background-color: var(--bg-surface-elevated);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  z-index: 100001;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-drawer-close:hover {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

.mobile-drawer-body {
  padding: 10px;
  flex: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active,
.mobile-nav-link.open {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

.mobile-nav-link.active .mobile-submenu-toggle,
.mobile-nav-link.open .mobile-submenu-toggle,
.mobile-nav-link:hover .mobile-submenu-toggle {
  color: var(--brand-red);
}

.mobile-submenu-toggle {
  background: transparent;
  border: none;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 6px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: color var(--transition-fast);
}

.mobile-submenu-toggle i {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-link.open .mobile-submenu-toggle i,
.mobile-submenu-toggle.open i {
  transform: rotate(180deg);
}

/* ===== Professional Mobile Submenu Drawer ===== */
.mobile-submenu {
  display: none;
  padding: 8px 4px 12px 8px;
  flex-direction: column;
  gap: 6px;
  border-left: 2px solid var(--border-subtle);
  margin-left: 14px;
  margin-top: 4px;
  animation: mobileSubmenuFade 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes mobileSubmenuFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-submenu.open {
  display: flex !important;
}

.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  background: transparent;
  position: relative;
}

.mobile-sub-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: var(--brand-red-light);
  color: var(--brand-red);
  border: 1px solid rgba(223, 42, 25, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.mobile-sub-text {
  flex: 1;
  line-height: 1.35;
  color: var(--text-primary);
  transition: color var(--transition-fast);
  font-size: 0.85rem;
  font-weight: 600;
}

.mobile-sub-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: all var(--transition-fast);
}

.mobile-sub-link:hover,
.mobile-sub-link.active {
  background: var(--brand-red-light);
  transform: translateX(4px);
}

.mobile-sub-link:hover .mobile-sub-icon,
.mobile-sub-link.active .mobile-sub-icon {
  background: var(--brand-red);
  color: #ffffff;
  border-color: var(--brand-red);
  transform: none;
  box-shadow: 0 4px 12px rgba(223, 42, 25, 0.3);
}

.mobile-sub-link:hover .mobile-sub-text,
.mobile-sub-link.active .mobile-sub-text {
  color: var(--brand-red);
}

.mobile-sub-link:hover .mobile-sub-arrow,
.mobile-sub-link.active .mobile-sub-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--brand-red);
}

.mobile-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--border-subtle);
}

/* Hide desktop nav on mobile/tablet */
@media (max-width: 1200px) {

  .nav-list,
  .header-cta-btn {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 36px;
    max-width: 140px;
  }

  .mobile-menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
    border-radius: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 32px;
    max-width: 120px;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }
}

/* ==========================================================================
   09. ENTERPRISE CARDS & BENTO SYSTEM
   ========================================================================== */
.card-enterprise {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(10px, 2.5vw, 32px);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 16px;
  row-gap: 5px;
}

.card-enterprise:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-glow);
}

.card-icon-box {
  grid-column: 1;
  grid-row: 1;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-red-light);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-red);
  margin-bottom: 0 !important;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.card-enterprise:hover .card-icon-box {
  background-color: var(--brand-red);
  color: #ffffff;
}

.card-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 0 !important;
}

.card-enterprise>*:not(.card-icon-box):not(.card-title):not(.office-card-header) {
  grid-column: 1 / -1;
}

.card-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-top: 10px;
  margin-bottom: 10px;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--btn-glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--btn-glass-color);
  border: 1px solid var(--btn-glass-border);
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  width: fit-content;
  margin-top: 12px;
}

.card-link:hover {
  background: var(--btn-glass-hover-bg);
  border-color: var(--btn-glass-hover-border);
  color: var(--btn-glass-hover-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(223, 42, 25, 0.15);
}

.card-link i {
  font-size: 0.8125rem;
  transition: transform var(--transition-fast);
}

.card-enterprise:hover .card-link i,
.card-link:hover i {
  transform: translateX(4px);
}

.card-enterprise:hover .card-link {
  border-color: var(--border-medium);
}

.card-enterprise .card-link:hover {
  border-color: var(--brand-red);
}

/* Office Node Cards (Contact Page) */
.office-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1px;
}

.office-card-header .card-icon-box {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  font-size: 1.3rem;
}

.office-card-title-wrap {
  flex: 1;
  min-width: 0;
}

.office-card-title-wrap .card-title {
  margin-bottom: 0;
  font-size: 1.15rem;
  line-height: 1.35;
  font-weight: 700;
}

.office-contact-list {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.office-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.contact-item-icon {
  width: 20px;
  min-width: 20px;
  color: var(--brand-red);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-item-content {
  flex: 1;
  min-width: 0;
  word-break: break-word;
}

.contact-item-label {
  font-weight: 700;
  color: var(--text-primary);
  margin-right: 4px;
}

.contact-item-value {
  color: var(--text-secondary);
}

.contact-item-value a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-item-value a:hover {
  color: var(--brand-red);
  text-decoration: underline;
}

.contact-sep {
  margin-right: 4px;
}

/* ==========================================================================
   CONTACT US ENTERPRISE SPLIT LAYOUT (COMPACT & PERFECT FIT)
   Left: 1-by-1 Hub Cards | Right: Consultation Form Tab
   ========================================================================== */
#rfq-form {
  scroll-margin-top: 80px;
}

.contact-compact-hero {
  position: relative;
  text-align: center;
  padding: clamp(32px, 4vw, 48px) 0 clamp(16px, 2vw, 24px);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.contact-compact-hero .contact-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.contact-compact-hero .contact-breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-compact-hero .contact-breadcrumb a:hover {
  color: var(--brand-red);
}

.contact-compact-hero .contact-page-title {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.2;
}

.contact-compact-hero .contact-page-lead {
  font-size: clamp(0.92rem, 1.4vw, 1.02rem);
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.55;
}

.contact-split-section {
  padding: clamp(24px, 3vw, 36px) 0 clamp(40px, 5vw, 60px);
}

.contact-split-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr);
  gap: clamp(20px, 2.5vw, 36px);
  align-items: start;
}

@media (max-width: 1024px) {
  .contact-split-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.contact-hubs-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-hubs-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 2px;
  flex-wrap: wrap;
}

.contact-hubs-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-header-livechat-btn {
  flex: 0 0 auto !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366 !important;
  border: 1px solid #25D366 !important;
  color: #ffffff !important;
  padding: 5px 12px;
  border-radius: var(--radius-sm, 6px);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.contact-header-livechat-btn i {
  font-size: 0.88rem;
  color: #ffffff !important;
}

.contact-header-livechat-btn:hover {
  background: #20ba5a !important;
  border-color: #20ba5a !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.5);
}

.contact-hub-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.contact-hub-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-red);
  box-shadow: var(--card-shadow-hover);
}

.contact-hub-card .office-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: nowrap;
}

.office-card-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.contact-hub-card .card-icon-box {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-red-light);
  border: 1px solid var(--border-glow);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.contact-hub-card:hover .card-icon-box {
  background: var(--brand-red);
  color: #ffffff;
}

.contact-hub-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 9999px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-hub-card .office-contact-list {
  padding-top: 8px;
  margin-top: 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}

.office-redirect-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.office-redirect-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.office-redirect-btn i {
  font-size: 0.85rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.office-redirect-btn:hover {
  color: var(--brand-red);
  border-color: var(--brand-red);
  background: var(--brand-red-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(223, 42, 25, 0.12);
}

.contact-form-tab-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.5vw, 32px);
  box-shadow: var(--card-shadow);
  position: relative;
}

.contact-form-tab-card:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-medium);
}

.form-trust-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.form-trust-banner i {
  color: #10b981;
}

@media (max-width: 640px) {
  .contact-hub-card {
    padding: 14px 14px;
  }

  .office-card-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }

  .office-card-title-group {
    width: auto !important;
    flex-shrink: 0;
    gap: 8px;
  }

  .contact-hub-card .card-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1.05rem;
  }

  .office-card-title-group .card-title {
    font-size: 1rem !important;
  }

  .office-redirect-row {
    width: auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0;
  }

  .office-redirect-row .office-redirect-btn {
    flex: 0 0 auto !important;
    padding: 5px 8px;
    font-size: 0.72rem;
    gap: 4px;
  }

  .office-redirect-row .office-redirect-btn i {
    font-size: 0.82rem;
  }

  .contact-hubs-header {
    gap: 12px 16px;
    margin-bottom: 4px;
  }

  .contact-hubs-title {
    font-size: clamp(1rem, 4.2vw, 1.12rem);
  }

  .contact-header-livechat-btn {
    flex: 0 0 auto !important;
    padding: 4px 10px;
    font-size: 0.74rem;
  }

  .contact-form-tab-card {
    padding: 18px 16px;
  }
}

@media (max-width: 420px) {
  .contact-hub-card {
    padding: 12px 10px;
  }

  .office-card-header {
    gap: 4px !important;
  }

  .contact-hub-card .card-icon-box {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 0.9rem;
  }

  .office-card-title-group .card-title {
    font-size: 0.9rem !important;
  }

  .office-redirect-row {
    gap: 3px !important;
  }

  .office-redirect-row .office-redirect-btn {
    padding: 4px 5px;
    font-size: 0.66rem;
    gap: 3px;
  }

  .office-redirect-row .office-redirect-btn i {
    font-size: 0.74rem;
  }

  .contact-hubs-header {
    gap: 8px;
  }
}

/* Metric / Stat Cards */
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.metric-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-3px);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--brand-red);
  line-height: 1.1;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-col-4 {
  grid-column: span 4;
}

.bento-col-6 {
  grid-column: span 6;
}

.bento-col-8 {
  grid-column: span 8;
}

.bento-col-12 {
  grid-column: span 12;
}

@media (max-width: 1024px) {

  .bento-col-4,
  .bento-col-6,
  .bento-col-8 {
    grid-column: span 12;
  }
}

/* ==========================================================================
   09b. ENTERPRISE CTA SECTION & BANNER CARD
   ========================================================================== */
.enterprise-cta-section {
  padding: 16px 0 20px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.cta-content-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px 28px;
  box-shadow: var(--card-shadow);
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.cta-content-box h2 {
  font-size: clamp(1.625rem, 2.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  margin-top: 10px;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
}

.cta-content-box p {
  color: var(--text-secondary);
  font-size: clamp(0.875rem, 1.1vw, 0.9375rem);
  line-height: 1.55;
  max-width: 700px;
  margin: 0 auto 20px auto;
}

/* ===== FA CTA DARK BANNER (Full-width dark banner with network SVG) ===== */
.fa-cta-banner {
  position: relative;
  background: linear-gradient(100deg, #0d1321 0%, #111827 40%, #1a0a08 100%);
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.fa-cta-network {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}

.fa-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.fa-cta-text {
  flex: 1;
  min-width: 260px;
  max-width: 640px;
}

.fa-cta-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.fa-cta-desc {
  font-size: 0.95rem;
  color: rgba(203, 213, 225, 0.85);
  line-height: 1.7;
  margin: 0;
}

.fa-cta-desc strong {
  color: #ffffff;
  font-weight: 600;
}

.fa-cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}

.fa-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: pointer;
}

.fa-cta-btn-primary {
  background: #ffffff;
  color: #111827;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fa-cta-btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.fa-cta-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.fa-cta-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .fa-cta-banner {
    padding: 40px 0;
  }

  .fa-cta-inner {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .fa-cta-actions {
    justify-content: center;
  }

  .fa-cta-network {
    width: 100%;
    opacity: 0.4;
  }
}



/* ==========================================================================
   10. UNIVERSAL ENTERPRISE MEGA-FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg, var(--bg-surface)) !important;
  color: var(--text-secondary) !important;
  border-top: 1px solid var(--border-subtle) !important;
  padding-top: clamp(20px, 5vw, 20px);
  padding-bottom: 16px;
  position: relative;
  overflow: hidden;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(223, 42, 25, 0.4), transparent);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: auto auto auto auto;
  justify-content: space-between;
  gap: 32px clamp(20px, 2.5vw, 44px);
  margin-bottom: 24px;
  align-items: flex-start;
}

.footer-top-grid>* {
  min-width: 0;
}

/* Column 1: Our Company */
.footer-top-grid>div:nth-child(1) {
  min-width: 120px;
}

.footer-top-grid>div:nth-child(1) .footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Column 2: Our Products 2-column layout */
.footer-top-grid>div:nth-child(2) {
  min-width: 240px;
}

.footer-top-grid>div:nth-child(2) .footer-links-2col {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: clamp(14px, 1.6vw, 22px);
  row-gap: 10px;
}

.footer-top-grid>div:nth-child(2) .footer-link {
  white-space: nowrap !important;
  word-break: keep-all !important;
  display: inline-flex !important;
  align-items: center !important;
}

.footer-top-grid>div:nth-child(2) .footer-link i {
  margin-top: 0 !important;
  flex-shrink: 0;
}

/* Column 3: Our Services 2-column single-line layout */
.footer-top-grid>div:nth-child(3) {
  min-width: 480px;
}

.footer-top-grid>div:nth-child(3) .footer-links-2col {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  column-gap: clamp(16px, 1.8vw, 24px);
  row-gap: 10px;
}

.footer-top-grid>div:nth-child(3) .footer-link {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow: visible !important;
  text-overflow: clip !important;
  display: inline-flex !important;
  align-items: center !important;
}

.footer-top-grid>div:nth-child(3) .footer-link i {
  margin-top: 0 !important;
  flex-shrink: 0;
}

/* Column 4: Connect With Us */
.footer-top-grid>div:nth-child(4) {
  min-width: 220px;
  max-width: 275px;
}

.footer-brand-col .footer-logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo img {
  height: 42px;
  width: auto;
}

.footer-brand-tagline {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary) !important;
  margin-bottom: 24px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--hero-stat-bg) !important;
  border: 1px solid var(--border-subtle) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary) !important;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  transform: translateY(-2px);
}

.social-btn[aria-label="LinkedIn"] {
  background: #0077b5 !important;
  border-color: #0077b5 !important;
  color: #ffffff !important;
}

.social-btn[aria-label="X / Twitter"] {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #ffffff !important;
}

.social-btn[aria-label="Instagram"] {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}

.social-btn[aria-label="Facebook"] {
  background: #1877f2 !important;
  border-color: #1877f2 !important;
  color: #ffffff !important;
}

.social-btn[aria-label="YouTube"] {
  background: #ff0000 !important;
  border-color: #ff0000 !important;
  color: #ffffff !important;
}

/* Footer Navigation Columns */
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary) !important;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap !important;
}

.footer-col-title i {
  color: var(--brand-red);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 2-column layout for long lists (Products & Services) */
.footer-links-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
  width: 100%;
}

.footer-links-2col .footer-link {
  font-size: 0.8125rem;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  white-space: nowrap;
}

.footer-links-2col .footer-link i {
  flex-shrink: 0;
  margin-top: 0;
  font-size: 0.72rem;
  margin-right: 0;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--text-secondary) !important;
  text-decoration: none;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  white-space: normal;
}

.footer-link i {
  font-size: 0.8rem;
  color: var(--brand-red);
  width: 12px;
  margin-top: 4px;
  text-align: left;
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.footer-link:hover {
  color: var(--brand-red) !important;
  transform: translateX(4px);
}

.footer-link:hover i {
  color: var(--brand-red);
  transform: none;
}

/* Footer Global Hubs & Advisor Card */
.footer-advisor-card {
  background: var(--hero-stat-bg) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.footer-advisor-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-red);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-advisor-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin-bottom: 6px;
}

.footer-advisor-text {
  font-size: 0.8125rem;
  color: var(--text-secondary) !important;
  margin-bottom: 14px;
}

.footer-advisor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: var(--brand-red);
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-advisor-btn:hover {
  background: var(--brand-red-hover);
  transform: translateY(-2px);
}

.footer-hubs-block {
  margin-top: 16px;
}

.footer-hubs-block h6 {
  color: var(--text-primary) !important;
  font-family: var(--font-heading);
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

html[data-theme="dark"] .footer-hubs-block h6,
body.dark-theme .footer-hubs-block h6,
html.dark .footer-hubs-block h6 {
  color: #ffffff !important;
}

.footer-hub-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 10px;
  margin-top: 10px;
  max-width: 250px;
}

.hub-chip {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 6px 14px;
  background: var(--hero-stat-bg) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary) !important;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.hub-chip:hover {
  border-color: var(--brand-red) !important;
  color: var(--brand-red) !important;
  transform: translateY(-2px);
  background: rgba(223, 42, 25, 0.08) !important;
}

.hub-chip i {
  color: var(--brand-red);
  font-size: 0.72rem;
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

html[data-theme="dark"] .hub-chip,
body.dark-theme .hub-chip,
html.dark .hub-chip {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  color: #e2e8f0 !important;
}

/* Footer Bottom Bar */
.footer-bottom {
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--text-muted) !important;
}

.footer-bottom p {
  color: var(--text-muted) !important;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.footer-legal-links a {
  color: var(--text-muted) !important;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.footer-legal-links a:hover {
  color: var(--brand-red) !important;
}

.footer-legal-links .legal-dot {
  color: var(--border-medium) !important;
  font-size: 0.75rem;
  user-select: none;
}

/* ==========================================================================
   FOOTER RESPONSIVE MEDIA QUERIES (SMALL TO LARGE DEVICES)
   ========================================================================== */

/* 1. Laptops & Medium Desktops (1025px - 1200px) */
@media (max-width: 1200px) and (min-width: 1025px) {
  .site-footer .footer-top-grid {
    grid-template-columns: auto auto auto auto !important;
    justify-content: space-between !important;
    gap: 28px clamp(12px, 1.6vw, 24px) !important;
  }

  .site-footer .footer-top-grid>div:nth-child(1) {
    min-width: 110px !important;
  }

  .site-footer .footer-top-grid>div:nth-child(2) {
    min-width: 220px !important;
  }

  .site-footer .footer-top-grid>div:nth-child(3) {
    min-width: 440px !important;
  }

  .site-footer .footer-top-grid>div:nth-child(4) {
    min-width: 210px !important;
    max-width: 250px !important;
  }

  .site-footer .footer-top-grid>div:nth-child(2) .footer-links-2col,
  .site-footer .footer-top-grid>div:nth-child(3) .footer-links-2col {
    column-gap: 14px !important;
    row-gap: 9px !important;
  }

  .site-footer .footer-top-grid .footer-link {
    font-size: 0.78rem !important;
  }
}

/* 2. Tablets & Medium Screens (769px - 1024px) */
@media (max-width: 1024px) {
  .site-footer {
    padding-top: 36px !important;
    padding-bottom: 22px !important;
  }

  .site-footer .footer-top-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px 40px !important;
    margin-bottom: 24px !important;
    justify-content: stretch !important;
  }

  .site-footer .footer-top-grid>div {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .site-footer .footer-top-grid>div:nth-child(2) .footer-links-2col,
  .site-footer .footer-top-grid>div:nth-child(3) .footer-links-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 18px !important;
    width: 100% !important;
  }

  .site-footer .footer-top-grid .footer-link {
    font-size: 0.8125rem !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    display: inline-flex !important;
    align-items: flex-start !important;
  }

  .site-footer .footer-top-grid .footer-link i {
    margin-top: 2px !important;
    flex-shrink: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding-top: 20px;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
  }
}

/* 3. Small Tablets & Large Mobile (481px - 768px) */
@media (max-width: 768px) {
  .site-footer {
    padding-top: 32px !important;
    padding-bottom: 18px !important;
  }

  .site-footer .footer-top-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    margin-bottom: 18px !important;
  }

  .site-footer .footer-top-grid>div {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .footer-col-title {
    margin-bottom: 14px;
  }

  .site-footer .footer-top-grid>div:nth-child(2) .footer-links-2col,
  .site-footer .footer-top-grid>div:nth-child(3) .footer-links-2col {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 16px !important;
    width: 100% !important;
  }

  .site-footer .footer-top-grid .footer-link {
    font-size: 0.8125rem !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    display: inline-flex !important;
    align-items: flex-start !important;
  }

  .site-footer .footer-top-grid .footer-link i {
    margin-top: 2px !important;
    flex-shrink: 0;
  }
}

/* 4. Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
  .site-footer {
    padding-top: 26px !important;
    padding-bottom: 14px !important;
  }

  .site-footer .footer-top-grid {
    gap: 22px !important;
  }

  .footer-col-title {
    font-size: 0.78rem;
    margin-bottom: 12px;
  }

  .site-footer .footer-top-grid>div:nth-child(2) .footer-links-2col,
  .site-footer .footer-top-grid>div:nth-child(3) .footer-links-2col {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .site-footer .footer-top-grid .footer-link {
    font-size: 0.8125rem;
  }

  .social-btn {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }

  .hub-chip {
    font-size: 0.72rem;
    padding: 5px 12px;
    justify-content: flex-start;
  }

  .footer-hub-chips {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 100% !important;
  }

  .footer-bottom {
    padding-top: 16px;
  }

  .footer-bottom p {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  .footer-legal-links {
    font-size: 0.75rem;
    gap: 6px 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-legal-links .legal-dot {
    display: none;
  }
}

/* ==========================================================================
   11. FLOATING ACTION CONTROLS (THEME + WHATSAPP + TOP)
   ========================================================================== */
.fab-container {
  position: fixed;
  bottom: 20px;
  right: 0px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 999;
}

.fab-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.fab-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.fab-whatsapp {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
}

.fab-whatsapp:hover {
  background: #20ba5a;
  color: #ffffff;
}

.fab-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.fab-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Theme Dropdown Widget */
.theme-dropdown {
  position: relative;
}

.theme-dropdown-menu {
  position: absolute;
  bottom: 56px;
  right: 0;
  background: var(--dropdown-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--dropdown-shadow);
  padding: 8px;
  min-width: 130px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 1000;
}

.theme-dropdown.open .theme-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.theme-opt-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}

.theme-opt-btn:hover,
.theme-opt-btn.active {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

/* ==========================================================================
   12. MICRO-ANIMATIONS & SCROLL UTILITIES
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Slide in from Left to Right */
.reveal-slide-left,
.reveal-on-scroll.slide-left {
  opacity: 0;
  transform: translateX(-70px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-slide-left.is-revealed,
.reveal-on-scroll.slide-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Slide in from Right to Left */
.reveal-slide-right,
.reveal-on-scroll.slide-right {
  opacity: 0;
  transform: translateX(70px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.reveal-slide-right.is-revealed,
.reveal-on-scroll.slide-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {

  .reveal-slide-left,
  .reveal-on-scroll.slide-left {
    transform: translateX(-30px);
  }

  .reveal-slide-right,
  .reveal-on-scroll.slide-right {
    transform: translateX(30px);
  }
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

@keyframes floatGentle {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* ==========================================================================
   Custom Solutions Card (Pricing Page)
   ========================================================================== */
.custom-solutions-section {
  padding: clamp(60px, 8vw, 90px) 0;
  background: var(--bg-page);
  position: relative;
}

.custom-solutions-card {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 24px;
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 54px);
  box-shadow: 0 16px 45px -10px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.custom-solutions-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red), #f97326);
}

.custom-solutions-card:hover {
  transform: translateY(-4px);
  border-color: rgba(223, 42, 25, 0.3);
  box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(223, 42, 25, 0.2);
}

.custom-sol-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.custom-sol-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 20px;
  line-height: 1.35;
}

.custom-sol-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 960px;
}

.custom-sol-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.custom-sol-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(0.86rem, 1.05vw, 0.94rem);
  font-weight: 600;
  color: var(--text-primary);
  padding: 12px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: all 0.25s ease;
}

@media (min-width: 992px) {
  .custom-sol-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.custom-sol-item:hover {
  background: var(--bg-card);
  border-color: rgba(223, 42, 25, 0.3);
  transform: translateX(4px);
}

.custom-sol-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--brand-red-light, rgba(223, 42, 25, 0.08));
  border: 1px solid rgba(223, 42, 25, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-red);
  font-size: 14px;
  flex-shrink: 0;
}

.custom-sol-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 36px;
  border: 2px solid var(--brand-red);
  background: transparent;
  color: var(--brand-red);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.custom-sol-btn:hover {
  background: var(--brand-red);
  color: #ffffff;
  box-shadow: 0 12px 30px -4px rgba(223, 42, 25, 0.35);
  transform: translateY(-2px);
}

.custom-sol-btn i {
  margin-left: 10px;
  transition: transform 0.25s ease;
}

.custom-sol-btn:hover i {
  transform: translateX(6px);
}

/* Dark Mode Overrides */
html[data-theme="dark"] .custom-solutions-card,
body.dark-theme .custom-solutions-card {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .custom-sol-item,
body.dark-theme .custom-sol-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] .custom-sol-item:hover,
body.dark-theme .custom-sol-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(223, 42, 25, 0.35);
}

/* ==========================================================================
   26. DEMO REQUEST WIZARD MODAL
   ========================================================================== */
.demo-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.demo-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.demo-wizard-container {
  background: var(--bg-card);
  width: 100%;
  max-width: 660px;
  max-height: 96vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.demo-wizard-container::-webkit-scrollbar {
  width: 5px;
}

.demo-wizard-container::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
}

.demo-wizard-container::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 10px;
}

.demo-modal-overlay.active .demo-wizard-container {
  transform: translateY(0) scale(1);
}

.demo-wizard-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.demo-wizard-close:hover {
  background: var(--brand-red-light);
  color: var(--brand-red);
  border-color: var(--brand-red-light);
}

.demo-wizard-step {
  display: none;
  padding: 22px 30px 20px;
  animation: fadeSlideUp 0.4s ease forwards;
}

.demo-wizard-step.active {
  display: block;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.demo-wizard-header {
  text-align: center;
  margin-bottom: 12px;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: var(--brand-red-light);
  color: var(--brand-red);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 30px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  border: 1px solid rgba(229, 9, 20, 0.1);
}

.demo-wizard-header h2 {
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 3px;
  line-height: 1.25;
}

.demo-wizard-header p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin: 0;
}

/* Step 1 Styles */
.demo-focus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.demo-focus-btn {
  padding: 14px;
  background: var(--bg-page);
  border: 2px solid var(--border-medium);
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.demo-focus-btn:hover {
  border-color: var(--border-strong);
  background: var(--bg-surface);
}

.demo-focus-btn.selected {
  border-color: var(--brand-red);
  background: var(--brand-red-light);
  color: var(--brand-red);
}

/* Step 2 Styles */
.demo-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.input-group label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.input-group label .req-star,
.req-star,
.required-star {
  color: #df2a19 !important;
  font-weight: 700;
  margin-left: 2px;
}

.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  padding: 7px 11px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-primary);
  transition: all 0.2s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: var(--brand-red);
  outline: none;
  box-shadow: 0 0 0 3px var(--brand-red-light);
}

/* Success Step Styles */
.success-step {
  text-align: center;
  padding: 36px 30px;
}

.success-icon {
  font-size: 52px;
  color: #10b981;
  margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 600px) {
  .demo-wizard-container {
    max-width: 95%;
    max-height: 94vh;
  }

  .demo-wizard-step {
    padding: 18px 14px 16px;
  }

  .demo-focus-grid,
  .demo-form-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .demo-wizard-header h2 {
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   UNIVERSAL HERO RIGHT-TO-LEFT IMAGE SLIDER
   ========================================================================== */
.hero-slider-wrap,
.aero-hero-slider-wrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.hero-slider-container,
.aero-slider-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(223, 42, 25, 0.25);
  background: #0b1329;
  aspect-ratio: 16 / 10.5;
}

html[data-theme="dark"] .hero-slider-container,
html[data-theme="dark"] .aero-slider-container,
body.dark-theme .hero-slider-container,
body.dark-theme .aero-slider-container {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.hero-slider-track,
.aero-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide,
.aero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slide-img,
.aero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}

.hero-slide:hover .hero-slide-img,
.aero-slide:hover .aero-slide-img {
  transform: scale(1.05);
}

.hero-slide::after,
.aero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(15, 23, 42, 0.25) 40%, rgba(15, 23, 42, 0.88) 100%);
  pointer-events: none;
}

.hero-slide-caption,
.aero-slide-caption {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  z-index: 5;
  color: #ffffff;
}

.caption-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(223, 42, 25, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(223, 42, 25, 0.4);
}

.hero-slide-caption h4,
.aero-slide-caption h4 {
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-slider-nav,
.aero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
  opacity: 0;
}

.hero-slider-container:hover .hero-slider-nav,
.aero-slider-container:hover .aero-slider-nav {
  opacity: 1;
}

.hero-slider-nav.prev,
.aero-slider-nav.prev {
  left: 14px;
}

.hero-slider-nav.next,
.aero-slider-nav.next {
  right: 14px;
}

.hero-slider-nav:hover,
.aero-slider-nav:hover {
  background: var(--brand-red, #df2a19);
  color: #ffffff;
  border-color: var(--brand-red, #df2a19);
  transform: translateY(-50%) scale(1.1);
}

.hero-slider-dots,
.aero-slider-dots {
  position: absolute;
  bottom: 14px;
  right: 22px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.hero-dot,
.aero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active,
.aero-dot.active {
  width: 24px;
  border-radius: 10px;
  background: var(--brand-red, #df2a19);
  box-shadow: 0 0 10px rgba(223, 42, 25, 0.8);
}

/* ==========================================================================
   GLOBAL RESPONSIVE BREAKPOINTS (APPLIED ACROSS ALL HTML PAGES)
   ========================================================================== */

/* Universal Viewport & Horizontal Overflow Guard */
html,
body {
  overflow-x: clip;
  max-width: 100vw;
  position: relative;
}

/* Tablet Landscape (1024px) */
@media (max-width: 1024px) {

  .container {
    padding-left: clamp(16px, 2.5vw, 24px);
    padding-right: clamp(16px, 2.5vw, 24px);
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .mega-menu {
    display: none !important;
    /* Hide desktop mega menu on tablet/mobile, use mobile-menu drawer */
  }

  .display-1 {
    font-size: clamp(2.25rem, 5.5vw, 3.25rem);
    line-height: 1.12;
  }

  .section-heading {
    font-size: clamp(1.85rem, 4.5vw, 2.35rem);
  }

  /* Two-column split layouts switch to balanced stacked view */
  .contact-split-wrapper {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .service-hero-grid,
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .site-header {
    height: var(--header-height);
  }

  .site-logo .logo-img {
    height: 36px;
  }

  .section-padding {
    padding: clamp(40px, 6vw, 60px) 0;
  }

  .grid-2 {
    grid-template-columns: 1fr !important;
  }

  /* Form two-column fields stack smoothly on tablet/mobile */
  form .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .display-1 {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
  }

  .section-heading {
    font-size: clamp(1.55rem, 5.5vw, 1.95rem);
  }

  /* Two-line clean text wrapping for footer links */
  .footer-links-2col .footer-link {
    white-space: normal !important;
    line-height: 1.35 !important;
    align-items: flex-start !important;
  }

  /* Contact hero & form tuning */
  .contact-compact-hero {
    padding: clamp(20px, 3.5vw, 32px) 0 16px;
  }

  .contact-compact-hero .contact-page-title {
    font-size: clamp(1.5rem, 5vw, 1.95rem);
  }

  .contact-compact-hero .contact-page-lead {
    font-size: 0.88rem;
  }
}

/* Mobile (640px) */
@media (max-width: 640px) {

  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr !important;
  }

  .bento-col-8,
  .bento-col-4,
  .bento-col-6 {
    grid-column: span 1 !important;
  }

  .bento-box {
    padding: 20px 16px;
  }

  /* Mobile footer stacks cleanly */
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  /* Hero call-to-action buttons fill mobile width */
  .hero-actions,
  .service-hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn,
  .service-hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .contact-split-section {
    padding: 16px 0 36px;
  }

  .contact-form-tab-card {
    padding: 20px 16px;
  }

  .form-trust-banner {
    flex-direction: column;
    gap: 6px;
  }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section-padding {
    padding: 38px 0;
  }

  /* Target form submit buttons & hero actions without breaking small pill buttons */
  form button[type="submit"],
  .btn-block,
  .btn-full-mobile {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .contact-form-tab-card {
    padding: 16px 14px;
    border-radius: var(--radius-md);
  }

  .contact-hub-card {
    padding: 12px 14px;
  }

  .site-logo .logo-img {
    height: 32px;
  }

  /* Footer social & AI badge wrapping on small screens */
  .footer-social-links {
    gap: 8px;
    flex-wrap: wrap;
  }

  .footer-ask-ai-block {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .footer-hub-chips {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .fab-container {
    bottom: 16px;
    right: 14px;
    gap: 8px;
  }

  .fab-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   14. DESKTOP SPECIFIC FOOTER OVERRIDES
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {

  /* Prevent 'Our Company' column from splitting into 2 columns on desktop */
  .site-footer .footer-top-grid>div:nth-child(1) .footer-links-2col {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Ensure 'Our Services' links always display in a clean single line */
  .site-footer .footer-top-grid>div:nth-child(3) .footer-link {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow: visible !important;
    text-overflow: clip !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .site-footer .footer-top-grid>div:nth-child(3) .footer-link i {
    margin-top: 0 !important;
    flex-shrink: 0;
  }
}

/* AI Hover Text styles */
.ai-icon-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ai-hover-text {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  color: var(--text-primary) !important;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all var(--transition-fast);
  pointer-events: none;
  z-index: 20;
}

.ai-icon-wrapper:hover .ai-hover-text {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chatgpt-mask-icon {
  width: 30px;
  height: 30px;
  background-color: var(--text-primary);
  -webkit-mask: url('../assets/images/logo/chatgpt.png') no-repeat center / contain;
  mask: url('../assets/images/logo/chatgpt.png') no-repeat center / contain;
}


/* AI Icon Theme Toggles */
.ai-logo-dark {
  display: none;
}

html.dark .ai-logo-light,
html[data-theme="dark"] .ai-logo-light {
  display: none;
}

html.dark .ai-logo-dark,
html[data-theme="dark"] .ai-logo-dark {
  display: block;
}

/* AI Prompt Toast Notification */
.ai-prompt-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(25px);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 9999px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90vw;
  text-align: center;
}

.ai-prompt-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   HOMEPAGE ENTERPRISE FLAGSHIP SPOTLIGHTS (BuildNex.AI & Singapore Business Cloud)
   ========================================================================== */
.hp-spotlights-section {
  padding: clamp(20px, 2vw, 70px) 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.hp-spotlights-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: clamp(16px, 2.2vw, 30px);
  margin-top: 28px;
  align-items: start;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1025px) and (max-width: 1366px) {
  .hp-spotlights-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .hp-spotlights-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.hp-spotlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 20px);
  padding: clamp(15px, 1vw, 19px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.hp-spotlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-red);
  box-shadow: var(--card-shadow-hover);
}

.hp-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red), #ff6b6b);
}

.hp-spotlight-card.spotlight-sg::before {
  background: linear-gradient(90deg, #10b981, #059669);
}

.hp-spotlight-card.spotlight-flyng::before {
  background: linear-gradient(90deg, #0284c7, #38bdf8);
}

.spotlight-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spotlight-buildnex .spotlight-badge {
  background: rgba(223, 42, 25, 0.1);
  color: var(--brand-red);
  border: 1px solid rgba(223, 42, 25, 0.25);
}

.spotlight-sg .spotlight-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.spotlight-flyng .spotlight-badge {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.spotlight-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.spotlight-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  flex-shrink: 0;
}

.spotlight-thumb img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.spotlight-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.spotlight-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-red);
  margin-bottom: 10px;
}

.spotlight-sg .spotlight-tagline {
  color: #059669;
}

.spotlight-flyng .spotlight-tagline {
  color: #0284c7;
}

.spotlight-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 15px;
}

.spotlight-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spotlight-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.spotlight-bullets li i {
  color: #10b981;
  font-size: 0.92rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.spotlight-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   SINGAPORE BUSINESS SUITE: HRMS, CLOUD ACCOUNTING & CRM (hrms-accounting-crm.html)
   ========================================================================== */

/* Hero Section */
.sg-hero-section {
  position: relative;
  background: var(--hero-bg);
  color: var(--text-primary);
  padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 6vw, 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.sg-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  opacity: 0.85;
}

.sg-hero-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  position: relative;
  z-index: 5;
}

@media (max-width: 1024px) {
  .sg-hero-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.sg-hero-title {
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--hero-title);
  margin: 16px 0 20px;
  letter-spacing: -0.02em;
}

.sg-hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
  color: var(--hero-desc);
  margin-bottom: 28px;
  max-width: 640px;
}

.sg-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff !important;
  border: 1px solid #25D366;
  padding: 10px 20px;
  border-radius: var(--radius-sm, 6px);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-base);
}

.btn-whatsapp-hero:hover {
  background: #20ba5a;
  border-color: #20ba5a;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Singapore Hero Interactive Preview Card */
.sg-hero-preview-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  padding: 24px;
  box-shadow: var(--dropdown-shadow);
  position: relative;
  overflow: hidden;
}

.sg-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.sg-preview-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 10px;
  border-radius: 9999px;
}

.sg-preview-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sg-badge-sg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-sm, 6px);
  background: rgba(223, 42, 25, 0.08);
  border: 1px solid rgba(223, 42, 25, 0.25);
  color: var(--brand-red);
}

.sg-preview-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

@media (max-width: 480px) {
  .sg-preview-modules-grid {
    grid-template-columns: 1fr;
  }
}

.sg-module-mini-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  padding: 14px;
  transition: all var(--transition-fast);
}

.sg-module-mini-tile:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(223, 42, 25, 0.08);
}

.sg-module-mini-tile .tile-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.sg-module-mini-tile.hrms .tile-icon {
  background: rgba(223, 42, 25, 0.12);
  color: var(--brand-red);
}

.sg-module-mini-tile.acct .tile-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.sg-module-mini-tile.crm .tile-icon {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.sg-module-mini-tile.grant .tile-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.sg-module-mini-tile h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-primary);
}

.sg-module-mini-tile p {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Trust Stats Strip */
.sg-trust-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.sg-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

@media (max-width: 900px) {
  .sg-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
}

@media (max-width: 480px) {
  .sg-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.sg-stat-card {
  padding: 8px;
}

.sg-stat-num {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 900;
  color: var(--brand-red);
  line-height: 1.1;
  margin-bottom: 4px;
}

.sg-stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* 3 Core Pillar Suites */
.sg-suites-section {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--bg-page);
}

.sg-suites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: 40px;
}

@media (max-width: 1024px) {
  .sg-suites-grid {
    grid-template-columns: 1fr;
  }
}

.sg-suite-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.sg-suite-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-red);
  box-shadow: var(--card-shadow-hover);
}

.sg-suite-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sg-suite-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.sg-suite-card.suite-hrms .sg-suite-icon-box {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

.sg-suite-card.suite-acct .sg-suite-icon-box {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.sg-suite-card.suite-crm .sg-suite-icon-box {
  background: rgba(37, 99, 235, 0.12);
  color: #2563eb;
}

.sg-suite-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 9999px;
}

.suite-hrms .sg-suite-badge {
  background: var(--brand-red-light);
  color: var(--brand-red);
  border: 1px solid rgba(223, 42, 25, 0.25);
}

.suite-acct .sg-suite-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.suite-crm .sg-suite-badge {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.25);
}

.sg-suite-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.sg-suite-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.sg-suite-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sg-suite-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.sg-suite-checklist li i {
  color: #10b981;
  font-size: 0.92rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.sg-suite-card .sg-card-action {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

/* Interactive Tabs Deep Dive */
.sg-deepdive-section {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.sg-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px 0 40px;
  flex-wrap: wrap;
}

.sg-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.sg-tab-btn:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.sg-tab-btn.is-active {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(223, 42, 25, 0.35);
}

.sg-tab-panel {
  display: none;
  animation: fadeIn 0.4s ease;
}

.sg-tab-panel.is-active {
  display: block;
}

.sg-tab-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

@media (max-width: 900px) {
  .sg-tab-split {
    grid-template-columns: 1fr;
  }
}

.sg-tab-content h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.sg-tab-content p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.sg-tab-feature-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 480px) {
  .sg-tab-feature-boxes {
    grid-template-columns: 1fr;
  }
}

.sg-tab-f-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 10px);
  padding: 14px;
}

.sg-tab-f-card h5 {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.sg-tab-f-card h5 i {
  color: var(--brand-red);
}

.sg-tab-f-card p {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0;
}

.sg-tab-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  padding: 28px;
  box-shadow: var(--card-shadow);
}

/* Compliance Grid */
.sg-compliance-section {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--bg-page);
}

.sg-compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .sg-compliance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .sg-compliance-grid {
    grid-template-columns: 1fr;
  }
}

.sg-compliance-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 12px);
  padding: 22px;
  transition: all var(--transition-base);
  box-shadow: var(--card-shadow);
}

.sg-compliance-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-red);
  box-shadow: var(--card-shadow-hover);
}

.sg-compliance-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand-red-light);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.sg-compliance-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.sg-compliance-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Singapore FAQ Section */
.sg-faq-section {
  padding: clamp(48px, 6vw, 80px) 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.sg-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}

@media (max-width: 800px) {
  .sg-faq-grid {
    grid-template-columns: 1fr;
  }
}

.sg-faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md, 12px);
  padding: 22px;
  transition: all var(--transition-fast);
}

.sg-faq-item:hover {
  border-color: var(--border-medium);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sg-faq-question {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.sg-faq-question i {
  color: var(--brand-red);
  font-size: 0.92rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.sg-faq-answer {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  padding-left: 24px;
}

/* ==========================================================================
   TIER-1 ENTERPRISE HOMEPAGE OVERHAUL (Split Hero, Compliance & Pipeline)
   ========================================================================== */

/* 1. Executive Split Hero */
.hp-split-hero-section {
  position: relative;
  background: var(--hero-bg, var(--bg-surface));
  color: var(--text-primary);
  padding: clamp(12px, 1vw, 68px) 0 clamp(44px, 1vw, 76px);
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hp-split-hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(223, 42, 25, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.06) 0%, transparent 45%),
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 50px 50px, 50px 50px;
  pointer-events: none;
  opacity: 0.6;
}

.hp-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(24px, 3.5vw, 56px);
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1081px) and (max-width: 1366px) {
  .hp-split-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
  }
}

@media (max-width: 1080px) {
  .hp-split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.hp-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.hp-pulse-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {

  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.hp-split-h1 {
  font-size: clamp(2.1rem, 3.6vw, 3.35rem);
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.hp-split-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.68;
  color: var(--text-secondary);
  margin-bottom: 10px;
  max-width: 620px;
}

.hp-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hp-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(223, 42, 25, 0.06);
  border: 1px solid rgba(223, 42, 25, 0.2);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hp-pill-item i {
  color: var(--brand-red);
  font-size: 0.85rem;
}

.hp-hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}

.hp-hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  color: var(--text-secondary);
  line-height: 1.4;
}

.hp-hero-points li i {
  color: var(--brand-red);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.hp-hero-points li strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hp-hero-points.hp-points-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 11px 20px;
}

@media (max-width: 768px) {
  .hp-hero-points.hp-points-2col {
    grid-template-columns: 1fr;
    gap: 9px;
  }
}


.hp-split-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  margin-top: 10px;
}

.hp-proof-strip {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 24px);
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.hp-proof-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hp-proof-item i {
  color: var(--brand-red);
  font-size: 0.88rem;
}

/* 3D Dashboard Mockup Stage */
.hp-dashboard-stage {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.hp-dashboard-window {
  background: #090e1a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(223, 42, 25, 0.15);
  overflow: hidden;
  color: #f8fafc;
  position: relative;
  backdrop-filter: blur(16px);
}

.hp-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-window-controls {
  display: flex;
  gap: 7px;
}

.hp-dot-ctl {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hp-dot-ctl.red {
  background: #ef4444;
}

.hp-dot-ctl.yellow {
  background: #f59e0b;
}

.hp-dot-ctl.green {
  background: #10b981;
}

.hp-window-title {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-window-title span {
  color: #38bdf8;
}

.hp-window-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp-telemetry-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hp-telemetry-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
}

.hp-telemetry-label {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.hp-telemetry-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.hp-telemetry-val small {
  font-size: 0.72rem;
  font-weight: 700;
  color: #10b981;
}

.hp-agent-activity-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 16px;
}

.hp-activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
}

.hp-activity-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hp-stream-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hp-stream-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hp-stream-left {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e2e8f0;
}

.hp-stream-badge {
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hp-stream-badge.ai {
  background: rgba(223, 42, 25, 0.25);
  color: #ff6b5b;
}

.hp-stream-badge.sync {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.hp-stream-badge.tax {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}

.hp-stream-time {
  color: #64748b;
  font-size: 0.7rem;
}

/* Right-Side Dashboard Carousel Track & Slide Styles */
.dash-carousel-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.dash-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.dash-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-image-frame {
  position: relative;
  width: 100%;
  height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
}

.dash-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.5));
  transition: transform 0.4s ease;
}

.dash-slide:hover .dash-image-frame img {
  transform: scale(1.02);
}

.dash-image-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

.dash-image-info-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-image-info-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(223, 42, 25, 0.15);
  border: 1px solid rgba(223, 42, 25, 0.35);
  color: #ff6b5b;
}

@media (max-width: 640px) {
  .dash-image-frame {
    height: 230px;
  }
}

.dash-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.6);
}

.dash-carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.dash-dot.active {
  width: 24px;
  background: var(--brand-red, #df2a19);
  box-shadow: 0 0 10px rgba(223, 42, 25, 0.6);
}

.dash-carousel-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.72rem;
  transition: all 0.25s ease;
}

.dash-arrow-btn:hover {
  background: var(--brand-red, #df2a19);
  color: #ffffff;
  border-color: var(--brand-red, #df2a19);
}

/* Floating Glass Overlay Cards */
.hp-float-pill-top {
  position: absolute;
  top: -14px;
  right: -16px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 30px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 4;
}

.hp-float-pill-bottom {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: 30px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 4;
}

@media (max-width: 640px) {

  .hp-float-pill-top,
  .hp-float-pill-bottom {
    display: none;
  }
}

/* 2. Singapore Statutory & Global Cloud Compliance Marquee */
.hp-compliance-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
}

.hp-compliance-heading {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hp-compliance-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 16px);
}

.hp-compliance-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.hp-compliance-chip:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(223, 42, 25, 0.12);
}

.hp-compliance-chip i {
  color: var(--brand-red);
  font-size: 0.88rem;
}

/* 3. 4-Step Autonomous Operations Pipeline */
.hp-pipeline-section {
  padding: clamp(54px, 7vw, 84px) 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.pipeline-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
  position: relative;
}

@media (max-width: 1024px) {
  .pipeline-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pipeline-grid-4 {
    grid-template-columns: 1fr;
  }
}

.pipeline-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg, 16px);
  padding: 28px 22px;
  position: relative;
  transition: all var(--transition-base);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.pipeline-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-red);
  box-shadow: 0 16px 36px rgba(223, 42, 25, 0.15);
}

.pipeline-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--brand-red-light);
  border: 1px solid var(--border-glow);
  color: var(--brand-red);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.pipeline-card h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.pipeline-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
  flex-grow: 1;
}

.pipeline-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-red);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   GLOBAL RESPONSIVE @MEDIA SUITE (COMPREHENSIVE MULTI-DEVICE ADAPTATION)
   Covers: 320px, 380px, 480px, 576px, 768px, 992px, 1024px, 1200px, 1440px+
   ========================================================================== */

/* 1. Zero Horizontal Blowout & Global Overflow Containment */
html,
body {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

main,
section,
header,
footer {
  max-width: 100%;
}

img,
video,
iframe,
canvas,
svg {
  max-width: 100%;
  height: auto;
}

/* 2. Grid & Flex Safe Column Sizing Across All Pages */
.grid-2>*,
.grid-3>*,
.grid-4>*,
.hp-split-grid>*,
.hp-spotlights-grid>*,
.card-grid>*,
.features-grid>*,
.services-grid>*,
.products-grid>* {
  min-width: 0;
  max-width: 100%;
}

/* 3. Ultra-Wide Displays (1440px+) */
@media (min-width: 1441px) {
  .container {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 4. Compact Desktops & Laptops (1025px - 1440px) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .container {
    padding-left: clamp(24px, 3vw, 40px);
    padding-right: clamp(32px, 4vw, 56px);
    /* Safe clearance for floating FABs */
  }

  /* Safe hero viewport scaling */
  .hero-h1,
  .section-title {
    font-size: clamp(2rem, 3.2vw, 3rem);
  }
}

/* 5. Small Laptops & Landscape Tablets (769px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .hp-split-grid,
  .hero-split,
  .split-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* 6. Tablet & Large Mobile Viewports (577px - 768px) */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Typography Fluid Scaling Across All Pages */
  h1,
  .hero-h1,
  .section-title,
  .page-title,
  .aviation-hero-title,
  .pricing-hero-title {
    font-size: clamp(1.75rem, 5vw, 2.35rem) !important;
    line-height: 1.2 !important;
  }

  h2,
  .section-heading,
  .custom-solution-heading {
    font-size: clamp(1.4rem, 4vw, 1.85rem) !important;
    line-height: 1.25 !important;
  }

  h3,
  .card-title,
  .feature-title {
    font-size: clamp(1.15rem, 3.2vw, 1.35rem) !important;
  }

  p,
  .lead,
  .hero-desc,
  .section-desc,
  .pricing-hero-desc {
    font-size: clamp(0.92rem, 2.4vw, 1rem) !important;
    line-height: 1.6 !important;
  }

  /* Universal Grids collapse to single column */
  .grid-2,
  .grid-3,
  .grid-4,
  .features-grid,
  .services-grid,
  .cards-grid,
  .products-grid,
  .industry-grid,
  .solution-grid,
  .split-grid,
  .hp-split-grid,
  .aviation-hero-grid,
  .pricing-hero-grid,
  .two-col,
  .two-column-grid,
  .detail-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* Action Buttons & Badges Flex Wrapping */
  .btn-group,
  .hero-actions,
  .cta-actions,
  .spotlight-actions,
  .hp-split-actions,
  .actions-row,
  .aviation-hero-pills,
  .pricing-hero-features {
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
  }

  .section-chip,
  .hp-status-chip,
  .spotlight-badge,
  .aviation-badge,
  .pricing-hero-badge,
  .badge {
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  /* Form Elements: Prevent iOS Auto-Zoom on Focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
    max-width: 100%;
  }

  /* Responsive Tables with Smooth Horizontal Scrolling */
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Floating Action Buttons Clearance */
  .fab-container {
    bottom: 16px !important;
    right: 14px !important;
    gap: 8px !important;
  }

  .fab-btn {
    width: 44px !important;
    height: 44px !important;
    font-size: 1rem !important;
  }

  .floating-theme-toggle,
  .floating-whatsapp-btn {
    bottom: 16px !important;
    transform: scale(0.92);
  }
}

/* 7. Standard Mobile Devices (381px - 576px) */
@media (max-width: 576px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Header Compact Mobile Padding */
  .site-header {
    padding: 8px 0;
  }

  .logo-img {
    max-height: 36px;
    width: auto;
  }

  /* Universal Buttons */
  .btn {
    padding: 11px 20px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 12px 22px;
    font-size: 0.94rem;
  }

  /* Modals & Dialogs full responsive width */
  .modal-dialog,
  .hp-video-modal-dialog {
    width: 95% !important;
    margin: 12px auto !important;
  }

  /* Cards & Tiles Compact Mobile Padding */
  .card,
  .service-card,
  .product-card,
  .feature-card,
  .solution-card,
  .showcase-card,
  .pricing-plan-card,
  .custom-solution-box,
  .pricing-dark-cta-card {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }
}

/* 8. Extra-Small & Compact Mobile Devices (320px - 380px) */
@media (max-width: 380px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  h1,
  .hero-h1,
  .section-title,
  .page-title,
  .aviation-hero-title,
  .pricing-hero-title {
    font-size: 1.5rem !important;
  }

  h2,
  .section-heading,
  .custom-solution-heading {
    font-size: 1.25rem !important;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.86rem;
  }

  .section-chip,
  .pricing-hero-badge,
  .aviation-badge {
    font-size: 0.7rem !important;
    padding: 4px 8px !important;
  }

  /* Metric counters scaling */
  .stat-number,
  .counter,
  .abt-stat-val {
    font-size: 1.35rem !important;
  }

  /* Full Width Stack for Action Buttons */
  .btn-custom-talk,
  .btn-dark-cta,
  .btn-dark-contact {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* 9. Absolute Zero Horizontal Blowout Across All Viewports */
@media screen {

  html,
  body {
    overflow-x: clip !important;
    max-width: 100vw !important;
  }
}