/* ==========================================================================
   Twenty-X Modern Web Hosting - Core Frontend Presentation & Layout Styles
   Crafted with high-performance CSS architecture and clean enterprise cloud aesthetics.
   Features:
   - High-Availability Domain Search & Registry Console
   - Responsive Grid and List View Switcher for Products & Cloud Hosting
   - Expanded Enterprise Services Suite (Dedicated, VPS, Email, SSL, CDN)
   - Dynamic Color Theming: Royal Blue, Crimson Red, Ruby Red, Scarlet, Cyan, Indigo, Emerald
   ========================================================================== */

:root {
  /* Default Color Scheme: 20X Signature Royal Blue */
  --primary: #0052cc;
  --primary-hover: #0043a8;
  --primary-active: #003585;
  --primary-rgb: 0, 82, 204;
  --primary-gradient: linear-gradient(135deg, #0052cc 0%, #0066f5 60%, #003d99 100%);
  --primary-glow: rgba(0, 82, 204, 0.28);
  --primary-light: #f0f6ff;
  --primary-tint: #dbeafe;
  --primary-border: #bfdbfe;

  /* Accent Colors */
  --accent-cyan: #0284c7;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* Neutral Surface Palette */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.92);

  /* Typography Colors */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Borders & Shadows */
  --border-color: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-focus: rgba(0, 82, 204, 0.35);

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 5px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px -1px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.09);
  --shadow-xl: 0 20px 40px -8px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 8px 24px var(--primary-glow);

  /* Typography */
  --font-sans: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Color Scheme Palettes (Including Rich Red Variations)
   ========================================================================== */

/* 1. Crimson Red (Vibrant & High Energy) */
[data-theme="crimson"], [data-theme="red"] {
  --primary: #dc2626;
  --primary-hover: #b91c1c;
  --primary-active: #991b1b;
  --primary-rgb: 220, 38, 38;
  --primary-gradient: linear-gradient(135deg, #dc2626 0%, #ef4444 55%, #b91c1c 100%);
  --primary-glow: rgba(220, 38, 38, 0.28);
  --primary-light: #fef2f2;
  --primary-tint: #fee2e2;
  --primary-border: #fca5a5;
  --border-focus: rgba(220, 38, 38, 0.35);
}

/* 2. Ruby Red (Deep Enterprise & Executive) */
[data-theme="ruby"] {
  --primary: #be123c;
  --primary-hover: #9f1239;
  --primary-active: #881337;
  --primary-rgb: 190, 18, 60;
  --primary-gradient: linear-gradient(135deg, #be123c 0%, #e11d48 55%, #881337 100%);
  --primary-glow: rgba(190, 18, 60, 0.28);
  --primary-light: #fff1f2;
  --primary-tint: #ffe4e6;
  --primary-border: #fda4af;
  --border-focus: rgba(190, 18, 60, 0.35);
}

/* 3. Scarlet Flame (Modern Warm Red) */
[data-theme="scarlet"] {
  --primary: #ea580c;
  --primary-hover: #c2410c;
  --primary-active: #9a3412;
  --primary-rgb: 234, 88, 12;
  --primary-gradient: linear-gradient(135deg, #ea580c 0%, #f97316 55%, #c2410c 100%);
  --primary-glow: rgba(234, 88, 12, 0.28);
  --primary-light: #fff7ed;
  --primary-tint: #ffedd5;
  --primary-border: #fdba74;
  --border-focus: rgba(234, 88, 12, 0.35);
}

/* 4. Ocean Cyan */
[data-theme="cyan"] {
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-active: #075985;
  --primary-rgb: 2, 132, 199;
  --primary-gradient: linear-gradient(135deg, #0284c7 0%, #0ea5e9 55%, #0369a1 100%);
  --primary-glow: rgba(2, 132, 199, 0.28);
  --primary-light: #f0f9ff;
  --primary-tint: #e0f2fe;
  --primary-border: #bae6fd;
}

/* 5. Indigo Velvet */
[data-theme="indigo"] {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-active: #3730a3;
  --primary-rgb: 79, 70, 229;
  --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #6366f1 55%, #3730a3 100%);
  --primary-glow: rgba(79, 70, 229, 0.28);
  --primary-light: #eef2ff;
  --primary-tint: #e0e7ff;
  --primary-border: #c7d2fe;
}

/* 6. Emerald Cloud */
[data-theme="emerald"] {
  --primary: #059669;
  --primary-hover: #047857;
  --primary-active: #065f46;
  --primary-rgb: 5, 150, 105;
  --primary-gradient: linear-gradient(135deg, #059669 0%, #10b981 55%, #047857 100%);
  --primary-glow: rgba(5, 150, 105, 0.28);
  --primary-light: #ecfdf5;
  --primary-tint: #d1fae5;
  --primary-border: #a7f3d0;
}

/* 7. Dark Mode Architecture - Neutral Obsidian/Slate Palette */
[data-mode="dark"] {
  --bg-body: #090d16;
  --bg-card: #111726;
  --bg-alt: #172033;
  --bg-glass: rgba(17, 23, 38, 0.94);
  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border-color: rgba(255, 255, 255, 0.09);
  --border-subtle: rgba(255, 255, 255, 0.05);
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 36px rgba(0, 0, 0, 0.65);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.75);

  /* Translucent tints that pop clearly on dark cards */
  --primary-light: rgba(var(--primary-rgb), 0.16);
  --primary-tint: rgba(var(--primary-rgb), 0.25);
  --primary-border: rgba(var(--primary-rgb), 0.4);
}

/* In Dark Mode: Ensure Default Royal Blue is luminous and vivid (never muddied or matching dark blue bg) */
[data-mode="dark"]:not([data-theme]),
[data-mode="dark"][data-theme="default"] {
  --primary: #2563eb;
  --primary-hover: #3b82f6;
  --primary-active: #1d4ed8;
  --primary-rgb: 37, 99, 235;
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 60%, #1d4ed8 100%);
  --primary-glow: rgba(37, 99, 235, 0.35);
  --border-focus: rgba(59, 130, 246, 0.5);
}

/* Dark Mode Crimson Red */
[data-mode="dark"][data-theme="crimson"],
[data-mode="dark"][data-theme="red"] {
  --primary: #ef4444;
  --primary-hover: #f87171;
  --primary-active: #dc2626;
  --primary-rgb: 239, 68, 68;
  --primary-gradient: linear-gradient(135deg, #ef4444 0%, #f87171 55%, #dc2626 100%);
  --primary-glow: rgba(239, 68, 68, 0.35);
  --border-focus: rgba(239, 68, 68, 0.5);
}

/* Dark Mode Ruby Red */
[data-mode="dark"][data-theme="ruby"] {
  --primary: #f43f5e;
  --primary-hover: #fb7185;
  --primary-active: #e11d48;
  --primary-rgb: 244, 63, 94;
  --primary-gradient: linear-gradient(135deg, #f43f5e 0%, #fb7185 55%, #e11d48 100%);
  --primary-glow: rgba(244, 63, 94, 0.35);
  --border-focus: rgba(244, 63, 94, 0.5);
}

/* Dark Mode Scarlet Flame */
[data-mode="dark"][data-theme="scarlet"] {
  --primary: #f97316;
  --primary-hover: #fb923c;
  --primary-active: #ea580c;
  --primary-rgb: 249, 115, 22;
  --primary-gradient: linear-gradient(135deg, #f97316 0%, #fb923c 55%, #ea580c 100%);
  --primary-glow: rgba(249, 115, 22, 0.35);
  --border-focus: rgba(249, 115, 22, 0.5);
}

/* Dark Mode Ocean Cyan */
[data-mode="dark"][data-theme="cyan"] {
  --primary: #06b6d4;
  --primary-hover: #22d3ee;
  --primary-active: #0891b2;
  --primary-rgb: 6, 182, 212;
  --primary-gradient: linear-gradient(135deg, #06b6d4 0%, #22d3ee 55%, #0891b2 100%);
  --primary-glow: rgba(6, 182, 212, 0.35);
}

/* Dark Mode Indigo Velvet */
[data-mode="dark"][data-theme="indigo"] {
  --primary: #6366f1;
  --primary-hover: #818cf8;
  --primary-active: #4f46e5;
  --primary-rgb: 99, 102, 241;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #818cf8 55%, #4f46e5 100%);
  --primary-glow: rgba(99, 102, 241, 0.35);
}

/* Dark Mode Emerald Cloud */
[data-mode="dark"][data-theme="emerald"] {
  --primary: #10b981;
  --primary-hover: #34d399;
  --primary-active: #059669;
  --primary-rgb: 16, 185, 129;
  --primary-gradient: linear-gradient(135deg, #10b981 0%, #34d399 55%, #059669 100%);
  --primary-glow: rgba(16, 185, 129, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  text-decoration: none !important;
  transition: var(--transition-fast);
}

a:not(.btn) {
  color: var(--primary);
}

a:not(.btn):hover, a:not(.btn):focus, a:not(.btn):active {
  color: var(--primary-hover);
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
}

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Section Spacing & Vertical Rhythm Utilities
   ========================================================================== */
.section-py {
  padding-top: 85px !important;
  padding-bottom: 85px !important;
  position: relative;
}

.section-py-lg {
  padding-top: 105px !important;
  padding-bottom: 105px !important;
  position: relative;
}

.section-py-sm {
  padding-top: 55px !important;
  padding-bottom: 55px !important;
  position: relative;
}

@media (max-width: 991px) {
  .section-py {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }
  .section-py-lg {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
  }
}

@media (max-width: 768px) {
  .section-py {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
  }
  .section-py-lg {
    padding-top: 65px !important;
    padding-bottom: 65px !important;
  }
}

@media (max-width: 576px) {
  .section-py {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
  }
}

/* ==========================================================================
   Header Top Utility Bar
   ========================================================================== */
.top-bar {
  background-color: #0b1329;
  color: #94a3b8;
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar-badge {
  background: var(--primary-gradient);
  color: #ffffff;
  font-weight: 700;
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.top-bar-text {
  color: #cbd5e1;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-select-group {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.top-select-group label {
  font-size: 11.5px;
  font-weight: 600;
}

.top-bar-select {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xs);
  padding: 4px 8px;
  font-size: 11.5px;
  cursor: pointer;
  outline: none;
  transition: var(--transition-fast);
}

.top-bar-select:hover, .top-bar-select:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.top-bar-select option {
  background-color: #0f172a;
  color: #ffffff;
}

.theme-mode-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-fast);
}

.theme-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ==========================================================================
   Main Navigation
   ========================================================================== */
.main-header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  position: static;
  top: auto;
  z-index: 1000;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-base);
}

.main-header.scrolled {
  box-shadow: var(--shadow-sm);
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-symbol {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  box-shadow: var(--shadow-glow);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-main);
  line-height: 1;
}

.logo-title span {
  color: var(--primary);
}

.logo-tagline {
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 11px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-link i.fa-chevron-down,
.nav-link i.fa-caret-down {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--primary);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: var(--transition-base);
  z-index: 100;
}

.nav-item:hover .dropdown-menu,
.nav-item.dropdown:hover > .dropdown-menu,
li.dropdown:hover > .dropdown-menu,
.dropdown-menu.show,
.nav-item.dropdown.show > .dropdown-menu,
li.dropdown.show > .dropdown-menu,
li.dropdown.dropdown-open > .dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-fast);
}

.dropdown-link:hover {
  background-color: var(--primary-light);
}

.dropdown-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.dropdown-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.dropdown-info p {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.icon-btn:hover {
  background: var(--bg-alt);
  color: var(--primary);
  border-color: var(--primary);
}

.cart-count-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--primary);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  line-height: 1.4;
  text-decoration: none;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 12.5px;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

.btn-primary,
a.btn-primary,
button.btn-primary,
input[type="submit"].btn-primary,
input[type="button"].btn-primary {
  background: var(--primary-gradient) !important;
  background-color: var(--primary) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 2px 8px var(--primary-glow) !important;
}

.btn-primary i,
.btn-primary span,
.btn-primary svg,
a.btn-primary i,
a.btn-primary span,
a.btn-primary svg,
button.btn-primary i,
button.btn-primary span {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.btn-primary:hover,
a.btn-primary:hover,
button.btn-primary:hover,
input[type="submit"].btn-primary:hover {
  background: var(--primary-hover) !important;
  background-color: var(--primary-hover) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px var(--primary-glow) !important;
}

.btn-primary:hover i,
.btn-primary:hover span,
.btn-primary:hover svg,
a.btn-primary:hover i,
a.btn-primary:hover span,
button.btn-primary:hover i {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.btn-primary:focus,
.btn-primary:active,
a.btn-primary:focus,
a.btn-primary:active,
button.btn-primary:focus,
button.btn-primary:active {
  background: var(--primary-active, var(--primary-hover)) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 0 0 3px var(--primary-glow) !important;
  transform: translateY(0) !important;
}

.btn-primary:focus i,
.btn-primary:active i,
a.btn-primary:focus i,
a.btn-primary:active i {
  color: #ffffff !important;
}

.btn-outline,
a.btn-outline,
button.btn-outline,
.btn-outline-primary,
a.btn-outline-primary {
  background: var(--bg-card) !important;
  border: 1.5px solid var(--border-color) !important;
  color: var(--text-main) !important;
}

.btn-outline i,
a.btn-outline i {
  color: var(--text-muted) !important;
}

.btn-outline:hover,
a.btn-outline:hover,
button.btn-outline:hover,
.btn-outline-primary:hover,
a.btn-outline-primary:hover {
  border-color: var(--primary) !important;
  color: #ffffff !important;
  background: var(--primary) !important;
  transform: translateY(-1px) !important;
}

.btn-outline:hover i,
.btn-outline:hover span,
.btn-outline:hover svg,
a.btn-outline:hover i,
a.btn-outline:hover span,
a.btn-outline:hover svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.btn-dark,
a.btn-dark,
button.btn-dark {
  background: #0f172a !important;
  background-color: #0f172a !important;
  color: #ffffff !important;
  border: 1px solid #1e293b !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18) !important;
}

.btn-dark i,
.btn-dark span,
.btn-dark svg,
a.btn-dark i,
a.btn-dark span,
a.btn-dark svg,
button.btn-dark i,
button.btn-dark span {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.btn-dark:hover,
a.btn-dark:hover,
button.btn-dark:hover {
  background: #1e293b !important;
  background-color: #1e293b !important;
  color: #ffffff !important;
  border-color: #334155 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.28) !important;
  transform: translateY(-1px) !important;
}

.btn-dark:hover i,
.btn-dark:hover span,
.btn-dark:hover svg,
a.btn-dark:hover i,
a.btn-dark:hover span,
button.btn-dark:hover i {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.btn-dark:focus,
.btn-dark:active,
a.btn-dark:focus,
a.btn-dark:active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #475569 !important;
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.45) !important;
}

.btn-default,
a.btn-default,
button.btn-default,
input.btn-default,
.btn-secondary,
a.btn-secondary,
button.btn-secondary {
  background: #f1f5f9 !important;
  background-color: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
}

.btn-default i,
a.btn-default i,
.btn-secondary i,
a.btn-secondary i {
  color: #475569 !important;
}

.btn-default:hover,
a.btn-default:hover,
button.btn-default:hover,
.btn-secondary:hover,
a.btn-secondary:hover,
button.btn-secondary:hover {
  background: #e2e8f0 !important;
  background-color: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

.btn-default:hover i,
a.btn-default:hover i,
.btn-secondary:hover i,
a.btn-secondary:hover i {
  color: #0f172a !important;
}

.btn-success,
a.btn-success,
button.btn-success {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  background-color: #059669 !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25) !important;
}

.btn-success i,
a.btn-success i {
  color: #ffffff !important;
}

.btn-success:hover,
a.btn-success:hover,
button.btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  background-color: #047857 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
}

.btn-danger,
a.btn-danger,
button.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  background-color: #dc2626 !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25) !important;
}

.btn-danger i,
a.btn-danger i {
  color: #ffffff !important;
}

.btn-danger:hover,
a.btn-danger:hover,
button.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
  background-color: #b91c1c !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35) !important;
}

.btn-warning,
a.btn-warning,
button.btn-warning {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  background-color: #d97706 !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
}

.btn-warning i,
a.btn-warning i {
  color: #ffffff !important;
}

.btn-warning:hover,
a.btn-warning:hover {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.btn-info,
a.btn-info,
button.btn-info {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
  background-color: #0284c7 !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
}

.btn-info i,
a.btn-info i {
  color: #ffffff !important;
}

.btn-info:hover,
a.btn-info:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section - Clean, High-Conversion Senior UI
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 56px 0 115px;
  background: radial-gradient(circle at 100% 0%, var(--primary-light) 0%, transparent 40%),
              var(--bg-body);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
}

.hero-badge-pill .pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 18px;
}

.hero-title .gradient-text {
  color: var(--primary);
}

.hero-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 24px;
}

.hero-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-main);
}

.hero-feature-icon {
  width: 22px;
  height: 22px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  color: #f59e0b;
  font-size: 12px;
}

.rating-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.rating-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   Code-Crafted Server Infrastructure Console
   ========================================================================== */
.hero-console-card {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  color: #f1f5f9;
  position: relative;
}

.console-header {
  background: #090d16;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e293b;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.console-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.console-status-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 5px;
}

.console-status-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.console-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #1e293b;
  border-bottom: 1px solid #1e293b;
}

.console-metric-cell {
  background: #0f172a;
  padding: 12px 14px;
}

.metric-label {
  font-size: 10.5px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.metric-val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2px;
}

.metric-val span {
  font-size: 11px;
  color: #10b981;
}

.console-blades-wrap {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.server-blade {
  background: #162035;
  border: 1px solid #223150;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.server-blade:hover {
  border-color: var(--primary);
  background: #1a2742;
}

.blade-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blade-icon {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
}

.blade-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.blade-spec {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94a3b8;
}

.blade-stats {
  display: flex;
  align-items: center;
  gap: 14px;
}

.blade-meter-group {
  text-align: right;
}

.meter-title {
  font-size: 10px;
  color: #64748b;
  text-transform: uppercase;
}

.meter-bar-wrap {
  width: 70px;
  height: 6px;
  background: #243454;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 3px;
}

.meter-bar-fill {
  height: 100%;
  border-radius: 3px;
}

.meter-bar-fill.cpu { width: 18%; background: #10b981; }
.meter-bar-fill.ram { width: 34%; background: var(--primary); }
.meter-bar-fill.disk { width: 42%; background: #38bdf8; }

.blade-led-pill {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 6px #10b981;
}

.console-latency-ticker {
  background: #090d16;
  border-top: 1px solid #1e293b;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #94a3b8;
  font-family: var(--font-mono);
}

.latency-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.latency-item span {
  color: #10b981;
  font-weight: 700;
}

/* ==========================================================================
   Quick Access Icon Bar (50/50 Overlapping Hero Banner & Domain Search Section)
   Announcements | Network Status | Knowledgebase | Downloads | Submit a Ticket
   Senior UI Engineering: Floating Island Bridge with Elevation & Hairline Dividers
   ========================================================================== */
.quick-access-section {
  position: relative;
  z-index: 35;
  margin-top: -68px;
  margin-bottom: -68px;
  pointer-events: none;
}

.quick-access-section .container {
  pointer-events: auto;
}

.quick-access-bar {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-xl);
  padding: 16px 20px;
  box-shadow: 
    0 10px 25px -5px rgba(15, 23, 42, 0.08),
    0 25px 50px -12px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  transition: var(--transition-base);
}

.quick-action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-main);
  background: transparent;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  border-right: 1px solid rgba(226, 232, 240, 0.85);
}

.quick-action-card:last-child {
  border-right: none;
}

.quick-action-card:hover {
  background: rgba(var(--primary-rgb), 0.04);
  transform: translateY(-3px);
}

.quick-action-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 10px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.quick-action-card:hover .quick-action-icon-wrap {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 8px 20px var(--primary-glow);
}

/* Operational pulse status LED on Network Status */
.qa-status-indicator {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 10px;
  height: 10px;
  background-color: #10b981;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
  animation: qaStatusPulse 2s infinite;
}

@keyframes qaStatusPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.quick-action-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
  line-height: 1.3;
}

