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

:root {
  /* Primary Colors */
  --navy: #020617;
  --blue: #0088ff;
  --silver: #cbd5e1;
  --gray: #6b7c93;
  --white: #ffffff;
  --light-bg: #f0f4f8;
  --dark-gray: #0f172a;
  
  /* Typography */
  --font-heading: 'Orbitron', sans-serif;
  --font-logo: 'Syncopate', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Effects */
  --shadow-glow: 0 0 20px rgba(0, 136, 255, 0.4);
  --glass-bg: rgba(10, 25, 41, 0.7);
  --glass-border: rgba(184, 197, 214, 0.2);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--silver);
  line-height: 1.8;
  overflow-x: hidden;
  text-align: left;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section-padding {
  padding: var(--spacing-xl) 0;
}

.text-center {
  text-align: center;
}

.glow-text {
  text-shadow: 0 0 20px rgba(0, 136, 255, 0.5), 0 0 40px rgba(0, 136, 255, 0.3);
}

.text-logo {
  font-family: var(--font-logo);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  text-transform: uppercase;
  display: inline-block;
  text-shadow: 0 0 10px rgba(0, 136, 255, 0.4);
}

.text-logo span {
  color: var(--blue);
}

/* Buttons */
.btn-primary, .btn-secondary, button {
  display: inline-block;
  padding: 12px 30px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 0 15px rgba(0, 136, 255, 0.4);
}

.btn-primary:hover {
  background: #0066cc;
  box-shadow: 0 0 25px rgba(0, 136, 255, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--blue);
}

.btn-secondary:hover {
  background: rgba(0, 136, 255, 0.1);
  box-shadow: inset 0 0 10px rgba(0, 136, 255, 0.3);
  transform: translateY(-2px);
}

/* Navigation */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.main-nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 5%;
}

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

.nav-links li a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.nav-links li a:hover::after, .nav-links li a.active::after {
  width: 100%;
}

.cta-nav {
  background: transparent;
  padding: 8px 20px;
  border-radius: 4px;
  border: 1px solid var(--blue);
}

.cta-nav::after {
  display: none;
}

.cta-nav:hover {
  background: rgba(0,136,255,0.1);
  box-shadow: var(--shadow-glow);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: var(--transition);
}

/* Hero Sections */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 5%;
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(circle at center, var(--dark-gray) 0%, var(--navy) 100%);
}

.particle {
  position: absolute;
  background: rgba(0, 136, 255, 0.2);
  border-radius: 50%;
  animation: float 10s infinite linear;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--silver);
  margin-bottom: 2.5rem;
  max-width: 650px;
}

.hero-sub {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, var(--navy) 0%, var(--dark-gray) 100%);
  position: relative;
}

.hero-sub h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-sub p {
  font-size: 1.2rem;
  color: var(--silver);
}

/* Cards & Glassmorphism */
.glass-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  transform-style: preserve-3d;
  text-align: left;
}

.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 136, 255, 0.15);
  transform: translateY(-5px);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  align-items: center;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

/* Specific Sections */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--blue);
}

/* Footer */
footer {
  background: #050d14;
  padding: 5rem 5% 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section ul li a {
  color: var(--silver);
}

.footer-section ul li a:hover, .footer-section p a:hover {
  color: var(--blue);
}

.footer-section p {
  color: var(--silver);
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-gray);
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--blue);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--gray);
  font-size: 0.9rem;
}

/* Hero Carousel */
.hero-carousel-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  height: 100%;
  width: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: all;
}

.carousel-slide .hero-content {
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 1s ease 0.5s;
}

.carousel-slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 25, 41, 0.5);
  border: 1px solid rgba(0, 136, 255, 0.3);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--blue);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active, .dot:hover {
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
}

/* Ticker Tape */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--blue);
  padding: 15px 0;
  box-shadow: 0 0 20px rgba(0, 136, 255, 0.4);
  position: relative;
  z-index: 5;
}

.ticker-move {
  display: flex;
  width: 200%;
  animation: ticker 20s linear infinite;
}

.ticker-item {
  flex: 0 0 auto;
  min-width: 100%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--navy);
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

/* Floating Labels */
.floating-group {
  position: relative;
}

