/* ========================================= */
/* 1. CSS VARIABLES & THEME SETUP            */
/* ========================================= */
:root {
  /* Core Brand Colors */
  --primary: #6366f1; /* Indigo */
  --accent: #ec4899;  /* Pink */
  --gradient: linear-gradient(135deg, #6366f1, #ec4899);
  
  /* Dark Theme (Default) */
  --bg-body: #030712; /* Richer Black/Blue */
  --bg-card: rgba(20, 25, 40, 0.6);
  --bg-glass: rgba(3, 7, 18, 0.7);
  --bg-mobile-nav: rgba(3, 7, 18, 0.98); /* Dark Mobile Menu */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255,255,255,0.08);
  --spotlight-color: rgba(255, 255, 255, 0.15);
  
  /* Toggle Icon Colors */
  --sun-color: #fbbf24; /* Golden Yellow */
  
  /* Form Inputs (Dark) */
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-text: #fff;
  --input-label: #94a3b8;
  --input-border: rgba(255,255,255,0.1);

  /* Logo Filter (Invert for dark mode) */
  --logo-filter: brightness(0) invert(1);
}

[data-theme="light"] {
  --bg-body: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-mobile-nav: rgba(255, 255, 255, 0.98); /* White Mobile Menu */
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-color: rgba(0,0,0,0.08);
  --spotlight-color: rgba(99, 102, 241, 0.1);

  /* Toggle Icon Colors */
  --moon-color: #475569; /* Slate Blue */
  
  /* Form Inputs (Light) */
  --input-bg: rgba(0, 0, 0, 0.04);
  --input-text: #1e293b;
  --input-label: #64748b;
  --input-border: rgba(0,0,0,0.1);

  /* Logo Filter (Standard for light mode) */
  --logo-filter: brightness(0);
}

/* ========================================= */
/* 2. RESET & GLOBAL STYLES                  */
/* ========================================= */
* { 
  margin: 0; padding: 0; box-sizing: border-box; 
  scroll-behavior: smooth; 
  cursor: none; /* Hides default cursor for custom one */
}

/* Force remove list dots */
ul, ol, li, .nav-links { list-style: none !important; margin: 0; padding: 0; }

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.4s ease, color 0.4s ease;
  /* Subtle Grid Pattern */
  background-image: radial-gradient(var(--border-color) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Noise Texture Overlay */
.noise-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  /* Reduced opacity from 0.4 to 0.05 so it's barely visible */
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48ZmlsdGVyIGlkPSJnoiPjxmZVR1cmJ1bGVuY2UgdHlwZT0iZnJhY3RhbE5vaXNlIiBiYXNlRnJlcXVlbmN5PSIwLjY1IiBudW1PY3RhdmVzPSIzIiBzdGl0Y2hUaWxlcz0ic3RpdGNoIi8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsdGVyPSJ1cmwoI2cpIiBvcGFjaXR5PSIwLjAzIi8+PC9zdmc+');
  opacity: 0.05; 
  pointer-events: none; 
  z-index: 9000; 
  mix-blend-mode: overlay;
}

/* Typography Defaults */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; color: var(--text-main); letter-spacing: -0.03em;
}

a, button, .nav-link, .btn { text-decoration: none; outline: none; cursor: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* ========================================= */
/* 3. CUSTOM CURSOR                          */
/* ========================================= */
.cursor-dot, .cursor-outline {
  position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
  border-radius: 50%; z-index: 9999; pointer-events: none;
}
.cursor-dot { width: 8px; height: 8px; background-color: var(--accent); }
.cursor-outline {
  width: 40px; height: 40px; border: 1px solid var(--primary);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}
body.hovering .cursor-outline {
  width: 60px; height: 60px; background-color: rgba(99, 102, 241, 0.1);
  border-color: var(--accent); mix-blend-mode: difference;
}

/* ========================================= */
/* 4. PAGE LOADER                            */
/* ========================================= */
/* --- PUNCHY PAGE LOADER --- */
#page-loader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; justify-content: center; align-items: center;
  /* The container itself is transparent, the panels provide the color */
  pointer-events: none; 
}

/* The Black Background Panels */
.loader-panel {
  position: absolute; left: 0; width: 100%; height: 50%;
  background: #030712; /* Matches body bg */
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1); /* Punchy easing */
}

.panel-top { top: 0; transform-origin: top; }
.panel-bottom { bottom: 0; transform-origin: bottom; }