.quick-action-card:hover .quick-action-title {
  color: var(--primary);
}

.quick-action-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 3px;
  transition: color 0.2s ease;
}

.quick-action-card:hover .quick-action-sub {
  color: var(--text-body);
}

/* Dark Mode Overrides for Quick Access Bar */
[data-mode="dark"] .quick-access-bar {
  background: rgba(19, 29, 51, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 
    0 16px 40px -10px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

[data-mode="dark"] .quick-action-card {
  border-right-color: rgba(255, 255, 255, 0.08);
}

[data-mode="dark"] .quick-action-card:hover {
  background: rgba(255, 255, 255, 0.05);
}

[data-mode="dark"] .qa-status-indicator {
  border-color: #131d33;
}

/* ==========================================================================
   Secure Your Domain Name Section - Dotted Matrix World Map (Reduced Opacity)
   ========================================================================== */
.domain-search-section {
  position: relative;
  background-color: #060d1d;
  color: #ffffff;
  padding: 120px 0 84px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.domain-search-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(ellipse 1100px 600px at 50% 36%, rgba(6, 13, 29, 0.15) 0%, rgba(6, 13, 29, 0.75) 68%, #060d1d 100%),
    url('../images/domain-globe-bg.webp');
  background-size: cover, cover;
  background-position: center center, center center;
  background-repeat: no-repeat, no-repeat;
  opacity: 0.18; /* Delicate, elegant reduced opacity as requested */
  pointer-events: none;
  z-index: 1;
}

.domain-search-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  max-width: 90%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  box-shadow: 0 0 16px var(--primary);
  z-index: 2;
}

.domain-search-section .container {
  position: relative;
  z-index: 3;
}

.domain-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}

.domain-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #94a3b8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.domain-top-badge i {
  color: var(--primary);
}

.domain-section-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 8px;
}

.domain-section-subtitle {
  font-size: 15.5px;
  color: #94a3b8;
  line-height: 1.5;
}

.domain-toggle-pill-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 18px;
  margin-bottom: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.domain-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.domain-tab-btn:hover {
  color: #ffffff;
}

.domain-tab-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

.domain-console-card {
  max-width: 880px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  z-index: 2;
}

.domain-unified-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.domain-input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 15px;
  color: #ffffff;
  outline: none;
  transition: var(--transition-fast);
}

.domain-input-field::placeholder {
  color: #64748b;
}

.domain-input-field:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.domain-tld-select {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: #f1f5f9;
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.domain-tld-select:focus {
  border-color: var(--primary);
}

.domain-tld-select option {
  background-color: #0f172a;
  color: #ffffff;
}

.domain-btn-search {
  padding: 14px 26px;
  font-size: 14px;
  white-space: nowrap;
}

.domain-btn-transfer {
  padding: 14px 20px;
  font-size: 14px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.domain-btn-transfer:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.domain-micro-benefits {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #94a3b8;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.benefit-pill i {
  color: #10b981;
}

.domain-results-area {
  margin-top: 16px;
  display: none;
  animation: fadeIn 0.25s ease;
}

.domain-result-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.domain-result-card.available {
  border-left: 3px solid #10b981;
}

.result-name-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.status-badge.available {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.result-domain-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.result-pricing-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-price {
  font-size: 15.5px;
  font-weight: 800;
  color: #38bdf8;
}

.result-price span {
  font-size: 11.5px;
  font-weight: 500;
  color: #94a3b8;
}

.tld-pricing-showcase {
  max-width: 880px;
  margin: 26px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.tld-price-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 13px;
  backdrop-filter: blur(6px);
  transition: var(--transition-fast);
}

.tld-price-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
  color: #ffffff;
}

.tld-price-pill strong {
  font-weight: 800;
  color: #ffffff;
}

.tld-price-pill span {
  color: #94a3b8;
  font-weight: 600;
}

.tld-price-pill .tag {
  background: #f59e0b;
  color: #000000;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}

/* ==========================================================================
   Browse our Products/Services Section
   With Box (Grid) View & List View Switcher
   ========================================================================== */
.services-section {
  padding: 76px 0;
  background-color: var(--bg-body);
}

.services-top-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
}

.services-heading-area {
  max-width: 680px;
}

.section-subtitle-pill {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.section-main-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 8px;
}

.section-lead-text {
  font-size: 15px;
  color: var(--text-muted);
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 46px;
}

.section-header-center .section-subtitle-pill {
  margin-bottom: 12px;
}

.section-header-center .section-main-title {
  margin-bottom: 10px;
}

.section-header-center .section-lead-text {
  margin: 0 auto;
  line-height: 1.6;
}

/* View Mode Switcher: Box View vs List View */
.view-mode-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
}

.view-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.view-btn:hover {
  color: var(--text-main);
}

.view-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px var(--primary-glow);
}

/* ==========================================================================
   BOX / GRID VIEW (Default)
   ========================================================================== */
.products-display-wrapper.view-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-base);
}

.service-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.service-product-card.featured {
  border-color: var(--primary);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.product-badge-compact,
.featured-ribbon {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 9.5px !important;
  font-weight: 700;
  padding: 2px 8px !important;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  width: auto !important;
  max-width: fit-content !important;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 1.3;
  box-shadow: 0 1px 4px var(--primary-glow);
}

.products-display-wrapper.view-grid .featured-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
}

.product-badge-compact {
  margin-left: 6px;
}

.card-top-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
  transition: var(--transition-fast);
}

.service-product-card:hover .card-top-icon {
  background: var(--primary);
  color: #ffffff;
}

.service-card-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 6px;
}

.service-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 40px;
}

.card-price-block {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.card-price-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-price-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.card-price-val .currency {
  font-size: 17px;
  font-weight: 700;
}

.card-price-val .period {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.card-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
  flex-grow: 1;
}

.card-feature-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-body);
}

.card-feature-item i {
  color: #10b981;
  font-size: 12px;
  flex-shrink: 0;
}

.card-action-btn,
.service-product-card .card-action-btn {
  width: 100%;
  margin-top: auto;
  background: var(--primary-gradient) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 2px 8px var(--primary-glow) !important;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-action-btn:hover,
.service-product-card .card-action-btn:hover {
  background: var(--primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--primary-glow) !important;
}

/* ==========================================================================
   REFINED LIST VIEW (Executive Senior UI Architecture)
   Deterministic Grid Alignment: [Identity] -> [Specs Grid] -> [Price] -> [Action]
   ========================================================================== */
.products-display-wrapper.view-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.products-display-wrapper.view-list .service-product-card {
  display: grid;
  grid-template-columns: 240px 1fr 185px 155px;
  grid-template-areas: "header features price action";
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.products-display-wrapper.view-list .service-product-card:hover {
  transform: translateX(4px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.08), 0 0 0 1px var(--primary-border);
}

/* Small, discrete badge in List View */
.products-display-wrapper.view-list .featured-ribbon {
  position: static;
  margin-left: 8px;
  display: inline-flex !important;
  font-size: 9px !important;
  padding: 2px 7px !important;
  border-radius: var(--radius-pill);
  box-shadow: 0 1px 4px var(--primary-glow);
}

/* 1. Product Identity Column (Fixed 240px) */
.products-display-wrapper.view-list .card-header-group {
  grid-area: header;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.products-display-wrapper.view-list .card-top-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  margin-bottom: 0;
  border: 1px solid var(--primary-border);
  transition: var(--transition-fast);
}

.products-display-wrapper.view-list .service-product-card:hover .card-top-icon {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 16px var(--primary-glow);
}

.products-display-wrapper.view-list .service-card-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 4px;
  line-height: 1.25;
}

.products-display-wrapper.view-list .service-card-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
  min-height: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 2. Infrastructure Specs / Features Column (Clean 2-Col Grid) */
.products-display-wrapper.view-list .card-features-list {
  grid-area: features;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0 16px;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  min-width: 0;
}

.products-display-wrapper.view-list .card-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-body);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.products-display-wrapper.view-list .card-feature-item i {
  color: #10b981;
  font-size: 12px;
  flex-shrink: 0;
}

