/* Color system: gelite palette
 * Primary: 001233, 0466C8, 001845, 002855
 * Neutrals: 7D8597, 979DAC
 */
:root {
  /* Blues / navies */
  --gelite-navy: #001233;
  --gelite-blue: #0466c8;
  --gelite-blue-deep: #001845;
  --gelite-blue-mid: #002855;

  /* Greys */
  --gelite-grey-mid: #7d8597;
  --gelite-grey-light: #979dac;

  /* Backwards‑compatible aliases used in helpers */
  --gelite-blue-500: var(--gelite-blue);
  --gelite-blue-600: var(--gelite-blue-mid);
  --gelite-blue-700: var(--gelite-blue-mid);
  --gelite-blue-800: var(--gelite-navy);
  --gelite-blue-900: var(--gelite-navy);

  --gelite-slate-900: var(--gelite-navy);
  --gelite-slate-700: var(--gelite-grey-mid);
  --gelite-slate-600: var(--gelite-grey-light);
  --gelite-slate-500: var(--gelite-grey-light);
  --gelite-slate-400: var(--gelite-grey-light);
}

/* Custom scroll behavior and basic tweaks */
html {
  scroll-behavior: smooth;
}

/* Slight global background tweak for body (used via Tailwind classes) */
body {
  color: var(--gelite-slate-700);
}

main.pt-24 {
  padding-top: 0 !important;
}

main.pt-24 > :first-child {
  padding-top: 7.5rem;
}

/* Palette-aligned overrides for common Tailwind color utilities
   (keeps existing class names but applies brand colors) */
.glass-nav {
  background-color: rgba(0, 18, 51, 0.50);
  background-image: linear-gradient(to bottom, rgba(4, 102, 200, 0.20), rgba(0, 18, 51, 0.42));
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  transition: transform 220ms ease, background-color 200ms ease, background-image 200ms ease;
}

header.glass-nav {
  top: 16px;
  left: 0 !important;
  right: 0 !important;
  width: min(1100px, calc(100% - 160px)) !important;
  margin-left: auto;
  margin-right: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 44px -28px rgba(0, 0, 0, 0.72),
    0 8px 16px -10px rgba(0, 0, 0, 0.62),
    0 2px 3px -1px rgba(0, 0, 0, 0.52);
  overflow: hidden;
}

@media (max-width: 1024px) {
  header.glass-nav {
    width: calc(100% - 64px) !important;
  }
  header.glass-nav nav {
    gap: 0.75rem;
  }
  header.glass-nav ul.hidden.md\:flex {
    gap: 0.5rem !important;
  }
  header.glass-nav ul.hidden.md\:flex a,
  header.glass-nav ul.hidden.md\:flex button {
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
    font-size: 0.95rem !important;
  }
  header.glass-nav .gelite-btn-primary {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
}

@media (max-width: 380px) {
  header.glass-nav {
    width: calc(100% - 20px) !important;
    border-radius: 12px;
  }
}

header.glass-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}

header.scrolled.glass-nav {
  background-color: rgba(0, 18, 51, 0.64);
  background-image: linear-gradient(to bottom, rgba(4, 102, 200, 0.18), rgba(0, 18, 51, 0.64));
}

/* Smooth hide/show behavior on scroll */
header.glass-nav.nav-hidden {
  transform: translateY(-100%);
}

header.glass-nav.nav-visible {
  transform: translateY(0);
}

@keyframes nav-box-pulse {
  0% {
    scale: 1;
  }
  45% {
    scale: 1.02;
  }
  100% {
    scale: 1;
  }
}

@keyframes gelite-nav-initial-reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gelite-nav-initial-slide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

header.glass-nav {
  transform-origin: center;
  will-change: transform, scale;
}

header.glass-nav.gelite-nav-load {
  opacity: 0;
}

header.glass-nav.gelite-nav-load > nav {
  opacity: 0;
  transform: translateY(-10px);
}

header.glass-nav.gelite-nav-load.gelite-nav-loaded {
  opacity: 1;
  animation: gelite-nav-initial-reveal 320ms ease-out 1;
}

