/* ===== SCALESOLUTIONS - DARK MODE THEME ===== */
:root {
  /* ScaleSolutions Brand Colors */
  --primary: #d2ff00;
  --primary-dark: #b8e600;
  --primary-light: #e0ff4d;
  --secondary: #d2ff00;
  --accent: #d2ff00;
  --success: #10b981;
  --danger: #ef4444;
  
  /* Dark Mode Colors */
  --bg-primary: #111111;
  --bg-secondary: #161616;
  --bg-tertiary: #1a1a1a;
  --bg-card: #1e1e1e;
  --bg-dark: #0a0a0a;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #999999;
  --text-light: #666666;
  
  /* Borders */
  --border: #2a2a2a;
  --border-light: #333333;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.3);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.3);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.3);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.5);
  --shadow-3d: 0 20px 40px -12px rgb(210 255 0 / 0.15);
  --shadow-glow: 0 0 30px rgb(210 255 0 / 0.3);
  
  --header-height: 80px;
}

/* Light Theme Override */
[data-theme="light"] {
  --bg-primary: #fafafa;
  --bg-secondary: #f0f0f0;
  --bg-tertiary: #e8e8e8;
  --bg-card: #ffffff;
  --bg-dark: #111111;
  --text-primary: #111111;
  --text-secondary: #444444;
  --text-muted: #666666;
  --text-light: #888888;
  --border: #d0d0d0;
  --border-light: #e5e5e5;
  --primary: #9bc700;
  --primary-dark: #7da300;
  --primary-light: #b5e600;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.08);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.08);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.08);
  --shadow-3d: 0 20px 40px -12px rgb(155 199 0 / 0.2);
  --shadow-glow: 0 0 30px rgb(155 199 0 / 0.25);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Reduced motion preference */
@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;
  }
}

/* GPU acceleration for animated elements */
.liquid-glass-card,
.node,
.connection-path,
.pulse-ring,
.demo-waveform span,
.floating-3d {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2vw, 2rem); }

p {
  font-family: "Inter", sans-serif;
  color: var(--text-secondary);
}

/* ===== TEXT GRADIENT - NEON LIME ===== */
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease-in-out infinite;
  text-shadow: none;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ===== LIQUID GLASS EFFECTS ===== */
.liquid-glass {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(210, 255, 0, 0.1), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.liquid-glass:hover::before {
  left: 100%;
}

.liquid-glass:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(210, 255, 0, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 
              inset 0 1px 0 rgba(255, 255, 255, 0.15),
              0 0 20px rgba(210, 255, 0, 0.1);
  transform: translateY(-2px);
}

.liquid-glass-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.liquid-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(210, 255, 0, 0.3), transparent);
  z-index: 1;
}

.liquid-glass-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(210, 255, 0, 0.05), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.liquid-glass-card:hover::after {
  left: 100%;
}

.liquid-glass-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-color: rgba(210, 255, 0, 0.15);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 
              inset 0 1px 0 rgba(255, 255, 255, 0.15),
              0 0 30px rgba(210, 255, 0, 0.1);
  transform: translateY(-4px);
}

/* Light theme glass adjustments */
[data-theme="light"] .liquid-glass,
[data-theme="light"] .liquid-glass-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .liquid-glass:hover,
[data-theme="light"] .liquid-glass-card:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(155, 199, 0, 0.3);
}

/* ===== BUTTONS ===== */
.btn.liquid-glass {
  position: relative;
  padding: 1rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  color: var(--text-primary);
}