/* The Content (Text + Bar) */
.loader-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
}

.loader-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem; font-weight: 900; 
  color: #fff;
  letter-spacing: -5px; /* Start tight */
  opacity: 0;
  transform: translateY(20px);
  animation: textEntrance 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.loader-progress {
  width: 0%; height: 4px; 
  background: var(--gradient);
  margin-top: 20px;
  border-radius: 2px;
  animation: loadProgress 1.5s ease-in-out forwards;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.8);
}


@media (max-width: 768px) {
  /* --- PAGE LOADER MOBILE FIX --- */
  
  /* 1. Scale down the text so it doesn't wrap or look too huge */
  .loader-text {
    font-size: 2rem; /* Reduced from 4rem */
    letter-spacing: 2px; /* Tighter tracking for mobile */
  }

  /* 2. Adjust the progress bar width and margin */
  .loader-progress {
    width: 60%; /* Doesn't need to be full width on mobile */
    height: 3px; /* Slightly thinner */
    margin-top: 15px;
  }

  /* 3. Ensure the split panels cover the screen perfectly */
  .loader-panel {
    height: 50.5%; /* Added a tiny overlap to prevent a white gap in the middle */
  }

  /* 4. Tweak the entrance animation for a snappier feel on mobile */
  @keyframes textEntrance {
    to {
      opacity: 1;
      transform: translateY(0);
      letter-spacing: 3px; /* Slightly less expansion than desktop */
    }
  }
}
/* --- ANIMATION KEYFRAMES --- */

/* 1. Text Slides Up and Spreads Out */
@keyframes textEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 5px; /* End wide */
  }
}

/* 2. Bar Fills Up */
@keyframes loadProgress {
  0% { width: 0%; opacity: 1; }
  80% { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; } /* Fade out bar at end */
}/* 1. Move the Shutters Up/Down */
#page-loader.loaded .panel-top {
  transform: translateY(-100%);
}

#page-loader.loaded .panel-bottom {
  transform: translateY(100%);
}

/* 2. INSTANTLY Hide Text & Progress Bar */
/* We target the container (.loader-content) to wipe everything at once */
#page-loader.loaded .loader-content {
  opacity: 0;
  transform: scale(1.1); /* Slight zoom for effect */
  transition: opacity 0.1s ease-out, transform 0.1s ease-out; /* 0.1s = Instant vanish */
}
/* ========================================= */
/* 5. HEADER & NAVIGATION                    */
/* ========================================= */
.site-header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  padding: 1.5rem 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}

/* -- Scrolled State -- */
.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 0.8rem 0; border-bottom: 1px solid var(--border-color);
}

