/* ==========================================================================
   UltraScale Solutions - Premium Design System & Stylesheet
   Vanilla CSS Design System with 3D Effects & Glassmorphism
   ========================================================================== */

:root {
  /* Color Palette - Deep Futuristic Dark Theme (Purple/Violet Noir) */
  --bg-main: #0B0714;
  --bg-secondary: #0F091D;
  --bg-tertiary: #160D29;
  --bg-card: rgba(22, 13, 41, 0.65);
  --bg-card-hover: rgba(33, 19, 61, 0.82);
  
  /* Brand Gradients & Accents (Vivid Electric Purple) */
  --color-primary: #A14BFF;
  --color-primary-glow: rgba(161, 75, 255, 0.45);
  --color-cyan: #C084FC;
  --color-purple: #D8B4FE;
  --color-emerald: #10B981;
  
  /* Text Colors */
  --text-main: #F8FAFC;
  --text-muted: #A79DBC;
  --text-dim: #716688;
  
  /* Borders & Glass */
  --border-subtle: rgba(161, 75, 255, 0.12);
  --border-highlight: rgba(161, 75, 255, 0.45);
  --glass-blur: blur(16px);
  
  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Spacing & Transition */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Ambient 3D Background Canvas */
#ambient-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.85;
}

/* ==========================================================================
   Scroll Progress Indicator (Thin Line Loader Under Header)
   ========================================================================== */

.scroll-progress-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;  
  background: rgba(161, 75, 255, 0.08);
  z-index: 1001;
  pointer-events: none;
  overflow: visible;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38BDF8 0%, #818CF8 25%, #A14BFF 55%, #C084FC 80%, #F472B6 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 10px rgba(161, 75, 255, 0.85), 0 0 20px rgba(192, 132, 252, 0.45);
  position: relative;
  transition: width 0.08s ease-out;
  border-radius: 0 2px 2px 0;
  animation: scrollGradShimmer 4s linear infinite;
}

@keyframes scrollGradShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.scroll-progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 0 8px 2px #FFFFFF, 0 0 14px 4px rgba(161, 75, 255, 0.9);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.scroll-progress-bar.is-scrolling::after {
  opacity: 1;
}

/* ==========================================================================
   Typography & Shared Utility Classes
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-primary) 50%, var(--color-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan { color: var(--color-cyan); }
.text-purple { color: var(--color-purple); }
.text-blue { color: var(--color-primary); }

.section {
  padding: 100px 24px;
  position: relative;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px auto;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Buttons & Interactive Micro-Animations
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-smooth);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, #8B3DFF, #A14BFF);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(161, 75, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(161, 75, 255, 0.65);
}

.glow-button {
  position: relative;
  overflow: hidden;
}

.glow-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glow-button:hover::after {
  opacity: 1;
}

.glass-button {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: var(--glass-blur);
}

.glass-button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon-3d {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4));
  transition: transform 0.4s ease;
}

.brand-logo:hover .logo-icon-3d {
  transform: rotate(15deg) scale(1.08);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
}

.brand-highlight {
  color: var(--color-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-primary));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link-badge {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 8px var(--color-cyan);
  animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: rgba(10, 14, 23, 0.96);
  backdrop-filter: blur(24px);
  border-left: 1px solid var(--border-subtle);
  z-index: 2000;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.close-drawer-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drawer-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
}

.btn-drawer-cta {
  margin-top: 20px;
  background: var(--color-primary);
  text-align: center;
  padding: 12px;
  border-radius: 9999px;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   Hero Section & 3D Visualizer
   ========================================================================== */

.hero-section {
  padding: 150px 24px 80px 24px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #A5B4FC;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero-description {
  font-size: 1.22rem;
  color: var(--text-muted);
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.mini-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 3D Hero Canvas Container */
.hero-visual-3d {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-glow-backdrop {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.45) 0%, rgba(56, 189, 248, 0.15) 50%, transparent 80%);
  filter: blur(40px);
  z-index: 1;
}

.hero-3d-canvas {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: grab;
}

.hero-3d-canvas:active {
  cursor: grabbing;
}

