/* ==========================================================================
   EliteOps Global (EOG) - Complete Static Animations & Stylesheet
   Designed for Hostinger Shared Web Hosting (HTML/CSS/JS)
   100% Identical Parity with Next.js + Framer Motion Design
   ========================================================================== */

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

/* --- COLOR TOKENS & CSS VARIABLES --- */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', var(--font-sans);

  --navy-950: #030712;
  --navy-900: #0a192f;
  --navy-800: #112240;
  --navy-700: #233554;
  --royal-600: #1e3a8a;
  --royal-500: #2563eb;
  --royal-400: #60a5fa;
  --royal-300: #93c5fd;

  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-nav: rgba(255, 255, 255, 0.85);
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-elevated: rgba(255, 255, 255, 0.95);
  --bg-input: #ffffff;
  --bg-dropdown: rgba(255, 255, 255, 0.95);

  --text-main: #030712;
  --text-heading: #0f172a;
  --text-sub: #475569;
  --text-muted: #64748b;

  --border-color: rgba(226, 232, 240, 0.8);
  --border-card: rgba(203, 213, 225, 0.6);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(37, 99, 235, 0.15);

  --logo-filter: none;
}

/* --- DARK MODE OVERRIDES --- */
html.dark {
  --bg-main: #030712;
  --bg-alt: #0a192f;
  --bg-nav: rgba(3, 7, 18, 0.9);
  --bg-card: #0f172a;
  --bg-card-elevated: #0f172a;
  --bg-input: #0f172a;
  --bg-dropdown: rgba(15, 23, 42, 0.95);

  --text-main: #f8fafc;
  --text-heading: #ffffff;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;

  --border-color: rgba(51, 65, 85, 0.7);
  --border-card: rgba(51, 65, 85, 0.8);

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 35px -5px rgba(0, 0, 0, 0.8);

  --logo-filter: brightness(0) invert(1) drop-shadow(0 0 2px rgba(96, 165, 250, 0.6));
}

/* --- BASE & RESET --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* --- LOADING SCREEN ANIMATION --- */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-aura {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.15);
  border-radius: 50%;
  filter: blur(100px);
  animation: pulse-slow 6s ease-in-out infinite;
}

.loading-bar-wrapper {
  position: relative;
  margin-top: 1rem;
  width: 10rem;
  height: 2px;
  background: rgba(203, 213, 225, 0.5);
  border-radius: 9999px;
  overflow: hidden;
}

.loading-bar-inner {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(90deg, transparent, #2563eb, transparent);
  animation: loading-scan 1.5s ease-in-out infinite;
}

@keyframes loading-scan {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* --- ULTRA-MODERN INTERACTIVE SAAS CURSOR --- */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.03);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease,
              border-color 0.3s ease,
              opacity 0.3s ease,
              transform 0.15s ease;
  opacity: 0;
}

html.dark .custom-cursor {
  border-color: rgba(96, 165, 250, 0.6);
  background: rgba(96, 165, 250, 0.05);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.25);
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #2563eb;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
  opacity: 0;
}

html.dark .custom-cursor-dot {
  background-color: #60a5fa;
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.8);
}

/* Interactive Hover Transformation (Sleek Compact Expansion) */
.custom-cursor.hovered {
  width: 34px;
  height: 34px;
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.75);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

html.dark .custom-cursor.hovered {
  background: rgba(96, 165, 250, 0.12);
  border-color: rgba(147, 197, 253, 0.9);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.35);
}

.custom-cursor-dot.hovered {
  width: 3px;
  height: 3px;
  opacity: 0.5;
}

/* Tactile Click Down State */
.custom-cursor.active {
  transform: translate(-50%, -50%) scale(0.8);
  background: rgba(37, 99, 235, 0.25);
}

@media (max-width: 1024px) {
  .custom-cursor, .custom-cursor-dot { display: none !important; }
}

/* --- TYPOGRAPHY & GRADIENTS --- */
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
}