/* -- Top State (Transparent) -- */
.site-header:not(.scrolled) { background: transparent; }
.site-header:not(.scrolled) .brand-name-text, 
.site-header:not(.scrolled) .menu-toggle { color: #fff; text-shadow: 0 0 10px rgba(0,0,0,0.5); }
.site-header:not(.scrolled) .theme-toggle { border-color: rgba(255,255,255,0.4); color: #fff; }
.site-header:not(.scrolled) .nav-link { color: rgba(255,255,255,0.9); }
.site-header:not(.scrolled) .logo { filter: brightness(0) invert(1); }

/* -- Scrolled State Colors -- */
.site-header.scrolled .brand-name-text,
.site-header.scrolled .menu-toggle,
.site-header.scrolled .nav-link { color: var(--text-main); }
.site-header.scrolled .logo { filter: var(--logo-filter); }

/* Brand */
.brand { display: flex; align-items: center; gap: 12px; }
.logo { height: 45px; transition: filter 0.4s ease; }
.brand-name-text { font-size: 1.4rem; font-weight: 800; }

/* Navigation */
.nav-actions { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-link { 
  font-weight: 600; font-size: 0.95rem; position: relative; letter-spacing: 0.5px; 
  transition: all 0.3s ease; text-decoration: none !important;
}
.nav-link:hover { color: var(--accent) !important; text-shadow: 0 0 15px rgba(236, 72, 153, 0.6); transform: scale(1.05); }

/* Theme Toggle Button */
.theme-toggle {
  background: none; border: 1px solid; width: 40px; height: 40px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; transition: all 0.3s ease; cursor: none;
}
[data-theme="dark"] .theme-toggle { 
    color: var(--sun-color) !important; 
    border-color: rgba(251, 191, 36, 0.3); box-shadow: 0 0 10px rgba(251, 191, 36, 0.2);
}
[data-theme="dark"] .theme-toggle:hover {
    background: rgba(251, 191, 36, 0.1); box-shadow: 0 0 20px rgba(251, 191, 36, 0.6); transform: rotate(90deg);
}
[data-theme="light"] .theme-toggle { 
    color: var(--moon-color) !important; 
    border-color: rgba(71, 85, 105, 0.3);
}
[data-theme="light"] .theme-toggle:hover {
    color: #1e293b !important; border-color: #1e293b; transform: rotate(-15deg);
}
/* Override for top of page */
.site-header:not(.scrolled) .theme-toggle { color: #fff !important; border-color: rgba(255,255,255,0.4); box-shadow: none; }

.menu-toggle { display: none; font-size: 1.5rem; z-index: 1002; }

/* ========================================= */
/* 6. HERO SECTION                           */
/* ========================================= */
.hero {
  height: 100vh; position: relative; display: flex;
  align-items: center; justify-content: center; text-align: center; overflow: hidden;
}
.hero-bg-wrapper { position: absolute; inset: 0; z-index: -1; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.1); transition: opacity 1.2s ease, transform 10s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,7,18,0.4) 0%, rgba(3,7,18,0.9) 100%);
}

.hero-content { position: relative; z-index: 1; max-width: 900px; padding: 0 1.5rem; color: #fff; margin-top: 50px; }

.hero-badge {
  display: inline-block; padding: 0.5rem 1.5rem; border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px); margin-bottom: 1.5rem;
  font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; 
  color: #fff; font-weight: 600; box-shadow: 0 0 20px rgba(99,102,241,0.3);
}

/* Flowing Silver Title (Consistent across themes) */
.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1.05; margin-bottom: 1.5rem;
  /* WHITE -> SILVER -> WHITE Gradient */
  background: linear-gradient(to right, #ffffff 20%, #94a3b8 50%, #ffffff 80%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem); color: #cbd5e1; margin-bottom: 3rem;
  font-weight: 300; max-width: 650px; margin-left: auto; margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.1rem 3rem; border-radius: 50px; font-weight: 700;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); position: relative;
  overflow: hidden; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px;
}
.btn::before {
  content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.5s;
}
.btn:hover::before { left: 100%; }

.btn-primary { 
  background: var(--gradient); color: white; 
  box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.5); border: none;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -5px rgba(236, 72, 153, 0.5); }
.btn-outline { border: 1px solid rgba(255,255,255,0.3); color: white; margin-left: 1rem; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-3px); }

/* ========================================= */
/* 7. MARQUEE & SCROLL SKEW                  */
/* ========================================= */
/* --- NEXT LEVEL MARQUEE --- */
/* --- NEXT LEVEL MARQUEE (SMALLER SIZE) --- */
.marquee-section {
  position: relative;
  background: #020617; 
  padding: 2.5rem 0; /* Reduced from 4rem */
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  perspective: 1000px;
}