header.glass-nav.gelite-nav-load.gelite-nav-loaded > nav {
  opacity: 1;
  transform: translateY(0);
  animation: gelite-nav-initial-slide 520ms cubic-bezier(0.22, 1, 0.36, 1) 1;
}

header.glass-nav:hover {
  animation: nav-box-pulse 260ms ease-out 1;
}

@media (prefers-reduced-motion: reduce) {
  header.glass-nav.gelite-nav-load,
  header.glass-nav.gelite-nav-load > nav,
  header.glass-nav.gelite-nav-load.gelite-nav-loaded,
  header.glass-nav.gelite-nav-load.gelite-nav-loaded > nav {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  header.glass-nav:hover {
    animation: none !important;
  }
}

.gelite-mobile-menu-topbar {
  box-shadow:
    0 18px 34px -26px rgba(0, 0, 0, 0.70),
    0 6px 12px -8px rgba(0, 0, 0, 0.58);
}

.bg-blue-600,
.from-blue-600 {
  background-color: var(--gelite-blue-600) !important;
}

.bg-blue-700,
.from-blue-700 {
  background-color: var(--gelite-blue-700) !important;
}

/* Fallbacks for Tailwind CDN when markup is injected after load (navbar) */
/* Ensure hover utilities work even if Tailwind didn't JIT-compile them */
.hover\:bg-blue-700:hover {
  background-color: var(--gelite-blue-700) !important;
}

/* Make icons/text flip to white on hover via group */
.link-group:hover .group-hover\:text-white {
  color: #ffffff !important;
}

.hover\:text-white:hover {
  color: #ffffff !important;
}

.text-blue-600 {
  color: var(--gelite-blue-600) !important;
}

.text-blue-700 {
  color: var(--gelite-blue-700) !important;
}

.bg-blue-50 {
  background-color: rgba(4, 102, 200, 0.06) !important;
}

.border-blue-600 {
  border-color: var(--gelite-blue-600) !important;
}

.bg-gray-900 {
  background-color: var(--gelite-slate-900) !important;
}

.text-gray-900 {
  color: var(--gelite-slate-900) !important;
}

.text-gray-600 {
  color: var(--gelite-slate-600) !important;
}

.text-gray-500 {
  color: var(--gelite-slate-500) !important;
}

.text-gray-400 {
  color: var(--gelite-slate-400) !important;
}

/* Reusable helpers for key sections */
.hero-gradient {
  background: radial-gradient(circle at 15% 0%,
      rgba(4, 102, 200, 0.6),
      transparent 55%),
    linear-gradient(115deg,
      var(--gelite-blue-mid) 0%,
      var(--gelite-blue-deep) 45%,
      var(--gelite-navy) 100%
    );
  color: #f9fafb;
}

/* =============================================
   HERO ANIMATED GRADIENT BACKGROUND
   ============================================= */
.hero-gradient-animated {
  position: relative;
  background: var(--gelite-navy);
  color: #f9fafb;
}

.hero-gradient-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Ocean-like blue gradient - constant fluid movement */
.hero-gradient-ocean {
  background: 
    radial-gradient(ellipse 120% 80% at 30% 20%, rgba(4, 102, 200, 0.6), transparent 50%),
    radial-gradient(ellipse 100% 60% at 70% 80%, rgba(0, 40, 85, 0.7), transparent 45%),
    radial-gradient(ellipse 80% 100% at 90% 30%, rgba(6, 78, 156, 0.5), transparent 50%),
    radial-gradient(ellipse 60% 80% at 10% 70%, rgba(4, 102, 200, 0.4), transparent 45%),
    linear-gradient(160deg, var(--gelite-blue-mid) 0%, var(--gelite-blue-deep) 35%, var(--gelite-navy) 100%);
  background-size: 200% 200%, 200% 200%, 200% 200%, 200% 200%, 100% 100%;
  animation: heroOceanFlow 8s ease-in-out infinite;
}

@keyframes heroOceanFlow {
  0%, 100% {
    background-position: 0% 0%, 100% 100%, 100% 0%, 0% 100%, 0% 0%;
  }
  25% {
    background-position: 50% 25%, 50% 75%, 75% 25%, 25% 75%, 0% 0%;
  }
  50% {
    background-position: 100% 50%, 0% 50%, 50% 50%, 50% 50%, 0% 0%;
  }
  75% {
    background-position: 50% 75%, 50% 25%, 25% 75%, 75% 25%, 0% 0%;
  }
}

/* =============================================
   HERO GLITCH IMAGE EFFECT - RGB Split Style
   ============================================= */
.hero-glitch-container {
  position: relative;
  overflow: hidden;
}

.hero-glitch-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-glitch-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
}