.canvas-hud-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hud-tag {
  position: absolute;
  background: rgba(10, 14, 23, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-tag.top-left {
  top: 20px;
  left: 20px;
}

.hud-tag.top-right {
  top: 20px;
  right: 20px;
}

.hud-tag.bottom-left {
  bottom: 20px;
  left: 20px;
}

.hud-tag.bottom-right {
  bottom: 20px;
  right: 20px;
}

.hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-emerald);
  box-shadow: 0 0 6px var(--color-emerald);
}

/* Stats Banner */
.stats-banner {
  max-width: 1280px;
  margin: 60px auto 0 auto;
  background: rgba(17, 24, 39, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  backdrop-filter: var(--glass-blur);
  padding: 36px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-card {
  position: relative;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.stat-suffix {
  color: var(--color-cyan);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Solutions Grid & 3D Tilt Cards
   ========================================================================== */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.solution-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 38px 36px;
  overflow: hidden;
  transition: all 0.25s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.15);
}

.card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.card-metric-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  color: var(--color-cyan);
}

.solution-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.icon-blue { background: rgba(99, 102, 241, 0.18); color: #818CF8; }
.icon-purple { background: rgba(168, 85, 247, 0.18); color: #C084FC; }
.icon-cyan { background: rgba(56, 189, 248, 0.18); color: #38BDF8; }
.icon-emerald { background: rgba(16, 185, 129, 0.18); color: #34D399; }

.solution-title {
  font-size: 1.65rem;
  margin-bottom: 12px;
}

.solution-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 1rem;
}

.solution-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
  font-size: 0.93rem;
  margin-bottom: 10px;
}

.solution-features li i {
  color: var(--color-cyan);
}

.solution-card-footer {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.btn-card-link {
  background: transparent;
  border: none;
  color: var(--color-cyan);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-card-link:hover {
  transform: translateX(4px);
}

/* ==========================================================================
   Interactive 3D Architecture Lab Section
   ========================================================================== */

.section-3d-lab {
  background: radial-gradient(ellipse at center, rgba(17, 24, 39, 0.8) 0%, rgba(6, 8, 14, 0.95) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.topology-lab-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.topology-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.btn-topo-mode {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-topo-mode:hover,
.btn-topo-mode.active {
  background: rgba(99, 102, 241, 0.2);
  border-color: var(--color-primary);
  color: var(--text-main);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.25);
}

.topology-canvas-wrapper {
  position: relative;
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  background: #050811;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.topology-3d-canvas {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
}

.topology-3d-canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.topology-3d-canvas:active {
  cursor: grabbing;
}

.topology-info-panel {
  position: absolute;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  background: rgba(10, 14, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  padding: 22px 24px;
  border-radius: 16px;
  pointer-events: none;
}

.topo-status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
}

.topology-info-panel p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.topo-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.topo-stats strong {
  color: var(--color-cyan);
}

/* ==========================================================================
   Platform Capabilities Grid
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 28px;
  transition: all var(--transition-smooth);
}

.feature-item:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.feature-item h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Testimonials & Trusted Companies Cloud
   ========================================================================== */

.trusted-cloud {
  text-align: center;
  margin-bottom: 64px;
}

.trusted-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.client-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.75;
  transition: all 0.2s ease;
}

.client-logo:hover {
  opacity: 1;
  color: var(--text-main);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #F59E0B;
  font-size: 0.95rem;
  margin-bottom: 16px;
  display: flex;
  gap: 4px;
}

.quote-text {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 24px;
  font-style: italic;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}

.avatar-blue { background: #4F46E5; }
.avatar-purple { background: #9333EA; }
.avatar-cyan { background: #0284C7; }

.author-name {
  font-weight: 700;
  color: var(--text-main);
  font-size: 0.95rem;
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Call To Action Section
   ========================================================================== */

.cta-section {
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.cta-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.3) 0%, rgba(56, 189, 248, 0.15) 50%, transparent 75%);
  filter: blur(60px);
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 32px;
  padding: 64px 48px;
  text-align: center;
  backdrop-filter: var(--glass-blur);
  overflow: hidden;
}

.cta-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-cyan);
  background: rgba(56, 189, 248, 0.12);
  border-radius: 9999px;
  margin-bottom: 20px;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 20px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cta-subtitle {
  font-size: 1.18rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 36px auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.cta-guarantees {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cta-guarantees span i {
  color: var(--color-emerald);
  margin-right: 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.main-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 80px 24px 40px 24px;
  background: #04060a;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 3fr;
  gap: 64px;
  margin-bottom: 60px;
}

.footer-tagline {
  color: var(--text-muted);
  margin: 16px 0 24px 0;
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-column ul li a:hover {
  color: var(--color-cyan);
}

.footer-badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.7rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 6px;
  margin-left: 6px;
}

.status-green {
  color: var(--color-emerald);
  font-weight: 700;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--text-main);
}

/* ==========================================================================
   Modals & Toast Notifications
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0D121F;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  width: 100%;
  max-width: 580px;
  padding: 36px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-card.modal-lg {
  max-width: 760px;
}

.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.modal-title-wrap h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.modal-title-wrap p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-cyan);
}

.form-group select option {
  background: #0D121F;
  color: var(--text-main);
}

.btn-full {
  width: 100%;
}

.solution-3d-viewport {
  width: 100%;
  height: 340px;
  background: #060911;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.solution-info-text {
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: rgba(13, 18, 31, 0.95);
  border: 1px solid var(--color-emerald);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 4000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 1.6rem;
  color: var(--color-emerald);
}

.toast-message h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.toast-message p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-description {
    margin: 0 auto 36px auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-mini-badges {
    justify-content: center;
  }
  
  .features-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }

  .topology-canvas-wrapper {
    height: 480px;
  }

  .topology-info-panel {
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: calc(100% - 32px);
    padding: 16px 18px;
  }

  .topology-controls {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==========================================================================
   SEO Company Overview & Engineering Architecture Sections
   ========================================================================== */
.seo-company-overview {
  position: relative;
  padding: 100px 0;
  background: radial-gradient(circle at 50% 0%, rgba(161, 75, 255, 0.08) 0%, transparent 70%);
}

.overview-lead-box {
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.overview-lead-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-top: 20px;
  font-weight: 300;
}

.overview-lead-text strong {
  color: var(--color-cyan);
  font-weight: 600;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.pillar-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: 0 15px 35px rgba(161, 75, 255, 0.18);
  background: var(--bg-card-hover);
}

.pillar-num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(161, 75, 255, 0.15);
  line-height: 1;
}

.pillar-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
  background: rgba(161, 75, 255, 0.12);
  color: var(--color-cyan);
  border: 1px solid rgba(161, 75, 255, 0.25);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #fff;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pillar-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(161, 75, 255, 0.08);
  color: var(--color-purple);
  border: 1px solid rgba(161, 75, 255, 0.18);
  font-weight: 500;
}

/* ==========================================================================
   Technology Stack Grid Showcase
   ========================================================================== */
.tech-stack-showcase {
  margin-top: 60px;
  padding: 40px;
  background: rgba(22, 13, 41, 0.45);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  backdrop-filter: var(--glass-blur);
}

.tech-stack-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 30px;
}

.tech-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.tech-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(11, 7, 20, 0.7);
  border: 1px solid rgba(161, 75, 255, 0.2);
  border-radius: 12px;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.tech-chip:hover {
  border-color: var(--color-primary);
  background: rgba(161, 75, 255, 0.15);
  transform: translateY(-2px);
  color: #fff;
}

.tech-chip i {
  color: var(--color-cyan);
  font-size: 1.1rem;
}

/* ==========================================================================
   FAQ Accordion Section (Rich Snippet / Voice Search SEO)
   ========================================================================== */
.faq-section {
  padding: 100px 0;
  position: relative;
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(161, 75, 255, 0.35);
}

.faq-item.active {
  border-color: var(--color-primary);
  background: var(--bg-card-hover);
  box-shadow: 0 8px 25px rgba(161, 75, 255, 0.12);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  gap: 20px;
}

.faq-question i {
  font-size: 0.95rem;
  color: var(--color-cyan);
  transition: transform var(--transition-smooth);
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 26px 22px 26px;
}

.faq-answer strong {
  color: #fff;
}

/* ==========================================================================
   Insights / Thought Leadership Blog Styles
   ========================================================================== */
.insights-section {
  padding: 100px 0;
  position: relative;
}

.filter-pills-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  margin-bottom: 45px;
}

.filter-pill {
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(22, 13, 41, 0.7);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-pill:hover,
.filter-pill.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  box-shadow: 0 0 15px var(--color-primary-glow);
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.insight-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.insight-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-highlight);
  box-shadow: 0 16px 36px rgba(161, 75, 255, 0.2);
  background: var(--bg-card-hover);
}

.insight-banner {
  height: 180px;
  background: linear-gradient(135deg, #160D29 0%, #2A154E 50%, #0B0714 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(161, 75, 255, 0.15);
}

.insight-banner-icon {
  font-size: 3.5rem;
  opacity: 0.85;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(161, 75, 255, 0.5));
}

.insight-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 4px 12px;
  font-size: 0.75rem;
  border-radius: 20px;
  background: rgba(11, 7, 20, 0.8);
  border: 1px solid rgba(161, 75, 255, 0.3);
  color: var(--color-cyan);
  font-weight: 600;
  text-transform: uppercase;
}

.insight-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.insight-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.insight-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.insight-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 12px;
  color: #fff;
}

.insight-excerpt {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.insight-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(161, 75, 255, 0.1);
}

.insight-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-primary), #8B3DFF);
  color: #fff;
}

