:root {
  --bg-primary: #050816;
  --bg-secondary: #0B1120;
  --bg-glass: rgba(11, 17, 32, 0.6);
  --bg-glass-light: rgba(255, 255, 255, 0.03);
  
  --accent-primary: #00C6FF;
  --accent-secondary: #00F5FF;
  --accent-purple: #7C3AED;
  
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 198, 255, 0.3);
  
  --shadow-glow-primary: 0 0 20px rgba(0, 198, 255, 0.2);
  --shadow-glow-purple: 0 0 20px rgba(124, 58, 237, 0.2);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-glass-light: rgba(0, 0, 0, 0.03);
  
  --accent-primary: #0284C7;
  --accent-secondary: #0369A1;
  --accent-purple: #6D28D9;
  
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  
  --border-glass: rgba(0, 0, 0, 0.1);
  --border-glow: rgba(2, 132, 199, 0.2);
  
  --shadow-glow-primary: 0 4px 20px rgba(2, 132, 199, 0.15);
  --shadow-glow-purple: 0 4px 20px rgba(109, 40, 217, 0.15);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .hero-grid-bg {
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
}

[data-theme="light"] .hero-glow {
  background: radial-gradient(circle at center, rgba(2, 132, 199, 0.1) 0%, transparent 60%);
}

[data-theme="light"] .glass-panel::before {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0)
  );
}

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 85% 30%, rgba(0, 198, 255, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-purple {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 1.5rem 0;
  background: transparent;
}

.navbar.scrolled {
  padding: 1rem 0;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-normal);
  box-shadow: 0 0 10px var(--accent-primary);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(5, 8, 22, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.mobile-menu.active .mobile-nav-links {
  transform: translateY(0);
}

.mobile-nav-link {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(0, 198, 255, 0.4);
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem 2rem 2rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-cols-3, .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-20deg);
  transition: var(--transition-slow);
}

.glass-panel:hover::before {
  left: 200%;
}

.glass-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  text-decoration: none;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: var(--bg-primary);
  box-shadow: var(--shadow-glow-primary);
}

.btn-primary:hover {
  box-shadow: 0 0 30px rgba(0, 198, 255, 0.4);
  transform: translateY(-2px);
}

.btn-purple {
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-primary));
  color: #fff;
  box-shadow: var(--shadow-glow-purple);
}

.btn-purple:hover {
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  box-shadow: 0 0 10px rgba(0, 198, 255, 0.1) inset;
}

.btn-outline:hover {
  background: rgba(0, 198, 255, 0.1);
  box-shadow: var(--shadow-glow-primary);
  transform: translateY(-2px);
}

.btn-glass {
  background: var(--bg-glass-light);
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;Convert all services into premium futuristic cards.

Card Style:
- Glassmorphism
- Neon border glow
- Soft dark background
- Premium icons

Hover Effects:
- Slight 3D tilt
- Glow shadow
- Border animation
- Scale effect
- Smooth transitions

Layout:
- Asymmetrical modern grid
- Dynamic spacing
- Interactive layout

Animations:
- Scroll reveal
- Staggered entrance animations
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.15);
  background: rgba(0, 0, 0, 0.2);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* Cards */
.card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 198, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  font-size: 1.5rem;
  border: 1px solid rgba(0, 198, 255, 0.2);
}

.card-icon.purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-purple);
  border-color: rgba(124, 58, 237, 0.2);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-glow {
  background: rgba(0, 198, 255, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(0, 198, 255, 0.2);
  box-shadow: inset 0 0 10px rgba(0, 198, 255, 0.1);
}

.badge-purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-purple);
  border: 1px solid rgba(124, 58, 237, 0.2);
  box-shadow: inset 0 0 10px rgba(124, 58, 237, 0.1);
}

.badge-dark {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
}

/* Section specific */
.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 24px;
  background: var(--accent-primary);
  border-radius: 2px;
  box-shadow: var(--shadow-glow-primary);
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.design-system-header {
  text-align: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 4rem;
  position: relative;
}

.design-system-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  box-shadow: 0 0 20px var(--accent-primary);
}

