/* ========================================
   ColoShield — Premium Dark Theme
   ======================================== */

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text-primary: #f0f0f5;
  --text-secondary: #8a8a9a;
  --text-muted: #5a5a6a;
  --accent-1: #2a6496;
  --accent-2: #f5a623;
  --accent-3: #d4345c;
  --navy: #1e3a5f;
  --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  --gradient-text: linear-gradient(135deg, var(--accent-2), var(--accent-3), var(--accent-1));
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient);
  z-index: 10001;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.5), 0 0 20px rgba(212, 52, 92, 0.3);
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--accent-2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease);
  pointer-events: none;
  overflow: hidden;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.3);
}
.back-to-top:active {
  transform: translateY(0) scale(0.9);
}
.btt-trail {
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 2px;
  height: 0;
  background: linear-gradient(to top, transparent, var(--accent-2));
  transform: translateX(-50%);
  transition: height 0.3s;
  opacity: 0.5;
}
.back-to-top:hover .btt-trail {
  height: 30px;
}

/* ---- Typewriter ---- */
.typewriter-cursor {
  animation: cursorBlink 0.7s step-end infinite;
  font-weight: 300;
  color: var(--accent-2);
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.typewriter-line2 {
  opacity: 0;
  transition: opacity 0.3s;
}
.typewriter-line2.visible {
  opacity: 1;
}

/* ---- Scramble Text ---- */
.scramble-text {
  font-family: var(--font-heading);
}

/* ---- Magnetic Buttons ---- */
.magnetic {
  transition: all 0.3s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Reveal Animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease) forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

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

/* ========================================
   NAV
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo-img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.3));
  transition: all 0.4s var(--ease);
}
.nav-logo-img:hover {
  filter: drop-shadow(0 0 20px rgba(245, 166, 35, 0.6))
         drop-shadow(0 0 40px rgba(212, 52, 92, 0.3));
  transform: scale(1.05);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--gradient);
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.3s, transform 0.3s !important;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}
.glow-1 {
  width: 600px; height: 600px;
  background: var(--accent-1);
  top: -200px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.glow-2 {
  width: 500px; height: 500px;
  background: var(--accent-2);
  bottom: -150px; left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}
.glow-3 {
  width: 400px; height: 400px;
  background: var(--accent-3);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: float 12s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

/* ---- Hero Logo Animation ---- */
.hero-logo-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}
.hero-logo-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(245, 166, 35, 0.5))
         drop-shadow(0 0 50px rgba(212, 52, 92, 0.3));
  animation: heroLogoFloat 6s ease-in-out infinite;
  transition: transform 0.4s var(--ease);
}
.hero-logo-wrap:hover .hero-logo-img {
  transform: rotateY(15deg) rotateX(-5deg) scale(1.1);
  filter: drop-shadow(0 0 30px rgba(245, 166, 35, 0.7))
         drop-shadow(0 0 70px rgba(212, 52, 92, 0.5))
         drop-shadow(0 0 100px rgba(42, 100, 150, 0.3));
}

.hero-logo-ring {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(245, 166, 35, 0.25);
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.1), inset 0 0 20px rgba(245, 166, 35, 0.05);
  animation: ringRotate 12s linear infinite, heroRingPulse 4s ease-in-out infinite;
}
.hero-logo-ring.ring-2 {
  width: 260px;
  height: 260px;
  border: 1px solid rgba(245, 180, 50, 0.15);
  box-shadow: 0 0 30px rgba(245, 166, 35, 0.08), inset 0 0 30px rgba(245, 166, 35, 0.03);
  animation: ringRotate 18s linear infinite reverse, heroRingPulse 5s ease-in-out 1s infinite;
}

@keyframes heroRingPulse {
  0%, 100% {
    opacity: 0.4;
    border-color: rgba(245, 166, 35, 0.25);
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.1), inset 0 0 20px rgba(245, 166, 35, 0.05);
  }
  50% {
    opacity: 1;
    border-color: rgba(245, 180, 50, 0.45);
    box-shadow: 0 0 35px rgba(245, 166, 35, 0.25), inset 0 0 35px rgba(245, 166, 35, 0.1);
  }
}