.floating-group input, .floating-group textarea {
  padding: 25px 15px 10px;
  width: 100%;
}

.floating-group label {
  position: absolute;
  top: 18px;
  left: 15px;
  color: var(--gray);
  pointer-events: none;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.floating-group input:focus + label,
.floating-group input:not(:placeholder-shown) + label,
.floating-group textarea:focus + label,
.floating-group textarea:not(:placeholder-shown) + label {
  top: 6px;
  font-size: 0.75rem;
  color: var(--blue);
}

/* Core Cards Hover Glowing */
.core-card {
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.core-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 30px rgba(0, 136, 255, 0.4);
}

.core-card .icon-container {
  color: var(--blue);
  margin-bottom: 1.5rem;
}

/* Yayra Network Section */
.yayra-network-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--dark-gray);
  border-top: 1px solid var(--glass-border);
}

.network-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 136, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 136, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
  animation: gridMove 20s linear infinite;
  z-index: 1;
}

@keyframes gridMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 50px; }
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-20px) rotateX(10deg) rotateY(10deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--navy);
    flex-direction: column;
    padding: 2rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-out;
  }
  
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    border-bottom: 1px solid var(--glass-border);
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Image Backgrounds & Overlays */
.carousel-slide {
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 25, 41, 0.75);
  z-index: 0;
}

.core-card.has-bg {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 350px;
  display: flex;
  align-items: flex-end;
}

.card-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(10, 25, 41, 0.95) 0%, rgba(10, 25, 41, 0.4) 100%);
  z-index: 1;
  transition: var(--transition);
}

.core-card.has-bg:hover .card-overlay {
  background: linear-gradient(to top, rgba(0, 136, 255, 0.8) 0%, rgba(10, 25, 41, 0.5) 100%);
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2rem;
}

.card-content h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.card-content p {
  color: var(--silver);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Counters */
.counter-box {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 3rem 2rem;
  transition: var(--transition);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.counter-box:hover {
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 30px rgba(0, 136, 255, 0.3);
  transform: translateY(-5px);
}

/* WhatsApp Floating Icon */
.whatsapp-float {
  position: fixed;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, #29cf63, #22b958);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 20px rgba(10, 25, 41, 0.42), 0 0 0 1px rgba(34, 185, 88, 0.24);
  z-index: 950;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
}

.whatsapp-float:hover {
  background: linear-gradient(145deg, #2fd76a, #24c05a);
  transform: scale(1.06);
  box-shadow: 0 10px 24px rgba(10, 25, 41, 0.46), 0 0 16px rgba(37, 211, 102, 0.25);
  color: white;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  display: block;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 44px;
    height: 44px;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float svg {
    width: 21px;
    height: 21px;
  }
}

/* ==========================================================================
   ADVANCED HOMEPAGE STYLES
   ========================================================================== */

/* Typography Overrides */
h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
}

.section-title-gradient {
  background: linear-gradient(135deg, #ffffff, #0088ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Progress & Cursor Follower */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.1);
  z-index: 9999;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), #00d4ff);
  width: 0%;
  transition: width 0.1s ease;
}

.cursor-follower {
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.2s ease;
  mix-blend-mode: difference;
}

/* Hero Advanced */
.hero-advanced {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-gray);
}

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

.hero-content-advanced {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 136, 255, 0.1);
  border: 1px solid rgba(0, 136, 255, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 30px;
}

.pulse-dot {
  width: 8px; height: 8px;
  background: #00ff00;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ff00;
  animation: pulse 1.5s infinite;
}

.hero-label-text {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--silver);
}

.hero-title-split .line {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff, #0088ff, #ffffff);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease infinite, slideUpFade 0.8s ease forwards;
  transform: translateY(30px);
  opacity: 0;
  animation-delay: calc(var(--delay) * 0.1s);
}