.btn.liquid-glass .btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn.liquid-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(210, 255, 0, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.btn.liquid-glass:hover::before {
  left: 100%;
}

.btn.liquid-glass:hover {
  border-color: rgba(210, 255, 0, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(210, 255, 0, 0.15);
  transform: translateY(-2px) scale(1.02);
}

.btn.liquid-glass:active {
  transform: translateY(0) scale(0.98);
}

/* Primary Button - Neon Lime */
.btn-primary.liquid-glass {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #111111;
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(210, 255, 0, 0.3), 
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.btn-primary.liquid-glass:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 12px 40px rgba(210, 255, 0, 0.5), 
              inset 0 1px 0 rgba(255, 255, 255, 0.4),
              0 0 40px rgba(210, 255, 0, 0.3);
}

.btn-secondary.liquid-glass {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.btn-secondary.liquid-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(210, 255, 0, 0.3);
}

/* Service Card Button */
.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(210, 255, 0, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}

.btn-service:hover {
  background: var(--primary);
  color: #111111;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(210, 255, 0, 0.4);
}

.btn-service i {
  transition: transform 0.3s ease;
}

.btn-service:hover i {
  transform: translateX(4px);
}

/* ===== LIQUID GLASS INPUT ===== */
.liquid-glass-input {
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: "Inter", sans-serif;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.liquid-glass-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(210, 255, 0, 0.03);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 
              0 0 0 4px rgba(210, 255, 0, 0.1),
              0 0 20px rgba(210, 255, 0, 0.1);
}

.liquid-glass-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

[data-theme="light"] .liquid-glass-input {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
}

[data-theme="light"] .liquid-glass-input:focus {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary);
}

/* Select styling */
select.liquid-glass-input {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23cccccc' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(17, 17, 17, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

[data-theme="light"] .header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  background: rgba(17, 17, 17, 0.95);
}

[data-theme="light"] .header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.logo img {
  height: 70px;
  width: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Dark theme - show white logo */
.logo .logo-dark {
  display: block;
}

.logo .logo-light {
  display: none;
}

/* Light theme - show black logo */
[data-theme="light"] .logo .logo-dark {
  display: none;
}

[data-theme="light"] .logo .logo-light {
  display: block;
}

.logo:hover img {
  transform: scale(1.02);
}

/* Footer Logo */
.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 36px;
  width: auto;
  transition: opacity 0.3s ease;
}

.footer-logo:hover img {
  opacity: 0.8;
}

.logo:hover {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(210, 255, 0, 0.5);
}

/* Navigation */
.nav {
  display: flex;
  gap: 0.5rem;
}

.nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.nav a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav a:hover::before,
.nav a.active::before {
  width: calc(100% - 2rem);
}

.nav a:hover {
  color: var(--text-primary);
}

.nav a.active {
  color: var(--primary);
}

.nav a.nav-cta {
  background: var(--primary);
  color: var(--bg-primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav a.nav-cta:hover {
  background: #fff;
  color: var(--bg-primary);
  transform: scale(1.05);
}

.nav a.nav-cta::before {
  display: none;
}

/* Theme Toggle */
.theme-toggle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(210, 255, 0, 0.2);
}

[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

/* ===== HERO SECTION ===== */
.hero {
  padding: calc(var(--header-height) + 5rem) 0 5rem;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(210, 255, 0, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 30% 70%, rgba(210, 255, 0, 0.05) 0%, transparent 50%);
  opacity: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  margin-bottom: 1.5rem;
  line-height: 1;
}

.hero-text .subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  align-items: center;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.stat-number {
  font-family: "Bebas Neue", sans-serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--primary);
  display: block;
  line-height: 1;
  text-shadow: 0 0 30px rgba(210, 255, 0, 0.5);
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Visual - Automation Animation */
.hero-visual {
  position: relative;
  perspective: 1000px;
}

.hero-card {
  padding: 3rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-animation {
  width: 100%;
  height: 300px;
  position: relative;
}

.automation-visual {
  position: relative;
  width: 100%;
  height: 100%;
}

.node {
  position: absolute;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(210, 255, 0, 0.2), rgba(210, 255, 0, 0.05));
  border: 1px solid rgba(210, 255, 0, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  box-shadow: 0 0 30px rgba(210, 255, 0, 0.2);
  animation: nodePulse 3s ease-in-out infinite;
}

.node-1 { top: 8%; left: 8%; animation-delay: 0s; }
.node-2 { top: 8%; right: 8%; animation-delay: 0.5s; }
.node-3 { bottom: 8%; left: 8%; animation-delay: 1s; }
.node-4 { bottom: 8%; right: 8%; animation-delay: 1.5s; }

@keyframes nodePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(210, 255, 0, 0.2); }
  50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(210, 255, 0, 0.35); }
}

/* SVG Connections */
.connections-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.connection-path {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0.6;
  stroke-dasharray: 8 4;
  animation: dashFlow 1.5s linear infinite;
}

.path-1 { animation-delay: 0s; }
.path-2 { animation-delay: 0.3s; }
.path-3 { animation-delay: 0.6s; }
.path-4 { animation-delay: 0.9s; }

@keyframes dashFlow {
  0% { stroke-dashoffset: 24; }
  100% { stroke-dashoffset: 0; }
}

/* Center Hub */
.center-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  z-index: 1;
}