.color-swatch {
  height: 100px;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  border: 1px solid var(--border-glass);
}

/* Animations */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 15px rgba(0, 198, 255, 0.2); }
  50% { box-shadow: 0 0 25px rgba(0, 198, 255, 0.5); }
  100% { box-shadow: 0 0 15px rgba(0, 198, 255, 0.2); }
}

.animate-glow {
  animation: pulseGlow 3s infinite;
}

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

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Dashboard Sidebar Mock */
.sidebar {
  width: 280px;
  height: calc(100vh - 4rem);
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(0, 198, 255, 0.1), transparent);
  color: var(--accent-primary);
  border-left: 2px solid var(--accent-primary);
}

/* Stats Widget */
.stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trend-up {
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
  z-index: 1;
}

.hero-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  z-index: -2;
  transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(2);
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(2); }
  100% { transform: perspective(500px) rotateX(60deg) translateY(0px) scale(2); }
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  transition: transform 0.1s ease-out;
}

#particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.particle {
  position: absolute;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.5;
  animation: floatParticle 10s infinite linear;
}

@keyframes floatParticle {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.typing-text {
  color: var(--accent-primary);
}

.cursor {
  display: inline-block;
  width: 4px;
  animation: blink 1s step-end infinite;
  color: var(--accent-primary);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
}

.magnetic-btn {
  position: relative;
  overflow: hidden;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.magnetic-btn .btn-text {
  pointer-events: none;
  z-index: 2;
}

.magnetic-btn .btn-glow {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 0;
}

.magnetic-btn:hover .btn-glow {
  opacity: 1;
}

/* Animations */
.slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpAnim 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

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

.slide-left {
  opacity: 0;
  transform: translateX(40px);
  animation: slideLeftAnim 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideLeftAnim {
  to { opacity: 1; transform: translateX(0); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

/* Tech Visual */
.tech-card {
  width: 100%;
  max-width: 500px;
  padding: 1.5rem;
  margin-left: auto;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 40px rgba(0, 198, 255, 0.1);
  background: rgba(11, 17, 32, 0.7);
  position: relative;
  z-index: 2;
}

.tech-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-glass);
}

.tech-header .dots {
  display: flex;
  gap: 6px;
}

.tech-header .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-glass);
}
.tech-header .dots span:nth-child(1) { background: #EF4444; }
.tech-header .dots span:nth-child(2) { background: #F59E0B; }
.tech-header .dots span:nth-child(3) { background: #10B981; }

.tech-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.tech-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  margin-bottom: 2rem;
}

.tech-chart .bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent-primary), transparent);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  animation: pulseBar 2s infinite alternate;
}
.tech-chart .bar:nth-child(2) { animation-delay: 0.4s; }
.tech-chart .bar:nth-child(3) { animation-delay: 0.8s; }
.tech-chart .bar:nth-child(4) { animation-delay: 1.2s; }
.tech-chart .bar:nth-child(5) { animation-delay: 1.6s; }

@keyframes pulseBar {
  0% { transform: scaleY(0.8); opacity: 0.5; }
  100% { transform: scaleY(1); opacity: 0.9; }
}

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

.tech-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.tech-stat .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-stat .value {
  font-size: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.radar-scan {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid var(--accent-primary);
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.2) inset;
  overflow: hidden;
}