/* 3. Pricing Block (Fixed 185px, Clean Right Aligned) */
.products-display-wrapper.view-list .card-price-block {
  grid-area: price;
  margin: 0;
  padding: 0 8px;
  border: none;
  text-align: right;
  min-width: 175px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.products-display-wrapper.view-list .card-price-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 2px;
  white-space: nowrap;
}

.products-display-wrapper.view-list .card-price-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 3px;
  white-space: nowrap;
}

.products-display-wrapper.view-list .card-price-val .currency {
  font-size: 15px;
  font-weight: 700;
}

.products-display-wrapper.view-list .card-price-val .period {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

/* 4. Action CTA Button (Fixed 165px) */
.products-display-wrapper.view-list .card-action-btn {
  grid-area: action;
  width: 100%;
  height: 44px;
  min-width: 0;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Dark Mode Overrides for Refined List View */
[data-mode="dark"] .products-display-wrapper.view-list .service-product-card {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-mode="dark"] .products-display-wrapper.view-list .service-product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--primary);
}

[data-mode="dark"] .products-display-wrapper.view-list .card-features-list {
  border-left-color: rgba(255, 255, 255, 0.08);
  border-right-color: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Infrastructure & Performance Showcase (Enterprise Standards)
   Senior UI Architecture: Squircle Badges, Technical Chips & Micro-Specs
   ========================================================================== */
/* ==========================================================================
   WHY CHOOSE US: State-of-the-Art Modern 6-Pillar Infrastructure Grid
   ========================================================================== */
.why-choose-section,
.features-highlight-section {
  padding: 85px 0 90px;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary-border);
  border-color: var(--primary);
}

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

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

.why-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.why-card:hover .why-icon {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px var(--primary-glow);
  transform: scale(1.06);
}

.why-chip {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.why-chip i {
  color: var(--primary);
  font-size: 10px;
}

.why-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.why-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.why-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.why-spec-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-body);
}

.why-spec-item i {
  color: #10b981;
  font-size: 12px;
  flex-shrink: 0;
}

/* Bottom Telemetry & Trust Bar */
.why-trust-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 32px;
  box-shadow: var(--shadow-xs);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.why-trust-item:not(:last-child) {
  border-right: 1px solid var(--border-color);
  padding-right: 20px;
}

.why-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.why-trust-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.why-trust-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 991px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-trust-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 20px;
  }
  .why-trust-item:nth-child(2) {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  .why-trust-bar {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .why-trust-item {
    border-right: none !important;
    padding-right: 0 !important;
  }
}

.features-highlight-section {
  padding: 80px 0;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.features-4col-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.infra-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-xs);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.infra-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.infra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary-border);
  border-color: var(--primary);
}

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

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

.infra-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.infra-card:hover .infra-icon {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px var(--primary-glow);
  transform: scale(1.05);
}

.infra-chip {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.infra-chip i {
  color: var(--primary);
  font-size: 9px;
}

.infra-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}

.infra-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.infra-spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.infra-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-body);
}

.infra-spec-item i {
  color: #10b981;
  font-size: 11px;
  flex-shrink: 0;
}

/* ==========================================================================
   Your Account / Client Portal Quick Hub
   Senior UI Architecture: Modern Node Dashboards with Status Indicators & Hover Arrows
   ========================================================================== */
.client-hub-section {
  padding: 80px 0;
  background-color: var(--bg-body);
  position: relative;
}

.client-hub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.client-hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.client-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary-border);
  border-color: var(--primary);
}

.client-hub-card:hover::before {
  opacity: 1;
}

.client-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.client-hub-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.client-hub-card:hover .client-hub-icon-wrap {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px var(--primary-glow);
  transform: scale(1.05);
}

.client-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary-border);
  white-space: nowrap;
}

.client-hub-badge.badge-active {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.client-hub-badge.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
}

.client-hub-badge.badge-info {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

.client-hub-badge.badge-success {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.client-hub-badge.badge-neutral {
  background: var(--bg-alt);
  color: var(--text-muted);
  border-color: var(--border-color);
}

.client-hub-title {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 5px;
  line-height: 1.3;
}

.client-hub-card:hover .client-hub-title {
  color: var(--primary);
}

.client-hub-subtext {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 16px;
  flex-grow: 1;
}

.client-hub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.client-hub-arrow {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.client-hub-card:hover .client-hub-arrow {
  transform: translateX(4px);
}

/* Dark Mode Enhancements for Infrastructure and Client Hub */
[data-mode="dark"] .infra-chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

[data-mode="dark"] .client-hub-badge.badge-active,
[data-mode="dark"] .client-hub-badge.badge-success {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.28);
}

[data-mode="dark"] .client-hub-badge.badge-neutral {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Modern Footer (Retaining 20X Blue Bottom & WHMCS Attribution)
   ========================================================================== */
.site-footer {
  background-color: #070d1e !important;
  color: #94a3b8;
  padding-top: 56px;
  position: relative;
  border-top: 1px solid var(--border-color);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 14px;
  margin-bottom: 18px;
  color: #94a3b8;
}

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

.social-circle-btn {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: var(--transition-fast);
}

.social-circle-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

.footer-col-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links-list a {
  color: #94a3b8;
  font-size: 12.5px;
  transition: var(--transition-fast);
}

.footer-links-list a:hover {
  color: #ffffff;
  padding-left: 3px;
}

/* Signature Bottom Bar (Dynamic Brand Accent Color) */
.footer-bottom-royal-bar {
  background: var(--primary) !important;
  color: #ffffff !important;
  padding: 18px 0;
  font-size: 13px;
  transition: background-color 0.25s ease, background 0.25s ease;
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy-text {
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 500;
}

.footer-copy-text strong {
  color: #ffffff !important;
  font-weight: 800;
}

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

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.footer-legal-links a:hover {
  color: #ffffff !important;
  text-decoration: none !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.footer-actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-currency-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lang-currency-pill:hover {
  background: rgba(255, 255, 255, 0.25);
}

.whmcs-attribution-bar {
  background-color: #040813 !important;
  color: #64748b;
  text-align: center;
  padding: 9px 0;
  font-size: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Floating Live Chat Widget Button & Popup
   ========================================================================== */
.floating-chat-widget-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 16px var(--primary-glow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 999;
  transition: var(--transition-base);
}

.floating-chat-widget-btn:hover {
  transform: scale(1.06);
}

.chat-online-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.chat-popup-window {
  position: fixed;
  bottom: 88px;
  right: 24px;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.2s ease;
}

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

.chat-popup-window.active {
  display: flex;
}

.chat-popup-header {
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  background: #ffffff;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.chat-header-text h5 {
  font-size: 13.5px;
  font-weight: 700;
}

.chat-header-text p {
  font-size: 10.5px;
  opacity: 0.9;
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
}

.chat-popup-body {
  padding: 16px;
  height: 220px;
  overflow-y: auto;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
}

.chat-bubble {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  max-width: 85%;
  line-height: 1.4;
}

.chat-bubble.bot {
  background: var(--bg-card);
  color: var(--text-main);
  align-self: flex-start;
  border: 1px solid var(--border-color);
}

.chat-popup-footer {
  padding: 10px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 6px;
}

.chat-popup-footer input {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xs);
  padding: 7px 10px;
  font-size: 12.5px;
  outline: none;
}

.chat-popup-footer button {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-xs);
  padding: 7px 12px;
  cursor: pointer;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-description {
    max-width: 100%;
  }

  .quick-access-section {
    margin-top: -55px;
    margin-bottom: -55px;
  }

  .quick-access-bar {
    grid-template-columns: repeat(5, 1fr);
    padding: 12px 10px;
  }

  .quick-action-card {
    padding: 10px 8px;
  }

  .quick-action-icon-wrap {
    width: 44px;
    height: 44px;
    font-size: 17px;
    margin-bottom: 8px;
  }

  .quick-action-title {
    font-size: 12.5px;
  }

  .quick-action-sub {
    font-size: 10.5px;
  }

  .products-display-wrapper.view-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-display-wrapper.view-list .service-product-card {
    grid-template-columns: 210px 1fr 170px 145px;
    gap: 14px;
    padding: 18px 20px;
  }

  .products-display-wrapper.view-list .card-features-list {
    padding: 0 12px;
    gap: 6px 14px;
  }

  .products-display-wrapper.view-list .service-card-title {
    font-size: 16.5px;
  }

  .products-display-wrapper.view-list .card-price-block {
    min-width: 160px;
  }

  .products-display-wrapper.view-list .card-price-val {
    font-size: 20px;
  }

  .products-display-wrapper.view-list .card-price-val .period {
    font-size: 10.5px;
  }

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

  .client-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow-xl);
  }

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

  .mobile-toggle {
    display: block;
  }

  .hero-section {
    padding-bottom: 80px;
  }

  .hero-title {
    font-size: 32px;
  }

  .quick-access-section {
    margin-top: -45px;
    margin-bottom: -45px;
  }

  .quick-access-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border-color);
    padding: 1px;
    border-radius: var(--radius-lg);
  }

  .quick-action-card {
    background: var(--bg-card);
    border-right: none;
    padding: 14px 10px;
  }

  .quick-action-card:last-child {
    grid-column: span 2;
  }

  .domain-search-section {
    padding-top: 85px;
  }

  .domain-section-title {
    font-size: 26px;
  }

  .domain-unified-search-row {
    flex-direction: column;
    align-items: stretch;
  }

  .products-display-wrapper.view-grid {
    grid-template-columns: 1fr;
  }

  .products-display-wrapper.view-list .service-product-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
  }

  .products-display-wrapper.view-list .card-header-group {
    width: 100%;
  }

  .products-display-wrapper.view-list .card-features-list {
    grid-template-columns: 1fr;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
  }

  .products-display-wrapper.view-list .card-price-block {
    text-align: left;
  }

  .products-display-wrapper.view-list .card-price-val {
    justify-content: flex-start;
  }

  .products-display-wrapper.view-list .card-action-btn {
    width: 100%;
  }

  .features-4col-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 480px) {
  .quick-access-section {
    margin-top: -36px;
    margin-bottom: -36px;
  }

  .quick-action-card {
    padding: 10px 6px;
  }

  .quick-action-icon-wrap {
    width: 38px;
    height: 38px;
    font-size: 15px;
    margin-bottom: 6px;
  }

  .quick-action-title {
    font-size: 11.5px;
  }

  .quick-action-sub {
    font-size: 9.5px;
  }
}

/* ==========================================================================
   WHAT OUR CUSTOMERS SAY (Testimonials Section - Human Written Reviews)
   ========================================================================== */
.testimonials-section {
  padding: 84px 0;
  background-color: var(--bg-body);
  position: relative;
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary-border);
}

.testimonial-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  font-size: 13px;
}

.verified-client-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid #a7f3d0;
}

.testimonial-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 22px;
  flex-grow: 1;
  font-style: normal;
}

.testimonial-author-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  flex-shrink: 0;
}

.author-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.author-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   FREQUENTLY ASKED QUESTIONS (FAQ Accordion Section)
   ========================================================================== */
.faq-section {
  padding: 84px 0;
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.faq-accordion-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover {
  border-color: var(--primary-border);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: 0 4px 18px var(--primary-glow);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  gap: 14px;
  transition: color 0.15s ease;
}

.faq-question-btn:hover {
  color: var(--primary);
}

.faq-chevron-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.25s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.faq-item.active .faq-answer-panel {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ==========================================================================
   HOMEPAGE 2 (Tech Edge & Matrix Style Variants)
   ========================================================================== */
.hero-variant-2 {
  position: relative;
  padding: 72px 0 100px;
  background: 
    radial-gradient(ellipse 900px 500px at 50% 0%, var(--primary-light) 0%, transparent 60%),
    var(--bg-body);
  text-align: center;
  overflow: hidden;
}

.hero-v2-container {
  max-width: 860px;
  margin: 0 auto;
}

.hero-v2-title {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 20px;
}

.hero-v2-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 34px;
}

.hero-v2-domain-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 6px 8px 6px 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 12px 36px -6px rgba(0, 0, 0, 0.1);
  margin: 0 auto 34px;
  max-width: 680px;
}

.hero-v2-domain-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
  color: var(--text-main);
}

.hero-v2-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
}

.hero-v2-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-body);
}

.hero-v2-spec-pill i {
  color: var(--primary);
}

/* ==========================================================================
   HOMEPAGE 3 (Minimalist SaaS & Enterprise Slider Variants)
   ========================================================================== */
.hero-variant-3 {
  padding: 72px 0 90px;
  background: var(--bg-body);
}

.hero-v3-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.calc-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.calc-tier-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.calc-slider-group {
  margin-bottom: 22px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.calc-slider-header span.val {
  color: var(--primary);
  font-family: var(--font-mono);
}

.calc-range-input {
  width: 100%;
  height: 6px;
  background: var(--bg-alt);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  accent-color: var(--primary);
}

.calc-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.calc-price-large {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-main);
}

.calc-price-large span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   WHMCS CLIENT AREA & PORTAL ARCHITECTURE
   Dashboard, Tables, Auth, Forms, Tickets, Invoices, Domains, Knowledgebase
   ========================================================================== */

/* Breadcrumb Sub-Header */
.whmcs-sub-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 24px 0;
}

.whmcs-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.whmcs-page-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.whmcs-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.whmcs-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.whmcs-breadcrumbs a:hover {
  color: var(--primary);
}

.whmcs-breadcrumbs span.divider {
  color: var(--border-color);
}

.whmcs-main-wrapper {
  padding: 40px 0 80px;
  background-color: var(--bg-body);
  min-height: 70vh;
}

/* Client Dashboard Stat Counters */
.client-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.22s ease;
}

