/* The Tech Foundation 2026 - High-Contrast Enterprise Light Theme */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&family=Syne:wght@600;700;800&family=Orbitron:wght@600;700;800;900&family=Syncopate:wght@700&display=swap');
@import url('https://fonts.cdnfonts.com/css/good-times');

:root {
  --bg-primary: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: #ffffff;
  --border-card: #e2e8f0;
  --border-card-hover: #0070f3;
  --brand-blue: #0070f3;
  --brand-cyan: #0284c7;
  --brand-navy: #0a1a52;
  --text-headline: #0a1a52;
  --text-body: #1e293b;
  --text-muted: #475569;
  --text-dim: #64748b;
}

/* Global 1500px Layout Constraint */
.container-1500,
header > div,
main > section > div,
footer > div {
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  background-color: #ffffff !important;
  color: #1e293b !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Background Subtle Dot & Grid Pattern for ultra-modern tech feel */
.bg-tech-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(2, 132, 199, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 132, 199, 0.04) 1px, transparent 1px);
}

.bg-radial-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(0, 82, 204, 0.07) 0%, rgba(2, 132, 199, 0.03) 45%, transparent 70%);
}

/* Universal Typography: All Headings use Inter with font-weight: 400 */
h1, h2, h3, h4, h5, h6, .font-display, .font-good-times {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
}

/* Default Headings Color on light surfaces */
h1, h2, h3, h4, h5, h6 {
  color: #0a1a52;
}

/* Ensure headings inside dark backgrounds stay crisp bright white */
.cta-banner-box h1,
.cta-banner-box h2,
.cta-banner-box h3,
.cta-banner-box h4,
.text-white {
  color: #ffffff !important;
}

/* All texts other than headings: Font Inter and font-size: 14px */
p, li, label, dd, dt, input, textarea, select, .text-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #334155;
}

/* Span, a, button general text baseline */
span:not([class*="text-"]):not(.stat-number),
a:not([class*="text-"]),
button:not([class*="text-"]) {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

strong, b {
  color: #0f172a;
  font-weight: 700;
}

/* Typography styles */
.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Header & Solid White Navigation */
.glass-nav {
  background: #ffffff !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 4px 20px -5px rgba(10, 26, 82, 0.05);
}

.glass-nav nav a {
  color: #1e293b !important;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.glass-nav nav a:hover {
  color: #0052cc !important;
}

/* Modern Card Design & Floating Hover */
.modern-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modern-card:hover {
  border-color: #93c5fd;
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -10px rgba(0, 82, 204, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.modern-card .solution-icon-box svg,
.modern-card .w-12.h-12 svg {
  color: #0052cc !important;
  stroke: #0052cc !important;
  transition: all 0.2s ease;
}

.modern-card:hover .solution-icon-box,
.modern-card:hover .w-12.h-12 {
  background-color: #eff6ff !important;
  border-color: #93c5fd !important;
}

.modern-card:hover .solution-icon-box svg,
.modern-card:hover .w-12.h-12 svg {
  color: #0052cc !important;
  stroke: #0052cc !important;
}

.solution-action-btn {
  background-color: #eff6ff;
  border: 1px solid #dbeafe;
  color: #0052cc;
  transition: all 0.25s ease;
}

.solution-action-btn svg {
  color: #0052cc !important;
  stroke: #0052cc !important;
  transition: all 0.25s ease;
}

.modern-card:hover .solution-action-btn,
.solution-action-btn:hover {
  background-color: #0052cc !important;
  border-color: #0052cc !important;
}

.modern-card:hover .solution-action-btn svg,
.solution-action-btn:hover svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

/* Interactive Scope Analysis Modal */
#analysis-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 9999 !important;
  align-items: center !important;
  justify-content: center !important;
}

#analysis-modal.flex {
  display: flex !important;
}

#analysis-modal.hidden {
  display: none !important;
}

/* 4P Process Card Enhancement */
.process-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px -1px rgba(15, 23, 42, 0.03);
}

.process-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 16px 32px -8px rgba(0, 82, 204, 0.09);
  transform: translateY(-3px);
}

/* Badges */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 82, 204, 0.06);
  border: 1px solid rgba(0, 82, 204, 0.18);
  color: #0052cc;
}

/* Gradient Text */
.gradient-text-brand {
  background: linear-gradient(135deg, #0a1a52 10%, #0052cc 60%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Live Pulse Animation */
@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 112, 243, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(0, 112, 243, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 112, 243, 0);
  }
}