.radar-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 2px;
  background: var(--accent-primary);
  transform-origin: left center;
  animation: scan 2s linear infinite;
  box-shadow: 0 0 10px var(--accent-primary);
}

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

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 4rem;
  }
  
  .hero-desc {
    margin: 0 auto 2.5rem auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-visual {
    margin-top: 3rem;
  }
  
  .tech-card {
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

/* About Section */
.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.timeline {
  margin-top: 2rem;
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.35rem;
  top: 0.25rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

.timeline-content h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-visuals {
  position: relative;
}

.glow-separator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.layered-cards {
  position: relative;
  height: 500px;
  z-index: 1;
}

.stat-card {
  position: absolute;
  width: 260px;
  padding: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card .stat-icon {
  margin-bottom: 1rem;
}

.stat-card.card-1 {
  top: 5%;
  left: 0;
  z-index: 3;
}

.stat-card.card-2 {
  top: 35%;
  right: 0;
  z-index: 2;
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
}

.stat-card.card-3 {
  bottom: 0;
  left: 10%;
  z-index: 1;
}

.stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  z-index: 10;
}

/* Scroll Reveal Classes */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.float-slow {
  animation: float 8s ease-in-out infinite;
}

.float-medium {
  animation: float 6s ease-in-out infinite reverse;
}

.float-fast {
  animation: float 5s ease-in-out infinite 1s;
}

@media (max-width: 992px) {
  .split-screen {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .layered-cards {
    height: 450px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .stat-card.card-1 { left: 5%; right: auto; }
  .stat-card.card-2 { right: 5%; left: auto; top: 30%; }
  .stat-card.card-3 { left: 50%; transform: translateX(-50%); bottom: 5%; }
  .stat-card.card-3:hover { transform: translateX(-50%) translateY(-10px) scale(1.05); }
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  background: rgba(11, 17, 32, 0.4);
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  background: rgba(11, 17, 32, 0.8);
  border-color: rgba(0, 198, 255, 0.4);
  box-shadow: 0 15px 40px -10px rgba(0, 198, 255, 0.2);
}

.service-card:nth-child(even):hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 15px 40px -10px rgba(124, 58, 237, 0.2);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(0, 198, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--accent-primary);
  border: 1px solid rgba(0, 198, 255, 0.2);
  transition: all 0.3s ease;
}

.service-icon.purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-purple);
  border-color: rgba(124, 58, 237, 0.2);
}

.service-card:hover .service-icon {
  transform: scale(1.1) translateZ(20px);
  box-shadow: inset 0 0 15px currentColor;
}

.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transform: translateZ(10px);
}

.service-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 2rem;
  transform: translateZ(5px);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
  transform: translateZ(10px);
}

.service-card:nth-child(even) .service-link {
  color: var(--accent-purple);
}

.service-link:hover {
  gap: 0.75rem;
  text-shadow: 0 0 10px currentColor;
}

.service-link svg {
  width: 18px;
  height: 18px;
}

.service-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -100px;
  right: -100px;
  transition: all 0.5s ease;
  opacity: 0;
}

.service-card:nth-child(even) .service-glow {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
}

.service-card:hover .service-glow {
  opacity: 1;
  transform: scale(1.5);
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    margin-top: 0 !important;
  }
  .service-card:nth-child(3) {
    grid-column: span 1;
  }
}

/* Alternating Content Sections */
.split-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 2rem;
}

.split-content.reverse {
  flex-direction: row-reverse;
}

.content-text {
  flex: 1;
}

.feature-list {
  list-style: none;
  margin-top: 1.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
}

.feature-list li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-primary);
}

.split-content.reverse .feature-list li svg {
  color: var(--accent-purple);
}

.content-visual {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-visual .bg-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, transparent 60%);
  z-index: 0;
  border-radius: 50%;
}

.content-visual .bg-glow.purple {
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
}

.floating-dashboard {
  width: 100%;
  max-width: 450px;
  padding: 1.5rem;
  background: rgba(11, 17, 32, 0.7);
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  z-index: 1;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  animation: float 6s ease-in-out infinite;
}

.diagonal-tilt-left {
  transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
}

.diagonal-tilt-right {
  transform: perspective(1000px) rotateY(15deg) rotateX(5deg);
}

.floating-dashboard:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-10px);
  box-shadow: 0 0 40px rgba(0, 198, 255, 0.2);
  border-color: rgba(0, 198, 255, 0.4);
}

.split-content.reverse .floating-dashboard:hover {
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.4);
}