.stat-tile:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.stat-info .stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-info .stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-tile-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.stat-tile-icon.blue { background: var(--primary-light); color: var(--primary); }
.stat-tile-icon.green { background: #ecfdf5; color: #10b981; }
.stat-tile-icon.amber { background: #fffbeb; color: #f59e0b; }
.stat-tile-icon.rose { background: #fff1f2; color: #f43f5e; }

/* Modern WHMCS Table Wrapper */
.whmcs-table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: visible;
  margin-bottom: 28px;
}

.table-toolbar {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
}

.table-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 13px;
  width: 260px;
}

.table-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-main);
  width: 100%;
}

.table-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-select {
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-main);
  outline: none;
}

.modern-table-responsive {
  width: 100%;
  overflow-x: auto;
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.modern-table th {
  background: var(--bg-alt);
  padding: 12px 18px;
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.modern-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-body);
  vertical-align: middle;
}

.modern-table tbody tr:hover {
  background: rgba(var(--primary-rgb), 0.02);
}

.modern-table tbody tr:last-child td {
  border-bottom: none;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  text-transform: capitalize;
  white-space: nowrap;
}

.status-pill.status-active,
.status-pill.status-paid,
.status-pill.status-closed {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.status-pill.status-pending,
.status-pill.status-customer-reply {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.status-pill.status-unpaid,
.status-pill.status-suspended {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.status-pill.status-open {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

/* Priority Badges */
.priority-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
}

.priority-pill.high { background: #fee2e2; color: #b91c1c; }
.priority-pill.medium { background: #fef3c7; color: #92400e; }
.priority-pill.low { background: #f1f5f9; color: #475569; }

/* Table Pagination / Footer */
.table-pagination-footer {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  font-size: 12.5px;
  color: var(--text-muted);
}

.pagination-btn-group {
  display: flex;
  gap: 4px;
}

.page-btn {
  padding: 5px 11px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.page-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* ==========================================================================
   Elevated Modern Invoice & Billing UI (Senior SaaS Architecture)
   ========================================================================== */
.invoice-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.invoice-metrics-grid .metric-card-label {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}

.invoice-metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96px;
}

.invoice-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border-color: rgba(var(--primary-rgb), 0.35);
}

.invoice-metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}

.invoice-metric-card.unpaid::before { background: #ef4444; }
.invoice-metric-card.paid::before { background: #10b981; }
.invoice-metric-card.credit::before { background: var(--primary); }
.invoice-metric-card.spend::before { background: #f59e0b; }

.metric-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.metric-card-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 6px;
}

.metric-badge-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: transform 0.2s ease;
}

.invoice-metric-card:hover .metric-badge-icon {
  transform: scale(1.06);
}

.metric-badge-icon.red {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.metric-badge-icon.green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.metric-badge-icon.blue {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
}

.metric-badge-icon.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.metric-card-value {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.metric-card-value .currency-code {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.metric-card-value.highlight-red {
  color: #ef4444;
}

.metric-card-value.highlight-green {
  color: #10b981;
}

.metric-card-bottom {
  display: none !important;
}

[data-mode="dark"] .metric-card-bottom {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.metric-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.metric-tag-pill.danger {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.metric-tag-pill.success {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.metric-tag-pill.primary {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
}

.metric-tag-pill.neutral {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-muted);
}

.metric-action-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.15s ease;
}

.metric-action-link:hover {
  transform: translateX(2px);
  text-decoration: underline;
}

/* Modern Invoices Table Tweaks */
.invoice-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.invoice-table th {
  background: var(--bg-alt);
  padding: 14px 18px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.invoice-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.invoice-table tbody tr {
  transition: background 0.18s ease;
}

.invoice-table tbody tr:hover {
  background: rgba(var(--primary-rgb), 0.025);
}

.invoice-table tbody tr.row-unpaid {
  background: rgba(239, 68, 68, 0.025);
}

.invoice-table tbody tr.row-unpaid:hover {
  background: rgba(239, 68, 68, 0.05);
}

.inv-id-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inv-id-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.inv-id-icon.unpaid {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.inv-id-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: inline-block;
  transition: color 0.15s ease;
}

.inv-id-title:hover {
  text-decoration: underline;
}

.inv-id-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.inv-date-cell {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
}

.inv-due-cell {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.inv-due-cell.danger {
  color: #ef4444;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.inv-due-cell.muted {
  color: var(--text-muted);
}

.inv-amount-cell {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
}

.inv-amount-cell .currency {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}

.payment-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-body);
  white-space: nowrap;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 6px;
}

.payment-chip i.fa-cc-visa {
  color: #1e40af;
  font-size: 15px;
}

.payment-chip i.fa-paypal {
  color: #0284c7;
  font-size: 14px;
}

.payment-chip i.fa-stripe {
  color: #635bff;
  font-size: 18px;
}

.payment-chip i.fa-credit-card {
  color: var(--primary);
  font-size: 13px;
}

.inv-action-flex {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.btn-pdf-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-pdf-download:hover {
  background: var(--bg-alt);
  border-color: var(--text-muted);
  color: var(--primary);
  transform: translateY(-1px);
}

.btn-pay-highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff !important;
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(var(--primary-rgb), 0.3);
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-pay-highlight:hover {
  box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.45);
  transform: translateY(-1px);
}

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

@media (max-width: 576px) {
  .invoice-metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   AUTHENTICATION PAGES (Login, Register, Password Reset)
   ========================================================================== */
.auth-page-wrapper {
  padding: 60px 0 90px;
  background-color: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.auth-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  box-shadow: var(--shadow-lg);
}

.auth-card.auth-card-wide {
  max-width: 720px;
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header .auth-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.auth-header .auth-sub {
  font-size: 14px;
  color: var(--text-muted);
}

.auth-form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--border-focus);
}

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

.form-actions-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13px;
}

.auth-btn-full {
  width: 100%;
  padding: 12px;
  font-size: 15px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  font-size: 13.5px;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   KNOWLEDGEBASE PAGES
   ========================================================================== */
.kb-hero {
  padding: 56px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.kb-search-container {
  max-width: 620px;
  margin: 22px auto 0;
  position: relative;
}

.kb-search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.kb-search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--border-focus);
}

.kb-search-icon {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}

.kb-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.kb-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-xs);
  transition: all 0.22s ease;
}

.kb-category-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.kb-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.kb-cat-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.kb-cat-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
}

.kb-cat-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
  display: inline-block;
}

/* ==========================================================================
   Dark Mode Overrides for Testimonials, FAQ, Client Area
   ========================================================================== */
[data-mode="dark"] .verified-client-badge {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}

[data-mode="dark"] .faq-item {
  background: var(--bg-card);
  border-color: var(--border-color);
}

[data-mode="dark"] .faq-chevron-icon {
  background: rgba(255, 255, 255, 0.08);
}

[data-mode="dark"] .status-pill.status-active,
[data-mode="dark"] .status-pill.status-paid,
[data-mode="dark"] .status-pill.status-closed {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.28);
}

[data-mode="dark"] .status-pill.status-pending {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.28);
}

[data-mode="dark"] .status-pill.status-unpaid {
  background: rgba(220, 38, 38, 0.14);
  color: #f87171;
  border-color: rgba(220, 38, 38, 0.28);
}

[data-mode="dark"] .stat-tile-icon.green { background: rgba(16, 185, 129, 0.15); color: #34d399; }
[data-mode="dark"] .stat-tile-icon.amber { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
[data-mode="dark"] .stat-tile-icon.rose { background: rgba(244, 63, 94, 0.15); color: #fb7185; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kb-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-v3-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .client-stat-grid {
    grid-template-columns: 1fr;
  }
  .kb-categories-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HOME 2: CLOUD SERVERS & BENTO GRID LAYOUT
   High-Performance Compute & Cloud Infrastructure Presentation
   ========================================================================== */
.h2-hero {
  padding: 105px 0 85px;
  background-color: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Hosting-related background image with subtle/less opacity */
.h2-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/datacenter-blueprint-bg.webp');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

[data-mode="dark"] .h2-hero::before {
  opacity: 0.14;
}

/* High-tech lighting & vignette overlay */
.h2-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 25%, rgba(var(--primary-rgb), 0.20) 0%, transparent 65%),
              linear-gradient(180deg, transparent 40%, var(--bg-body) 100%);
  pointer-events: none;
  z-index: 2;
}

.h2-hero .container {
  position: relative;
  z-index: 3;
}

.h2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.h2-hero-title {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 16px;
}

.h2-hero-title span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.h2-hero-lead {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.h2-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* Trust & Telemetry Infrastructure Metric Strip */
.h2-hero-stats {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  margin: 10px auto 0;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 100%;
}

.h2-stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.h2-stat-item i {
  color: var(--primary);
  font-size: 18px;
  filter: drop-shadow(0 2px 6px rgba(var(--primary-rgb), 0.35));
}

.h2-stat-item strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}

.h2-stat-item span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.h2-stat-divider {
  width: 1px;
  height: 28px;
  background: var(--border-color);
}

/* ==========================================================================
   Home 2: Interactive 4-Services Banner Showcase Slider
   ========================================================================== */
.h2-services-slider,
.h3-services-slider {
  max-width: 1040px;
  margin: 34px auto 36px;
  position: relative;
}

/* Service Selector Tabs */
.h2-slider-tabs,
.h3-slider-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.h2-slider-tab,
.h3-slider-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.h2-slider-tab:hover,
.h3-slider-tab:hover {
  color: var(--text-main);
  border-color: var(--primary-border);
  background: rgba(var(--primary-rgb), 0.08);
}

.h2-slider-tab.active,
.h3-slider-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.35);
}

.h2-slider-tab.active i,
.h3-slider-tab.active i {
  color: #ffffff;
}

/* Slider Card Wrapper */
.h2-slider-card,
.h3-slider-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Slide Arrows */
.h2-slider-arrow,
.h3-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-md);
}

.h2-slider-arrow:hover,
.h3-slider-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.4);
}

.h2-slider-arrow.prev,
.h3-slider-arrow.prev {
  left: 14px;
}

.h2-slider-arrow.next,
.h3-slider-arrow.next {
  right: 14px;
}

/* Slides Viewport & Track */
.h2-slides-viewport,
.h3-slides-viewport {
  overflow: hidden;
  width: 100%;
}

.h2-slides-track,
.h3-slides-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.h2-service-slide,
.h3-service-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 38px 58px;
  box-sizing: border-box;
}

.h2-slide-grid,
.h3-slide-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.h2-slide-content,
.h3-slide-content {
  text-align: left;
}

.h2-slide-tag,
.h3-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  margin-bottom: 12px;
}

.h2-slide-title,
.h3-slide-title {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.h2-slide-desc,
.h3-slide-desc {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 18px;
}

.h2-slide-features,
.h3-slide-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.h2-slide-features li,
.h3-slide-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-main);
}

.h2-slide-features li i,
.h3-slide-features li i {
  color: #10b981;
  font-size: 15px;
  flex-shrink: 0;
}

.h2-slide-footer,
.h3-slide-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.h2-slide-pricing .price-prefix,
.h3-slide-pricing .price-prefix {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.h2-slide-pricing .price-value,
.h3-slide-pricing .price-value {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.h2-slide-pricing .price-value span,
.h3-slide-pricing .price-value span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.h2-slide-actions,
.h3-slide-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Slide Visual Illustration */
.h2-slide-visual,
.h3-slide-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.h2-slide-img,
.h3-slide-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease;
  border: 1px solid var(--border-color);
}

.h2-slide-img:hover,
.h3-slide-img:hover {
  transform: translateY(-4px) scale(1.02);
}

/* Dots */
.h2-slider-dots,
.h3-slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-alt);
}

.h2-dot,
.h3-dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-pill);
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.25s ease;
}

.h2-dot.active,
.h3-dot.active {
  width: 24px;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.4);
}

/* H2 Quick Categories: Sleek Glass Strip */
.h2-categories-section {
  padding: 40px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
}

.h2-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.h2-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.h2-cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.h2-cat-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.h2-cat-title {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 2px;
}

.h2-cat-price {
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
}

/* ==========================================================================
   HOMEPAGE 2: HIGH-TECH DARK GRADIENT DOMAIN SECTION
   ========================================================================== */
.h2-domain-section {
  padding: 80px 0 88px;
  background: radial-gradient(circle at 50% -20%, rgba(var(--primary-rgb), 0.38) 0%, transparent 65%),
              radial-gradient(circle at 85% 110%, rgba(99, 102, 241, 0.16) 0%, transparent 50%),
              linear-gradient(180deg, #070d1e 0%, #0b162f 50%, #080e22 100%) !important;
  color: #f8fafc !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  position: relative;
  overflow: hidden;
}

.h2-domain-section h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.h2-domain-section p {
  color: #94a3b8 !important;
}

.h2-domain-section .section-subtitle-pill {
  background: rgba(var(--primary-rgb), 0.18) !important;
  border-color: rgba(var(--primary-rgb), 0.4) !important;
  color: #60a5fa !important;
}

.h2-domain-card {
  background: rgba(15, 23, 42, 0.82) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: var(--radius-xl);
  padding: 38px 32px;
  box-shadow: 0 24px 56px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(var(--primary-rgb), 0.18) !important;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.h2-domain-form,
.h3-domain-form {
  display: flex;
  gap: 10px;
  margin: 22px auto 16px;
  max-width: 760px;
}

.h2-domain-input {
  flex-grow: 1;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(2, 6, 23, 0.75) !important;
  color: #ffffff !important;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  outline: none;
}

.h2-domain-input:focus {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.35) !important;
}

.h2-domain-section .btn-outline {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  transition: all 0.2s ease !important;
}

.h2-domain-section .btn-outline:hover {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #ffffff !important;
}

.h2-domain-section .btn-outline:hover i,
.h2-domain-section .btn-outline:hover span,
.h2-domain-section .btn-outline:hover svg {
  color: #ffffff !important;
  fill: #ffffff !important;
}

.h2-tld-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.h2-tld-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  font-size: 12.5px;
  font-weight: 700;
  color: #e2e8f0 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.h2-tld-pill span {
  color: #38bdf8 !important;
}

.h2-tld-pill:hover {
  background: rgba(var(--primary-rgb), 0.25) !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
}