.text-gradient {
  background: linear-gradient(135deg, #0b192c 0%, #1e3a8a 40%, #2563eb 80%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
html.dark .text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 50%, #60a5fa 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* --- LAYOUT & CONTAINERS --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.bg-alt {
  background-color: var(--bg-alt);
}

.border-t { border-top: 1px solid var(--border-color); }
.border-b { border-bottom: 1px solid var(--border-color); }

/* --- HEADER NAVBAR --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
}

html.dark .header {
  border-bottom: 1px solid rgba(3, 7, 18, 0);
}

.header.scrolled {
  padding: 0.85rem 0;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

html.dark .header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link img {
  height: 3.2rem;
  width: auto;
  object-fit: contain;
  filter: var(--logo-filter);
  transition: filter 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.5rem 0;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--royal-500);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.75rem;
  width: 16rem;
  background: var(--bg-dropdown);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 110;
  list-style: none;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
  color: var(--text-sub);
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-link:hover {
  color: var(--royal-500);
  background: rgba(37, 99, 235, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-drawer.open {
  display: flex;
}

/* --- BUTTONS & SHINE EFFECT --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--royal-600) 0%, var(--royal-500) 50%, #3b82f6 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--royal-500);
  transform: scale(1.03);
}

/* Shiny hover sweep effect */
.btn-shine::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s ease;
}
.btn-shine:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.btn-theme-toggle {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-theme-toggle:hover {
  border-color: var(--royal-500);
  transform: scale(1.08);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(37, 99, 235, 0.1);
  color: var(--royal-500);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

/* --- GLASS CARDS & ELEVATED CARDS --- */
.glass-card,
.glass-card-elevated {
  background: var(--bg-card-elevated);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover,
.glass-card-elevated:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: var(--shadow-lg);
}

/* --- HERO SECTION --- */
.hero {
  min-height: 95vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-heading);
  margin: 1rem 0;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  padding: 1.25rem;
  border-radius: 1rem;
  border-left: 4px solid var(--royal-500);
}
.stat-card h4 {
  font-size: 0.95rem;
  color: var(--text-heading);
}
.stat-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- ANIMATED GLOBE COMPONENT --- */
/* --- MODERN SAAS OPERATIONAL RADAR & GLOBE --- */
.globe-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Outer & Inner Orbit Lines */
.radar-orbit-outer {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px dashed rgba(59, 130, 246, 0.35);
  animation: radar-rotate 35s linear infinite;
}

.radar-orbit-inner {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.08);
}

@keyframes radar-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Orbiting Nodes */
.orbit-node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.orbit-node.node-1 { top: 0%; left: 50%; background: #60a5fa; box-shadow: 0 0 10px #60a5fa; }
.orbit-node.node-2 { top: 22%; left: 10%; background: #8b5cf6; box-shadow: 0 0 10px #8b5cf6; }
.orbit-node.node-3 { bottom: 25%; right: 8%; background: #06b6d4; box-shadow: 0 0 10px #06b6d4; }
.orbit-node.node-4 { bottom: 0%; left: 50%; background: #3b82f6; box-shadow: 0 0 10px #3b82f6; }

/* Orbit Pill Chips */
.orbit-pill {
  position: absolute;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  background: var(--bg-card);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  animation: radar-rotate-reverse 35s linear infinite;
}

@keyframes radar-rotate-reverse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

.orbit-pill.pill-top-right {
  top: -8px; right: 20px;
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.4);
}

.orbit-pill.pill-bottom-left {
  bottom: 10px; left: -10px;
  color: #0891b2;
  border: 1px solid rgba(6, 182, 212, 0.4);
}

/* Central Grid Core Sphere */
.globe-sphere {
  position: relative;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.04) 70%, transparent 100%);
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 0 50px rgba(37, 99, 235, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Grid Pattern inside Central Radar */
.radar-grid-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-size: 24px 24px;
  background-image: 
    linear-gradient(to right, rgba(59, 130, 246, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.15) 1px, transparent 1px);
}

/* Radar Scan Sweep Line */
.radar-scan-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(59, 130, 246, 0.25) 0deg, transparent 60deg, transparent 360deg);
  animation: radar-rotate 8s linear infinite;
}

