/* ==========================================================================
   CloudPulse - Modern Light Theme Design System
   Enterprise Cloud SaaS Aesthetic with Ultra-Clean Typography & Micro-Animations
   ========================================================================== */

:root, html.light-theme, .light-theme {
  /* Color Palette - Light Enterprise */
  --bg: #f8fafc;
  --bg-surface: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-subtle: #e2e8f0;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-hover: rgba(37, 99, 235, 0.35);

  /* Typography Colors */
  --text: #0f172a;
  --text-secondary: #334155;
  --muted: #64748b;
  --text-inverse: #ffffff;

  /* Brand Accents */
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --blue-light: #eff6ff;
  --cyan: #0284c7;
  --cyan-light: #f0f9ff;
  --green: #059669;
  --green-hover: #047857;
  --green-light: #ecfdf5;
  --amber: #d97706;
  --amber-light: #fffbeb;
  --danger: #e11d48;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.07), 0 4px 10px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.04);
  --shadow-primary: 0 8px 20px -4px rgba(37, 99, 235, 0.35);
  --shadow-whatsapp: 0 8px 20px -4px rgba(5, 150, 105, 0.3);

  /* Borders & Radii */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Fonts */
  --font-heading: "Space Grotesk", "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Dark Theme Variables (OLED Cybernetic & Datacenter Steel) */
html.dark-theme, .dark-theme {
  --bg: #0A0E14;
  --bg-surface: #0F1522;
  --bg-alt: #131A26;
  --bg-subtle: #182232;
  --panel: rgba(15, 21, 34, 0.90);
  --panel-strong: #131A26;
  --border: rgba(34, 211, 238, 0.16);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(34, 211, 238, 0.45);

  --text: #F1F5F9;
  --text-secondary: #94A3B8;
  --muted: #64748B;
  --text-inverse: #0A0E14;

  --blue: #38BDF8;
  --blue-hover: #0284C7;
  --blue-light: rgba(56, 189, 248, 0.14);
  --cyan: #22D3EE;
  --cyan-light: rgba(34, 211, 238, 0.14);
  --cyan-glow: rgba(34, 211, 238, 0.35);
  --green: #10B981;
  --green-hover: #059669;
  --green-light: rgba(16, 185, 129, 0.14);
  --amber: #F59E0B;
  --amber-light: rgba(245, 158, 11, 0.14);
  --danger: #F87171;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.6);
  --shadow-md: 0 4px 8px -1px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 12px 28px -4px rgba(0, 0, 0, 0.8);
  --shadow-xl: 0 24px 44px -6px rgba(0, 0, 0, 0.9);
  --shadow-primary: 0 8px 24px -4px rgba(34, 211, 238, 0.35);
}

/* Base Reset & Core Mobile-First Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(86px + var(--safe-top));
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100vw;
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 15%, rgba(2, 132, 199, 0.05) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(5, 150, 105, 0.03) 0px, transparent 60%);
  background-attachment: fixed;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Touch friendly buttons & prevention of double-tap delay */
button, a, input, select, textarea, [role="button"], [role="tab"], [role="radio"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(34, 211, 238, 0.2);
}

/* Code and pre elements scroll in their container */
pre, code, kbd {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Subtle Geometric Background Grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img, svg {
  display: inline-block;
  vertical-align: middle;
}

.container {
  width: min(1200px, calc(100% - 32px));
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Header & Navigation (Photorealistic 3D Datacenter Theme)
   ========================================================================== */

/* Accessible Skip-to-Content Link */
.skip-to-content {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 9999;
  padding: 10px 18px;
  background: var(--bg-surface);
  color: var(--cyan);
  border: 1px solid var(--cyan);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
  transform: translateY(-160%);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.skip-to-content:focus {
  transform: translateY(0);
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* 1. Top Announcement Bar (Dismissible) */
.announcement-bar {
  position: relative;
  z-index: 1001;
  background: linear-gradient(90deg, #0A0E14 0%, #131A26 50%, #0A0E14 100%);
  border-bottom: 1px solid rgba(34, 211, 238, 0.18);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-family: var(--font-body);
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  overflow: hidden;
}

.announcement-bar.dismissed {
  max-height: 0 !important;
  opacity: 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
  pointer-events: none;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.announcement-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  flex: 1;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #22D3EE;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.28);
  padding: 3px 8px;
  border-radius: 4px;
}

.announcement-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseLed 2s infinite ease-in-out;
}

@keyframes pulseLed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}

.announcement-text {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.announcement-text strong {
  color: var(--text);
  font-weight: 600;
}

.announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.8rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.announcement-link:hover {
  color: #67e8f9;
  gap: 8px;
}

.announcement-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 8px;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.announcement-close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

/* 2. Main Futuristic Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 20, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.3s ease, 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
  will-change: transform;
}

/* Scrolled state: rich glassmorphism with cyan accent line */
.navbar.navbar-scrolled {
  background: rgba(10, 14, 20, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(34, 211, 238, 0.26);
  box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.85), 
              0 1px 0 rgba(34, 211, 238, 0.18);
}

/* Light mode adjustments */
html.light-theme .navbar {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
}

html.light-theme .navbar.navbar-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(2, 132, 199, 0.3);
  box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.08);
}

/* Smart hide on scroll down, show on scroll up */
.navbar.navbar-hidden {
  transform: translateY(-110%);
}

.nav-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo with Server LED Blinker */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(37, 99, 235, 0.25));
  border: 1px solid rgba(34, 211, 238, 0.35);
  box-shadow: 0 0 16px rgba(34, 211, 238, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  color: var(--cyan);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}

.logo-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.logo:hover .logo-mark {
  transform: translateY(-1px) scale(1.04);
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.45);
}

.logo-blinker {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: serverBlink 1.4s infinite ease-in-out;
}

@keyframes serverBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

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

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
}

