/* ==========================================================================
   Penext Solutions Pvt. Ltd. - High-Tech Stylesheet (css/style.css)
   Brand: Royal Navy (#002B66) & Electric Blue (#0066FF)
   Tagline: "Built for What's Next"
   Features: Traditional Linear Header Navbar, Multi-Device Responsiveness (PC/Tab/Mobile)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS Variables --- */
:root {
  --brand-navy: #002B66;
  --brand-navy-dark: #001A40;
  --brand-blue: #0052CC;
  --brand-electric: #0066FF;
  --brand-cyan: #00D2FF;
  
  --bg-primary: #ffffff;
  --bg-secondary: #F4F7FC;
  --bg-hover: #EBF1FA;
  --bg-dark: #050B14;
  --bg-dark-card: #0A1424;
  
  --text-primary: #00122E;
  --text-muted: rgba(0, 18, 46, 0.64);
  --text-light: #ffffff;
  --text-light-muted: rgba(255, 255, 255, 0.72);
  
  --border-color: rgba(0, 43, 102, 0.12);
  --border-color-glow: rgba(0, 102, 255, 0.3);
  --border-color-light: rgba(255, 255, 255, 0.15);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-pill: 999px;
  --radius-card: 20px;
  --radius-cta: 28px;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.65;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

/* Background Grids */
.bg-tech-grid {
  background-image: radial-gradient(rgba(0, 43, 102, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* Base Image Setup */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 2rem); }
h4 { font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 500; }

p {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-electric) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* --- Eyebrows & Badges --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(0, 43, 102, 0.06);
  color: var(--brand-navy);
  border: 1px solid rgba(0, 43, 102, 0.12);
  margin-bottom: 20px;
}

.eyebrow-dark {
  background: rgba(0, 102, 255, 0.15);
  color: var(--brand-cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
  backdrop-filter: blur(10px);
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-secondary);
  color: var(--brand-navy);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease-out-expo);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: var(--text-light);
  box-shadow: 0 4px 16px rgba(0, 43, 102, 0.22);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-electric) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 102, 255, 0.32);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--brand-navy);
  border-color: var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--bg-hover);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--bg-primary);
  color: var(--brand-navy);
  font-weight: 600;
}
.btn-white:hover {
  background-color: #f0f5ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease-out-expo);
}
.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   Traditional Linear Header Navbar (PC, Tablet, Mobile)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 43, 102, 0.05);
  animation: navSlideDown 0.6s var(--ease-out-expo) forwards;
}

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

.nav-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-mark {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 43, 102, 0.15));
  animation: logoVerticalRevolve360 6s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes logoVerticalRevolve360 {
  0% {
    transform: perspective(600px) rotateY(0deg);
  }
  50% {
    transform: perspective(600px) rotateY(180deg);
  }
  100% {
    transform: perspective(600px) rotateY(360deg);
  }
}

.nav-brand-group {
  display: flex;
  flex-direction: column;
}

.nav-brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--brand-navy);
  line-height: 1.1;
}

.nav-tagline {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--brand-blue);
  letter-spacing: 0.02em;
}

@media (max-width: 480px) {
  .nav-logo-mark {
    height: 40px;
  }
  .nav-brand-text {
    font-size: 0.95rem;
  }
}

/* Linear Navigation Links (Desktop/PC: > 992px) */
.nav-linear-links {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 992px) {
  .nav-linear-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--brand-blue);
}

.nav-link.active {
  color: var(--brand-navy);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  border-radius: 2px;
}

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

.nav-tag-pill {
  display: none;
  padding: 6px 14px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--brand-navy);
}

@media (min-width: 1200px) {
  .nav-tag-pill { display: inline-flex; }
}

.nav-contact-btn {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: var(--text-light);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(0, 43, 102, 0.18);
  transition: all 0.3s var(--ease-out-expo);
}

.nav-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 255, 0.28);
}