/* Ping Dots in Grid Core */
.radar-ping-dot {
  position: absolute;
  border-radius: 50%;
}
.radar-ping-dot.dot-1 { top: 28%; left: 32%; width: 8px; height: 8px; background: #8b5cf6; box-shadow: 0 0 8px #8b5cf6; }
.radar-ping-dot.dot-2 { top: 48%; left: 52%; width: 10px; height: 10px; background: #a855f7; box-shadow: 0 0 10px #a855f7; }
.radar-ping-dot.dot-3 { top: 65%; left: 70%; width: 7px; height: 7px; background: #06b6d4; box-shadow: 0 0 7px #06b6d4; }
.radar-ping-dot.dot-4 { top: 62%; left: 24%; width: 6px; height: 6px; background: #3b82f6; box-shadow: 0 0 6px #3b82f6; }

/* Floating Metric SLA Cards */
.floating-badge {
  position: absolute;
  z-index: 20;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 0.85rem 1.25rem;
  border-radius: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: float 6s ease-in-out infinite;
}

.floating-badge-top-left {
  top: 5%; left: -20px;
}

.floating-badge-bottom-right {
  bottom: 8%; right: -20px;
  animation-delay: 3s;
}

.badge-icon-wrap {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.badge-icon-wrap.icon-green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.badge-icon-wrap.icon-orange {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.badge-title {
  font-size: 0.85rem;
  color: var(--text-heading);
  font-weight: 800;
  line-height: 1.2;
}

.badge-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

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

/* --- INFINITE MARQUEE --- */
.marquee-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 1rem 0;
  display: flex;
}

.marquee-mask-left {
  position: absolute; top: 0; left: 0; bottom: 0; width: 6rem;
  background: linear-gradient(90deg, var(--bg-main), transparent);
  z-index: 10; pointer-events: none;
}

.marquee-mask-right {
  position: absolute; top: 0; right: 0; bottom: 0; width: 6rem;
  background: linear-gradient(270deg, var(--bg-main), transparent);
  z-index: 10; pointer-events: none;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll-marquee 30s linear infinite;
}

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

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 1rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--royal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

/* --- PORTFOLIO FILTER --- */
.portfolio-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg-card);
  color: var(--text-sub);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active, .tab-btn:hover {
  background: linear-gradient(135deg, var(--royal-600) 0%, var(--royal-500) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  justify-content: center;
}

.portfolio-card {
  max-width: 26rem;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portfolio-img {
  height: 12rem;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.portfolio-img img {
  height: 3rem;
  width: auto;
  filter: var(--logo-filter);
}

.tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 0.35rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--royal-500);
}

/* --- TESTIMONIALS SLIDER --- */
.testimonial-container {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.testimonial-quote {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-main);
  margin: 2rem 0;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-heading);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* --- FAQ ACCORDION --- */
.faq-list {
  max-width: 48rem;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  background: var(--bg-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--text-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-sub);
  display: none;
}

.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-icon { transform: rotate(180deg); }

/* --- CONTACT FORM & INPUTS --- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full { grid-column: span 2; }

label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

input, select, textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-color);
  background: var(--bg-input);
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--royal-500);
}

/* --- FLOATING ACTION BUTTON (FAB) --- */
.fab-contact {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 90;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-600) 0%, var(--royal-500) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.5);
  transition: all 0.3s ease;
}
.fab-contact:hover {
  transform: scale(1.1);
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.7);
}

/* --- MODAL DIALOG --- */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
  width: 100%;
  max-width: 32rem;
  box-shadow: var(--shadow-lg);
}

/* --- FOOTER --- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-heading);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-sub);
}

.footer-links a:hover { color: var(--royal-500); }

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-primary { display: none; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2.2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-badge { display: none; }

  /* Mobile Grid & Card Sizing Fixes */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .portfolio-card {
    max-width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .glass-card {
    padding: 1.5rem !important;
  }
  .portfolio-tabs {
    gap: 0.5rem;
  }
  .tab-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.7rem;
  }
}

/* --- PRICING TOGGLE SWITCH & CRO STYLING --- */
.pricing-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.pricing-toggle-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
}

.pricing-toggle-label.active {
  color: var(--royal-500);
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--border-card);
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
}

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