.hero-glitch-img.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-glitch-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RGB split layers - cloned via JS */
.hero-glitch-rgb {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.hero-glitch-rgb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-glitch-rgb.red {
  mix-blend-mode: screen;
  filter: url('#redChannel') brightness(1.2);
}

.hero-glitch-rgb.cyan {
  mix-blend-mode: screen;
  filter: url('#cyanChannel') brightness(1.2);
}

/* Scanline overlay */
.hero-glitch-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 2px,
    rgba(0, 0, 0, 0.15) 4px
  );
  z-index: 10;
}

/* Static noise overlay */
.hero-glitch-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  mix-blend-mode: overlay;
  z-index: 11;
}

/* Glitch active states */
.hero-glitch-wrapper.glitch-phase-1 .hero-glitch-rgb {
  opacity: 1;
}

.hero-glitch-wrapper.glitch-phase-1 .hero-glitch-rgb.red {
  animation: rgbShiftRed 0.15s ease-out forwards;
}

.hero-glitch-wrapper.glitch-phase-1 .hero-glitch-rgb.cyan {
  animation: rgbShiftCyan 0.15s ease-out forwards;
}

.hero-glitch-wrapper.glitch-phase-1 .hero-glitch-scanlines {
  opacity: 0.6;
}

.hero-glitch-wrapper.glitch-phase-1 .hero-glitch-noise {
  opacity: 0.3;
  animation: noiseShift 0.15s steps(3) infinite;
}

.hero-glitch-wrapper.glitch-phase-2 .hero-glitch-img.active {
  animation: imageShift 0.2s ease-out forwards;
}

.hero-glitch-wrapper.glitch-phase-2 .hero-glitch-scanlines {
  opacity: 0.4;
}

@keyframes rgbShiftRed {
  0% { transform: translate(0, 0); opacity: 0; }
  20% { transform: translate(-8px, 2px); opacity: 0.7; }
  40% { transform: translate(4px, -1px); opacity: 0.5; }
  60% { transform: translate(-3px, 1px); opacity: 0.6; }
  80% { transform: translate(2px, 0); opacity: 0.3; }
  100% { transform: translate(0, 0); opacity: 0; }
}

@keyframes rgbShiftCyan {
  0% { transform: translate(0, 0); opacity: 0; }
  20% { transform: translate(8px, -2px); opacity: 0.7; }
  40% { transform: translate(-4px, 1px); opacity: 0.5; }
  60% { transform: translate(3px, -1px); opacity: 0.6; }
  80% { transform: translate(-2px, 0); opacity: 0.3; }
  100% { transform: translate(0, 0); opacity: 0; }
}

@keyframes imageShift {
  0% { transform: translate(0, 0) skewX(0deg); }
  15% { transform: translate(-6px, 0) skewX(-1deg); }
  30% { transform: translate(4px, 0) skewX(0.5deg); }
  50% { transform: translate(-2px, 0) skewX(-0.3deg); }
  70% { transform: translate(1px, 0) skewX(0.1deg); }
  100% { transform: translate(0, 0) skewX(0deg); }
}

@keyframes noiseShift {
  0% { background-position: 0 0; }
  33% { background-position: 50px 25px; }
  66% { background-position: -30px 60px; }
  100% { background-position: 20px -40px; }
}