.logo-text strong {
  color: var(--cyan);
  font-weight: 800;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-top: 2px;
}

/* Desktop Main Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

/* Nav Hover Underline Glow */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link.active {
  color: var(--cyan);
  font-weight: 700;
}

/* Mega-Menu Dropdown Architecture */
.nav-item-dropdown {
  position: relative;
}

.dropdown-chevron {
  transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron,
.nav-item-dropdown.open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--cyan);
}

.mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  background: rgba(13, 20, 32, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 18px;
  box-shadow: 0 28px 64px -12px rgba(0, 0, 0, 0.9), 
              0 0 32px rgba(34, 211, 238, 0.08),
              inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 20px;
  min-width: 680px;
  z-index: 1050;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
}

/* Subtle bridge pseudo-element to avoid hover gap */
.mega-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

html.light-theme .mega-menu {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px -10px rgba(15, 23, 42, 0.16);
}

.nav-item-dropdown:hover .mega-menu,
.nav-item-dropdown:focus-within .mega-menu,
.nav-item-dropdown.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
}

.mega-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}

.mega-item:hover {
  background: rgba(34, 211, 238, 0.06);
  border-color: rgba(34, 211, 238, 0.25);
  transform: translateX(3px);
}

html.light-theme .mega-item:hover {
  background: var(--cyan-light);
  border-color: rgba(2, 132, 199, 0.2);
}

.mega-icon-wrap {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  flex-shrink: 0;
}

.mega-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mega-title {
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s ease;
}

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

.mega-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Mega-Menu Featured Spotlight Card */
.mega-featured {
  background: linear-gradient(145deg, rgba(19, 26, 38, 0.95), rgba(10, 14, 20, 0.98));
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

html.light-theme .mega-featured {
  background: linear-gradient(145deg, #f8fafc, #f1f5f9);
  border: 1px solid var(--border);
  box-shadow: none;
}

.mega-featured::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 100% 0%, rgba(34, 211, 238, 0.18), transparent 70%);
  pointer-events: none;
}

.featured-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.mega-featured h4 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.mega-featured p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 16px;
}

.featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cyan);
  transition: gap 0.2s ease, color 0.2s ease;
}

.featured-btn:hover {
  color: #67e8f9;
  gap: 9px;
}

/* Header Right Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Live System Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.status-pill:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: #10B981;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.25);
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseLed 1.8s infinite ease-in-out;
}

.status-pill-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #10B981;
}

/* Quick Search Trigger Button (Ctrl+K Command Palette) */
.search-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.35);
  color: var(--text);
}

html.light-theme .search-trigger-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--muted);
}

.search-kbd {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: var(--text-secondary);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  padding: 10px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #ffffff;
  box-shadow: var(--shadow-primary);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.45);
  filter: brightness(1.05);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius);
  background: var(--bg-surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: #cbd5e1;
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 20px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  box-shadow: var(--shadow-whatsapp);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(5, 150, 105, 0.45);
  filter: brightness(1.05);
  color: #ffffff;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(34, 211, 238, 0.35);
  color: var(--cyan);
}

html.light-theme .theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.theme-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

/* Light mode: Moon visible (click to go dark), Sun hidden */
html:not(.dark-theme) .sun-icon {
  display: none !important;
}
html:not(.dark-theme) .moon-icon {
  display: flex !important;
  color: var(--text-secondary);
}

/* Dark mode: Sun visible (click to go light), Moon hidden */
html.dark-theme .moon-icon {
  display: none !important;
}
html.dark-theme .sun-icon {
  display: flex !important;
  color: #fbbf24;
  filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.7));
}

.btn-header-cta {
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* Mobile Controls & Hamburger */
.mobile-nav-controls {
  display: none;
  align-items: center;
  gap: 8px;
}

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hamburger-box {
  width: 20px;
  height: 14px;
  display: inline-block;
  position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 20px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  position: absolute;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
}

.hamburger-inner {
  top: 6px;
}

.hamburger-inner::before {
  content: "";
  top: -6px;
}

.hamburger-inner::after {
  content: "";
  top: 6px;
}

.mobile-menu-btn.active .hamburger-inner {
  background-color: transparent;
}

.mobile-menu-btn.active .hamburger-inner::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger-inner::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile Full-Screen Glass Drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 20, 0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 999;
  overflow-y: auto;
  border-top: 1px solid rgba(34, 211, 238, 0.15);
}

html.light-theme .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--border);
}