/* H2 Bento Box Grid for All 6 Services (clean bg-body with borders) */
.h2-bento-section {
  padding: 80px 0;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
}

.h2-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.h2-bento-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.h2-bento-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 30px var(--primary-glow);
}

.h2-bento-item.span-2 {
  grid-column: span 2;
}

.h2-bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.h2-bento-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.h2-bento-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.h2-bento-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.h2-bento-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin-bottom: 20px;
  font-size: 12.5px;
  color: var(--text-body);
}

.h2-bento-item.span-2 .h2-bento-specs {
  grid-template-columns: repeat(3, 1fr);
}

.h2-bento-specs div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.h2-bento-specs i {
  color: #10b981;
  font-size: 11px;
}

.h2-bento-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.h2-bento-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
}

.h2-bento-price small {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   HOME 3: ENTERPRISE MINIMALIST & PRECISION CONFIGURATOR
   Executive, Clean, High-Trust, Dynamic Slider Configurator
   ========================================================================== */
.h3-hero {
  padding: 80px 0 70px;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border-color);
}

.h3-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.h3-hero-left h1 {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 16px;
}

.h3-hero-left p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.h3-hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
}

.h3-trust-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--text-main);
}

.h3-trust-chip i {
  color: #10b981;
}

/* ==========================================================================
   Home 3: Modern Right-Side Banner Slider (Compact & Professional)
   ========================================================================== */
.h3-banner-slider-col {
  width: 100%;
  max-width: 530px;
  margin-left: auto;
}

.h3-banner-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(var(--primary-rgb), 0.06);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.h3-banner-card:hover {
  border-color: var(--primary-border);
  box-shadow: 0 20px 48px -10px rgba(var(--primary-rgb), 0.22), 0 0 0 1px var(--primary-border);
}

.h3-banner-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 22px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
}

.h3-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.h3-banner-viewport {
  overflow: hidden;
  width: 100%;
}

.h3-banner-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.h3-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 24px 24px 20px;
  box-sizing: border-box;
}

.h3-slide-head {
  display: block;
  margin-bottom: 16px;
}

.h3-slide-info {
  width: 100%;
}

.h3-slide-category {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid var(--primary-border);
  margin-bottom: 8px;
}

.h3-slide-category i {
  color: var(--primary);
  font-size: 12px;
}


.h3-slide-name {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.25;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.h3-slide-brief {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.h3-slide-bullets {
  list-style: none;
  padding: 12px 14px;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(var(--primary-rgb), 0.035);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
}

.h3-slide-bullets li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.4;
}

.h3-slide-bullets li i {
  color: #10b981;
  font-size: 14px;
  flex-shrink: 0;
}

.h3-slide-bullets li strong {
  color: var(--text-main);
}

.h3-slide-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.h3-slide-rate {
  display: flex;
  flex-direction: column;
}

.h3-slide-rate-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.h3-slide-rate-amount {
  font-size: 23px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}

.h3-slide-rate-amount small {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.h3-slide-btn {
  white-space: nowrap;
  font-weight: 800;
  padding: 10px 22px;
  font-size: 13px;
  border-radius: var(--radius-pill);
}

.h3-banner-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
}

.h3-nav-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.h3-nav-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: scale(1.08);
}

.h3-nav-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.h3-nav-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.25s ease;
}

.h3-nav-dot.active {
  width: 20px;
  background: var(--primary);
  box-shadow: 0 2px 6px rgba(var(--primary-rgb), 0.4);
}

/* ==========================================================================
   HOMEPAGE 3: REFINED 4-SERVICE QUICK STRIP
   ========================================================================== */
.h3-strip-section {
  padding: 30px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 5;
}

.h3-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.h3-strip-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-main);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.h3-strip-item:hover {
  transform: translateY(-3px);
  background: var(--bg-card);
  border-color: var(--primary);
  box-shadow: 0 10px 24px -4px rgba(var(--primary-rgb), 0.16), 0 0 0 1px var(--primary-border);
}

.h3-strip-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.12) 0%, rgba(var(--primary-rgb), 0.04) 100%);
  border: 1px solid var(--primary-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 19px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.h3-strip-item:hover .h3-strip-icon-box {
  background: var(--primary-gradient);
  color: #ffffff;
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.35);
}

.h3-strip-content {
  flex-grow: 1;
  min-width: 0;
}

.h3-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.h3-strip-title {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.2;
}

.h3-strip-arrow {
  color: var(--primary);
  font-size: 11px;
  opacity: 0.3;
  transform: translateX(-4px);
  transition: all 0.2s ease;
}

.h3-strip-item:hover .h3-strip-arrow {
  opacity: 1;
  transform: translateX(0);
}

.h3-strip-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.h3-strip-price {
  font-weight: 700;
  color: var(--primary);
}

.h3-strip-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-pill);
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
  border: 1px solid rgba(var(--primary-rgb), 0.14);
}

/* ==========================================================================
   HOMEPAGE 3: HIGH-TECH DARK GRADIENT DOMAIN SEARCH CONSOLE
   ========================================================================== */
.h3-domain-section {
  position: relative;
  padding: 82px 0 90px;
  background: radial-gradient(circle at 50% -15%, rgba(var(--primary-rgb), 0.38) 0%, transparent 65%),
              radial-gradient(circle at 85% 115%, rgba(139, 92, 246, 0.16) 0%, transparent 50%),
              linear-gradient(180deg, #070c1d 0%, #0c1630 50%, #080d1e 100%) !important;
  color: #f8fafc !important;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.h3-domain-section h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.h3-domain-section p {
  color: #94a3b8 !important;
}

.h3-domain-section .section-subtitle-pill {
  background: rgba(var(--primary-rgb), 0.18) !important;
  border-color: rgba(var(--primary-rgb), 0.4) !important;
  color: #60a5fa !important;
}

.h3-domain-container {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.h3-domain-search-card {
  margin: 28px auto 20px;
  background: rgba(15, 23, 42, 0.88) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--radius-xl);
  padding: 8px 8px 8px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(var(--primary-rgb), 0.22) !important;
  transition: all 0.3s ease;
}

.h3-domain-search-card:focus-within {
  border-color: var(--primary) !important;
  box-shadow: 0 22px 54px -8px rgba(var(--primary-rgb), 0.38), 0 0 0 4px rgba(var(--primary-rgb), 0.2) !important;
}

.h3-domain-search-icon {
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}

.h3-domain-input {
  flex-grow: 1;
  border: none !important;
  background: transparent !important;
  outline: none !important;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  padding: 10px 0;
  box-shadow: none !important;
}

.h3-domain-input::placeholder {
  color: #64748b !important;
  font-weight: 400;
}

.h3-domain-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.h3-domain-btn-search {
  padding: 13px 26px !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  border-radius: var(--radius-lg) !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.h3-domain-btn-transfer {
  padding: 13px 22px !important;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  border-radius: var(--radius-lg) !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  transition: all 0.2s ease !important;
}

.h3-domain-btn-transfer:hover {
  border-color: var(--primary) !important;
  color: #ffffff !important;
  background: var(--primary) !important;
}

/* Interactive TLD Price Pills */
.h3-tld-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.h3-tld-pill {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: #f1f5f9 !important;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.h3-tld-pill .tld-name {
  color: #ffffff !important;
  font-weight: 800;
}

.h3-tld-pill .tld-price {
  color: #38bdf8 !important;
  font-weight: 800;
}

.h3-tld-pill .tld-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.h3-tld-pill .tld-tag.hot {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

.h3-tld-pill .tld-tag.sale {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.h3-tld-pill:hover,
.h3-tld-pill.active {
  border-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(var(--primary-rgb), 0.45) !important;
  background: rgba(var(--primary-rgb), 0.28) !important;
}

/* Feature perks row */
.h3-domain-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #94a3b8 !important;
}

.h3-domain-perk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8 !important;
}

.h3-domain-perk i {
  color: #34d399 !important;
  font-size: 13px;
}

@media (max-width: 768px) {
  .h3-domain-search-card {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  .h3-domain-search-icon {
    display: none;
  }
  .h3-domain-input {
    width: 100%;
    text-align: center;
  }
  .h3-domain-btn-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .h3-domain-btn-search,
  .h3-domain-btn-transfer {
    width: 100%;
    justify-content: center;
    padding: 12px 14px !important;
    font-size: 13.5px !important;
  }
  .h3-domain-perks {
    gap: 12px;
    font-size: 11.5px;
  }
}

@media (max-width: 480px) {
  .h3-domain-btn-group {
    grid-template-columns: 1fr;
  }
}

/* H3 Comparison Matrix Table */
.h3-matrix-section {
  padding: 80px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Alternating Section Background Classes for H2 & H3 */
.section-bg-alt {
  background-color: var(--bg-alt) !important;
  border-top: 1px solid var(--border-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.section-bg-body {
  background-color: var(--bg-body) !important;
  border-top: 1px solid transparent !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.h3-matrix-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  font-size: 13.5px;
}

.h3-matrix-table th {
  background: var(--bg-alt);
  padding: 16px 20px;
  font-weight: 800;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.h3-matrix-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.h3-matrix-table tr:hover {
  background: rgba(var(--primary-rgb), 0.02);
}

.h3-matrix-table tr:last-child td {
  border-bottom: none;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .h2-cat-grid,
  .h3-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .h2-bento-grid {
    grid-template-columns: 1fr;
  }
  .h2-bento-item.span-2 {
    grid-column: span 1;
  }
  .h3-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .h2-cat-grid,
  .h3-strip-grid {
    grid-template-columns: 1fr;
  }
  .h2-hero-title,
  .h3-hero-left h1 {
    font-size: 32px;
  }
}

/* ==========================================================================
   NATIVE WHMCS CLIENT AREA COMPONENTS & UI ARCHITECTURE
   ========================================================================== */

/* User Menu Dropdown (Top Right Header) */
.user-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.user-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 6px 14px 6px 8px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-menu-btn:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.user-avatar-sm {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

.user-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 250px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 1000;
  display: none;
  animation: fadeInDown 0.18s ease;
}

.user-dropdown-wrapper:hover .user-dropdown-menu,
.user-dropdown-wrapper:focus-within .user-dropdown-menu,
.user-dropdown-menu.show {
  display: block;
}

.user-dropdown-header {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.user-dropdown-header strong {
  font-size: 14px;
  color: var(--text-main);
}

.user-dropdown-header span {
  font-size: 12px;
  color: var(--text-muted);
}

.user-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.user-dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.user-dropdown-menu a i {
  width: 16px;
  font-size: 13px;
  color: var(--primary);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 6px 0;
}

.user-dropdown-menu a.logout-link {
  color: #ef4444;
}

.user-dropdown-menu a.logout-link i {
  color: #ef4444;
}

.user-dropdown-menu a.logout-link:hover {
  background: #fef2f2;
}

/* ==========================================================================
   WHMCS 2-COLUMN DASHBOARD LAYOUT (Standard Client Area)
   ========================================================================== */
.whmcs-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 2.3fr;
  gap: 24px;
  align-items: start;
}

.whmcs-dashboard-grid > .dashboard-sidebar {
  order: 1;
}

.whmcs-dashboard-grid > .dashboard-main {
  order: 2;
  min-width: 0;
}

.dashboard-alert-banner {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  font-size: 13.5px;
  color: #92400e;
}

.dashboard-alert-banner.alert-danger {
  background: #fef2f2;
  border-color: #fecaca;
  border-left-color: #ef4444;
  color: #991b1b;
}

.whmcs-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
  overflow: hidden;
}

.whmcs-panel-header {
  padding: 14px 20px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whmcs-panel-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.whmcs-panel-body {
  padding: 18px 20px;
}

/* Sidebar Widgets */
.shortcut-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.shortcut-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.15s ease, padding-left 0.15s ease;
}

.shortcut-item:last-child a {
  border-bottom: none;
}

.shortcut-item a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 18px;
}

.shortcut-item a i.icon-prefix {
  width: 20px;
  color: var(--primary);
}

/* ==========================================================================
   VIEW INVOICE PAGE (Exact WHMCS Printable Template)
   ========================================================================== */
.invoice-view-wrapper {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.invoice-header-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.invoice-status-stamp {
  font-size: 18px;
  font-weight: 900;
  padding: 6px 18px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
}

.stamp-unpaid {
  background: #fef2f2;
  color: #dc2626;
  border: 2px solid #dc2626;
}

.stamp-paid {
  background: #ecfdf5;
  color: #059669;
  border: 2px solid #059669;
}

.invoice-addresses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 30px;
  font-size: 13.5px;
  line-height: 1.6;
}

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

.invoice-table th {
  background: var(--bg-alt);
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.invoice-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 13.5px;
  color: var(--text-body);
}

.invoice-summary-box {
  margin-left: auto;
  max-width: 320px;
  margin-bottom: 30px;
}

.invoice-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--text-body);
}

.invoice-summary-row.total-row {
  border-top: 2px solid var(--border-color);
  font-size: 18px;
  font-weight: 900;
  color: var(--text-main);
  padding-top: 12px;
}

/* ==========================================================================
   CREDIT CARD / PAYMENT METHODS PAGE
   ========================================================================== */
.card-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.credit-card-tile {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.credit-card-tile.is-default {
  border-color: var(--primary);
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* ==========================================================================
   SUPPORT DEPARTMENT LIST PAGE
   ========================================================================== */
.dept-selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.dept-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  transition: all 0.22s ease;
  box-shadow: var(--shadow-xs);
}

.dept-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.dept-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

/* ==========================================================================
   KNOWLEDGEBASE SINGLE ARTICLE VIEW
   ========================================================================== */
.kb-article-container {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 32px;
  align-items: start;
}

.kb-article-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 38px;
  box-shadow: var(--shadow-xs);
  line-height: 1.7;
}

.kb-article-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin: 28px 0 12px;
}

.kb-article-body p {
  font-size: 14.5px;
  color: var(--text-body);
  margin-bottom: 16px;
}

.kb-code-box {
  background: #0f172a;
  color: #38bdf8;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  margin: 16px 0;
  overflow-x: auto;
}

.kb-feedback-box {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 32px;
  text-align: center;
}

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

@media (max-width: 1024px) {
  .whmcs-dashboard-grid,
  .kb-article-container,
  .dept-selection-grid,
  .card-methods-grid,
  .whmcs-layout-with-sidebar {
    grid-template-columns: 1fr;
  }

  .whmcs-dashboard-grid > .dashboard-main {
    order: 1;
  }

  .whmcs-dashboard-grid > .dashboard-sidebar {
    order: 2;
  }
}

/* ==========================================================================
   WHMCS NATIVE NAVIGATION & HEADER SEARCH BAR (IMAGE 1 & IMAGE 2 COMPLIANCE)
   ========================================================================== */

/* Search Toggle Button in Nav Actions */
.nav-icon-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
  font-size: 15px;
}

.nav-icon-btn:hover,
.nav-icon-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.nav-icon-btn .cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-card);
}