.center-hub::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--primary);
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  animation: pulseRing 2.5s ease-out infinite;
}

.pulse-ring-2 {
  animation-delay: 1.25s;
}

@keyframes pulseRing {
  0% { transform: translate(-50%, -50%) scale(0.3); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(2.5); opacity: 0; }
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), transparent);
  border-radius: 12px;
  opacity: 0.1;
  animation: float3d 8s ease-in-out infinite;
}

.floating-element:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
  border-radius: 50%;
}

.floating-element:nth-child(3) {
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
  transform: rotate(45deg);
}

@keyframes float3d {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.floating-3d {
  animation: float3d 6s ease-in-out infinite;
}

/* ===== SECTIONS ===== */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 1.5rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== SERVICES SECTION ===== */
.services {
  background: var(--bg-secondary);
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(210, 255, 0, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(210, 255, 0, 0.03) 0%, transparent 50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.service-card {
  padding: 2.5rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(210, 255, 0, 0.2), rgba(210, 255, 0, 0.05));
  border: 1px solid rgba(210, 255, 0, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(210, 255, 0, 0.15);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 50px rgba(210, 255, 0, 0.3);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  text-transform: uppercase;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1rem;
}

/* ===== MODALS ===== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  z-index: 2001;
  width: 90%;
  max-width: 600px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-content {
  padding: 3rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(210, 255, 0, 0.2);
  color: var(--primary);
  border-color: var(--primary);
}

.modal-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(210, 255, 0, 0.2), rgba(210, 255, 0, 0.05));
  border: 1px solid rgba(210, 255, 0, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 30px rgba(210, 255, 0, 0.15);
}

.modal h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.modal-body p {
  margin-bottom: 1.5rem;
  text-align: center;
}

.modal-body ul {
  list-style: none;
  margin: 1.5rem 0;
}

.modal-body ul li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-body ul li:last-child {
  border-bottom: none;
}

.modal-body ul li i {
  color: var(--primary);
  font-size: 1rem;
}

.modal-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ===== TECH STACK SECTION ===== */
.tech-stack {
  background: var(--bg-primary);
}

.tech-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  gap: 1rem;
}

.tech-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.5);
  transition: all 0.3s ease;
}

.tech-logo:hover img {
  filter: grayscale(0%) brightness(1);
}

.tech-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.tech-logo:hover .tech-icon {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(210, 255, 0, 0.5);
}

.tech-fallback {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--text-muted);
}

.tech-logo span {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.3s ease;
}

.tech-logo:hover span {
  color: var(--text-primary);
}

/* Tech Stack Brand Colors */
.tech-logo[data-brand="n8n"]:hover .tech-icon {
  color: #ea4b71;
  text-shadow: 0 0 20px rgba(234, 75, 113, 0.5);
}
.tech-logo[data-brand="n8n"]:hover {
  border-color: rgba(234, 75, 113, 0.3);
  box-shadow: 0 0 30px rgba(234, 75, 113, 0.15);
}

.tech-logo[data-brand="openai"]:hover .tech-icon {
  color: #10a37f;
  text-shadow: 0 0 20px rgba(16, 163, 127, 0.5);
}
.tech-logo[data-brand="openai"]:hover {
  border-color: rgba(16, 163, 127, 0.3);
  box-shadow: 0 0 30px rgba(16, 163, 127, 0.15);
}

.tech-logo[data-brand="anthropic"]:hover .tech-icon {
  color: #d4a574;
  text-shadow: 0 0 20px rgba(212, 165, 116, 0.5);
}
.tech-logo[data-brand="anthropic"]:hover {
  border-color: rgba(212, 165, 116, 0.3);
  box-shadow: 0 0 30px rgba(212, 165, 116, 0.15);
}

.tech-logo[data-brand="mcp"]:hover .tech-icon {
  color: #8b5cf6;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}
.tech-logo[data-brand="mcp"]:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}