.mobile-menu.open {
  display: block;
  animation: mobileFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.mobile-drawer-inner {
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: calc(100vh - 74px);
}

.mobile-telemetry-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #10B981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 8px 12px;
  border-radius: 8px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.08rem;
  padding: 14px 16px;
  border-radius: 12px;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-nav-item:hover,
.mobile-nav-item:focus {
  background: rgba(34, 211, 238, 0.08);
  border-color: rgba(34, 211, 238, 0.3);
  color: var(--cyan);
}

.mobile-nav-item.active {
  background: rgba(34, 211, 238, 0.12);
  border-color: var(--cyan);
  color: var(--cyan);
}

.mobile-arrow {
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-item:hover .mobile-arrow {
  transform: translateX(4px);
  color: var(--cyan);
}

.mobile-actions-sticky {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Command Palette Modal Dialog (Ctrl+K / Cmd+K)
   ========================================================================== */
.cmd-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
}

.cmd-modal[hidden] {
  display: none !important;
}

.cmd-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cmd-dialog {
  position: relative;
  width: min(640px, 92vw);
  background: #0D1422;
  border: 1px solid rgba(34, 211, 238, 0.35);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 
              0 0 40px rgba(34, 211, 238, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  animation: cmdSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

html.light-theme .cmd-dialog {
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
}

@keyframes cmdSlideDown {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cmd-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

html.light-theme .cmd-header {
  border-bottom: 1px solid var(--border);
}

.cmd-search-icon {
  color: var(--cyan);
  flex-shrink: 0;
}

.cmd-input {
  flex: 1;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text);
  outline: none;
}

.cmd-input::placeholder {
  color: var(--muted);
}

.cmd-esc-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
}

.cmd-body {
  max-height: 380px;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cmd-group-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 8px 10px 4px;
}

.cmd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.15s ease;
  cursor: pointer;
}

.cmd-item:hover,
.cmd-item.active {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.3);
}

html.light-theme .cmd-item:hover,
html.light-theme .cmd-item.active {
  background: var(--blue-light);
  border-color: rgba(37, 99, 235, 0.3);
}

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

.cmd-item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cmd-item-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.cmd-item-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.cmd-item-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.cmd-footer {
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: space-between;
}

.cmd-empty {
  padding: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  min-width: 0;
  width: 100%;
}

.hero-content {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  max-width: 100%;
}

.badge-text-full {
  display: inline;
}

.badge-text-short {
  display: none;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5);
  animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
  flex-shrink: 0;
}

@keyframes pulse {
  to { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 4.2vw + 0.6rem, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 28px;
  overflow-wrap: break-word;
  word-break: break-word;
}

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

/* Hero Metrics Row */
.hero-metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  width: 100%;
}

.metric-card {
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2px;
}