/* Slide-Down Search Bar Below Main Header */
.nav-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-bottom: 2px solid var(--primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  padding: 16px 0;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  pointer-events: none;
}

.nav-search-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search-form:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.nav-search-icon {
  color: var(--text-muted);
  font-size: 16px;
}

.nav-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14.5px;
  color: var(--text-main);
  padding: 8px 4px;
}

.nav-search-input::placeholder {
  color: var(--text-muted);
}

.nav-search-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  transition: color 0.15s ease;
}

.nav-search-close:hover {
  color: var(--text-main);
}

/* Native WHMCS Image 1 Logged-In User Button */
.whmcs-logged-as {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 13px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  text-decoration: none;
  user-select: none;
}

.whmcs-logged-as strong {
  color: var(--primary);
  font-weight: 800;
}

.whmcs-logged-as:hover {
  background: var(--primary-light);
  border-color: var(--primary-border);
}

.whmcs-logged-as i.icon-switch {
  color: var(--primary);
  font-size: 12px;
  margin-left: 2px;
}

/* ==========================================================================
   WHMCS STANDARD 2-COLUMN LAYOUT WITH SIDEBAR
   Used on: Services, Domains, Invoices, Tickets, Submit Ticket, Accounts
   ========================================================================== */
.whmcs-layout-with-sidebar {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

.whmcs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.whmcs-sidebar-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

.whmcs-sidebar-header {
  background: var(--bg-alt);
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.whmcs-sidebar-header i {
  color: var(--primary);
}

.whmcs-sidebar-body {
  padding: 16px 18px;
  font-size: 13.5px;
}

.whmcs-sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.whmcs-sidebar-menu li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.15s ease;
}

.whmcs-sidebar-menu li:last-child a {
  border-bottom: none;
}

.whmcs-sidebar-menu li a:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 22px;
}

.whmcs-sidebar-menu li.active a {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  border-left: 3px solid var(--primary);
}

.whmcs-sidebar-menu .badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-alt);
  color: var(--text-muted);
  padding: 2px 7px;
  border-radius: var(--radius-pill);
}

.whmcs-sidebar-menu li.active .badge,
.whmcs-sidebar-menu li a:hover .badge {
  background: var(--primary);
  color: #ffffff;
}

.whmcs-content-area {
  min-width: 0; /* Prevents overflow in CSS grid */
}

/* ==========================================================================
   DASHBOARD ENHANCEMENTS: OVERDUE, DOMAIN RENEWAL, SEARCH BOX & MARKETPLACE SLIDER
   ========================================================================== */

/* Overdue & Renewal Alert Banners */
.dashboard-alert-banner {
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  border: 1px solid transparent;
}

.dashboard-alert-banner.alert-overdue {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.dashboard-alert-banner.alert-warning {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.alert-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.alert-overdue .alert-icon-wrap {
  background: rgba(220, 38, 38, 0.15);
  color: #dc2626;
}

.alert-warning .alert-icon-wrap {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.alert-text {
  font-size: 13.5px;
  line-height: 1.5;
}

.alert-sub {
  display: block;
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}

.alert-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Quick Domain Search Box on Dashboard */
.dashboard-domain-search-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
}

.domain-search-header {
  margin-bottom: 16px;
}

.domain-search-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.domain-search-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.dashboard-domain-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.domain-input-group {
  display: flex;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px 8px 6px 16px;
  gap: 10px;
  transition: all 0.2s ease;
}

.domain-input-group:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.domain-input-icon {
  color: var(--text-muted);
  font-size: 16px;
}

.domain-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14.5px;
  color: var(--text-main);
  padding: 6px 0;
}

/* Bottom-Left Dashboard Domain Panel */
.dashboard-domain-panel {
  margin-top: 24px;
}

.domain-quick-search-form {
  margin: 0;
}

.domain-input-action-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px 8px 6px 14px;
  transition: all 0.2s ease;
}

.domain-input-action-bar:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.domain-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.domain-search-icon {
  color: var(--text-muted);
  font-size: 15px;
}

.domain-search-input-field {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  padding: 6px 0;
}

.domain-search-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .domain-input-action-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
  }
  .domain-search-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin-top: 6px;
  }
}

.domain-tld-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tld-pill {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tld-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.tld-ext {
  font-weight: 800;
  color: var(--text-main);
}

.tld-price {
  color: var(--primary);
  font-weight: 700;
}

.tld-sale {
  background: #dc2626;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
}

/* Recommended for You Marketplace Slider */
.marketplace-slider-section {
  margin-bottom: 28px;
}

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

.marketplace-slider-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

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

.marketplace-slider-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  gap: 18px;
  padding-bottom: 8px;
}

.marketplace-slider-container::-webkit-scrollbar {
  display: none;
}

.marketplace-card {
  min-width: 275px;
  max-width: 275px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-xs);
  transition: all 0.22s ease;
  position: relative;
  flex-shrink: 0;
}

.marketplace-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.market-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.market-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.market-card-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.market-card-badge.badge-featured {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

.market-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.3;
}

.market-card-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.market-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.market-card-price {
  font-size: 17px;
  font-weight: 900;
  color: var(--text-main);
}

.market-card-price span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   COMPREHENSIVE DARK MODE COMPONENT OVERRIDES
   Ensures cards, tables, inputs, sidebars, alerts and dropdowns look stunning
   ========================================================================== */
[data-mode="dark"] .dashboard-alert-banner.alert-overdue {
  background: rgba(220, 38, 38, 0.14);
  border-color: rgba(220, 38, 38, 0.35);
  color: #fca5a5;
}

[data-mode="dark"] .dashboard-alert-banner.alert-warning {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

[data-mode="dark"] .nav-icon-btn {
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

[data-mode="dark"] .nav-icon-btn:hover,
[data-mode="dark"] .nav-icon-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb), 0.15);
}

[data-mode="dark"] .nav-search-dropdown {
  background: var(--bg-card);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

[data-mode="dark"] .nav-search-form {
  background: var(--bg-alt);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-mode="dark"] .whmcs-logged-as {
  background: var(--bg-alt);
  border-color: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

[data-mode="dark"] .whmcs-logged-as:hover {
  background: rgba(var(--primary-rgb), 0.15);
  border-color: rgba(var(--primary-rgb), 0.4);
}

[data-mode="dark"] .whmcs-sidebar-panel,
[data-mode="dark"] .whmcs-table-card,
[data-mode="dark"] .dashboard-domain-search-panel,
[data-mode="dark"] .marketplace-card {
  background: var(--bg-card);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

[data-mode="dark"] .whmcs-sidebar-header {
  background: var(--bg-alt);
  border-color: var(--border-color);
  color: #f8fafc;
}

[data-mode="dark"] .whmcs-sidebar-menu li a {
  border-color: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

[data-mode="dark"] .whmcs-sidebar-menu li a:hover,
[data-mode="dark"] .whmcs-sidebar-menu li.active a {
  background: rgba(var(--primary-rgb), 0.15);
  color: #ffffff;
}

[data-mode="dark"] .whmcs-sidebar-menu .badge {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

[data-mode="dark"] .domain-input-group {
  background: var(--bg-alt);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-mode="dark"] .tld-pill {
  background: var(--bg-alt);
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

[data-mode="dark"] .tld-pill:hover {
  background: rgba(var(--primary-rgb), 0.15);
  border-color: var(--primary);
  color: #ffffff;
}

[data-mode="dark"] .market-card-badge {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

[data-mode="dark"] .market-card-footer {
  border-color: var(--border-color);
}

[data-mode="dark"] .slider-btn {
  background: var(--bg-alt);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

[data-mode="dark"] .slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

[data-mode="dark"] .form-control,
[data-mode="dark"] input[type="text"],
[data-mode="dark"] input[type="email"],
[data-mode="dark"] input[type="password"],
[data-mode="dark"] select,
[data-mode="dark"] textarea {
  background-color: var(--bg-alt);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

[data-mode="dark"] .dropdown-menu,
[data-mode="dark"] .user-dropdown-menu {
  background-color: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
}

[data-mode="dark"] .dropdown-link strong,
[data-mode="dark"] .user-dropdown-header strong,
[data-mode="dark"] .user-dropdown-menu a {
  color: #f8fafc;
}

[data-mode="dark"] .dropdown-link:hover,
[data-mode="dark"] .user-dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.06);
}

[data-mode="dark"] .modern-table th {
  background-color: var(--bg-alt);
  border-color: var(--border-color);
  color: #f8fafc;
}

[data-mode="dark"] .modern-table td {
  border-color: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
}

[data-mode="dark"] .modern-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

[data-mode="dark"] .table-toolbar {
  background-color: var(--bg-card);
  border-color: var(--border-color);
}

[data-mode="dark"] .invoice-summary-row {
  color: #cbd5e1;
}

[data-mode="dark"] .btn-dark {
  background-color: #1e293b;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.18);
}

[data-mode="dark"] .btn-dark:hover {
  background-color: #334155;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

[data-mode="dark"] .btn-outline {
  border-color: rgba(255, 255, 255, 0.18);
  color: #f8fafc;
}

[data-mode="dark"] .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

[data-mode="dark"] .top-bar {
  background-color: #060911;
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-mode="dark"] .whmcs-sub-header {
  background-color: var(--bg-card);
  border-bottom-color: var(--border-color);
}

/* ==========================================================================
   Dashboard Bottom Domain Search Section (Register / Transfer)
   ========================================================================== */
.dashboard-domain-panel {
  margin-top: 24px;
  overflow: hidden;
}

.dashboard-domain-panel .whmcs-panel-header {
  border-bottom: 1px solid var(--border-color);
  background: rgba(var(--primary-rgb), 0.03);
}

.domain-quick-search-form {
  margin: 0;
  padding: 4px 0;
}

.domain-input-action-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.domain-search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.domain-search-input-wrap .domain-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}

.domain-search-input-field {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.domain-search-input-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.domain-search-input-field::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.domain-search-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.domain-search-btn-group .btn {
  height: 48px;
  padding: 0 20px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .domain-input-action-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .domain-search-btn-group {
    width: 100%;
  }
  .domain-search-btn-group .btn {
    flex: 1;
  }
}

[data-mode="dark"] .dashboard-domain-panel .whmcs-panel-header {
  background: rgba(255, 255, 255, 0.02);
}

[data-mode="dark"] .domain-search-input-field {
  background: var(--bg-alt);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
}

[data-mode="dark"] .domain-search-input-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25);
}

/* ==========================================================================
   HERO BANNER PROFESSIONAL WEBP IMAGE SHOWCASE
   Enterprise server blade & datacenter hardware showcase
   ========================================================================== */
.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 48px -12px rgba(var(--primary-rgb), 0.18), 0 0 0 1px var(--border-color);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
}

.hero-image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px -10px rgba(var(--primary-rgb), 0.28), 0 0 0 1px var(--primary-border);
}

.hero-main-img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
}

.hero-image-overlay-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.38);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-image-overlay-badge strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.hero-image-overlay-badge small {
  display: block;
  font-size: 10.5px;
  color: #94a3b8;
  margin-top: 2px;
}

.hero-image-overlay-badge.top-right {
  top: 16px;
  right: 16px;
}

.hero-image-overlay-badge.bottom-left {
  bottom: 16px;
  left: 16px;
}

.overlay-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-xs);
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 14px;
  flex-shrink: 0;
}

.h2-banner-image-wrap {
  width: 100%;
  max-width: 960px;
  margin: 36px auto 0;
}