.author-info h5 {
  font-size: 0.82rem;
  color: #fff;
}

.author-info p {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.insight-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-cyan);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.insight-read-more:hover {
  color: #fff;
  transform: translateX(4px);
}

/* ==========================================================================
   About Us Page Specifics
   ========================================================================== */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-stats-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 26px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.about-stat-box:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
}

.about-stat-box .stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: 4px;
}

.about-stat-box .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.value-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 30px 24px;
  transition: all var(--transition-smooth);
}

.value-item:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

.value-item h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #fff;
  margin: 14px 0 8px 0;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.compliance-section {
  padding: 80px 0;
}

.compliance-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.compliance-badge-card {
  background: rgba(22, 13, 41, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: all var(--transition-fast);
}

.compliance-badge-card:hover {
  border-color: var(--color-cyan);
  background: rgba(161, 75, 255, 0.12);
}

.compliance-badge-card i {
  font-size: 2rem;
  color: var(--color-cyan);
  margin-bottom: 12px;
}

.compliance-badge-card h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 6px;
}

.compliance-badge-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Page Specific Components: Contact & Platform Grids
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: var(--glass-blur);
}

.platform-sla-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

/* ==========================================================================
   Global Responsive System (Every Device & Viewport)
   ========================================================================== */

/* Large Tablets & Small Desktops */
@media (max-width: 1200px) {
  .hero-container {
    gap: 32px;
  }

  .hero-title {
    font-size: 3.4rem;
  }
}