.metric-lbl {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.text-primary { color: var(--blue) !important; }
.text-accent { color: var(--cyan) !important; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.hero-stats li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   NEW HERO VISUAL: Interactive Cloud Provisioner Console
   ========================================================================== */

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.provision-console {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.provision-console:hover {
  box-shadow: 0 30px 60px -15px rgba(37, 99, 235, 0.16), 0 0 0 1px rgba(37, 99, 235, 0.2) inset;
}

/* Console Header Chrome */
.console-header {
  height: 44px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #f87171; }
.dot-yellow { background: #fbbf24; }
.dot-green { background: #34d399; }

.console-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  min-width: 0;
  overflow: hidden;
}

.console-title span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 3px 8px;
  border-radius: 20px;
  flex-shrink: 0;
}

.status-live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

.status-loc-full {
  display: inline;
}

.status-loc-short {
  display: none;
}

/* Console Body */
.console-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.console-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.console-section-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* CPU Architecture Switcher */
.cpu-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cpu-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.cpu-tab:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.cpu-tab.active {
  border-color: var(--blue);
  background: #eff6ff;
  box-shadow: 0 0 0 1px var(--blue);
}

.cpu-badge {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  background: #dbeafe;
  color: #1d4ed8;
  margin-bottom: 4px;
}

.badge-amd {
  background: #fee2e2;
  color: #b91c1c;
}

.cpu-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
}

.cpu-sub {
  font-size: 0.72rem;
  color: var(--muted);
}

/* Tier Presets (Chips) */
.tier-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.tier-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  position: relative;
}

.tier-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.tier-chip.active {
  background: #eff6ff;
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.chip-star {
  position: absolute;
  top: -8px;
  font-size: 0.58rem;
  font-weight: 800;
  background: var(--blue);
  color: #ffffff;
  padding: 1px 5px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.chip-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
}

.chip-spec {
  font-size: 0.68rem;
  color: var(--muted);
  white-space: nowrap;
}

/* Live Hardware Breakdown Grid */
.live-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.spec-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 0;
  overflow: hidden;
}

.spec-tile-icon {
  font-size: 1.15rem;
  flex-shrink: 0;
}

.spec-tile-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.spec-tile-label {
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spec-tile-val {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* OS Bar */
.console-os-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  font-size: 0.76rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.os-label {
  color: var(--muted);
  font-weight: 600;
  flex-shrink: 0;
}

.os-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.os-tag {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* Console Deploy Banner */
.console-deploy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #f0f7ff, #e0f2fe);
  border: 1.5px solid #bfdbfe;
  border-radius: 12px;
  padding: 14px 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.deploy-pricing {
  display: flex;
  flex-direction: column;
}

.deploy-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  letter-spacing: 0.04em;
}

.deploy-price-tag {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-symbol {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
}

.price-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.price-cycle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-left: 2px;
}

.deploy-meta {
  font-size: 0.72rem;
  color: #0369a1;
  font-weight: 500;
}

.btn-deploy-action {
  padding: 12px 24px;
  font-size: 0.95rem;
  border-radius: 10px;
  box-shadow: 0 8px 18px -3px rgba(37, 99, 235, 0.4);
}

/* Terminal Log */
.console-terminal-log {
  background: #0f172a;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.term-prompt {
  color: #38bdf8;
  font-weight: 700;
  flex-shrink: 0;
}

.term-command {
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 0%;
  min-width: 0;
}

.term-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Plan card WhatsApp sub-link */
.plan-whatsapp-link {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #059669;
  transition: color 0.2s ease;
}

.plan-whatsapp-link:hover {
  color: #047857;
  text-decoration: underline;
}

/* Canvas container for remaining 3D Globe in locations */
.canvas-container {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, #ffffff 40%, #f1f5f9 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xl);
}

.canvas-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  background: var(--bg-alt);
  color: var(--muted);
}

/* 3D Console Viewport inside Hero */
.console-3d-wrap {
  position: relative;
  width: 100%;
  height: 270px;
  background: radial-gradient(circle at center, #0c1524 10%, #030712 100%);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  touch-action: pan-y;
}

.console-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: pan-y;
}

.console-3d-overlay {
  position: absolute;
  top: 10px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}

.overlay-telemetry {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.live-3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  color: #38bdf8;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 3px 8px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.live-3d-hint {
  font-size: 0.68rem;
  color: rgba(226, 232, 240, 0.7);
  font-weight: 600;
  display: inline-block;
}

/* 3D Graphics Quality Preset Switcher */
.quality-selector {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 3px 5px;
  border-radius: 20px;
  pointer-events: auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.quality-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  padding: 0 4px;
  letter-spacing: 0.05em;
}

.q-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.q-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.q-btn.active {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.7);
}

/* ==========================================================================
   3D SHOWCASE SECTIONS ACROSS WEBSITE
   ========================================================================== */
.section-3d-showcase {
  padding: 10px 0 40px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.showcase-reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.showcase-3d-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: radial-gradient(circle at center, var(--bg-surface) 30%, var(--bg-alt) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.canvas-3d-embed {
  width: 100%;
  height: 330px;
  display: block;
  touch-action: pan-y;
}

.canvas-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  pointer-events: none;
  white-space: nowrap;
}

.showcase-info h3 {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.25;
}

.showcase-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.showcase-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-pills span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid var(--border-hover);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
}

/* 3D Perspective Tilt on Interactive Cards */
.plan-card, .service-card, .infra-card, .location-card, .coming-soon-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.plan-card:hover, .service-card:hover, .infra-card:hover, .location-card:hover, .coming-soon-card:hover {
  transform: translateY(-6px) rotateX(1.5deg);
  box-shadow: var(--shadow-xl);
}

/* Dark Theme Surface Specific Overrides */
html.dark-theme .navbar {
  background: rgba(5, 8, 22, 0.88);
  border-bottom-color: rgba(98, 185, 255, 0.16);
}

html.dark-theme .provision-console {
  background: #0b1528;
  border-color: rgba(98, 185, 255, 0.22);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(98, 185, 255, 0.15) inset;
}

html.dark-theme .console-header {
  background: #080f1e;
  border-bottom-color: rgba(98, 185, 255, 0.18);
}

html.dark-theme .cpu-tab,
html.dark-theme .tier-chip,
html.dark-theme .spec-tile,
html.dark-theme .console-os-bar {
  background: #0d1a33;
  border-color: rgba(98, 185, 255, 0.16);
}

html.dark-theme .cpu-tab:hover,
html.dark-theme .tier-chip:hover {
  background: #112244;
  border-color: rgba(98, 185, 255, 0.35);
}

html.dark-theme .cpu-tab.active,
html.dark-theme .tier-chip.active {
  background: rgba(56, 189, 248, 0.18);
  border-color: var(--blue);
}

html.dark-theme .console-deploy-box {
  background: linear-gradient(135deg, rgba(14, 28, 54, 0.95), rgba(12, 38, 70, 0.95));
  border-color: rgba(56, 189, 248, 0.35);
}

html.dark-theme .plan-card.popular {
  background: linear-gradient(180deg, #0e1e38 0%, #0a172a 100%);
  border-color: var(--blue);
}

html.dark-theme .canvas-container,
html.dark-theme .canvas-3d-embed,
html.dark-theme .console-3d-wrap {
  background: radial-gradient(circle at center, #0e1b33 30%, #050816 100%);
}

/* ==========================================================================
   Trust Bar
   ========================================================================== */

.trust-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  box-shadow: var(--shadow-sm);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px 32px;
  list-style: none;
}

.trust-items li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

/* ==========================================================================
   Section Headers & Common Layout
   ========================================================================== */

.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid #bfdbfe;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

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

.section-header h2, .section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
}

.section-header p, .section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-hero {
  padding: 80px 0 30px;
  text-align: center;
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services {
  padding: 80px 0;
}

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

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 22px;
}

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

.service-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: "•";
  color: var(--blue);
  font-size: 1.2rem;
  line-height: 0;
}

.service-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 10px;
  color: var(--blue-hover);
}