/* Dashboard Mocks */
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}
.dash-header .dots {
  display: flex;
  gap: 6px;
}
.dash-header .dots span {
  width: 10px; height: 10px; border-radius: 50%; background: var(--border-glass);
}
.dash-header .dots span:nth-child(1){background: #EF4444;}
.dash-header .dots span:nth-child(2){background: #F59E0B;}
.dash-header .dots span:nth-child(3){background: #10B981;}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.dash-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  padding: 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
}
.dash-box.wide {
  grid-column: span 2;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
}
.pulse-circle {
  width: 12px; height: 12px; border-radius: 50%; background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseBar 2s infinite;
}

.security-scan {
  position: relative;
  background: #000;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  overflow: hidden;
  height: 120px;
}
.scan-bar {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 2px;
  background: var(--accent-purple);
  box-shadow: 0 0 10px var(--accent-purple), 0 0 20px var(--accent-purple);
  animation: scanBar 3s ease-in-out infinite;
}
@keyframes scanBar {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.code-lines {
  display: flex; flex-direction: column; gap: 0.5rem;
}
.code-line {
  height: 8px; border-radius: 4px; background: rgba(255,255,255,0.1);
}
.w-100 { width: 100%; }
.w-75 { width: 75%; }
.w-50 { width: 50%; }
.code-line.text-gradient-purple {
  height: auto; background: none; font-family: monospace; font-size: 0.875rem;
}

.animated-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 0;
}
.animated-separator .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.animated-separator .diamond {
  width: 12px;
  height: 12px;
  border: 1px solid var(--accent-primary);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--accent-primary);
  animation: spin 6s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(405deg); }
}

@media (max-width: 992px) {
  .split-content, .split-content.reverse {
    flex-direction: column;
    gap: 3rem;
  }
}

/* Projects Section */
.projects-scroll-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) rgba(255,255,255,0.05);
}

.projects-scroll-track::-webkit-scrollbar {
  height: 6px;
}

.projects-scroll-track::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-pill);
}

.projects-scroll-track::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
}

.projects-scroll-track:hover::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
}

.project-card {
  min-width: 400px;
  height: 500px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--border-glass);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  cursor: pointer;
}

@media (max-width: 768px) {
  .project-card {
    min-width: 300px;
    height: 400px;
  }
}

.project-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.8;
}

.project-card:hover .project-bg {
  transform: scale(1.1);
}

.abstract-shape {
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: spin 20s linear infinite;
  mix-blend-mode: overlay;
}

.project-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(5, 8, 22, 1) 0%, rgba(5, 8, 22, 0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-content {
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(5, 8, 22, 1) 10%, rgba(5, 8, 22, 0.8) 70%, rgba(5, 8, 22, 0.4) 100%);
}

.project-card:hover .project-content {
  transform: translateY(0);
}

.project-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  max-height: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.project-card:hover .project-desc {
  opacity: 1;
  max-height: 100px;
  margin-bottom: 1.5rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.project-card:hover .project-link {
  opacity: 1;
  gap: 0.75rem;
}

.card-glow {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  box-shadow: inset 0 0 0 1px transparent;
  transition: box-shadow 0.5s ease;
  pointer-events: none;
}

.project-card:hover .card-glow {
  box-shadow: inset 0 0 0 1px var(--accent-primary);
}
.project-card:hover .card-glow.purple {
  box-shadow: inset 0 0 0 1px var(--accent-purple);
}
.project-card:hover .card-glow.green {
  box-shadow: inset 0 0 0 1px #10B981;
}
.project-card:hover .card-glow.orange {
  box-shadow: inset 0 0 0 1px #F59E0B;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 40px rgba(0, 198, 255, 0.1);
}

/* Testimonials Section */
.testimonial-slider-container {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  width: max-content;
}

.testimonial-card {
  width: 400px;
  padding: 2.5rem;
  flex-shrink: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-glass);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 768px) {
  .testimonial-card {
    width: 300px;
    padding: 2rem;
  }
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 198, 255, 0.4);
  box-shadow: 0 15px 40px -10px rgba(0, 198, 255, 0.2);
}

.testimonial-card:nth-child(even):hover {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 15px 40px -10px rgba(124, 58, 237, 0.2);
}

.quote-icon {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  color: rgba(255,255,255,0.05);
}
.quote-icon svg {
  width: 48px;
  height: 48px;
}

.rating {
  display: flex;
  gap: 4px;
  margin-bottom: 1.5rem;
}