/* ==========================================================================
   20X MODERN WEB HOSTING & WHMCS CLIENT PORTAL
   MASTER COMPREHENSIVE RESPONSIVE SUITE (MOBILE, TABLET & DESKTOP)
   Pixel-perfect UI architecture across all 22 HTML pages.
   Includes Mobile-Active Top Utility Section, Nav Drawer & Accordion Submenus.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Breakpoint: <= 1199px (Tablets Landscape & Compact Laptops)
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-wrapper {
    gap: 10px;
  }

  .nav-link {
    font-size: 13px;
    padding: 7px 9px;
  }

  .whmcs-layout-with-sidebar {
    grid-template-columns: 240px 1fr;
    gap: 20px;
  }

  .whmcs-dashboard-grid {
    grid-template-columns: 1fr 2fr;
    gap: 20px;
  }

  .products-display-wrapper.view-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .client-hub-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

/* --------------------------------------------------------------------------
   2. Breakpoint: <= 991px (Tablets Portrait & Mobile Navigation Transition)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Header dimensions */
  .main-header {
    height: 64px;
    position: static;
  top: auto;
    z-index: 1000;
  }

  .nav-wrapper {
    height: 64px;
    position: relative;
    padding: 0;
  }

  .brand-logo .logo-symbol {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .brand-logo .logo-title {
    font-size: 19px;
  }

  /* Hamburger toggle button */
  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
  }

  .mobile-toggle:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
  }

  /* Offcanvas/Slide-down Mobile Navigation Menu */
  .nav-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 16px 20px 90px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
    z-index: 9999;
  }

  .nav-menu.open {
    display: flex !important;
    animation: mobileNavSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  .nav-item {
    width: 100%;
    flex-shrink: 0;
  }

  .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: var(--transition-fast);
  }

  .nav-link:hover, .nav-link.active {
    background: var(--primary-light);
    color: var(--primary);
  }

  .nav-link i.fa-chevron-down,
  .nav-link i.fa-caret-down {
    font-size: 12px;
    transition: transform 0.25s ease;
  }

  .nav-item.dropdown-open .nav-link i.fa-chevron-down,
  .nav-item.dropdown-open .nav-link i.fa-caret-down {
    transform: rotate(180deg);
    color: var(--primary);
  }

  /* Submenus Accordion Inside Mobile Nav */
  .dropdown-menu {
    position: static !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: none !important;
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    margin: 4px 0 8px;
    box-shadow: none !important;
  }

  .nav-item.dropdown-open .dropdown-menu {
    display: flex !important;
    flex-direction: column;
    gap: 4px;
  }

  .dropdown-link {
    padding: 9px 12px;
    border-radius: var(--radius-xs);
  }

  .dropdown-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .dropdown-info strong {
    font-size: 13px;
  }

  .dropdown-info p {
    font-size: 11px;
  }

  /* 2-Column WHMCS Layouts Collapse */
  .whmcs-dashboard-grid,
  .whmcs-layout-with-sidebar,
  .kb-article-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .whmcs-dashboard-grid > .dashboard-main,
  .whmcs-layout-with-sidebar .whmcs-content-area {
    order: 1;
  }

  .whmcs-dashboard-grid > .dashboard-sidebar,
  .whmcs-layout-with-sidebar .whmcs-sidebar {
    order: 2;
  }

  .dept-selection-grid,
  .card-methods-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Home 1 Hero */
  .hero-section {
    padding: 40px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 36px;
  }

  .hero-title {
    font-size: clamp(30px, 5.5vw, 42px);
  }

  .hero-description {
    max-width: 100%;
    font-size: 15px;
  }

  /* Home 2 Hero */
  .h2-hero {
    padding: 55px 0 45px;
  }

  .h2-hero-title {
    font-size: clamp(28px, 5vw, 40px);
  }

  .h2-hero-lead {
    font-size: 15px;
  }

  .h2-service-slide,
.h3-service-slide {
    padding: 30px 24px;
  }

  .h2-slide-grid,
.h3-slide-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .h2-slide-visual,
.h3-slide-visual {
    order: -1;
    max-width: 460px;
    margin: 0 auto;
  }

  .h2-slider-arrow,
.h3-slider-arrow {
    display: none;
  }

  .h2-cat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .h2-bento-grid {
    grid-template-columns: 1fr !important;
  }

  .h2-bento-item.span-2 {
    grid-column: span 1 !important;
  }

  /* Home 3 Hero */
  .h3-hero {
    padding: 50px 0 40px;
  }

  .h3-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .h3-banner-slider-col {
    max-width: 520px;
    margin: 0 auto;
  }

  .h3-hero-left h1 {
    font-size: clamp(28px, 5vw, 40px);
  }

  .h3-strip-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Quick Access Bar */
  .quick-access-bar {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
  }

  /* Client Stat Grid */
  .client-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }

  /* Products List View Responsive Card Layout */
  .products-display-wrapper.view-list .service-product-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 22px;
  }

  .products-display-wrapper.view-list .card-features-list {
    grid-template-columns: repeat(2, 1fr);
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
  }

  .products-display-wrapper.view-list .card-price-block {
    text-align: left;
    min-width: 0;
  }

  .products-display-wrapper.view-list .card-price-val {
    justify-content: flex-start;
  }

  .products-display-wrapper.view-list .card-action-btn {
    width: 100%;
  }

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

  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   3. Breakpoint: <= 768px (Phablets, Mobile Landscape, Core Column Collapsing)
   CRITICAL: TOP SECTION (.top-bar) IS EXPLICITLY DISPLAYED & STYLED FOR MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* TOP BAR / TOP SECTION FULL MOBILE COMPLIANCE */
  .top-bar {
    display: block !important;
    background-color: #0b1329 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 6px 0 !important;
    font-size: 11px !important;
  }

  .top-bar .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .top-bar-left {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    font-size: 11px !important;
    line-height: 1.35 !important;
    flex-wrap: wrap !important;
  }

  .top-bar-badge {
    font-size: 9.5px !important;
    padding: 2px 7px !important;
    flex-shrink: 0 !important;
  }

  .top-bar-text {
    font-size: 11px !important;
    color: #cbd5e1 !important;
    white-space: normal !important;
  }

  .top-bar-right {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    width: 100% !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 5px !important;
    flex-wrap: nowrap !important;
  }

  .top-select-group {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .top-select-group label {
    display: none !important;
  }

  .top-bar-select {
    padding: 3px 6px !important;
    font-size: 11px !important;
    max-width: 140px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    text-overflow: ellipsis;
  }

  .theme-mode-toggle {
    padding: 3px 8px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
  }

  /* Navigation Header Elements */
  .nav-actions {
    gap: 6px;
  }

  .nav-actions #btn-header-login,
  .nav-actions #btn-header-register {
    display: none !important;
  }

  .whmcs-logged-as {
    padding: 6px 10px;
    font-size: 12px;
    gap: 6px;
  }

  .whmcs-logged-as strong {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .user-dropdown-menu {
    right: 0 !important;
    left: auto !important;
    width: min(280px, calc(100vw - 20px));
  }

  /* Slide-down Search Bar */
  .nav-search-dropdown {
    padding: 12px 0;
  }

  .nav-search-form {
    padding: 4px 10px;
    gap: 8px;
  }

  .nav-search-input {
    font-size: 13.5px;
  }

  /* Sub-Header / Breadcrumbs Bar */
  .whmcs-sub-header {
    padding: 16px 0;
  }

  .whmcs-header-flex {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .whmcs-header-flex > div:last-child {
    display: flex;
    gap: 8px;
    width: 100%;
    flex-wrap: wrap;
  }

  .whmcs-header-flex > div:last-child .btn {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }

  .whmcs-page-title {
    font-size: 20px;
  }

  /* Alert Banners */
  .dashboard-alert-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px;
    padding: 14px 16px;
  }

  .dashboard-alert-banner .alert-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .dashboard-alert-banner .alert-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Tables & Table Cards */
  .whmcs-table-card {
    border-radius: var(--radius-md);
    margin-bottom: 20px;
  }

  .table-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px;
    padding: 12px 14px;
  }

  .table-search-box {
    width: 100% !important;
  }

  .table-filter-group {
    width: 100%;
    justify-content: space-between;
  }

  .table-select {
    flex: 1;
  }

  .modern-table-responsive {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .modern-table {
    min-width: 580px;
  }

  .modern-table th,
  .modern-table td {
    padding: 10px 12px !important;
    font-size: 12.5px;
  }

  .table-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 12px;
  }

  /* Quick Access Bar */
  .quick-access-section {
    margin-top: -35px;
    margin-bottom: -35px;
  }

  .quick-access-bar {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    padding: 8px;
  }

  .quick-action-card:last-child {
    grid-column: span 2;
  }

  /* Domain Search Section */
  .domain-search-section {
    padding-top: 70px;
    padding-bottom: 50px;
  }

  .domain-section-title {
    font-size: 24px;
  }

  .domain-unified-search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
  }

  .domain-unified-search-row .domain-input-wrap,
  .domain-unified-search-row .domain-tld-select-wrap {
    width: 100%;
    min-width: 0;
  }

  .domain-unified-search-row .domain-actions-group {
    display: flex;
    gap: 8px;
    width: 100%;
  }

  .domain-unified-search-row .domain-actions-group .btn {
    flex: 1;
    justify-content: center;
  }

  .domain-result-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 14px;
  }

  .domain-result-card .result-pricing-group {
    justify-content: space-between;
    width: 100%;
  }

  /* Dashboard Quick Domain Panel */
  .domain-input-action-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .domain-search-btn-group {
    display: flex !important;
    width: 100% !important;
    gap: 8px !important;
  }

  .domain-search-btn-group .btn {
    flex: 1 !important;
    justify-content: center !important;
  }

  /* Products Display Switcher */
  .products-control-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .products-filter-pills {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .products-view-switcher {
    align-self: flex-start;
  }

  .products-display-wrapper.view-grid {
    grid-template-columns: 1fr !important;
  }

  .products-display-wrapper.view-list .card-features-list {
    grid-template-columns: 1fr !important;
  }

  /* Home 3 Banner Slider Mobile Refinements */
  .h3-banner-slide {
    padding: 16px 14px 14px !important;
  }
  .h3-slide-name {
    font-size: 17px !important;
  }
  .h3-slide-brief {
    font-size: 11.5px !important;
  }
  .h3-slide-bullets {
    padding: 10px 12px !important;
    margin-bottom: 14px !important;
  }
  .h3-slide-bullets li {
    font-size: 11.5px !important;
  }
  .h3-slide-rate-amount {
    font-size: 20px !important;
  }
  .h3-slide-btn {
    padding: 8px 16px !important;
    font-size: 12px !important;
  }

  /* Forms 2-Column Collapse */
  .auth-form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .dept-selection-grid,
  .card-methods-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Features & Bento & Metrics */
  .features-4col-grid {
    grid-template-columns: 1fr !important;
  }

  .client-hub-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  .h2-cat-grid,
  .h3-strip-grid {
    grid-template-columns: 1fr !important;
  }

  .h2-slider-tabs,
.h3-slider-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .h2-slider-tab,
.h3-slider-tab {
    justify-content: center !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
  }

  .h2-service-slide,
.h3-service-slide {
    padding: 24px 18px !important;
  }

  .h2-slide-title,
.h3-slide-title {
    font-size: 22px !important;
  }

  .h2-slide-footer,
.h3-slide-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
  }

  .h2-slide-actions,
.h3-slide-actions {
    flex-direction: column !important;
    width: 100% !important;
  }

  .h2-slide-actions .btn,
.h3-slide-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .h2-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
    border-radius: var(--radius-lg) !important;
    padding: 16px 20px !important;
    text-align: left !important;
    width: 100% !important;
  }

  .h2-stat-divider {
    display: none !important;
  }

  .h2-domain-form,
  .h3-domain-form,
  .domain-search-section form {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .h2-domain-form .btn,
  .h3-domain-form .btn,
  .domain-search-section form .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* View Invoice Page */
  .invoice-header-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }

  .invoice-header-box > div:last-child {
    text-align: left !important;
  }

  .invoice-addresses-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .invoice-summary-box {
    max-width: 100% !important;
    width: 100% !important;
  }

  .invoice-table {
    min-width: 480px;
  }

  /* Site Footer */
  .footer-top-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .footer-bottom-flex {
    flex-direction: column !important;
    text-align: center;
    gap: 12px;
  }

  .footer-bottom-links,
  .footer-legal-links {
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   4. Breakpoint: <= 576px (Standard Mobile Phones)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  /* Top Bar extra compact */
  .top-bar-left {
    font-size: 10.5px !important;
    gap: 6px !important;
  }

  .top-bar-text {
    font-size: 10.5px !important;
  }

  .top-bar-select {
    max-width: 125px !important;
    font-size: 10.5px !important;
  }

  .theme-mode-toggle {
    font-size: 10.5px !important;
    padding: 3px 6px !important;
  }

  /* Header compact */
  .main-header,
  .nav-wrapper {
    height: 60px;
  }

  .nav-menu {
    top: 60px;
    height: calc(100vh - 60px);
    padding: 14px 16px 80px;
  }

  .brand-logo .logo-title {
    font-size: 18px;
  }

  .brand-logo .logo-symbol {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-icon-btn {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .mobile-toggle {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }

  .whmcs-logged-as {
    padding: 5px 8px;
    font-size: 11.5px;
  }

  .whmcs-logged-as strong {
    max-width: 65px;
  }

  .whmcs-logged-as i.icon-switch {
    display: none;
  }

  /* Auth Card */
  .auth-page-wrapper {
    padding: 24px 12px;
  }

  .auth-card {
    padding: 22px 16px !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-md) !important;
  }

  .auth-header {
    margin-bottom: 20px;
  }

  .auth-header .auth-title {
    font-size: 21px !important;
  }

  .auth-header .auth-sub {
    font-size: 12.5px;
  }

  /* Client Stat Grid (compact 2-col) */
  .client-stat-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .stat-tile {
    padding: 12px 10px !important;
    border-radius: var(--radius-md) !important;
  }

  .stat-num {
    font-size: 20px !important;
  }

  .stat-label {
    font-size: 10.5px !important;
  }

  .stat-tile-icon {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
  }

  /* Marketplace Slider */
  .marketplace-card {
    flex: 0 0 250px !important;
    max-width: 80vw !important;
    padding: 16px 14px !important;
  }

  .market-card-title {
    font-size: 14px !important;
  }

  .market-card-desc {
    font-size: 11.5px !important;
  }

  .market-card-price {
    font-size: 15px !important;
  }

  .h2-slider-tabs,
.h3-slider-tabs {
    grid-template-columns: 1fr !important;
  }

  .h2-service-slide,
.h3-service-slide {
    padding: 20px 14px !important;
  }

  .h2-hero-stats {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 12px 14px !important;
  }

  /* Hero Image Overlay Badges on Mobile */
  .hero-image-overlay-badge {
    padding: 6px 10px !important;
    gap: 6px !important;
  }

  .hero-image-overlay-badge strong {
    font-size: 11px !important;
  }

  .hero-image-overlay-badge small {
    font-size: 9px !important;
  }

  .overlay-badge-icon {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
  }

  .hero-image-overlay-badge.top-right {
    top: 10px !important;
    right: 10px !important;
  }

  .hero-image-overlay-badge.bottom-left {
    bottom: 10px !important;
    left: 10px !important;
  }

  /* Buttons & Action Bars */
  .btn-lg {
    padding: 11px 18px !important;
    font-size: 14px !important;
  }

  .hero-cta-group,
  .hero-actions-group,
  .h2-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .hero-cta-group .btn,
  .hero-actions-group .btn,
  .h2-hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Floating Live Chat Widget */
  #chat-popup {
    right: 10px !important;
    left: 10px !important;
    width: auto !important;
    bottom: 74px !important;
    max-height: calc(100vh - 90px) !important;
    border-radius: var(--radius-lg) !important;
  }

  #floating-chat-btn {
    bottom: 16px !important;
    right: 16px !important;
    width: 48px !important;
    height: 48px !important;
    font-size: 19px !important;
  }

  /* Client Hub Grid */
  .client-hub-grid {
    grid-template-columns: 1fr !important;
  }

  /* Form Elements Font Size (prevents iOS auto-zoom) */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* --------------------------------------------------------------------------
   5. Breakpoint: <= 400px (Extra Compact Screens / iPhone SE)
   -------------------------------------------------------------------------- */