/* Medium Tablets / Portrait Viewports (< 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  
  .hero-description {
    margin: 0 auto 32px auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-mini-badges {
    justify-content: center;
    margin-bottom: 12px;
  }

  .hero-visual-3d {
    max-width: 480px;
    height: 380px;
    margin: 12px auto 0 auto;
    border-radius: 20px;
    overflow: hidden;
  }

  .canvas-hud-overlay {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
  }

  .hud-tag {
    position: static !important;
    transform: none !important;
    font-size: 0.72rem;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(10, 14, 23, 0.92);
    border: 1px solid rgba(161, 75, 255, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    max-width: 94%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hud-tag.top-left,
  .hud-tag.bottom-right,
  .hud-tag.top-right,
  .hud-tag.bottom-left {
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
  
  .features-grid,
  .testimonials-grid,
  .platform-sla-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-hero-grid .badge-pill {
    margin: 0 auto 20px auto;
  }

  .about-hero-grid .hero-cta-group {
    justify-content: center;
  }
}

/* Standard Mobile & Small Tablets (< 768px) */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .nav-actions .btn,
  .nav-actions #btn-schedule-demo,
  .nav-actions .btn-header-cta {
    display: none !important;
  }
  
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .section {
    padding: 60px 16px;
  }

  .hero-section {
    padding: 110px 16px 40px 16px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 0.98rem;
  }

  .hero-mini-badges {
    margin-top: 20px;
    margin-bottom: 16px;
    gap: 8px;
    padding-top: 18px;
    justify-content: center;
  }

  .hero-visual-3d {
    max-width: 440px;
    height: 350px;
    margin: 16px auto 0 auto;
    border-radius: 20px;
    overflow: hidden;
  }

  .canvas-hud-overlay {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
  }

  .hud-tag {
    position: static !important;
    transform: none !important;
    font-size: 0.7rem;
    padding: 6px 14px;
    border-radius: 9999px;
    background: rgba(10, 14, 23, 0.92);
    border: 1px solid rgba(161, 75, 255, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    white-space: nowrap;
    max-width: 94%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hud-tag.top-left,
  .hud-tag.bottom-right,
  .hud-tag.top-right,
  .hud-tag.bottom-left {
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .stats-banner {
    padding: 22px 16px;
    margin-top: 36px;
  }

  .stat-value {
    font-size: 2.1rem;
  }
  
  .solutions-grid,
  .pillars-grid,
  .insights-grid,
  .features-grid,
  .testimonials-grid,
  .values-grid,
  .platform-sla-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solution-card {
    padding: 28px 24px;
  }
  
  /* Footer Mobile Centering */
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-brand .brand-logo {
    justify-content: center;
  }

  .footer-tagline {
    margin: 16px auto 24px auto;
    text-align: center;
    max-width: 420px;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: center;
  }

  .footer-column {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-column h4 {
    text-align: center;
    width: 100%;
  }

  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .footer-column ul li {
    text-align: center;
    margin-bottom: 12px;
  }

  .footer-column ul li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 16px;
  }

  .copyright {
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-legal a {
    text-align: center;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topology-canvas-wrapper {
    height: 480px;
  }

  .topology-info-panel {
    bottom: 12px;
    left: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
    padding: 14px 16px;
  }

  .topo-stats {
    flex-direction: column;
    gap: 8px;
  }

  .topology-controls {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .tech-stack-showcase {
    padding: 26px 16px;
    border-radius: 18px;
  }

  .tech-chip {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .modal-card {
    padding: 24px 18px;
    width: 94%;
    max-height: 90vh;
  }

  .cta-container {
    padding: 44px 20px;
    border-radius: 24px;
  }

  .cta-title {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 16px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .cta-subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }
}

/* Extra Small Mobile Devices (< 576px) */
@media (max-width: 576px) {
  .brand-text {
    font-size: 1.15rem;
  }

  .hero-title {
    font-size: 2.05rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-container {
    padding: 36px 16px;
    border-radius: 20px;
  }

  .cta-title {
    font-size: 1.65rem;
    line-height: 1.25;
    margin-bottom: 14px;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
  }

  .cta-subtitle {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .hero-mini-badges {
    margin-top: 16px;
    margin-bottom: 12px;
    gap: 6px;
  }

  .mini-badge {
    font-size: 0.76rem;
    padding: 5px 10px;
    border-radius: 14px;
  }

  .hero-visual-3d {
    max-width: 100%;
    height: 310px;
    margin: 12px auto 0 auto;
  }

  .canvas-glow-backdrop {
    width: 220px;
    height: 220px;
    filter: blur(28px);
  }

  .canvas-hud-overlay {
    padding: 8px 10px;
  }

  .hud-tag {
    font-size: 0.62rem;
    padding: 4px 10px;
    gap: 6px;
  }

  .solution-card {
    padding: 24px 18px;
  }

  .card-metric-badge {
    position: static;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 14px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .stat-value {
    font-size: 1.9rem;
  }

  .about-stats-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .compliance-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-question {
    font-size: 0.98rem;
    padding: 16px 14px;
    gap: 12px;
  }

  .faq-answer {
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 14px 16px 14px;
  }

  .filter-pills-wrap {
    gap: 8px;
    margin-bottom: 24px;
  }

  .filter-pill {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .cta-guarantees {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .client-logo {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .topology-canvas-wrapper {
    height: 390px;
  }

  .topology-info-panel p {
    display: none;
  }
}

/* Narrow Mobile Screens (< 380px) */
@media (max-width: 380px) {
  .cta-title {
    font-size: 1.45rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .hero-visual-3d {
    height: 280px;
  }
}