input:checked + .slider {
  background-color: var(--royal-500);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

.pricing-discount-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* --- PORTFOLIO DETAIL MODAL --- */
.portfolio-modal-box {
  max-width: 44rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.portfolio-modal-header {
  position: relative;
  height: 16rem;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.portfolio-modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.portfolio-metric-pill {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  text-align: center;
}

/* --- BODY SCROLL LOCK & ACCESSIBILITY FOCUS RINGS --- */
body.modal-open {
  overflow: hidden !important;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--royal-500);
  outline-offset: 2px;
}

/* --- MODERN PROCESS TIMELINE STYLING --- */
.process-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.process-card-modern {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 1.25rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.process-card-modern:hover {
  transform: translateY(-6px);
  border-color: var(--royal-500);
  box-shadow: 0 12px 30px -10px rgba(37, 99, 235, 0.25);
}

.process-node-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.process-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--royal-600) 0%, var(--royal-500) 100%);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.3);
}

.process-icon-box {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: rgba(37, 99, 235, 0.1);
  color: var(--royal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.process-deliverable-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--royal-500);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
}

/* --- BESPOKE HUMAN-CRAFTED CONNECTED PIPELINE ROADMAP --- */
.pipeline-roadmap-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.pipeline-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

/* Connecting Line between steps */
.pipeline-row::before {
  content: "";
  position: absolute;
  top: 2.25rem;
  left: 10%;
  right: 10%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #60a5fa, #10b981);
  z-index: 1;
  border-radius: 9999px;
  opacity: 0.8;
}

.pipeline-card {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pipeline-card:hover {
  transform: translateY(-6px);
  border-color: var(--royal-500);
  box-shadow: 0 15px 35px -10px rgba(37, 99, 235, 0.25);
}

.pipeline-node-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--royal-600) 0%, var(--royal-500) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  border: 4px solid var(--bg-main);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.pipeline-card:hover .pipeline-node-circle {
  transform: scale(1.1);
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.pipeline-flow-arrow {
  position: absolute;
  top: 1.8rem;
  right: -1.3rem;
  z-index: 5;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bg-main);
  border: 1px solid var(--royal-500);
  color: var(--royal-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .pipeline-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pipeline-row::before {
    top: 0;
    bottom: 0;
    left: 1.5rem;
    right: auto;
    width: 3px;
    height: 100%;
  }
}

/* --- LUXURY OPERATIONAL COMMAND ENGINE STYLING --- */
.luxury-hud-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.luxury-hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.hud-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.hud-status-ping {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-ping 2s infinite;
}

@keyframes pulse-ping {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hud-phase-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hud-phase-tab {
  background: var(--bg-alt);
  border: 1px solid var(--border-color) !important;
  outline: none !important;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-sub);
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hud-phase-tab:hover {
  border-color: var(--royal-500) !important;
  color: var(--royal-500);
}

.hud-phase-tab.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--royal-600) 0%, var(--royal-500) 100%) !important;
  border-color: var(--royal-500) !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.hud-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.hud-step-card {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.hud-step-card:hover {
  border-color: var(--royal-500);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px -10px rgba(37, 99, 235, 0.15);
}

.hud-num-badge {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--royal-500);
  background: rgba(37, 99, 235, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 0.5rem;
  display: inline-block;
  margin-bottom: 1rem;
}

.hud-trust-footer {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px dashed var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.hud-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-heading);
}

/* --- HUMAN EDITORIAL STORYBOARD STYLING --- */
.storyboard-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 58rem;
  margin: 0 auto;
  position: relative;
}

.storyboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  align-items: start;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.storyboard-card:hover {
  transform: translateY(-4px);
  border-color: var(--royal-500);
  box-shadow: 0 15px 35px -10px rgba(37, 99, 235, 0.15);
}

.storyboard-time-badge {
  background: linear-gradient(135deg, var(--royal-600) 0%, var(--royal-500) 100%);
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
  letter-spacing: 0.05em;
}

.storyboard-role-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--royal-500);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.storyboard-avatar-initial {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--royal-500);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.storyboard-deliverables {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border-color);
}

.storyboard-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #10b981;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
}

.storyboard-tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
}

/* --- SOCIAL MEDIA ICON BUTTONS --- */
.social-icon-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.social-icon-btn:hover {
  background: linear-gradient(135deg, var(--royal-600) 0%, var(--royal-500) 100%);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}