/* Hamburger Toggle Button (Tablet & Mobile: < 991px) */
.nav-hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--brand-navy);
  cursor: pointer;
  transition: all 0.3s ease;
}

@media (min-width: 992px) {
  .nav-hamburger-btn {
    display: none;
  }
}

.nav-hamburger-btn:hover {
  background-color: var(--bg-hover);
}

/* Mobile & Tablet Dropdown Drawer */
.nav-mobile-menu {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 0 5vw;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo), opacity 0.3s ease, padding 0.3s ease;
}

.nav-mobile-menu.is-open {
  max-height: 440px;
  opacity: 1;
  padding: 16px 5vw 24px 5vw;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--brand-navy);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.mobile-menu-footer {
  margin-top: 18px;
  padding-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- Hero Section & Particle Grid --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 8vw 80px 8vw;
  overflow: hidden;
  background-color: var(--bg-dark);
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at 50% 40%, rgba(0, 80, 200, 0.28) 0%, rgba(3, 10, 24, 0.88) 60%, rgba(2, 6, 16, 0.97) 100%);
  backdrop-filter: blur(0.5px);
}

.hero-inner-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 36px;
}

@media (min-width: 992px) {
  .hero-inner-container {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 740px;
}

/* ==========================================================================
   3D Interconnected 4-Platform Matrix Hub Component
   ========================================================================== */
.hero-matrix-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.matrix-stage {
  position: relative;
  width: 440px;
  height: 440px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

@media (max-width: 480px) {
  .matrix-stage {
    width: 330px;
    height: 330px;
    transform: scale(0.78);
  }
}

/* SVG Energy Bus Connectors */
.matrix-svg-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bus-line {
  stroke-dasharray: 8 6;
  animation: busFlow 2.5s linear infinite;
  transition: stroke-width 0.3s ease, filter 0.3s ease;
}

.bus-line.is-active {
  stroke-width: 4px;
  filter: drop-shadow(0 0 8px #00d2ff);
  animation-duration: 0.8s;
}

@keyframes busFlow {
  from { stroke-dashoffset: 28; }
  to { stroke-dashoffset: 0; }
}

/* Central Core Hub */
.matrix-core-node {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(40px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-pulse-ring {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 210, 255, 0.45);
  animation: corePulse 3s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

.core-pulse-ring.delay {
  animation-delay: 1.5s;
  border-color: rgba(255, 215, 0, 0.35);
}

@keyframes corePulse {
  0% { transform: scale(0.65); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

.core-glass-body {
  background: rgba(3, 14, 33, 0.92);
  border: 2px solid var(--brand-cyan);
  box-shadow: 0 0 32px rgba(0, 210, 255, 0.35), inset 0 0 20px rgba(0, 102, 255, 0.3);
  border-radius: 20px;
  padding: 16px 22px;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-width: 136px;
}

.core-logo-mark img {
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.6));
}

.core-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.core-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--brand-cyan);
  margin-top: 4px;
  font-weight: 600;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan);
  display: inline-block;
  animation: blinkDot 1.6s ease-in-out infinite alternate;
}

@keyframes blinkDot {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* 4 Satellite Platform Nodes */
.matrix-node {
  position: absolute;
  z-index: 12;
  background: rgba(5, 18, 42, 0.88);
  border: 1px solid rgba(0, 210, 255, 0.3);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(0, 20, 60, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  width: 165px;
}

/* Polar Positioning */
.node-top {
  top: 15px;
  left: 50%;
  transform: translateX(-50%) translateZ(28px);
}

.node-top:hover {
  transform: translateX(-50%) translateZ(55px) scale(1.06);
  border-color: #00d2ff;
  box-shadow: 0 16px 36px rgba(0, 210, 255, 0.35);
}

.node-right {
  top: 50%;
  right: 5px;
  transform: translateY(-50%) translateZ(28px);
}

.node-right:hover {
  transform: translateY(-50%) translateZ(55px) scale(1.06);
  border-color: #ff9100;
  box-shadow: 0 16px 36px rgba(255, 109, 0, 0.35);
}

.node-bottom {
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%) translateZ(28px);
}

.node-bottom:hover {
  transform: translateX(-50%) translateZ(55px) scale(1.06);
  border-color: #00e676;
  box-shadow: 0 16px 36px rgba(0, 230, 118, 0.35);
}

.node-left {
  top: 50%;
  left: 5px;
  transform: translateY(-50%) translateZ(28px);
}

.node-left:hover {
  transform: translateY(-50%) translateZ(55px) scale(1.06);
  border-color: #76ff03;
  box-shadow: 0 16px 36px rgba(118, 255, 3, 0.35);
}

/* Node Internal Styling */
.node-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.node-icon-wrap svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.icon-erp { background: rgba(0, 102, 255, 0.2); color: #00d2ff; border: 1px solid rgba(0, 210, 255, 0.4); }
.icon-pements { background: rgba(255, 109, 0, 0.2); color: #ff9100; border: 1px solid rgba(255, 145, 0, 0.4); }
.icon-ocems { background: rgba(0, 230, 118, 0.2); color: #00e676; border: 1px solid rgba(0, 230, 118, 0.4); }
.icon-swachh { background: rgba(118, 255, 3, 0.2); color: #76ff03; border: 1px solid rgba(118, 255, 3, 0.4); }

.node-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.node-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-cyan);
  line-height: 1.1;
}

.node-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
}

.node-meta {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.2;
  margin-top: 2px;
  white-space: nowrap;
}

.hero-title {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ✨ Shimmering Gold Hero Title */
.hero-title .gold-shimmer-title,
.hero-gold-title {
  display: inline-block;
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  background: linear-gradient(
    110deg,
    #FFD700 0%,
    #FFF8DC 20%,
    #FFA751 40%,
    #FFE5B4 60%,
    #FFD700 80%,
    #D4AF37 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s linear infinite;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
  letter-spacing: -0.02em;
}

.dynamic-typewriter {
  color: var(--brand-cyan);
  font-weight: 400;
  border-bottom: 2px solid var(--brand-cyan);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: 400;
  margin-bottom: 36px;
  max-width: 720px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Standard Page Header Hero */
.page-hero {
  padding: 150px 8vw 70px 8vw;
  background: linear-gradient(180deg, #EBF1FA 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.page-hero-content { max-width: 820px; }
.page-hero-title { margin-bottom: 18px; color: var(--brand-navy); }
.page-hero-desc { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-muted); }

/* --- Container & Layout Helpers --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 8vw;
}

.section { padding: 90px 8vw; }
.section-dark { background-color: var(--bg-dark); color: var(--text-light); }
.section-secondary { background-color: var(--bg-secondary); }

.section-header { max-width: 760px; margin-bottom: 50px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { margin-bottom: 16px; }

/* --- Responsive Multi-Device Grids (PC, Tablet, Mobile) --- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 20px; }

/* Tablet Breakpoint (768px - 991px) */
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* PC / Laptop Breakpoint (> 992px) */
@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

.card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 43, 102, 0.12);
  border-color: var(--brand-blue);
}

.card-dark {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--border-color-light);
  color: var(--text-light);
}

.card-dark:hover {
  border-color: var(--brand-electric);
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.25);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 43, 102, 0.08) 0%, rgba(0, 102, 255, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--brand-navy);
  stroke-width: 1.8;
  fill: none;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--brand-navy);
}

.card-dark .card-title { color: var(--text-light); }

.stat-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 30px 24px;
  background-color: var(--bg-primary);
  text-align: left;
}

.stat-number {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  color: var(--brand-navy);
}

.stat-label { font-size: 0.92rem; color: var(--text-muted); font-weight: 500; }

.feature-box {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.25);
  background: var(--bg-dark-card);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo), border-color 0.4s ease;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 102, 255, 0.3), 0 0 20px rgba(255, 215, 0, 0.2);
  border-color: rgba(255, 215, 0, 0.5);
}