.tech-logo[data-brand="python"]:hover .tech-icon {
  color: #3776ab;
  text-shadow: 0 0 20px rgba(55, 118, 171, 0.5);
}
.tech-logo[data-brand="python"]:hover {
  border-color: rgba(55, 118, 171, 0.3);
  box-shadow: 0 0 30px rgba(55, 118, 171, 0.15);
}

.tech-logo[data-brand="google"]:hover .tech-icon {
  color: #4285f4;
  text-shadow: 0 0 20px rgba(66, 133, 244, 0.5);
}
.tech-logo[data-brand="google"]:hover {
  border-color: rgba(66, 133, 244, 0.3);
  box-shadow: 0 0 30px rgba(66, 133, 244, 0.15);
}

.tech-logo[data-brand="postgresql"]:hover .tech-icon {
  color: #336791;
  text-shadow: 0 0 20px rgba(51, 103, 145, 0.5);
}
.tech-logo[data-brand="postgresql"]:hover {
  border-color: rgba(51, 103, 145, 0.3);
  box-shadow: 0 0 30px rgba(51, 103, 145, 0.15);
}

.tech-logo[data-brand="docker"]:hover .tech-icon {
  color: #2496ed;
  text-shadow: 0 0 20px rgba(36, 150, 237, 0.5);
}
.tech-logo[data-brand="docker"]:hover {
  border-color: rgba(36, 150, 237, 0.3);
  box-shadow: 0 0 30px rgba(36, 150, 237, 0.15);
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-features {
  list-style: none;
  margin: 2.5rem 0;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.about-features li:hover {
  transform: translateX(8px);
  background: rgba(210, 255, 0, 0.05);
  border-color: rgba(210, 255, 0, 0.2);
}

.about-features li i {
  color: var(--primary);
  font-size: 1.25rem;
}

[data-theme="light"] .about-features li {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .about-features li:hover {
  background: rgba(155, 199, 0, 0.1);
  border-color: rgba(155, 199, 0, 0.3);
}

/* About Stats Grid */
.about-visual {
  perspective: 1000px;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.about-stat-card {
  padding: 2rem;
  text-align: center;
}

.about-stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(210, 255, 0, 0.2), rgba(210, 255, 0, 0.05));
  border: 1px solid rgba(210, 255, 0, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  margin: 0 auto 1rem;
}

.about-stat-number {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
  color: var(--primary);
  line-height: 1;
  text-shadow: 0 0 20px rgba(210, 255, 0, 0.3);
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== CTA SECTION - FREE CONSULTATION ===== */
.cta-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
}

.cta-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.cta-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(210, 255, 0, 0.3) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation: glowPulse 4s ease-in-out infinite;
}

.cta-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(210, 255, 0, 0.2) 0%, transparent 70%);
  bottom: -100px;
  left: -50px;
  animation: glowPulse 4s ease-in-out infinite 2s;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

.cta-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 2;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(210, 255, 0, 0.2), rgba(210, 255, 0, 0.05));
  border: 1px solid rgba(210, 255, 0, 0.3);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(210, 255, 0, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(210, 255, 0, 0); }
}

.cta-text h2 {
  margin-bottom: 1.5rem;
}

.cta-text > p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cta-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.cta-feature:hover {
  background: rgba(210, 255, 0, 0.05);
  border-color: rgba(210, 255, 0, 0.2);
  transform: translateX(5px);
}