/* Smooth crossfade between images */
.hero-glitch-img.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.hero-glitch-img.fade-in {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

/* Typewriter effect styles */
.typewriter-text {
  display: inline;
}

.typewriter-cursor {
  display: inline-block;
  color: rgba(147, 197, 253, 0.9);
  animation: typewriterBlink 0.7s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
}

@keyframes typewriterBlink {
  0%, 50% {
    opacity: 1;
  }
  51%, 100% {
    opacity: 0;
  }
}

.hero-typewriter-heading {
  min-height: 2.6em;
}

@media (prefers-reduced-motion: reduce) {
  .hero-gradient-ocean {
    animation: none;
  }
  .hero-glitch-wrapper.glitching .hero-glitch-overlay,
  .hero-glitch-wrapper.glitching .hero-glitch-img.active {
    animation: none;
  }
  .typewriter-cursor {
    animation: none;
    opacity: 1;
  }
}

.section-band-dark {
  background: radial-gradient(circle at top left,
      rgba(4, 102, 200, 0.35),
      transparent 55%),
    var(--gelite-navy);
  color: #ffffff;
}

@keyframes gelite-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.gelite-marquee {
  position: relative;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  touch-action: none;
}

.gelite-marquee::before,
.gelite-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 72px;
  z-index: 2;
  pointer-events: none;
}

.gelite-marquee::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.gelite-marquee::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.gelite-marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: gelite-marquee-scroll 26s linear infinite;
  will-change: transform;
}

.gelite-marquee__group {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding-right: 0;
  flex-wrap: nowrap;
}

.gelite-marquee__item {
  height: 84px;
  width: 210px;
  padding: 0 10px;
  margin-right: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  flex: 0 0 auto;
}

.gelite-marquee__logo {
  height: 40px;
  width: auto;
  opacity: 0.78;
  filter: none;
  object-fit: contain;
  object-position: center;
  display: block;
  /* Force consistent visual box height; neutralises per-logo scale helpers */
  transform: none !important;
}

/* Subtle per-logo visual normalisation helpers */
.gelite-marquee__logo--up {
  transform: scale(1.08);
}

.gelite-marquee__logo--down {
  transform: scale(0.92);
}

.gelite-marquee__logo--up-strong {
  transform: scale(1.18);
}

.gelite-marquee__logo--down-strong {
  transform: scale(0.84);
}

@media (max-width: 640px) {
  .gelite-marquee__item {
    height: 60px;
    width: 140px;
    padding: 0 8px;
  }
  .gelite-marquee__logo {
    height: 32px;
    width: auto;
    opacity: 0.68;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gelite-marquee__track {
    animation: none;
    transform: none;
  }
}

.gelite-prefooter-banner__panel {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 0%, rgba(4, 102, 200, 0.55), transparent 55%),
    radial-gradient(circle at 85% 100%, rgba(0, 232, 255, 0.22), transparent 55%),
    linear-gradient(115deg, var(--gelite-blue-mid) 0%, var(--gelite-blue-deep) 45%, var(--gelite-navy) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.34),
    0 8px 14px rgba(0, 0, 0, 0.22);
}

 .gelite-gradient-prefooter {
  background: radial-gradient(circle at 15% 0%, rgba(4, 102, 200, 0.55), transparent 55%),
    radial-gradient(circle at 85% 100%, rgba(0, 232, 255, 0.22), transparent 55%),
    radial-gradient(circle at 10% -10%, rgba(255, 255, 255, 0.06), transparent 45%),
    linear-gradient(115deg, var(--gelite-blue-mid) 0%, var(--gelite-blue-deep) 45%, var(--gelite-navy) 100%);
 }

 .gelite-gradient-cta {
  background: radial-gradient(circle at top left,
      rgba(4, 102, 200, 0.35),
      transparent 55%),
    var(--gelite-navy);
 }

.gelite-prefooter-banner__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(to bottom, rgba(0, 18, 51, 0.16), rgba(0, 18, 51, 0.32));
  pointer-events: none;
}