.pulse-dot {
  animation: livePulse 2.2s infinite;
}

/* Buttons with Solid White Text on Dark/Blue backgrounds */
button.btn-primary,
button[type="submit"],
.bg-sky-600,
.bg-blue-600,
.bg-brandNavy {
  color: #ffffff !important;
}

button.btn-primary *,
button[type="submit"] *,
.bg-sky-600 *,
.bg-blue-600 * {
  color: #ffffff !important;
}

/* Filter Tab Buttons */
.filter-tab-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-tab-btn.active,
.filter-tab-btn.bg-blue-600,
.filter-tab-btn[class*="bg-[#0052cc]"] {
  background-color: #0052cc !important;
  color: #ffffff !important;
  border-color: #0052cc !important;
}

.filter-tab-btn.active svg,
.filter-tab-btn.bg-blue-600 svg,
.filter-tab-btn[class*="bg-[#0052cc]"] svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

.filter-tab-btn:not(.active):not(.bg-blue-600):not([class*="bg-[#0052cc]"]) svg {
  color: #0052cc !important;
  stroke: #0052cc !important;
}

/* Marquee Infinite Smooth Scrolling Animation */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* Client Enterprise Cards in Marquee (Enlarged & Clean) */
.client-card {
  width: 380px;
  min-height: 100px;
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.client-card:hover {
  border-color: #0052cc;
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -8px rgba(0, 82, 204, 0.12);
}

.client-name {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 1.15rem;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  color: #0052cc !important;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .client-card {
    width: 320px;
    min-height: 85px;
    padding: 1.25rem 1.5rem;
  }
  .client-name {
    font-size: 1rem;
    white-space: normal;
  }
}

/* Redesigned 4P Process Card (Modern Step Cards) */
.process-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -5px rgba(10, 26, 82, 0.04);
  position: relative;
  overflow: hidden;
}

.process-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0052cc, #0284c7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.process-step-card:hover {
  border-color: #93c5fd;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 82, 204, 0.12);
}

.process-step-card:hover::before {
  opacity: 1;
}

/* Redesigned Executive CTA Banner */
.cta-banner-box {
  background: linear-gradient(135deg, #0a1a52 0%, #0d226b 50%, #0052cc 100%);
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(10, 26, 82, 0.25);
}

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

/* Redesigned Modern Navy Executive Footer */
.executive-footer {
  background: #071238 !important;
  color: #94a3b8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.executive-footer h4 {
  color: #ffffff !important;
  font-family: 'Inter', sans-serif !important;
}

.executive-footer p,
.executive-footer span,
.executive-footer a {
  color: #94a3b8 !important;
}

.executive-footer a:hover {
  color: #38bdf8 !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Logo Sizing in Header (20% Bigger) */
.header-logo-container svg,
.header-logo-container img {
  height: auto;
  width: auto;
  max-height: 110px;
  object-fit: contain;
}

@media (min-width: 640px) {
  .header-logo-container svg,
  .header-logo-container img {
    max-height: 120px;
  }
}

/* ========================================================
   3D Motion Hero System (Interactive & Enterprise-Grade)
   ======================================================== */
.hero-section-3d {
  position: relative;
  perspective: 1400px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  overflow: hidden;
}

.hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-3d-content {
  transform-style: preserve-3d;
  transition: transform 0.12s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: transform;
}

.hero-3d-layer-text {
  transform: translateZ(20px);
  transform-style: preserve-3d;
}

.hero-3d-layer-cta {
  transform: translateZ(35px);
  transform-style: preserve-3d;
}

.hero-3d-layer-cards {
  transform: translateZ(50px);
  transform-style: preserve-3d;
}

/* Ambient 3D Glowing Tech Orbs */
.hero-3d-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.hero-3d-orb-1 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(0, 82, 204, 0.22) 0%, rgba(2, 132, 199, 0.07) 55%, transparent 75%);
  top: -80px;
  right: -60px;
}

.hero-3d-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, rgba(0, 82, 204, 0.05) 55%, transparent 75%);
  bottom: -60px;
  left: -60px;
  animation-delay: -7s;
}

@keyframes floatOrb {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(35px, -30px, 40px) scale(1.08);
  }
  100% {
    transform: translate3d(-25px, 25px, -20px) scale(0.94);
  }
}

/* 3D Interactive Stat Cards with Depth & Hover */
.hero-stat-card-3d {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.hero-stat-card-3d:hover {
  border-color: #93c5fd !important;
  box-shadow: 0 25px 40px -12px rgba(0, 82, 204, 0.16), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
}