/* Gradient Fade Overlay */
.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px; /* Slightly smaller fade area */
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before { left: 0; background: linear-gradient(to right, #020617, transparent); }
.marquee-section::after { right: 0; background: linear-gradient(to left, #020617, transparent); }

.marquee-track {
  display: flex;
  gap: 3rem; /* Reduced gap */
  width: max-content;
  will-change: transform;
  animation: scroll 35s linear infinite; /* Slightly slower for elegance */
}

.marquee-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem; /* Reduced from 3.5rem */
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7); /* Slightly more subtle default state */
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
  
  /* Setup for gradient text highlight */
  -webkit-background-clip: text;
  background-clip: text;
}

.separator {
  font-size: 1rem; /* Smaller star icon */
  vertical-align: middle;
  margin-left: 1.5rem;
  color: var(--primary);
  opacity: 0.5;
}

/* --- THE HOVER PHYSICS --- */

/* Pause on hover */
.marquee-section:hover .marquee-track {
  animation-play-state: paused;
}

/* Dim others */
.marquee-track:hover .marquee-item {
  opacity: 0.15;
  filter: blur(3px);
  transform: scale(0.98);
}

/* Highlight Selected */
.marquee-track .marquee-item:hover {
  opacity: 1;
  filter: blur(0);
  transform: scale(1.15) translateZ(0); /* Slight pop */
  color: #fff;
  text-shadow: 0 0 25px rgba(99, 102, 241, 0.5); /* Nice glow */
}

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

/* Mobile Adjustments */
@media (max-width: 768px) {
  .marquee-section { padding: 2rem 0; }
  .marquee-item { font-size: 1.5rem; } /* Smaller on mobile */
  .marquee-track { gap: 1.5rem; }
  .separator { margin-left: 0.8rem; font-size: 0.8rem; }
}
/* ========================================= */
/* 8. SECTIONS & LAYOUT                      */
/* ========================================= */
/* Tighter Spacing for Desktop (3.5rem) */
section { padding: 3.5rem 0; position: relative; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-title { font-size: clamp(2.5rem, 5vw, 3.5rem); margin-bottom: 1rem; position: relative; display: inline-block; }

/* --- 3D TILT CARDS (INSANE MODE) --- */
.spotlight-card {
  background-color: var(--bg-card); border: 1px solid var(--border-color); border-radius: 20px;
  position: relative; overflow: hidden; 
  /* 3D Setup */
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: transform 0.1s ease-out; /* Super fast response for tilt */
}
.spotlight-card::before {
  content: ""; position: absolute; height: 100%; width: 100%; top: 0; left: 0;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), var(--spotlight-color), transparent 40%);
  opacity: 0; transition: opacity 0.5s; pointer-events: none; z-index: 1;
}
.spotlight-card:hover::before { opacity: 1; }
/* Inner content 3D lift */
.service-card-inner, .feature-box { transform: translateZ(20px); }

/* --- ABOUT --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text p { color: var(--text-muted); font-size: 1.15rem; margin-bottom: 1.5rem; }
.about-stat-row { display: flex; gap: 4rem; margin-top: 3rem; border-top: 1px solid var(--border-color); padding-top: 2rem; }

/* Big Stat Numbers */
.stat-item h4 { 
    font-size: 4rem; font-family: 'Space Grotesk', sans-serif;
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; 
    margin-bottom: 0; font-weight: 800; display: flex; align-items: baseline; line-height: 0.9;
}
.stat-item h4 span.symbol { font-size: 0.6em; margin-left: 2px; }
.stat-item span.label { 
    font-size: 1rem; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; 
    color: var(--text-main); display: block; margin-top: 10px; padding-left: 5px;
}
.about-img img { border-radius: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3); transition: 0.5s; }
.about-img:hover img { transform: scale(1.02); }