.feature-box-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.feature-box:hover .feature-box-img { transform: scale(1.06); }

.feature-box-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 10, 24, 0.25) 0%, rgba(3, 10, 24, 0.82) 45%, rgba(2, 6, 16, 0.96) 100%);
  backdrop-filter: blur(0.5px);
}

.feature-box-content { position: relative; z-index: 2; color: var(--text-light); }

/* 🔥 Vibrant Shimmering Neon Orange Typography */
.neon-orange-title,
.hero-gold-title {
  background: linear-gradient(
    110deg,
    #FF5500 0%,
    #FFAA44 20%,
    #FF3300 40%,
    #FFE0B2 60%,
    #FF6600 80%,
    #FF4500 100%
  ) !important;
  background-size: 220% auto !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: goldShimmer 4s linear infinite !important;
  text-shadow: 0 2px 14px rgba(255, 85, 0, 0.4) !important;
  letter-spacing: -0.01em;
}

/* ✨ Elegant Shimmering Gold Typography for Feature Box Titles */
.gold-shimmer-title,
.feature-box-content h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(
    110deg,
    #FFD700 0%,
    #FFF8DC 20%,
    #FFA751 40%,
    #FFE5B4 60%,
    #FFD700 80%,
    #D4AF37 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s linear infinite;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  letter-spacing: -0.01em;
}