.star-active {
  color: #F59E0B;
  fill: #F59E0B;
  width: 16px;
  height: 16px;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 2rem;
  flex-grow: 1;
  font-family: 'Space Grotesk', sans-serif;
  font-style: italic;
}

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

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  position: relative;
}

.avatar-placeholder {
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-primary);
}

.glow-ring-primary {
  box-shadow: 0 0 0 2px var(--bg-primary), 0 0 0 4px var(--accent-primary), 0 0 15px var(--accent-primary);
}
.glow-ring-purple {
  box-shadow: 0 0 0 2px var(--bg-primary), 0 0 0 4px var(--accent-purple), 0 0 15px var(--accent-purple);
}

.author-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.author-role {
  font-size: 0.875rem;
  margin: 0;
}

/* Slider Dots */
.slider-dots {
  display: inline-flex;
  gap: 0.75rem;
  background: rgba(255,255,255,0.05);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(10px);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot:hover {
  background: rgba(255,255,255,0.5);
}

.slider-dot.active {
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  transform: scale(1.2);
}

/* Contact Section */
.contact-map-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(circle at 30% 50%, rgba(0, 198, 255, 0.05) 0%, transparent 50%),
                    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: 100% 100%, 30px 30px, 30px 30px;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  position: relative;
}

.interactive-hover {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.interactive-hover:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.interactive-hover:hover .card-glow {
  box-shadow: inset 0 0 0 1px var(--accent-primary);
}

.interactive-hover:hover .card-glow.purple {
  box-shadow: inset 0 0 0 1px var(--accent-purple);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.interactive-hover:hover .btn-link {
  opacity: 1;
  gap: 0.75rem;
}


.icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(0, 198, 255, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 198, 255, 0.2);
  box-shadow: inset 0 0 15px rgba(0, 198, 255, 0.05);
}

.icon-box.purple {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-purple);
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: inset 0 0 15px rgba(124, 58, 237, 0.05);
}

/* Floating Form Labels */
.floating-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.floating-group .form-control {
  width: 100%;
  padding: 1.25rem 1rem 0.5rem 1rem;
  background: rgba(11, 17, 32, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.floating-group textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.floating-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 2;
}

.floating-group .form-control:focus,
.floating-group .form-control:not(:placeholder-shown) {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(0, 198, 255, 0.1);
  background: rgba(11, 17, 32, 0.8);
}

.floating-group .form-control:focus ~ .floating-label,
.floating-group .form-control:not(:placeholder-shown) ~ .floating-label {
  top: 0.25rem;
  font-size: 0.75rem;
  color: var(--accent-primary);
}

.input-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-primary);
  transition: width 0.3s ease;
  z-index: 3;
  box-shadow: 0 0 10px var(--accent-primary);
}

.floating-group .form-control:focus ~ .input-glow {
  width: 100%;
}

.cyber-submit {
  position: relative;
  overflow: hidden;
  letter-spacing: 1px;
}
.cyber-submit::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(45deg) translateX(-100%);
  transition: transform 0.6s ease;
}
.cyber-submit:hover::after {
  transform: rotate(45deg) translateX(100%);
}

.cyber-submit .loader-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cyber-submit.loading .btn-text,
.cyber-submit.loading .btn-icon {
  opacity: 0;
  visibility: hidden;
}

.cyber-submit.loading .loader-ring {
  opacity: 1;
  visibility: visible;
  animation: spin 1s linear infinite;
}

.cyber-submit.success {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.5);
  color: #10B981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.contact-form-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.contact-form-container:hover .card-glow {
  box-shadow: inset 0 0 0 1px var(--accent-primary);
}

/* Footer Section */
.site-footer {
  padding: 4rem 2rem 2rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

.footer-separator {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 4rem auto;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);
}

.footer-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--text-primary);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Footer Particles */
.footer-particles {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp 15s linear infinite;
  box-shadow: 0 0 10px var(--accent-primary);
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
    transform: translateY(80vh) scale(1);
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-20vh) scale(0);
    opacity: 0;
  }
}

/* Global Animations & Transitions */

/* Preloader */
#preloader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.cyber-loader-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cyber-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid transparent;
}