/* ==========================================================================
   Plans & Pricing Section
   ========================================================================== */

.plans-section {
  padding: 40px 0 80px;
}

/* Tabs */
.plan-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.plan-tabs {
  display: inline-flex;
  background: var(--bg-alt);
  padding: 5px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  gap: 4px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  padding: 10px 22px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

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

.tab-btn.active {
  background: var(--bg-surface);
  color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

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

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

.hosting-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.plan-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.plan-card.popular {
  border-color: var(--blue);
  box-shadow: 0 12px 28px -6px rgba(37, 99, 235, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
}

.popular-badge-wrap {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
}

.popular-badge {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  text-transform: uppercase;
}

.plan-header {
  margin-bottom: 20px;
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.price-period {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

.plan-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: var(--bg-alt);
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 22px;
  text-align: center;
}

.spec-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

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

.spec-val {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.feature-check {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

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

/* Hosting Features Sub-Grid */
.hosting-features {
  padding: 60px 0 80px;
}

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

.feature-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.feature-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Infrastructure Section
   ========================================================================== */

.infra-section {
  padding: 40px 0 80px;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.infra-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

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

.infra-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.infra-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.infra-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.infra-card li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.infra-card li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 800;
}

.tech-stack-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.tech-stack-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.tech-tags span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-light);
  border: 1px solid #bfdbfe;
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==========================================================================
   Locations Section (3D Globe)
   ========================================================================== */

.locations-section {
  padding: 40px 0 80px;
}

.locations-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 36px;
  margin-bottom: 36px;
}

.locations-map {
  position: relative;
  min-height: 420px;
}

#globe-canvas {
  height: 420px;
  background: radial-gradient(circle at center, #ffffff 40%, #f1f5f9 100%);
}

.locations-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.location-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

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

.location-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.location-flag {
  font-size: 2rem;
}

.location-header-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 2px;
}

.location-city {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.status-badge.active {
  color: #065f46;
  background: var(--green-light);
  border: 1px solid #a7f3d0;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.location-specs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.location-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--bg-alt);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.location-specs li strong {
  color: var(--text);
}

.coming-soon-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.coming-icon {
  font-size: 2.8rem;
}

.coming-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.coming-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.coming-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.region-pill {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */

.contact-section {
  padding: 40px 0 90px;
}

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

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 28px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.contact-method:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.whatsapp-method {
  border-color: #a7f3d0;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

.whatsapp-method .method-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}

.method-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.method-details h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3px;
}

.method-val {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 2px !important;
}

.method-sub {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-subtext {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--green-light);
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.required-star {
  color: var(--danger);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-surface);
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
  resize: vertical;
}

/* ==========================================================================
   Call To Action (CTA)
   ========================================================================== */

.cta-section {
  padding: 30px 0 90px;
}

.cta-box {
  background: linear-gradient(135deg, #1e3a8a, #0284c7);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.12) 0, transparent 40%);
  pointer-events: none;
}

.cta-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  color: #ffffff;
}

.cta-box p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 32px;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cta-buttons .btn-primary {
  background: #ffffff;
  color: var(--blue);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-primary:hover {
  background: #f8fafc;
  color: var(--blue-hover);
}

/* ==========================================================================
   Footer & Datacenter Infrastructure CTA (Photorealistic 3D Theme)
   ========================================================================== */

/* 1. Top Infrastructure CTA Band */
.footer-cta-band {
  position: relative;
  background: linear-gradient(135deg, #090E16 0%, #111A27 50%, #0A0F17 100%);
  border-top: 1px solid rgba(34, 211, 238, 0.2);
  border-bottom: 1px solid rgba(34, 211, 238, 0.15);
  padding: 80px 0;
  overflow: hidden;
}

html.light-theme .footer-cta-band {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f8fafc 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(34, 211, 238, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
  animation: gridDrift 30s linear infinite;
}

@keyframes gridDrift {
  0% { transform: translateY(0); }
  100% { transform: translateY(36px); }
}

.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-band-text {
  max-width: 650px;
}

.badge-cyan {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 14px;
}

.cta-band-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 12px;
}

.gradient-text {
  background: linear-gradient(135deg, #22D3EE 0%, #38BDF8 50%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-band-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

.btn-glow {
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.4), 0 4px 16px rgba(2, 132, 199, 0.4);
  position: relative;
}

.btn-glow:hover {
  box-shadow: 0 0 36px rgba(34, 211, 238, 0.65), 0 6px 22px rgba(2, 132, 199, 0.6);
}

.btn-whatsapp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10B981;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-whatsapp-cta:hover {
  background: #10B981;
  color: #ffffff;
  border-color: #10B981;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.4);
}

/* 2. Monospace Live Stats Telemetry Strip */
.stats-strip {
  background: #080C13;
  border-bottom: 1px solid rgba(34, 211, 238, 0.14);
  padding: 26px 0;
}

html.light-theme .stats-strip {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

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

.stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-cell:last-child {
  border-right: none;
}

html.light-theme .stat-cell {
  border-right: 1px solid var(--border);
}

.stat-number-wrap {
  font-family: var(--font-mono);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-counter {
  color: #F1F5F9;
}

html.light-theme .stat-counter {
  color: var(--text);
}

.stat-unit {
  color: var(--cyan);
  font-size: 1.8rem;
}

.stat-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
}

/* 3. Main Futuristic Datacenter Footer */
.footer {
  background: #070A10;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 70px 0 30px;
  color: var(--text-secondary);
}

html.light-theme .footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.05fr 1.05fr 1.05fr 1.35fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 14px 0 20px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.social-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.4);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.25);
}

html.light-theme .social-icon {
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

/* Newsletter Signup */
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 320px;
}

.newsletter-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

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

.newsletter-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.newsletter-input-wrap:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.25);
}

html.light-theme .newsletter-input-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--text);
  outline: none;
}

.newsletter-btn {
  padding: 10px 14px;
  background: rgba(34, 211, 238, 0.15);
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--cyan);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.newsletter-btn:hover {
  background: var(--cyan);
  color: #0A0E14;
}

.newsletter-msg {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  min-height: 16px;
}

.newsletter-msg.error {
  color: #F87171;
}

.newsletter-msg.success {
  color: #10B981;
}

/* Footer Navigation Columns */
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

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

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--cyan);
  transform: translateX(3px);
}