.gelite-prefooter-banner__panel > * {
  position: relative;
  z-index: 1;
}

.gelite-pill {
  border-radius: 9999px;
  background-color: rgba(4, 102, 200, 0.08);
  color: var(--gelite-blue-deep);
}

.gelite-card {
  border-radius: 1.25rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.gelite-chip {
  border-radius: 9999px;
  background-color: rgba(0, 24, 69, 0.72);
  color: #f9fafb;
}

.gelite-btn-primary {
  background: linear-gradient(135deg,
    var(--gelite-blue-500),
    var(--gelite-blue-700));
  color: #ffffff;
}

.gelite-btn-primary:hover {
  background: linear-gradient(135deg,
    var(--gelite-blue-600),
    var(--gelite-blue-800));
}

.gelite-btn-outline {
  border-color: rgba(151, 157, 172, 0.7);
  color: #ffffff;
  background-color: transparent;
}

.gelite-btn-outline:hover {
  border-color: rgba(249, 250, 251, 0.9);
  background-color: rgba(0, 18, 51, 0.35);
}

/* Sticky navbar shadow effect when scrolling */
.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Force-open state for dropdown panels controlled by JS */
.dropdown-open {
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

/* =============================================
   ANIMATIONS - Shared across all pages
   ============================================= */

/* Fade animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Animation utility classes */
.animate-fade-in-up { animation: fadeInUp 0.6s ease-out forwards; }
.animate-fade-in-left { animation: fadeInLeft 0.8s ease forwards; }
.animate-fade-in-right { animation: fadeInRight 0.8s ease forwards; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-slow { animation: pulse 2s ease-in-out infinite; }

/* Animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* =============================================
   INTERACTIVE COMPONENTS - Tabs, Accordion, Cards
   ============================================= */

/* Capability/Feature cards with reveal animation */
.gelite-card-reveal,
.capability-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.gelite-card-reveal.is-visible,
.capability-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gelite-card-reveal:hover,
.capability-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Blueprint/Tab panels */
.gelite-tab-panel,
.blueprint-panel {
  display: none;
  animation: fadeInUp 0.5s ease;
}

.gelite-tab-panel.active,
.blueprint-panel.active {
  display: block;
}

/* Accordion component */
.gelite-accordion-content,
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.gelite-accordion-item.active .gelite-accordion-content,
.accordion-item.active .accordion-content {
  max-height: 500px;
}

.gelite-accordion-item.active .gelite-accordion-chevron,
.accordion-item.active .accordion-chevron {
  transform: rotate(180deg);
}

.gelite-accordion-chevron,
.accordion-chevron {
  transition: transform 0.3s ease;
}

/* Stat counter styling */
.gelite-stat-number,
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 640px) {
  .gelite-stat-number,
  .stat-number {
    font-size: 2rem;
  }
}

/* Smooth hover transitions for cards */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--gelite-blue), var(--gelite-blue-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Process step connector line */
.step-connector::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 48px;
  width: calc(100% - 48px);
  height: 2px;
  background: linear-gradient(90deg, var(--gelite-blue), transparent);
}

/* Testimonial quote styling */
.testimonial-quote {
  position: relative;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

/* Industry card hover effect */
.industry-card {
  transition: all 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-2px);
}

/* Pulse animation for live indicator */
@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.pulse-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-ring 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Better focus states for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gelite-blue);
  outline-offset: 2px;
}

/* Smooth image loading */
img {
  transition: opacity 0.3s ease;
}