.ring-1 {
  width: 150px; height: 150px;
  border-top-color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
  animation: spin 2s linear infinite;
}

.ring-2 {
  width: 120px; height: 120px;
  border-left-color: var(--accent-purple);
  border-right-color: var(--accent-purple);
  animation: spin 3s linear infinite reverse;
}

.ring-3 {
  width: 90px; height: 90px;
  border-top-color: #00F5FF;
  animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
}

.loader-text {
  position: absolute;
  bottom: -40px;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--accent-primary);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  animation: pulse 2s infinite;
}

/* Page Transition Fade */
body {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
body.page-loaded {
  opacity: 1;
}

/* Custom Mouse Glow */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 198, 255, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998; /* Just under preloader */
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
  will-change: left, top;
}

.cursor-glow.cursor-active {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 60%);
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 9999;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-purple));
  box-shadow: 0 0 10px var(--accent-primary);
  /* Uses JS width updates, so keep transition fast for smoothness */
  transition: width 0.1s linear; 
}

/* Luxury Glass Reflections */
.glass-panel {
  overflow: hidden; /* Ensure reflection doesn't bleed */
}

.glass-panel::after {
  content: '';
  position: absolute;
  top: 0; left: -150%;
  width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.04), transparent);
  transform: skewX(-25deg);
  transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
  pointer-events: none;
}

.glass-panel:hover::after {
  left: 200%;
}

@media (max-width: 992px) {
  .cursor-glow {
    display: none; /* Disable custom cursor glow on tablets/mobile for performance */
  }
  
  html {
    font-size: 14px; /* Fluid typography */
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 13px; /* Fluid typography for mobile */
  }
  
  /* Optimize Spacing */
  section {
    margin-bottom: 5rem !important;
  }
  
  /* Touch-friendly adjustments */
  .btn, .nav-link, .mobile-nav-link {
    min-height: 48px; /* Touch target minimum */
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  
  .glass-panel {
    padding: 1.5rem !important; /* Smaller padding on cards */
  }
  
  /* Responsive Typography & Hero */
  .hero-title {
    font-size: 3.5rem;
  }
  
  /* Layout adjustments */
  .grid-cols-2, .grid-cols-3, .grid-cols-4 {
    grid-template-columns: 1fr !important; /* Force all grids to single column */
  }
}

/* Accessibility & Performance: Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Bento Box Grid System for Services */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 1.5rem;
}

.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  z-index: 1;
}

.bento-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow-primary);
  border-color: rgba(255,255,255,0.2);
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-square {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-tall {
  grid-column: span 1;
  grid-row: span 2;
}

.bento-icon {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-normal);
  z-index: 2;
}

.bento-item:hover .bento-icon {
  transform: scale(1.1) rotate(10deg);
}

.bento-item:hover .bento-icon.purple-glow {
  background: var(--accent-purple);
  color: #fff;
  border-color: var(--accent-purple);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.bento-item:hover .bento-icon.primary-glow {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(0, 198, 255, 0.5);
}

.bento-item:hover .bento-icon.green-glow {
  background: #10B981;
  color: #fff;
  border-color: #10B981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

[data-theme="light"] .bento-icon {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0,0,0,0.1);
}

/* Responsive adjustments for Bento */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .bento-wide, .bento-square, .bento-tall {
    grid-column: span 2; /* Full width for smaller screens */
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-item {
    padding: 1.5rem;
  }
  .bento-large, .bento-wide, .bento-square, .bento-tall {
    grid-column: span 1;
    grid-row: auto;
    min-height: 250px;
  }
  .bento-icon {
    top: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }
}

/* Navigation Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 0.5rem 0;
  border-radius: var(--radius-md);
  z-index: 100;
  box-shadow: var(--shadow-glass);
}

.nav-dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
}

.dropdown-content a:hover {
  background: var(--bg-glass-light);
  color: var(--accent-primary);
  padding-left: 1.75rem;
  border-left-color: var(--accent-primary);
}

[data-theme="light"] .dropdown-content a {
  color: var(--text-primary);
}
[data-theme="light"] .dropdown-content a:hover {
  background: rgba(0, 0, 0, 0.05);
}