@media (max-width: 400px) {
  .brand-logo .logo-tagline {
    display: none !important;
  }

  .top-bar-text {
    font-size: 10px !important;
  }

  .top-bar-select {
    max-width: 110px !important;
    font-size: 10px !important;
  }

  .theme-mode-toggle {
    font-size: 10px !important;
    padding: 2px 6px !important;
  }

  .whmcs-logged-as span.user-name-text,
  .whmcs-logged-as strong {
    display: none !important;
  }

  .whmcs-logged-as {
    padding: 6px 8px !important;
  }

  .whmcs-logged-as::before {
    content: "\f007";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--primary);
    font-size: 13px;
  }

  .quick-access-bar {
    grid-template-columns: 1fr !important;
  }

  .quick-action-card:last-child {
    grid-column: span 1 !important;
  }

  .client-stat-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Modern WHMCS Ticket View & Conversation Thread (viewticket.html)
   ========================================================================== */
.ticket-view-layout {
  display: block;
  width: 100%;
}

@media (max-width: 992px) {
  .ticket-view-layout {
    grid-template-columns: 1fr;
  }
}

.ticket-status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(var(--primary-rgb), 0.06);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

[data-mode="dark"] .ticket-status-banner {
  background: rgba(var(--primary-rgb), 0.12);
  border-color: rgba(var(--primary-rgb), 0.28);
}

.ticket-status-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-main);
}

.ticket-status-banner-left i {
  font-size: 18px;
  color: var(--primary);
}

.ticket-reply-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.ticket-reply-card.collapsed .ticket-reply-content {
  display: none;
}

.ticket-reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
}

.ticket-reply-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ticket-reply-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.ticket-tool-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ticket-tool-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

.ticket-reply-textarea {
  width: 100%;
  min-height: 140px;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ticket-reply-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.ticket-dropzone {
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
  background: var(--bg-alt);
  margin-top: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ticket-dropzone:hover {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.02);
}

.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ticket-msg-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.ticket-msg-card.is-staff {
  border-left: 4px solid var(--primary);
}

.ticket-msg-card.is-client {
  border-left: 4px solid #64748b;
}

.ticket-msg-header {
  padding: 14px 22px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ticket-msg-card.is-staff .ticket-msg-header {
  background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.06) 0%, var(--bg-alt) 100%);
}

.ticket-msg-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.ticket-avatar.staff {
  background: var(--primary);
  color: #ffffff;
}

.ticket-avatar.client {
  background: #475569;
  color: #ffffff;
}

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

.ticket-author-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.03em;
}

.role-badge.staff {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.role-badge.client {
  background: #e2e8f0;
  color: #334155;
}

[data-mode="dark"] .role-badge.client {
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

.ticket-msg-meta {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 14px;
}

.ticket-msg-body {
  padding: 24px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
}

.ticket-msg-body p {
  margin-bottom: 14px;
}

.ticket-msg-body p:last-child {
  margin-bottom: 0;
}

.ticket-code-block {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-main);
  margin: 14px 0;
  overflow-x: auto;
  line-height: 1.6;
}

.ticket-signature {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
}

.ticket-details-table {
  width: 100%;
  font-size: 13px;
  border-collapse: collapse;
}

.ticket-details-table tr {
  border-bottom: 1px solid var(--border-color);
}

.ticket-details-table tr:last-child {
  border-bottom: none;
}

.ticket-details-table td {
  padding: 11px 0;
}

.ticket-details-table td.label-cell {
  color: var(--text-muted);
  font-weight: 600;
  width: 42%;
}

.ticket-details-table td.val-cell {
  color: var(--text-main);
  font-weight: 700;
  text-align: right;
}

/* ==========================================================================
   Top Navigation Bar & Dropdowns (Desktop Hover + Mobile Accordion)
   ========================================================================== */
header.header .main-navbar-wrapper {
  position: relative;
  z-index: 1000;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* Desktop Dropdown Behavior */
@media (min-width: 1200px) {
  header.header .main-navbar-wrapper .navbar-nav li.dropdown,
  header.header .main-navbar-wrapper .navbar-nav li.nav-item.dropdown {
    position: relative;
  }

  header.header .main-navbar-wrapper .navbar-nav li.dropdown:hover > .dropdown-menu,
  header.header .main-navbar-wrapper .navbar-nav li.nav-item.dropdown:hover > .dropdown-menu,
  header.header .main-navbar-wrapper .navbar-nav li.dropdown.show > .dropdown-menu,
  header.header .main-navbar-wrapper .navbar-nav li.dropdown.dropdown-open > .dropdown-menu,
  header.header .main-navbar-wrapper .navbar-nav li.nav-item.dropdown.show > .dropdown-menu,
  header.header .main-navbar-wrapper .navbar-nav ul.dropdown-menu.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    animation: fadeInNavMenu 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  header.header .main-navbar-wrapper .navbar-nav ul.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    padding: 8px 0;
    margin: 4px 0 0;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
    transition: all 0.2s ease;
  }

  header.header .main-navbar-wrapper .navbar-nav ul.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
  }
}

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

/* Mobile & Tablet Navigation Drawer (< 1200px) */
@media (max-width: 1199.98px) {
  header.header .main-navbar-wrapper #mainNavbar.collapse.show,
  header.header .main-navbar-wrapper #mainNavbar.show {
    display: block !important;
    background-color: #ffffff;
    padding: 18px 22px 24px;
    border-radius: 12px;
    margin-top: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  }

  [data-mode="dark"] header.header .main-navbar-wrapper #mainNavbar.collapse.show,
  [data-mode="dark"] header.header .main-navbar-wrapper #mainNavbar.show {
    background-color: #0f172a !important;
    border-color: #1e293b !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
  }

  header.header .main-navbar-wrapper .navbar-nav {
    margin-top: 8px;
    width: 100%;
  }

  header.header .main-navbar-wrapper .navbar-nav a {
    padding: 10px 0 !important;
    margin: 0 !important;
    display: block;
    width: 100%;
  }

  header.header .main-navbar-wrapper .navbar-nav ul.dropdown-menu {
    display: none;
    margin: 4px 0 8px 12px;
    border: none;
    box-shadow: none;
    padding: 4px 0 4px 12px;
    border-left: 2px solid #e2e8f0;
    background: transparent;
  }

  header.header .main-navbar-wrapper .navbar-nav ul.dropdown-menu.show {
    display: block !important;
  }

  [data-mode="dark"] header.header .main-navbar-wrapper .navbar-nav ul.dropdown-menu {
    border-left-color: #334155 !important;
  }

  .navbar-toggler {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: rgba(0, 0, 0, 0.03);
    outline: none !important;
  }
}

/* ==========================================================================
   Dark Edition Overrides: Top Utility Bar, Header, Navigation & Body
   ========================================================================== */
[data-mode="dark"] .top-bar {
  background-color: #060911 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #94a3b8 !important;
}

[data-mode="dark"] .top-bar-text {
  color: #cbd5e1 !important;
}

[data-mode="dark"] .top-bar-select {
  background-color: #0f172a !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}

[data-mode="dark"] .top-bar-select option {
  background-color: #0f172a !important;
  color: #f1f5f9 !important;
}

[data-mode="dark"] .theme-mode-toggle {
  background-color: #0f172a !important;
  border-color: #334155 !important;
  color: #f1f5f9 !important;
}

[data-mode="dark"] .theme-mode-toggle:hover {
  background-color: #1e293b !important;
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

[data-mode="dark"] header.header {
  background-color: #0b0f19 !important;
}

[data-mode="dark"] header.header .main-navbar-wrapper {
  background-color: #0f172a !important;
  border-bottom: 1px solid #1e293b !important;
}

[data-mode="dark"] header.header .main-navbar-wrapper .navbar-nav > li > a,
[data-mode="dark"] header.header .main-navbar-wrapper .navbar-nav a {
  color: #f1f5f9 !important;
}

[data-mode="dark"] header.header .main-navbar-wrapper .navbar-nav a:hover {
  color: var(--primary) !important;
}

[data-mode="dark"] header.header .main-navbar-wrapper .navbar-nav a::before {
  background-color: var(--primary) !important;
}

[data-mode="dark"] header.header .main-navbar-wrapper .navbar-nav ul.dropdown-menu,
[data-mode="dark"] .main-navbar-wrapper .navbar-nav ul.dropdown-menu {
  background-color: #0f172a !important;
  border: 1px solid #1e293b !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
}

[data-mode="dark"] header.header .main-navbar-wrapper .navbar-nav ul.dropdown-menu li {
  background-color: transparent !important;
}

[data-mode="dark"] header.header .main-navbar-wrapper .navbar-nav ul.dropdown-menu li:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

[data-mode="dark"] header.header .main-navbar-wrapper .navbar-nav ul.dropdown-menu li a {
  color: #e2e8f0 !important;
}

[data-mode="dark"] header.header .main-navbar-wrapper .navbar-nav ul.dropdown-menu li a:hover {
  color: var(--primary) !important;
  background-color: transparent !important;
}

[data-mode="dark"] .user-detail-20i .span-logged-in {
  color: #94a3b8 !important;
}

[data-mode="dark"] .user-detail-20i .btn-active-client {
  color: #f1f5f9 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid #334155 !important;
}

[data-mode="dark"] .user-detail-20i .btn {
  color: #cbd5e1 !important;
}

[data-mode="dark"] header.header .main-navbar-wrapper .cart-btn i,
[data-mode="dark"] .right-part-20i a.search-20i i {
  color: #f1f5f9 !important;
}

[data-mode="dark"] .navbar-toggler {
  color: #f1f5f9 !important;
  border-color: #334155 !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

[data-mode="dark"] body.primary-bg-color,
[data-mode="dark"] section#main-body {
  background-color: #0b0f19 !important;
  color: #cbd5e1 !important;
}

[data-mode="dark"] .brand-logo .logo-title {
  color: #ffffff !important;
}

[data-mode="dark"] .brand-logo .logo-tagline {
  color: #94a3b8 !important;
}

/* ==========================================================================
   WHMCS Utility, Fullpage Overlay & Modal Fixes (Prevent Stuck Blur & Clicks)
   ========================================================================== */
/* Keep the utility class overridable. WHMCS shows .w-hidden blocks with jQuery .show()/.fadeIn(). */
.w-hidden {
  display: none;
}

#fullpage-overlay.w-hidden,
#fullpage-overlay:not(.active) {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

#fullpage-overlay.active {
  display: flex !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: rgba(15, 23, 42, 0.7) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  align-items: center !important;
  justify-content: center !important;
}

.auth-main-body {
  width: 100%;
  min-height: 80vh;
  background: var(--bg-body);
}

[data-mode="dark"] .auth-main-body {
  background: #090d16 !important;
}

[data-mode="dark"] .auth-card {
  background: #111827 !important;
  border-color: #1f2937 !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6) !important;
}

[data-mode="dark"] .auth-card .form-control {
  background: #1f2937 !important;
  border-color: #374151 !important;
  color: #f3f4f6 !important;
}

[data-mode="dark"] .auth-card .form-control:focus {
  border-color: var(--primary) !important;
  background: #1e293b !important;
}

/* ==========================================================================
   Global Elimination of Border Lines & Underlines on Link Hover
   ========================================================================== */
a,
a:hover,
a:focus,
a:active,
.nav-link,
.nav-link:hover,
.nav-link:focus,
.nav-link:active,
.navbar-nav a,
.navbar-nav a:hover,
.navbar-nav a:focus,
.navbar-nav a:active,
.dropdown-link,
.dropdown-link:hover,
.dropdown-link:focus,
.dropdown-item,
.dropdown-item:hover,
.dropdown-item:focus,
.footer-links-list a,
.footer-links-list a:hover,
.footer-links-list a:focus,
.footer-legal-links a,
.footer-legal-links a:hover,
.footer-legal-links a:focus,
.hero-cta-group a,
.hero-cta-group a:hover,
.hero-features-list a,
.hero-features-list a:hover,
.quick-action-card,
.quick-action-card:hover,
.h2-cat-card,
.h2-cat-card:hover,
.h3-tld-pill,
.h3-tld-pill:hover,
.h3-spec-card,
.h3-spec-card:hover,
.pricing-card a,
.pricing-card a:hover,
.service-product-card a,
.service-product-card a:hover,
.faq-question-btn,
.faq-question-btn:hover {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
}

/* Eliminate any pseudo-element underline lines on links */
header.header .main-navbar-wrapper .navbar-nav a::before,
header.header .main-navbar-wrapper .navbar-nav a:hover::before,
header.header .main-navbar-wrapper .navbar-nav a::after,
header.header .main-navbar-wrapper .navbar-nav a:hover::after,
header.header .navbar-nav a::before,
header.header .navbar-nav a:hover::before,
header.header .navbar-nav a::after,
header.header .navbar-nav a:hover::after,
.nav-link::before,
.nav-link:hover::before,
.nav-link::after,
.nav-link:hover::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: none !important;
  border-bottom: none !important;
}

.btn,
.btn:hover,
.btn:focus,
.btn:active {
  text-decoration: none !important;
}

/* Hero Infrastructure Highlights Spec Strip */
.hero-spec-strip {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.spec-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
}

.spec-strip-item i {
  color: var(--primary);
  font-size: 15px;
}

@media (max-width: 576px) {
  .hero-spec-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 18px;
  }
}