img[loading="lazy"] {
  opacity: 0;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Home page polish */
@media (max-width: 640px) {
  section.px-6.py-24 {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

/* Subtle lift for primary button */
.gelite-btn-primary {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.gelite-btn-primary:hover {
  transform: translateY(-1px);
}

/* Consistent card hover */
.gelite-card,
.hover-lift,
.shadow-sm.hover\:shadow-lg {
  will-change: transform;
}

.shadow-sm.hover\:shadow-lg:hover {
  transform: translateY(-2px);
}

/* Footer helpers */
.footer-heading {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  cursor: default;
  user-select: none;
}

.footer-link {
  color: rgba(255, 255, 255, 0.62);
  transition: color 150ms ease;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.92);
}

.footer-social {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.footer-social:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
}

/* Navbar CTA (Contact button) */
.nav-cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.38);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.12));
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.34),
    0 0 0 8px rgba(4, 102, 200, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.nav-cta:active {
  transform: translateY(0);
}

.nav-cta svg {
  opacity: 0.92;
}

.nav-cta:hover svg {
  opacity: 1;
}

header.glass-nav,
header.glass-nav a,
header.glass-nav button {
  color: rgba(255, 255, 255, 0.92);
}

.nav-active {
  position: relative;
}

.nav-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
}

#solutions-mega .tab-btn.tab-active {
  background-color: rgba(255, 255, 255, 0.92) !important;
  color: var(--gelite-navy) !important;
}

#solutions-mega .tab-btn.tab-active:hover {
  background-color: rgba(255, 255, 255, 0.92) !important;
  color: var(--gelite-navy) !important;
}

.dropdown-panel,
.dropdown-panel a,
.dropdown-panel button {
  color: rgba(255, 255, 255, 0.92) !important;
}

header.glass-nav .dropdown-panel > div.absolute {
  background-color: transparent !important;
  border-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

.dropdown-panel > div.absolute {
  background-color: transparent !important;
  border-color: transparent !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

header.glass-nav .dropdown-panel {
  background-color: transparent;
}

.dropdown-panel {
  background-color: transparent;
}

header.glass-nav .dropdown-panel > div:not(.absolute) {
  background-color: transparent !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  border-radius: 14px !important;
  box-shadow:
    0 22px 40px -28px rgba(0, 0, 0, 0.68),
    0 8px 16px -10px rgba(0, 0, 0, 0.58),
    0 2px 3px -1px rgba(0, 0, 0, 0.48) !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.dropdown-panel > div:not(.absolute) {
  background-color: transparent !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  border-radius: 14px !important;
  box-shadow:
    0 22px 40px -28px rgba(0, 0, 0, 0.68),
    0 8px 16px -10px rgba(0, 0, 0, 0.58),
    0 2px 3px -1px rgba(0, 0, 0, 0.48) !important;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

header.glass-nav .dropdown-panel > div:not(.absolute)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 18, 51, 0.62);
  background-image: linear-gradient(to bottom, rgba(4, 102, 200, 0.20), rgba(0, 18, 51, 0.62));
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  z-index: 0;
}

.dropdown-panel > div:not(.absolute)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 18, 51, 0.62);
  background-image: linear-gradient(to bottom, rgba(4, 102, 200, 0.20), rgba(0, 18, 51, 0.62));
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  z-index: 0;
}

header.glass-nav .dropdown-panel > div:not(.absolute) > * {
  position: relative;
  z-index: 1;
}

.dropdown-panel > div:not(.absolute) > * {
  position: relative;
  z-index: 1;
}

header.glass-nav .dropdown-panel,
header.glass-nav .dropdown-panel a,
header.glass-nav .dropdown-panel button {
  color: rgba(255, 255, 255, 0.92) !important;
}

header.glass-nav .dropdown-panel .text-gray-500,
header.glass-nav .dropdown-panel .text-gray-600,
header.glass-nav .dropdown-panel .text-gray-700 {
  color: rgba(255, 255, 255, 0.70) !important;
}

.dropdown-panel .text-gray-500,
.dropdown-panel .text-gray-600,
.dropdown-panel .text-gray-700 {
  color: rgba(255, 255, 255, 0.70) !important;
}

header.glass-nav .dropdown-panel .bg-gray-200,
header.glass-nav .dropdown-panel .bg-gray-100,
header.glass-nav .dropdown-panel .bg-gray-50 {
  background-color: rgba(255, 255, 255, 0.12) !important;
}

.dropdown-panel .bg-gray-200,
.dropdown-panel .bg-gray-100,
.dropdown-panel .bg-gray-50 {
  background-color: rgba(255, 255, 255, 0.12) !important;
}