/* Column 4 Contact & Locations */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.86rem;
}

.hub-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
}

.contact-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 6px 0;
}

html.light-theme .contact-divider {
  background: var(--border);
}

.contact-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 2px;
}

.contact-val {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--cyan) !important;
  text-decoration: none;
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

html.light-theme .footer-bottom-bar {
  border-top: 1px solid var(--border);
}

.footer-copy {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.system-time {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
}

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

.footer-legal-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-utilities {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
}

html.light-theme .lang-selector {
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.28);
  padding: 5px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.back-to-top-btn:hover {
  background: rgba(34, 211, 238, 0.18);
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.25);
}

/* ==========================================================================
   Scroll-Driven Reveal Animation
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

/* ==========================================================================
   Mobile Sticky CTA Bar (Quick Mobile Deployment Actions)
   ========================================================================== */
.mobile-sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(72px + var(--safe-bottom));
  }

  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background: rgba(10, 14, 20, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(34, 211, 238, 0.22);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.65);
    padding: 10px 14px calc(10px + var(--safe-bottom));
  }

  html.light-theme .mobile-sticky-cta {
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
  }

  .mobile-sticky-inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
  }

  .mobile-sticky-btn {
    height: 46px;
    min-height: 46px;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 12px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    touch-action: manipulation;
    white-space: nowrap;
    text-decoration: none;
  }

  .mobile-sticky-btn:active {
    transform: scale(0.97);
  }

  .sticky-icon {
    font-size: 1rem;
  }
}

/* ==========================================================================
   Responsive Breakpoints & Mobile-First Optimization Architecture
   ========================================================================== */