.hero-subtitle-typed {
  font-size: 1.5rem;
  color: var(--silver);
  margin: 20px 0 40px;
  min-height: 2em;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn-3d-primary {
  position: relative;
  padding: 18px 40px;
  background: linear-gradient(135deg, #0088ff, #0066cc);
  color: var(--white);
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 136, 255, 0.4), 0 0 60px rgba(0, 136, 255, 0.2), inset 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.btn-3d-primary:hover {
  transform: translateY(-5px) scale(1.05) rotateX(10deg);
  box-shadow: 0 15px 40px rgba(0, 136, 255, 0.6), 0 0 80px rgba(0, 136, 255, 0.3);
  color: var(--white);
}

.btn-glow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.3), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-3d-primary:hover .btn-glow {
  opacity: 1;
  animation: pulse 1.5s infinite;
}

.btn-3d-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-3d-ghost:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-5px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.mouse {
  width: 26px; height: 40px;
  border: 2px solid var(--silver);
  border-radius: 13px;
  margin: 0 auto 10px;
  position: relative;
}

.wheel {
  width: 4px; height: 8px;
  background: var(--blue);
  border-radius: 2px;
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

/* Floating Shapes */
.floating-3d-shapes div {
  position: absolute;
  background: linear-gradient(135deg, rgba(0,136,255,0.2), rgba(0,212,255,0.1));
  border: 1px solid rgba(0,136,255,0.3);
  z-index: 1;
}
.shape-cube { width: 100px; height: 100px; top: 20%; left: 10%; animation: float 6s infinite; }
.shape-sphere { width: 150px; height: 150px; border-radius: 50%; top: 60%; right: 10%; animation: float 8s infinite alternate; }

/* Stats Bar */
.stats-bar {
  background: linear-gradient(135deg, #0a1929, #0f172a);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0; left: -50%;
  width: 200%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,136,255,0.1), transparent);
  animation: scan 3s ease-in-out infinite;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #0088ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: 'Orbitron', sans-serif;
}

.stat-label {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--silver);
  margin-top: 10px;
}

/* Visual Split */
.content-visual-split {
  display: flex;
  gap: 60px;
  align-items: center;
}

.content-visual-split > div { flex: 1; }
.content-visual-split .text-column p { margin-bottom: 15px; font-size: 1.1rem; }
.key-stats { display: flex; gap: 30px; margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* Services Masonry */
.services-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  grid-auto-flow: dense;
}

.service-card-featured {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 400px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card-featured:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 30px 60px rgba(0, 136, 255, 0.3), 0 0 100px rgba(0, 136, 255, 0.2);
}

.service-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(30%);
  transition: all 0.5s ease;
}

.service-card-featured:hover .service-bg {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.service-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 41, 0.9), rgba(0, 136, 255, 0.3));
  transition: opacity 0.5s;
}

.service-card-featured:hover .service-overlay {
  opacity: 0.95;
}

.service-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-features-quick {
  list-style: none;
  margin: 20px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease 0.2s;
}

.service-card-featured:hover .service-features-quick {
  opacity: 1;
  transform: translateY(0);
}

.btn-service-explore {
  align-self: flex-start;
  background: rgba(0, 136, 255, 0.2);
  border: 1px solid var(--blue);
  color: var(--white);
  backdrop-filter: blur(10px);
  padding: 12px 30px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-service-explore:hover {
  background: var(--blue);
  transform: translateX(10px);
  color: var(--white);
}

/* Process Timeline */
.process-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
  flex-wrap: wrap;
  gap: 20px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), transparent);
  animation: scan 3s ease-in-out infinite;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  min-width: 200px;
}

.step-number {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(0, 136, 255, 0.2);
  font-family: 'Orbitron', sans-serif;
  margin-bottom: -20px;
}

.step-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: radial-gradient(circle, rgba(0,136,255,0.2), transparent);
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  background-color: var(--navy);
}

.process-step:hover .step-icon {
  transform: scale(1.2) rotateY(360deg);
  box-shadow: 0 0 30px rgba(0,136,255,0.6);
}

/* Partners Carousel */
.partners-carousel {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.partners-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.partner-logo {
  flex: 0 0 200px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 30px;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.3s;
}

.partner-logo:hover {
  filter: grayscale(0%) opacity(1);
}

/* Testimonials */
.testimonial-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 136, 255, 0.2);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  transition: all 0.4s;
}

.testimonial-card:hover {
  border-color: var(--blue);
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 136, 255, 0.3);
}