.feature-box-content p,
.feature-box-content .text-light-muted {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 0.96rem;
  line-height: 1.65;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9);
  margin: 0;
}

@keyframes goldShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 220% center; }
}

/* CTA Band */
.cta-band {
  background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 60%, var(--brand-blue) 100%);
  color: var(--text-light);
  border-radius: var(--radius-cta);
  padding: 70px 6vw;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 40px 8vw 80px 8vw;
}

.cta-band-content { max-width: 720px; margin: 0 auto; position: relative; z-index: 2; }
.cta-band h2 { color: var(--text-light); margin-bottom: 18px; }
.cta-band p { color: var(--text-light-muted); font-size: 1.1rem; margin-bottom: 32px; }

/* Process Grid */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }

.process-step {
  padding: 24px;
  border-left: 3px solid var(--border-color);
  transition: border-color 0.3s ease;
}

.process-step:hover { border-color: var(--brand-blue); }
.process-number { font-size: 1.6rem; font-weight: 600; color: var(--brand-blue); font-family: var(--font-mono); margin-bottom: 10px; }

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.88rem; font-weight: 500; margin-bottom: 8px; color: var(--brand-navy); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.98rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

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

.form-status { padding: 14px; border-radius: 10px; font-size: 0.92rem; margin-top: 14px; display: none; }
.form-status.success { display: block; background-color: #E8F5E9; color: #1B5E20; border: 1px solid #C8E6C9; }
.form-status.error { display: block; background-color: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }

/* Shared Footer */
.site-footer {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-secondary) 100%);
  border-top: 1px solid var(--border-color);
  padding: 70px 8vw 36px 8vw;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-brand { max-width: 360px; }
.footer-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 43, 102, 0.14));
}
.footer-desc { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 20px; }

.social-links { display: flex; gap: 10px; }
.social-pill {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-pill:hover {
  background-color: var(--brand-navy);
  color: var(--text-light);
  transform: translateY(-2px);
}

.social-pill svg { width: 16px; height: 16px; fill: currentColor; }

.footer-col h5 {
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--brand-navy);
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.92rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--brand-blue); }