/* 1. Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer-cta-band .cta-band-inner {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }

  .footer-cta-band .cta-band-actions {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }

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

  .stat-cell:nth-child(2) {
    border-right: none;
  }

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

  .footer-brand-col {
    grid-column: span 2;
  }
}

/* 2. Tablets & Mobile Threshold (max-width: 900px) */
@media (max-width: 900px) {
  .desktop-only {
    display: none !important;
  }

  .mobile-nav-controls {
    display: flex !important;
    align-items: center;
    gap: 8px;
  }

  .mobile-menu-btn,
  .mobile-search-btn,
  .mobile-theme-btn {
    display: inline-flex !important;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .announcement-bar .announcement-inner {
    padding-right: 44px;
  }

  .announcement-close {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
  }

  .showcase-grid,
  .showcase-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 18px;
  }

  .canvas-3d-embed {
    height: 280px;
  }

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

/* 3. Mobile Viewports (max-width: 768px): Touch targets, zero horizontal scroll, iOS inputs */
@media (max-width: 768px) {
  /* Prevent iOS Safari input auto-zoom by enforcing >= 16px font size */
  input,
  select,
  textarea,
  .cmd-input,
  .newsletter-input,
  .form-group input,
  .form-group textarea {
    font-size: 16px !important;
  }

  /* Safe Area Header Padding */
  .navbar {
    padding-top: var(--safe-top);
  }

  /* Full-Screen Mobile Drawer with dvh */
  .mobile-menu {
    top: calc(74px + var(--safe-top));
    height: calc(100dvh - 74px - var(--safe-top));
    max-height: calc(100dvh - 74px - var(--safe-top));
  }

  .mobile-drawer-inner {
    padding: 20px 18px calc(40px + var(--safe-bottom));
    min-height: auto;
  }

  .mobile-nav-item {
    min-height: 48px;
    padding: 14px 16px;
  }

  /* Buttons and Tap Targets: Minimum 44x44px hit areas */
  .btn-primary,
  .btn-secondary,
  .btn-whatsapp,
  .btn-outline,
  .tab-btn,
  .cpu-tab,
  .tier-chip {
    min-height: 44px;
    touch-action: manipulation;
  }

  /* Tap feedback instead of hover-only */
  .btn-primary:active,
  .btn-secondary:active,
  .btn-whatsapp:active,
  .plan-card:active,
  .tab-btn:active,
  .cpu-tab:active,
  .tier-chip:active {
    transform: scale(0.98);
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .plan-specs {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .spec-box {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 14px;
  }

  /* Stacked Features Grid */
  .features-grid,
  .infra-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

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

  .footer-cta-band .cta-band-actions {
    flex-direction: column;
    width: 100%;
  }

  .footer-cta-band .cta-band-actions a {
    width: 100%;
  }

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

  .footer-brand-col {
    grid-column: span 1;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding-bottom: var(--safe-bottom);
  }

  .footer-copy,
  .footer-legal-links,
  .footer-utilities {
    justify-content: center;
    width: 100%;
  }
  /* ==========================================================================
     HERO SECTION: TABLET & MOBILE VIEWPORT OPTIMIZATIONS (<= 768px)
     ========================================================================== */
  .hero {
    padding: 30px 0 46px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-badge {
    font-size: 0.74rem;
    padding: 5px 12px;
    margin-bottom: 14px;
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(1.95rem, 5.5vw, 2.75rem);
    line-height: 1.15;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 12px;
  }

  .hero-description {
    font-size: 0.94rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 100%;
  }

  /* Sleek action buttons on mobile */
  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
  }

  .hero-buttons #hero-cta-deploy {
    grid-column: span 2;
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.03em;
  }

  .hero-buttons #hero-cta-plans,
  .hero-buttons #hero-cta-whatsapp {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 0.84rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  /* Micro-Metrics high-density bar */
  .hero-metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
  }

  .metric-card {
    padding: 10px 8px;
    text-align: center;
    align-items: center;
  }

  .metric-val {
    font-size: 1.18rem;
    margin-bottom: 2px;
  }

  .metric-lbl {
    font-size: 0.65rem;
    white-space: nowrap;
  }

  /* 2x2 Infrastructure highlight pills */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hero-stats li {
    padding: 6px 10px;
    font-size: 0.76rem;
    justify-content: center;
    text-align: center;
  }

  /* 3D Datacenter Console Mobile Optimization */
  .provision-console {
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.16);
  }

  .console-header {
    height: 40px;
    padding: 0 12px;
  }

  .console-title {
    font-size: 0.72rem;
    gap: 6px;
  }

  .console-title span {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .console-status {
    font-size: 0.68rem;
    padding: 2px 7px;
  }

  /* 3D Viewport container matching canvas height */
  .console-3d-wrap {
    height: 230px;
    touch-action: pan-y;
  }

  .console-3d-canvas {
    width: 100%;
    height: 100%;
    touch-action: pan-y;
  }

  .console-3d-overlay {
    top: 8px;
    left: 10px;
    right: 10px;
  }

  .live-3d-badge {
    font-size: 0.65rem;
    padding: 2px 7px;
  }

  .live-3d-hint {
    display: none !important;
  }

  .quality-selector {
    padding: 2px 4px;
    gap: 2px;
  }

  .quality-selector .q-btn {
    padding: 3px 6px;
    font-size: 0.62rem;
    min-height: 24px;
  }

  .console-body {
    padding: 16px 14px;
    gap: 14px;
  }

  .cpu-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cpu-tab {
    padding: 10px 10px;
  }

  .cpu-title {
    font-size: 0.82rem;
  }

  .cpu-sub {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  /* Tier presets: Smooth touch-momentum horizontal swipe */
  .tier-presets {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tier-presets::-webkit-scrollbar {
    display: none;
  }

  .tier-chip {
    flex: 0 0 118px;
    min-width: 118px;
    scroll-snap-align: start;
    padding: 8px 6px;
  }

  .live-spec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .spec-tile {
    padding: 8px 10px;
    gap: 8px;
  }

  .spec-tile-icon {
    font-size: 1.1rem;
  }

  .spec-tile-label {
    font-size: 0.62rem;
  }

  .spec-tile-val {
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .console-os-bar {
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .os-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  .os-tag {
    font-size: 0.72rem;
    padding: 2px 8px;
  }

  .console-deploy-box {
    padding: 14px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    text-align: center;
  }

  .deploy-pricing {
    align-items: center;
  }

  .btn-deploy-action {
    width: 100%;
    padding: 12px;
    font-size: 0.92rem;
    justify-content: center;
    display: flex;
    align-items: center;
  }
}

/* 4. Compact Mobile Viewports (max-width: 480px, including 360x640, 375x667, 390x844, 412x915) */
@media (max-width: 480px) {
  .container {
    width: calc(100% - 20px);
    max-width: 100%;
  }

  .announcement-text {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .announcement-badge {
    font-size: 0.62rem;
    padding: 2px 6px;
  }

  .hero {
    padding: 20px 0 36px;
  }

  .hero-badge {
    font-size: 0.68rem;
    padding: 4px 10px;
    margin-bottom: 12px;
    max-width: 100%;
  }

  .badge-text-full {
    display: none !important;
  }

  .badge-text-short {
    display: inline !important;
  }

  .hero-title {
    font-size: clamp(1.55rem, 6.2vw, 1.85rem);
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 10px;
    line-height: 1.35;
  }

  .hero-description {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
  }

  .hero-buttons #hero-cta-deploy {
    grid-column: span 2;
    width: 100%;
    min-height: 48px;
  }

  .hero-buttons #hero-cta-plans,
  .hero-buttons #hero-cta-whatsapp {
    width: 100%;
    min-height: 42px;
    font-size: 0.82rem;
    padding: 8px 4px;
    white-space: nowrap;
  }

  .hero-metric-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 14px;
    width: 100%;
  }

  .metric-card {
    min-width: 0;
    padding: 8px 3px;
    text-align: center;
    align-items: center;
  }

  .metric-val {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .metric-lbl {
    font-size: 0.58rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

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

  .hero-stats li {
    font-size: 0.72rem;
    padding: 5px 6px;
  }

  .console-header {
    height: 38px;
    padding: 0 10px;
  }

  .console-title span {
    max-width: 120px;
    font-size: 0.68rem;
  }

  .status-loc-full {
    display: none !important;
  }

  .status-loc-short {
    display: inline !important;
  }

  .console-status {
    font-size: 0.62rem;
    padding: 2px 6px;
  }

  .console-3d-wrap {
    height: 205px;
  }

  .console-body {
    padding: 14px 10px;
    gap: 12px;
  }

  .cpu-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .cpu-tab {
    width: 100%;
    padding: 8px 6px;
  }

  .cpu-badge {
    font-size: 0.6rem;
    padding: 1px 4px;
  }

  .cpu-title {
    font-size: 0.76rem;
  }

  .cpu-sub {
    font-size: 0.6rem;
  }

  .tier-chip {
    flex: 0 0 108px;
    min-width: 108px;
    padding: 8px 4px;
  }

  .chip-name {
    font-size: 0.78rem;
  }

  .chip-spec {
    font-size: 0.62rem;
  }

  .live-spec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .spec-tile {
    padding: 6px 8px;
    gap: 6px;
  }

  .spec-tile-icon {
    font-size: 0.95rem;
  }

  .spec-tile-label {
    font-size: 0.58rem;
  }

  .spec-tile-val {
    font-size: 0.72rem;
  }

  .plan-tabs {
    display: flex;
    width: 100%;
    gap: 8px;
  }

  .tab-btn {
    flex: 1;
    padding: 12px 10px;
    font-size: 0.85rem;
  }

  .console-3d-canvas,
  .canvas-3d-embed,
  .canvas-container {
    height: 205px;
    max-height: 65vw;
  }

  .console-os-bar {
    padding: 8px 10px;
  }

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

  .os-tag {
    font-size: 0.65rem;
    padding: 2px 6px;
  }

  .console-deploy-box {
    padding: 12px;
    gap: 10px;
  }

  .price-number {
    font-size: 1.65rem;
  }

  .btn-deploy-action {
    width: 100%;
    min-height: 48px;
    font-size: 0.88rem;
  }

  .console-terminal-log {
    padding: 6px 8px;
    font-size: 0.65rem;
  }

  .stats-strip-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-cell {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 14px;
  }

  .stat-cell:last-child {
    border-bottom: none;
  }

  .coming-soon-card {
    flex-direction: column;
    text-align: center;
  }

  .coming-regions {
    justify-content: center;
  }
}

/* Extra small mobile viewports (<= 360px) */
@media (max-width: 360px) {
  .cpu-selector {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .console-title span {
    max-width: 95px;
  }
  .hero-title {
    font-size: 1.65rem;
  }
}

/* 5. Mobile Landscape Orientation (height < 500px, landscape) */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 24px 0 36px;
  }

  .console-3d-canvas,
  .canvas-3d-embed,
  .canvas-container {
    height: 220px;
  }

  .mobile-menu {
    top: 56px;
    height: calc(100dvh - 56px);
  }
}

/* ==========================================================================
   SEO BREADCRUMBS, CRAWLER FALLBACKS & 404 STYLES
   ========================================================================== */
.breadcrumb-nav {
  padding: 14px 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 0.85rem;
  font-family: var(--font-heading);
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.breadcrumb-item a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
  color: var(--blue);
}

.breadcrumb-item [aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}

.breadcrumb-separator {
  color: var(--border-hover);
  font-size: 0.75rem;
}

/* Crawler & Screen-Reader Fallbacks for 3D Viewports */
.crawler-fallback-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin: 18px 0;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.crawler-fallback-box h3 {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}

.crawler-fallback-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
}

.crawler-fallback-box ul {
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 404 Not Found Page */
.error-404-section {
  padding: 90px 0 120px;
  text-align: center;
}

.error-404-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin: 10px 0 16px;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 24px rgba(2, 132, 199, 0.25);
}

.error-404-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}

.error-404-desc {
  max-width: 560px;
  margin: 0 auto 34px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
}

.error-404-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* FAQ Section */
.faq-section {
  padding: 60px 0 80px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.faq-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.35;
}

.faq-item p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

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