.hero-logo-particles {
  position: absolute;
  inset: -40px;
  z-index: 1;
}
.logo-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-2);
  opacity: 0;
  animation: particleFloat var(--duration) var(--delay) ease-in-out infinite;
}

@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  25% { transform: translateY(-8px) rotateY(3deg); }
  50% { transform: translateY(0) rotateY(0deg); }
  75% { transform: translateY(8px) rotateY(-3deg); }
}

@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.4; transform: rotate(var(--r, 0deg)) scale(1); }
  50% { opacity: 1; transform: rotate(var(--r, 180deg)) scale(1.05); }
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translate(0, 0) scale(0); }
  20% { opacity: 1; transform: translate(var(--tx), var(--ty)) scale(1); }
  80% { opacity: 0.6; transform: translate(calc(var(--tx) * 1.5), calc(var(--ty) * 1.5)) scale(0.8); }
  100% { opacity: 0; transform: translate(calc(var(--tx) * 2), calc(var(--ty) * 2)) scale(0); }
}

/* Footer particles: spawn far out, pull inward */
.logo-particle.pull-in {
  animation: particlePullIn var(--duration) var(--delay) ease-in infinite;
}

@keyframes particlePullIn {
  0% { opacity: 0; transform: translate(calc(var(--tx) * 2.5), calc(var(--ty) * 2.5)) scale(0); }
  15% { opacity: 1; transform: translate(calc(var(--tx) * 2), calc(var(--ty) * 2)) scale(1); }
  70% { opacity: 0.8; transform: translate(calc(var(--tx) * 0.5), calc(var(--ty) * 0.5)) scale(0.7); }
  100% { opacity: 0; transform: translate(0, 0) scale(0); }
}

/* Scroll-driven logo shrink */
.hero-logo-wrap.scrolled {
  position: fixed;
  top: 8px;
  left: 2rem;
  width: 60px;
  height: 60px;
  margin: 0;
  z-index: 1001;
  mix-blend-mode: normal;
}
.hero-logo-wrap.scrolled .hero-logo-img {
  width: 50px;
  height: 50px;
  animation: none;
}
.hero-logo-wrap.scrolled .hero-logo-ring,
.hero-logo-wrap.scrolled .hero-logo-particles {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}
.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  background: rgba(255,255,255,0.03);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-1), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 166, 35, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  border-color: var(--accent-1);
  color: var(--accent-1);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}
.btn-full { width: 100%; }

/* ========================================
   STATS
   ======================================== */
.stats {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 700;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: 8rem 0;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s;
}
.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.5rem;
  color: var(--accent-1);
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: 8rem 0;
  background: var(--bg-secondary);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-visual { position: relative; }
.about-image-block {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}
.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.about-accent {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--gradient);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about-content .section-title {
  text-align: left;
}
.about-content p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 2rem;
}
.highlight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.highlight-icon {
  color: var(--accent-2);
  font-weight: 700;
}

/* ========================================
   APPROACH
   ======================================== */
.approach {
  padding: 8rem 0;
}
.approach-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent-1), var(--accent-3), transparent);
}
.approach-step {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}
.approach-step:last-child { margin-bottom: 0; }

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent-1);
  position: relative;
  z-index: 1;
  transition: all 0.4s var(--ease);
}
.approach-step:hover .step-number {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
}
.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding-top: 0.2rem;
}
.step-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  padding: 6rem 0;
  background: var(--bg-secondary);
}
.cta-inner {
  text-align: center;
  padding: 5rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(245,166,35,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}
.cta-inner p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  position: relative;
}
.cta-inner .btn { position: relative; }

/* ---- Logo Click Effects ---- */
.click-shockwave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent-2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: shockwave 0.8s ease-out forwards;
  pointer-events: none;
  z-index: 10;
}
.click-shockwave.mega {
  border-width: 3px;
  animation: shockwaveMega 1s ease-out forwards;
}

@keyframes shockwave {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(8); opacity: 0; }
}
@keyframes shockwaveMega {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(14); opacity: 0; }
}