.footer-office-info p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 768px) { .footer-bottom { flex-direction: row; } }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(5, 11, 20, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.is-open { opacity: 1; visibility: visible; }
.modal-content {
  background-color: var(--bg-primary);
  border-radius: var(--radius-card);
  padding: 32px;
  width: 100%;
  max-width: 580px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--bg-secondary);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

/* Floating Communication Widgets */
.whatsapp-widget {
  position: fixed;
  bottom: 74px; right: 20px;
  z-index: 89;
  background-color: #25D366;
  color: #ffffff !important;
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 500;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.whatsapp-widget svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.whatsapp-widget:hover {
  background-color: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

.gemini-chat-widget { position: fixed; bottom: 20px; right: 20px; z-index: 95; }
.gemini-chat-btn {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-pill);
  padding: 10px 18px;
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 500;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 43, 102, 0.25);
}

.gemini-chat-window {
  position: absolute;
  bottom: 60px; right: 0;
  width: 340px;
  max-width: calc(100vw - 32px);
  height: 460px;
  max-height: calc(100vh - 100px);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  box-shadow: 0 16px 40px rgba(0, 43, 102, 0.25);
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transition: all 0.3s var(--ease-out-expo);
}

.gemini-chat-window.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.gemini-chat-header {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: var(--text-light);
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between;
}

.ai-avatar { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 600; }
.gemini-chat-close { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; }
.gemini-chat-messages { flex: 1; padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: var(--bg-secondary); }
.chat-bubble { max-width: 84%; padding: 9px 13px; border-radius: 12px; font-size: 0.86rem; line-height: 1.45; }
.chat-bubble.bot { background: var(--bg-primary); color: var(--text-primary); border: 1px solid var(--border-color); align-self: flex-start; }
.chat-bubble.user { background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%); color: var(--text-light); align-self: flex-end; }
.chat-bubble .chat-cta-group { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.chat-bubble .chat-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  font-size: 0.82rem; font-weight: 600; text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.chat-bubble .chat-cta-whatsapp { background: #25D366; color: #ffffff !important; }
.chat-bubble .chat-cta-whatsapp:hover { background: #20ba5a; transform: translateY(-1px); }
.chat-bubble .chat-cta-call { background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%); color: #ffffff !important; }
.chat-bubble .chat-cta-call:hover { opacity: 0.92; transform: translateY(-1px); }
.gemini-chat-form { padding: 10px; background: var(--bg-primary); border-top: 1px solid var(--border-color); display: flex; gap: 6px; }
.gemini-chat-form input { flex: 1; padding: 8px 12px; border-radius: var(--radius-pill); border: 1px solid var(--border-color); outline: none; font-size: 0.85rem; }
.gemini-chat-form button { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   Product Hub & Product Detail Styles (SEO & AEO Optimized Architecture)
   ========================================================================== */

/* Breadcrumb Navigation */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.breadcrumb-nav a { color: var(--brand-blue); text-decoration: none; }
.breadcrumb-nav a:hover { text-decoration: underline; }
.breadcrumb-separator { color: rgba(0, 43, 102, 0.3); }

/* Main Product Showcase Cards */
.product-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-top: 40px;
}

.product-showcase-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 43, 102, 0.06);
  transition: all 0.4s var(--ease-out-expo);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 992px) {
  .product-showcase-card {
    grid-template-columns: 1.15fr 1fr;
  }
}

.product-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 102, 255, 0.14);
  border-color: var(--brand-electric);
}

.product-card-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-index-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.2);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  width: fit-content;
}

/* ✨ Shimmering Neon Orange Taglines (Dark to Light Gradient) */
.neon-orange-tagline,
.product-tagline-quote {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 12px 0 16px 0;
  border-left: 3px solid #FF6D00;
  padding-left: 14px;
  background: linear-gradient(
    110deg,
    #BF360C 0%,
    #E64A19 20%,
    #FF5722 40%,
    #FF6D00 60%,
    #FF9100 80%,
    #FFAB40 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: orangeShimmer 4s linear infinite;
  display: block;
  letter-spacing: -0.01em;
}

@keyframes orangeShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.product-card-visual {
  position: relative;
  min-height: 280px;
  background: linear-gradient(135deg, var(--bg-dark-card) 0%, #0d1f3d 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  color: var(--text-light);
  border-left: 1px solid var(--border-color);
  overflow: hidden;
}

.product-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 210, 255, 0.15) 1px, transparent 1px);
  background-size: 20px 20px;
}