.cta-feature-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, rgba(210, 255, 0, 0.2), rgba(210, 255, 0, 0.05));
  border: 1px solid rgba(210, 255, 0, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cta-feature-text {
  display: flex;
  flex-direction: column;
}

.cta-feature-text strong {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.cta-feature-text span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Demo Preview */
.cta-demo-preview {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(210, 255, 0, 0.1);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.demo-badge i {
  font-size: 0.7rem;
}

.cta-demo-preview > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.demo-player {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
}

.demo-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  height: 50px;
}

.demo-waveform span {
  flex: 1;
  min-width: 3px;
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  opacity: 0.3;
  transform-origin: center;
  transition: transform 0.1s ease, opacity 0.1s ease;
}

.demo-waveform.playing span {
  animation: waveform 2.0s ease-in-out infinite;
}

.demo-waveform span:nth-child(1) { height: 25%; animation-delay: 0s; }
.demo-waveform span:nth-child(2) { height: 50%; animation-delay: 0.05s; }
.demo-waveform span:nth-child(3) { height: 35%; animation-delay: 0.1s; }
.demo-waveform span:nth-child(4) { height: 70%; animation-delay: 0.15s; }
.demo-waveform span:nth-child(5) { height: 45%; animation-delay: 0.2s; }
.demo-waveform span:nth-child(6) { height: 60%; animation-delay: 0.25s; }
.demo-waveform span:nth-child(7) { height: 30%; animation-delay: 0.3s; }
.demo-waveform span:nth-child(8) { height: 80%; animation-delay: 0.35s; }
.demo-waveform span:nth-child(9) { height: 40%; animation-delay: 0.4s; }
.demo-waveform span:nth-child(10) { height: 55%; animation-delay: 0.45s; }
.demo-waveform span:nth-child(11) { height: 25%; animation-delay: 0.5s; }
.demo-waveform span:nth-child(12) { height: 65%; animation-delay: 0.55s; }
.demo-waveform span:nth-child(13) { height: 90%; animation-delay: 0.6s; }
.demo-waveform span:nth-child(14) { height: 35%; animation-delay: 0.65s; }
.demo-waveform span:nth-child(15) { height: 50%; animation-delay: 0.7s; }
.demo-waveform span:nth-child(16) { height: 75%; animation-delay: 0.75s; }
.demo-waveform span:nth-child(17) { height: 40%; animation-delay: 0.8s; }
.demo-waveform span:nth-child(18) { height: 60%; animation-delay: 0.85s; }
.demo-waveform span:nth-child(19) { height: 30%; animation-delay: 0.9s; }
.demo-waveform span:nth-child(20) { height: 85%; animation-delay: 0.95s; }
.demo-waveform span:nth-child(21) { height: 45%; animation-delay: 1s; }
.demo-waveform span:nth-child(22) { height: 55%; animation-delay: 1.05s; }
.demo-waveform span:nth-child(23) { height: 70%; animation-delay: 1.1s; }
.demo-waveform span:nth-child(24) { height: 35%; animation-delay: 1.15s; }
.demo-waveform span:nth-child(25) { height: 80%; animation-delay: 1.2s; }
.demo-waveform span:nth-child(26) { height: 50%; animation-delay: 1.25s; }
.demo-waveform span:nth-child(27) { height: 40%; animation-delay: 1.3s; }
.demo-waveform span:nth-child(28) { height: 65%; animation-delay: 1.35s; }
.demo-waveform span:nth-child(29) { height: 30%; animation-delay: 1.4s; }
.demo-waveform span:nth-child(30) { height: 55%; animation-delay: 1.45s; }

@keyframes waveform {
  0%, 100% { transform: scaleY(1); opacity: 0.3; }
  50% { transform: scaleY(1.5); opacity: 1; }
}

.demo-play-btn {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(210, 255, 0, 0.3);
}

.demo-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(210, 255, 0, 0.5);
}

.demo-play-btn.playing i::before {
  content: "\f04c";
}

.demo-time {
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
  min-width: 40px;
}

.demo-duration {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
  min-width: 40px;
}

.demo-duration::before {
  content: "/ ";
}

/* CTA Form */
.cta-form-wrapper {
  position: sticky;
  top: 100px;
}

.cta-form-card {
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(210, 255, 0, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: rgba(210, 255, 0, 0.15);
}

.cta-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.cta-form-header h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.cta-form-header h3 i {
  color: var(--primary);
}

.cta-form-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-form .form-group {
  margin-bottom: 1.25rem;
}

.cta-form .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.cta-submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  border-radius: 12px;
  color: #111111;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(210, 255, 0, 0.3);
  margin-top: 0.5rem;
}

.cta-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(210, 255, 0, 0.4);
}

.cta-submit-btn span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.cta-submit-btn:hover .btn-shine {
  left: 100%;
}

.cta-form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cta-form-note i {
  color: var(--primary);
}