.quote-icon {
  font-size: 6rem;
  color: rgba(0, 136, 255, 0.2);
  line-height: 0.5;
  margin-bottom: 20px;
  font-family: serif;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--silver);
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--blue), #0066cc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--white);
  margin-right: 15px;
}

/* Mobile Enhancements */
@media (max-width: 768px) {
  .hero-title-split .line { font-size: 2.5rem; }
  .content-visual-split { flex-direction: column; }
  .services-masonry { grid-template-columns: 1fr; }
  .service-card-featured { grid-column: span 1; grid-row: span 1; }
  .process-timeline::before { display: none; }
  .process-timeline { flex-direction: column; gap: 40px; }
  .cursor-follower { display: none; }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes slideUpFade {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

@keyframes scan {
  0% { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

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

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

/* Bento Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  grid-auto-rows: minmax(100px, auto);
}
.bento-large {
  /* We handle grid-column: span 2 in HTML inline, but providing class anyway */
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large {
    grid-column: span 2 !important;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-large {
    grid-column: span 1 !important;
    grid-row: auto !important;
  }
  .core-card[style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }
}

/* --- NEW PROMPT STYLES --- */

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s;
}
.carousel-slide.active {
  opacity: 1;
  visibility: visible;
}
.slide-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 6s linear; /* Ken Burns effect */
}
.carousel-slide.active .slide-bg {
  transform: scale(1.05);
}
.slide-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(2, 6, 23, 0.7); /* Deep dark overlay */
}
.slide-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 5%;
}
.slide-title {
  font-size: 4rem;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
}
.slide-subtitle {
  font-size: 1.3rem;
  color: var(--silver);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 2rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}
.carousel-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.carousel-btn.prev { left: 2%; }
.carousel-btn.next { right: 2%; }

.carousel-dots {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.carousel-dots .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-dots .dot.active {
  background: var(--blue);
  transform: scale(1.2);
}

@media(max-width: 768px) {
  .slide-title { font-size: 2.5rem; }
  .slide-subtitle { font-size: 1rem; }
  .carousel-btn { display: none; }
}

/* Marquee / Ticker Tape */
.marquee-wrapper {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  padding: 15px 0;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
}
.marquee-track {
  display: flex;
  animation: scroll-marquee 20s linear infinite;
}
.marquee-content {
  display: flex;
  align-items: center;
}
.marquee-content span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.marquee-content .bullet {
  margin: 0 2rem;
  color: rgba(255, 255, 255, 0.5);
}

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

/* Core Focus 3D Cards */
.core-focus-card {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  height: 350px;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
  transform-style: preserve-3d;
}
.cf-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
}
.cf-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.4) 100%);
  z-index: 1;
}
.cf-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transform: translateZ(30px);
}
.core-focus-card:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
  box-shadow: 0 15px 35px rgba(0, 136, 255, 0.2), 0 0 15px rgba(0, 136, 255, 0.1);
  border-color: rgba(0, 136, 255, 0.3);
}
.core-focus-card:hover .cf-bg {
  transform: scale(1.1);
}

/* Abstract Network Map */
.network-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(circle at 50% 50%, rgba(0, 136, 255, 0.1) 0%, transparent 60%),
                    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  z-index: 1;
}

/* Floating Labels (Contact Form) */
.form-group.floating {
  position: relative;
  margin-bottom: 2rem;
}
.form-group.floating input,
.form-group.floating textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem 1rem 0.5rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-group.floating label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--silver);
  font-size: 1rem;
  transition: all 0.2s ease;
  pointer-events: none;
}
.form-group.floating input:focus,
.form-group.floating textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(0, 136, 255, 0.2);
  outline: none;
}
.form-group.floating input:focus + label,
.form-group.floating input:not(:placeholder-shown) + label,
.form-group.floating textarea:focus + label,
.form-group.floating textarea:not(:placeholder-shown) + label {
  top: 0.3rem;
  font-size: 0.75rem;
  color: var(--blue);
}

/* Services accordion */
.service-accordion summary {
  cursor: pointer;
  list-style: none;
}

.service-accordion summary::-webkit-details-marker {
  display: none;
}

.service-accordion summary h3 {
  margin: 0;
}

.service-accordion[open] {
  border-color: rgba(0, 136, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 136, 255, 0.2);
}