header.glass-nav .dropdown-panel svg,
header.glass-nav .dropdown-panel .text-blue-600,
header.glass-nav .dropdown-panel .text-blue-700 {
  color: rgba(255, 255, 255, 0.85) !important;
}

.dropdown-panel svg,
.dropdown-panel .text-blue-600,
.dropdown-panel .text-blue-700 {
  color: rgba(255, 255, 255, 0.85) !important;
}

header.glass-nav #solutions-mega .md\:border-r {
  border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
}

header.glass-nav #solutions-mega [class*="border-r"] {
  border-right: 1px solid rgba(255, 255, 255, 0.14) !important;
}

header.glass-nav #solutions-mega .h-px {
  background-color: rgba(255, 255, 255, 0.14) !important;
}

#solutions-mega .md\:border-r ul li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

header.glass-nav .nav-link:hover,
header.glass-nav .dropdown-trigger:hover,
header.glass-nav .dropdown-panel a:hover,
header.glass-nav .dropdown-panel button:hover {
  background-color: rgba(255, 255, 255, 0.92) !important;
  color: var(--gelite-navy) !important;
}

.dropdown-panel a:hover,
.dropdown-panel button:hover {
  background-color: rgba(255, 255, 255, 0.92) !important;
  color: var(--gelite-navy) !important;
}

header.glass-nav .dropdown-panel a:hover .text-gray-500,
header.glass-nav .dropdown-panel a:hover .text-gray-600,
header.glass-nav .dropdown-panel a:hover .text-gray-700 {
  color: rgba(0, 18, 51, 0.72) !important;
}

.dropdown-panel a:hover .text-gray-500,
.dropdown-panel a:hover .text-gray-600,
.dropdown-panel a:hover .text-gray-700 {
  color: rgba(0, 18, 51, 0.72) !important;
}

header.glass-nav .dropdown-panel a:hover svg,
header.glass-nav .dropdown-panel button:hover svg {
  color: var(--gelite-navy) !important;
}

.dropdown-panel a:hover svg,
.dropdown-panel button:hover svg {
  color: var(--gelite-navy) !important;
}

.dropdown-panel .link-group:hover .group-hover\:text-white {
  color: var(--gelite-navy) !important;
}

header.glass-nav .link-group:hover .group-hover\:text-white {
  color: var(--gelite-navy) !important;
}

 .gelite-contact-surface {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 18, 51, 0.08);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.06),
    0 8px 18px rgba(0, 0, 0, 0.04);
 }

 .gelite-contact-input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(0, 18, 51, 0.12);
  background-color: rgba(255, 255, 255, 0.94);
  padding: 0.75rem 0.9rem;
  color: var(--gelite-slate-900);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
 }

 .gelite-contact-input::placeholder {
  color: rgba(125, 133, 151, 0.95);
 }

 .gelite-contact-input:focus {
  outline: none;
  border-color: rgba(4, 102, 200, 0.55);
  box-shadow:
    0 0 0 6px rgba(4, 102, 200, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
 }

 .gelite-contact-input.is-invalid {
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow:
    0 0 0 6px rgba(220, 38, 38, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
 }

 .gelite-contact-input:disabled {
  background-color: rgba(243, 244, 246, 0.9);
  color: rgba(125, 133, 151, 0.95);
 }

 #contact-form .gelite-btn-primary {
  background: linear-gradient(135deg,
    var(--gelite-blue-mid),
    var(--gelite-navy));
 }

 #contact-form .gelite-btn-primary:hover {
  background: linear-gradient(135deg,
    var(--gelite-blue-deep),
    var(--gelite-navy));
 }

 .gelite-reveal-item {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.9, 0.2, 1);
  transition-delay: 0ms;
  will-change: opacity, transform;
 }

 .gelite-reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: var(--gelite-reveal-delay, 0ms);
 }

 @media (prefers-reduced-motion: reduce) {
  .gelite-reveal-item {
   opacity: 1;
   transform: none;
   transition: none;
  }
 }