.click-burst-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  animation: burstOut 0.7s ease-out forwards;
}
.click-burst-particle.mega {
  animation: burstOutMega 1.2s ease-out forwards;
}

@keyframes burstOut {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--bx), var(--by)) scale(0); opacity: 0; }
}
@keyframes burstOutMega {
  0% { transform: translate(0, 0) scale(1.5); opacity: 1; }
  60% { opacity: 0.8; }
  100% { transform: translate(var(--bx), var(--by)) scale(0); opacity: 0; }
}

/* ---- Footer Logo Implode Effects ---- */
.implode-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  border: 2px solid var(--accent-2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(6);
  opacity: 0;
  animation: implode 0.8s ease-in forwards;
  pointer-events: none;
  z-index: 10;
}
.implode-ring.mega {
  width: 260px;
  height: 260px;
  border-width: 3px;
  animation: implodeMega 1s ease-in forwards;
}

@keyframes implode {
  0% { transform: translate(-50%, -50%) scale(6); opacity: 0; }
  30% { opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
}
@keyframes implodeMega {
  0% { transform: translate(-50%, -50%) scale(10); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(0.3); opacity: 0; }
}

/* ---- Footer Charge & Detonate ---- */
.hero-charge-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  border: 2px solid transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: all 0.4s var(--ease);
}

.charge-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  border: 2px solid transparent;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: all 0.4s var(--ease);
}

.charge-shake {
  animation: shake 0.5s ease-in-out;
}
.detonate-shake {
  animation: heavyShake 0.6s ease-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-3px) rotate(-0.5deg); }
  40% { transform: translateX(3px) rotate(0.5deg); }
  60% { transform: translateX(-2px) rotate(-0.3deg); }
  80% { transform: translateX(2px) rotate(0.3deg); }
}

@keyframes heavyShake {
  0%, 100% { transform: translateX(0); }
  10% { transform: translateX(-6px) rotate(-1deg); }
  20% { transform: translateX(6px) rotate(1deg); }
  30% { transform: translateX(-5px) rotate(-0.8deg); }
  40% { transform: translateX(5px) rotate(0.8deg); }
  50% { transform: translateX(-3px) rotate(-0.5deg); }
  60% { transform: translateX(3px) rotate(0.5deg); }
  70% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

.detonate-flash {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 5;
  pointer-events: none;
  animation: flashPulse 0.6s ease-out forwards;
}

@keyframes flashPulse {
  0% { opacity: 1; transform: scale(0.5); }
  50% { opacity: 0.8; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(2); }
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding: 8rem 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info .section-title { text-align: left; }
.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.contact-icon { color: var(--accent-1); flex-shrink: 0; }
.contact-item a:hover { color: var(--accent-1); }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}
.form-group input,
.form-group textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding: 4rem 0 3rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-animated {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}
.footer-logo-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 15px rgba(245, 166, 35, 0.5))
         drop-shadow(0 0 40px rgba(212, 52, 92, 0.3));
  animation: heroLogoFloat 6s ease-in-out infinite;
  transition: transform 0.4s var(--ease);
}
.footer-logo-animated:hover .footer-logo-img {
  transform: rotateY(15deg) rotateX(-5deg) scale(1.1);
  filter: drop-shadow(0 0 25px rgba(245, 166, 35, 0.7))
         drop-shadow(0 0 60px rgba(212, 52, 92, 0.5))
         drop-shadow(0 0 90px rgba(42, 100, 150, 0.3));
}
.footer-ring {
  width: 160px !important;
  height: 160px !important;
}
.footer-ring.ring-2 {
  width: 210px !important;
  height: 210px !important;
}
.footer-logo-particles {
  position: absolute;
  inset: -30px;
  z-index: 1;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.footer-links a:hover { color: var(--text-primary); }
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.25rem; }
  .nav-toggle { display: flex; z-index: 1001; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links { justify-content: center; }

  .about-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .services { padding: 5rem 0; }
  .about { padding: 5rem 0; }
  .approach { padding: 5rem 0; }
  .contact { padding: 5rem 0; }
  .contact-form-wrap { padding: 1.5rem; }
  .cta-inner { padding: 3rem 1.5rem; }
}