/* Light theme CTA adjustments */
[data-theme="light"] .cta-feature {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .cta-feature:hover {
  background: rgba(155, 199, 0, 0.1);
  border-color: rgba(155, 199, 0, 0.3);
}

[data-theme="light"] .cta-demo-preview {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .cta-form-card {
  background: linear-gradient(135deg, rgba(155, 199, 0, 0.1) 0%, rgba(255, 255, 255, 0.8) 100%);
}

/* CTA Responsive */
@media (max-width: 1024px) {
  .cta-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .cta-form-wrapper {
    position: static;
  }
}

@media (max-width: 768px) {
  .cta-section {
    padding: 5rem 0;
  }
  
  .cta-features {
    gap: 0.75rem;
  }
  
  .cta-feature {
    padding: 0.75rem 1rem;
  }
  
  .cta-form-card {
    padding: 1.5rem;
  }
}

/* ===== FAQ SECTION ===== */
.faq {
  background: var(--bg-primary);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem 2rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
}

.faq-question:hover {
  background: rgba(210, 255, 0, 0.03);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(210, 255, 0, 0.1);
  border-radius: 8px;
  flex-shrink: 0;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
  background: var(--primary);
  color: #111111;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease-out;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  padding: 0 2rem 2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CONTACT SECTION - SIMPLE ===== */
.contact-simple {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.contact-simple-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
}

.contact-simple-text h2 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.contact-simple-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.contact-simple-methods {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 240px;
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(210, 255, 0, 0.3);
  transform: translateY(-2px);
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(210, 255, 0, 0.15), rgba(210, 255, 0, 0.05));
  border: 1px solid rgba(210, 255, 0, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-method-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-method-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-method-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.contact-method-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: auto;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-method:hover .contact-method-arrow {
  transform: translateX(4px);
  color: var(--primary);
}

/* CTA variant */
.contact-method-cta {
  background: linear-gradient(135deg, rgba(210, 255, 0, 0.1), rgba(210, 255, 0, 0.03));
  border-color: rgba(210, 255, 0, 0.2);
}

.contact-method-cta:hover {
  background: linear-gradient(135deg, rgba(210, 255, 0, 0.2), rgba(210, 255, 0, 0.08));
  border-color: rgba(210, 255, 0, 0.4);
}

.contact-method-cta .contact-method-icon {
  background: var(--primary);
  border-color: var(--primary);
  color: #111111;
}

/* Light theme */
[data-theme="light"] .contact-method {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .contact-method:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(155, 199, 0, 0.4);
}

[data-theme="light"] .contact-method-cta {
  background: rgba(155, 199, 0, 0.1);
  border-color: rgba(155, 199, 0, 0.25);
}

[data-theme="light"] .contact-method-cta:hover {
  background: rgba(155, 199, 0, 0.18);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-simple {
    padding: 4rem 0;
  }
  
  .contact-simple-methods {
    flex-direction: column;
    width: 100%;
  }
  
  .contact-method {
    width: 100%;
    justify-content: flex-start;
  }
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-dark);
  color: var(--text-primary);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .footer {
  background: #111111;
  color: #ffffff;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  text-transform: uppercase;
}

.footer-section h4 {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: inherit;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-section ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(210, 255, 0, 0.2);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.perspective {
  perspective: 1000px;
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(210, 255, 0, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
  z-index: 1;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content,
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-text .subtitle {
    max-width: 100%;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-logos {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== HAMBURGER MENU ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-line:nth-child(1) {
  margin-bottom: 6px;
}

.hamburger-line:nth-child(3) {
  margin-top: 6px;
}

/* Hamburger active state (X) */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Navigation Panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  padding: calc(var(--header-height) + 2rem) 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: right 0.3s ease;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover {
  background: rgba(210, 255, 0, 0.1);
  color: var(--primary);
}

.mobile-nav-cta {
  margin-top: auto;
  background: var(--primary);
  color: #111111 !important;
  font-weight: 600;
  justify-content: center;
}

.mobile-nav-cta:hover {
  background: var(--primary-light);
}

/* Light theme mobile nav */
[data-theme="light"] .mobile-nav {
  background: var(--bg-primary);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mobile-nav-link:hover {
  background: rgba(155, 199, 0, 0.15);
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero {
    padding: calc(var(--header-height) + 2rem) 0 3rem;
    min-height: auto;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero-visual {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-logos {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .floating-elements {
    display: none;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .service-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  .modal-content {
    padding: 2rem;
  }
}

/* ===== ENHANCED LIQUID GLASS BUTTON ===== */
@property --angle-1 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -75deg;
}

@property --angle-2 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -45deg;
}

:root {
  --anim--hover-time: 400ms;
  --anim--hover-ease: cubic-bezier(0.25, 1, 0.5, 1);
}

.button-wrap {
  position: relative;
  z-index: 2;
  border-radius: 999vw;
  background: transparent;
  pointer-events: none;
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
}

.button-shadow {
  --shadow-cuttoff-fix: 2em;
  position: absolute;
  width: calc(100% + var(--shadow-cuttoff-fix));
  height: calc(100% + var(--shadow-cuttoff-fix));
  top: calc(0% - var(--shadow-cuttoff-fix) / 2);
  left: calc(0% - var(--shadow-cuttoff-fix) / 2);
  filter: blur(clamp(2px, 0.125em, 12px));
  -webkit-filter: blur(clamp(2px, 0.125em, 12px));
  overflow: visible;
  pointer-events: none;
}

.button-shadow::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 999vw;
  background: linear-gradient(180deg, rgba(210, 255, 0, 0.3), rgba(210, 255, 0, 0.1));
  width: calc(100% - var(--shadow-cuttoff-fix) - 0.25em);
  height: calc(100% - var(--shadow-cuttoff-fix) - 0.25em);
  top: calc(var(--shadow-cuttoff-fix) - 0.5em);
  left: calc(var(--shadow-cuttoff-fix) - 0.875em);
  padding: 0.125em;
  box-sizing: border-box;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
  overflow: visible;
  opacity: 1;
}

.button-wrap button {
  --border-width: clamp(1px, 0.0625em, 4px);
  all: unset;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  pointer-events: auto;
  z-index: 3;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 999vw;
  box-shadow: inset 0 0.125em 0.125em rgba(255, 255, 255, 0.3),
              inset 0 -0.125em 0.125em rgba(0, 0, 0, 0.2),
              0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.3),
              0 0 30px rgba(210, 255, 0, 0.3);
  backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
}

.button-wrap button:hover {
  transform: scale(0.98);
  box-shadow: inset 0 0.125em 0.125em rgba(255, 255, 255, 0.4),
              inset 0 -0.125em 0.125em rgba(0, 0, 0, 0.2),
              0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.3),
              0 0 50px rgba(210, 255, 0, 0.5);
}

.button-wrap button span {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
  -webkit-user-select: none;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
  font-size: 1rem;
  color: #111111;
  -webkit-font-smoothing: antialiased;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
  padding-inline: 2em;
  padding-block: 1em;
}

.button-wrap button:hover span {
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.button-wrap button span::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: calc(100% - var(--border-width));
  height: calc(100% - var(--border-width));
  top: calc(0% + var(--border-width) / 2);
  left: calc(0% + var(--border-width) / 2);
  box-sizing: border-box;
  border-radius: 999vw;
  overflow: clip;
  background: linear-gradient(
    var(--angle-2),
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 40% 50%,
    rgba(255, 255, 255, 0) 55%
  );
  z-index: 3;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-size: 200% 200%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  transition: background-position calc(var(--anim--hover-time) * 1.25) var(--anim--hover-ease);
}

.button-wrap button:hover span::after {
  background-position: 25% 50%;
}

.button-wrap:has(button:hover) .button-shadow::after {
  opacity: 1;
  box-shadow: 0 0 40px rgba(210, 255, 0, 0.4);
}

.button-wrap:has(button:active) button {
  transform: scale(0.95);
}

/* ================================================================
   LIGHT THEME COMPREHENSIVE OPTIMIZATIONS
   ================================================================ */

/* Hero Section - Light Theme */
[data-theme="light"] .hero::before {
  background: radial-gradient(circle at 70% 30%, rgba(155, 199, 0, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 30% 70%, rgba(155, 199, 0, 0.08) 0%, transparent 50%);
}

[data-theme="light"] .stat-number {
  text-shadow: 0 0 20px rgba(155, 199, 0, 0.4);
}

[data-theme="light"] .hero-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1),
              0 0 40px rgba(155, 199, 0, 0.1);
}

/* Automation Visual - Light Theme */
[data-theme="light"] .node {
  background: linear-gradient(135deg, rgba(155, 199, 0, 0.15), rgba(155, 199, 0, 0.05));
  border-color: rgba(155, 199, 0, 0.4);
  box-shadow: 0 0 25px rgba(155, 199, 0, 0.2);
}

[data-theme="light"] .connection-path {
  stroke: var(--primary-dark);
  opacity: 0.7;
}

[data-theme="light"] .center-hub::before {
  background: var(--primary-dark);
  box-shadow: 0 0 15px var(--primary-dark);
}

[data-theme="light"] .pulse-ring {
  border-color: var(--primary-dark);
}

/* Services - Light Theme */
[data-theme="light"] .service-icon {
  background: linear-gradient(135deg, rgba(155, 199, 0, 0.2), rgba(155, 199, 0, 0.08));
  box-shadow: 0 0 25px rgba(155, 199, 0, 0.15);
}

[data-theme="light"] .service-card:hover .service-icon {
  box-shadow: 0 0 35px rgba(155, 199, 0, 0.3);
}

[data-theme="light"] .btn-service {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-secondary);
}

[data-theme="light"] .btn-service:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #111111;
}

/* Tech Stack - Light Theme */
[data-theme="light"] .tech-icon {
  color: var(--primary-dark);
}

/* Tech Stack Brand Colors - Light Theme (keep brand colors, adjust glow intensity) */
[data-theme="light"] .tech-logo[data-brand]:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* CTA Section - Light Theme Enhanced */
[data-theme="light"] .cta-section::before {
  background: linear-gradient(135deg, rgba(155, 199, 0, 0.05) 0%, transparent 50%);
}

[data-theme="light"] .cta-glow-1 {
  background: radial-gradient(circle, rgba(155, 199, 0, 0.15) 0%, transparent 70%);
}

[data-theme="light"] .cta-glow-2 {
  background: radial-gradient(circle, rgba(155, 199, 0, 0.1) 0%, transparent 70%);
}

[data-theme="light"] .demo-player {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .demo-waveform span {
  background: var(--primary-dark);
}

[data-theme="light"] .demo-play-btn {
  background: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(155, 199, 0, 0.3);
}

[data-theme="light"] .demo-play-btn:hover {
  background: var(--primary);
  box-shadow: 0 6px 25px rgba(155, 199, 0, 0.4);
}

[data-theme="light"] .cta-submit-btn {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #6b8f00 100%);
}

[data-theme="light"] .cta-submit-btn:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* About Section - Light Theme */
[data-theme="light"] .about-stat-card {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .about-stat-icon {
  background: linear-gradient(135deg, rgba(155, 199, 0, 0.15), rgba(155, 199, 0, 0.05));
}

[data-theme="light"] .about-stat-number {
  text-shadow: none;
  color: var(--primary-dark);
}

/* FAQ - Light Theme */
[data-theme="light"] .faq-item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .faq-question:hover {
  background: rgba(155, 199, 0, 0.05);
}

[data-theme="light"] .faq-item.active .faq-question {
  background: rgba(155, 199, 0, 0.08);
  border-color: rgba(155, 199, 0, 0.2);
}

/* Contact - Light Theme */
[data-theme="light"] .contact-item {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .contact-icon {
  background: linear-gradient(135deg, rgba(155, 199, 0, 0.15), rgba(155, 199, 0, 0.05));
}

[data-theme="light"] .contact-form {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.1);
}

/* Modals - Light Theme */
[data-theme="light"] .modal {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .modal-overlay {
  background: rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .modal-icon {
  background: linear-gradient(135deg, rgba(155, 199, 0, 0.15), rgba(155, 199, 0, 0.05));
}

/* Text Gradient - Light Theme */
[data-theme="light"] .text-gradient {
  background: linear-gradient(135deg, var(--primary-dark), #6b8f00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation CTA Button - Light Theme */
[data-theme="light"] .nav a.nav-cta {
  background: var(--primary-dark);
}

[data-theme="light"] .nav a.nav-cta:hover {
  background: var(--primary);
}

/* Scrollbar - Light Theme */
[data-theme="light"]::-webkit-scrollbar-track {
  background: #f0f0f0;
}

[data-theme="light"]::-webkit-scrollbar-thumb {
  background: rgba(155, 199, 0, 0.5);
}

[data-theme="light"]::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Selection - Light Theme */
[data-theme="light"] ::selection {
  background: rgba(155, 199, 0, 0.3);
  color: #111111;
}

/* Focus States - Light Theme */
[data-theme="light"] *:focus-visible {
  outline-color: var(--primary-dark);
}