/* --- SERVICES --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.service-card-inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; }
.service-img-wrapper { height: 240px; overflow: hidden; border-bottom: 1px solid var(--border-color); }
.service-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.spotlight-card:hover .service-img-wrapper img { transform: scale(1.1); }
.service-content { padding: 2.5rem; position: relative; flex-grow: 1; }
.service-icon {
  position: absolute; top: -30px; right: 20px; width: 60px; height: 60px;
  background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: white; box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
}

/* --- WHY US --- */
.why-us { background: var(--bg-body); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature-box { padding: 3rem 2rem; text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.feature-icon { font-size: 3rem; margin-bottom: 1.5rem; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* --- CONTACT --- */
.contact-wrapper {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem;
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: 30px; overflow: hidden; box-shadow: 0 20px 60px -10px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
}
.contact-info-box { padding: 4rem; background: rgba(99, 102, 241, 0.05); position: relative; }
.contact-info-box h3 { margin-bottom: 1rem; font-size: 2rem; }
.contact-info-box p { margin-bottom: 3rem; font-size: 1.1rem; opacity: 0.8; line-height: 1.6; }
.info-item { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; padding: 1rem; border-radius: 12px; transition: 0.3s; }
.info-item:hover { background: rgba(255,255,255,0.05); transform: translateX(10px); }
.icon-box { width: 45px; height: 45px; border-radius: 10px; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; }

.contact-form-box { padding: 4rem; background: transparent; }
.form-group { position: relative; margin-bottom: 2.5rem; }
.form-input {
  width: 100%; padding: 15px 15px; font-size: 1.1rem; color: var(--text-main);
  background: var(--input-bg); border: 1px solid var(--input-border); border-radius: 8px;
  outline: none; transition: all 0.3s ease; font-family: 'Outfit', sans-serif;
}
.form-label { position: absolute; top: 16px; left: 15px; color: var(--input-label); font-size: 1rem; pointer-events: none; transition: 0.3s ease all; }
.form-input:focus ~ .form-label, .form-input:not(:placeholder-shown) ~ .form-label {
  top: -12px; left: 10px; font-size: 0.85rem; color: var(--primary); font-weight: 700; background: var(--bg-card); padding: 0 5px; border-radius: 4px;
}
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1); }
.send-msg-btn {
  width: 100%; padding: 1.2rem; background: var(--text-main); color: var(--bg-body);
  border: none; border-radius: 12px; font-weight: 800; font-size: 1.1rem;
  cursor: none; transition: all 0.3s ease; margin-top: 1rem;
}
.send-msg-btn:hover { background: var(--primary); color: white; transform: translateY(-3px); }

/* --- FOOTER (COMPACT ONE-LINE) --- */
footer { 
    background: #0f172a; 
    padding: 1.5rem 0; 
    border-top: 1px solid rgba(255,255,255,0.05); 
    color: #94a3b8; 
    position: relative;
    font-size: 0.9rem;
}
footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: nowrap; gap: 20px; }
.brand { font-size: 1.2rem; } 
.footer-links { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none !important; }
.footer-links a { color: #cbd5e1; transition: color 0.3s; font-weight: 500; font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); }
.copyright { margin: 0; padding: 0; border: none; font-size: 0.85rem; color: #64748b; white-space: nowrap; }
.copyright p { margin: 0; }

/* --- ENGAGING ANIMATIONS (SPRING REVEAL) --- */
.reveal { 
    opacity: 0; 
    transform: translateY(60px) scale(0.9); 
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1); /* Spring physics */
}
.reveal.active { opacity: 1; transform: translateY(0) scale(1); }

/* Stagger delays */
.hero-content.reveal { transition-delay: 0.1s; }
.spotlight-card.reveal:nth-child(1) { transition-delay: 0.1s; }
.spotlight-card.reveal:nth-child(2) { transition-delay: 0.2s; }
.spotlight-card.reveal:nth-child(3) { transition-delay: 0.3s; }

/* --- WHATSAPP --- */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px;
  background: #25D366; border-radius: 50%; display: flex; justify-content: center; align-items: center;
  color: white; font-size: 35px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 1000;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.15) rotate(10deg); }

/* ========================================= */
/* 9. RESPONSIVE DESIGN                      */
/* ========================================= */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-info-box, .contact-form-box { padding: 2.5rem; }
  .footer-content { flex-wrap: wrap; justify-content: center; text-align: center; }
}

@media (max-width: 768px) {
  /* Tighter mobile spacing */
  section { padding: 3rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .about-stat-row { justify-content: center; gap: 2rem; margin-top: 2rem; }
  
  footer { padding: 2rem 0; }
  .footer-content { flex-direction: column; gap: 15px; }
  .footer-links { flex-direction: column; gap: 15px; }
  
  .stat-item h4 { font-size: 3rem; } 
  .cursor-dot, .cursor-outline { display: none; }
  * { cursor: auto; }
  .menu-toggle { display: block; }
  
  /* Mobile Menu */
  .nav-actions {
    position: fixed; top: 0; right: 0; width: 100%; height: 100vh;
    background: var(--bg-mobile-nav);
    backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center;
    transform: translateX(100%); transition: transform 0.5s cubic-bezier(0.8, 0, 0.2, 1);
    z-index: 999;
  }
  .nav-actions.active { transform: translateX(0); }
  .nav-links { flex-direction: column; text-align: center; gap: 2rem; }
  .nav-link { font-size: 2.2rem; opacity: 0; transform: translateY(20px); transition: 0.4s; color: var(--text-main) !important; }
  .nav-actions.active .nav-link { opacity: 1; transform: translateY(0); }
  .nav-actions.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
  .nav-actions.active .nav-link:nth-child(2) { transition-delay: 0.2s; }
  .nav-actions.active .nav-link:nth-child(3) { transition-delay: 0.3s; }
  .nav-actions.active .nav-link:nth-child(4) { transition-delay: 0.4s; }
  .nav-actions.active .nav-link:nth-child(5) { transition-delay: 0.5s; }
  
  .theme-toggle { border-color: var(--border-color) !important; }
  [data-theme="light"] .theme-toggle { color: var(--moon-color) !important; }

  .hero-buttons { display: flex; flex-direction: column; width: 100%; gap: 15px; }
  .btn-outline { margin: 0; }
  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}