.product-visual-badge {
  position: relative;
  z-index: 2;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-cyan);
  font-weight: 600;
  margin-bottom: 10px;
}

.product-visual-highlights {
  position: relative;
  z-index: 2;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.product-visual-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
}

.product-visual-highlights svg {
  width: 18px;
  height: 18px;
  stroke: var(--brand-cyan);
  flex-shrink: 0;
}

/* Modules & Feature Breakdown Grids */
.module-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 36px;
}

@media (min-width: 768px) {
  .module-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .module-grid { grid-template-columns: repeat(3, 1fr); }
}

.module-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0, 43, 102, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  border-color: var(--brand-blue);
  box-shadow: 0 12px 28px rgba(0, 102, 255, 0.1);
  transform: translateY(-4px);
}

.module-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.module-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 102, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
}

.module-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.module-item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.module-item-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.module-item-list li::before {
  content: "•";
  color: var(--brand-blue);
  font-weight: bold;
  font-size: 1.1rem;
  line-height: 1.2;
}

/* Architecture & Flow Diagram Boxes */
.architecture-box {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-color-glow);
  border-radius: var(--radius-card);
  padding: 36px;
  color: var(--text-light);
  margin: 36px 0;
}

.hierarchy-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 28px 0;
}

.hierarchy-node {
  background: rgba(0, 102, 255, 0.18);
  border: 1px solid var(--brand-cyan);
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 210, 255, 0.2);
}

.hierarchy-arrow {
  color: var(--brand-cyan);
  font-size: 1.3rem;
  font-weight: bold;
}

/* FAQ Accordion Component (SEO & AEO Focused) */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  stroke: var(--brand-blue);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: none;
}

.faq-item.is-open .faq-answer {
  display: block;
}

/* High-Contrast Pill Cloud for Capabilities */
.pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill-cloud .pill {
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.2);
  color: var(--brand-navy);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==========================================================================
   Universal Cookie Consent & Privacy Preference System
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 540px;
  z-index: 999;
  background: rgba(15, 30, 54, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 210, 255, 0.28);
  border-radius: 18px;
  padding: 22px 24px;
  color: #ffffff;
  box-shadow: 0 20px 50px rgba(5, 11, 20, 0.45), 0 0 25px rgba(0, 210, 255, 0.12);
  transform: translateY(140%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s var(--ease-out-expo), opacity 0.45s ease, visibility 0.45s;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-icon {
  font-size: 1.35rem;
}

.cookie-banner-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.cookie-banner-text {
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}

.cookie-banner-text a {
  color: var(--brand-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-text a:hover {
  color: #ffffff;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #0052FF 0%, #00D2FF 100%);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.86rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 82, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.45);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.86rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.cookie-btn-link {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cookie-btn-link:hover {
  color: var(--brand-cyan);
}

/* Cookie Preferences Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: rgba(5, 11, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.cookie-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-dialog {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  width: 100%;
  max-width: 580px;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 60px rgba(0, 43, 102, 0.3);
  overflow: hidden;
}

.cookie-modal-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
}

.cookie-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 0;
}

.cookie-modal-body {
  padding: 24px 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cookie-preference-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
}

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

.cookie-pref-name {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--brand-navy);
}

.cookie-pref-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 82, 255, 0.1);
  color: var(--brand-blue);
}

.cookie-pref-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Custom Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 24px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-slider {
  background-color: var(--brand-blue);
}

.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(20px);
}

.cookie-toggle input:disabled + .cookie-slider {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #94a3b8;
}

.cookie-modal-footer {
  padding: 18px 26px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}


