:root {
  --bg: #f5f5f0;
  --fg: #1a1a1a;
  --muted: #888888;
  --card: #ffffff;
  --border: #e0e0e0;
  --cyan: #00f5ff;
  --magenta: #ff00ff;
  --lime: #bfff00;
  --orange: #ff6b00;
}

* {
  cursor: none;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}

/* Custom Cursor - Soft Neon Style */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--magenta);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 15px var(--magenta);
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--fg);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transition: all 0.15s ease-out;
  background: rgba(255, 0, 255, 0.05);
}

.cursor-ring.hover {
  transform: scale(1.5);
  background: rgba(0, 245, 255, 0.1);
  border-color: var(--cyan);
}

/* SVG Noise Filter - Subtle Grain */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 100;
  opacity: 0.03;
  mix-blend-mode: multiply;
}

/* Neon Grid Background */
.neon-grid {
  background-image: 
	linear-gradient(rgba(0, 245, 255, 0.05) 1px, transparent 1px),
	linear-gradient(90deg, rgba(0, 245, 255, 0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  position: relative;
}

.neon-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(0, 245, 255, 0.1), transparent 60%),
			  radial-gradient(circle at 80% 50%, rgba(255, 0, 255, 0.05), transparent 40%);
  pointer-events: none;
}

/* Text Distortion - Neon Glitch */
.distort-text {
  position: relative;
  display: inline-block;
}

.distort-text::before,
.distort-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.distort-text::before {
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(0, 245, 255, 0.8);
  animation: glitch-1 3s infinite linear alternate-reverse;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.distort-text::after {
  color: var(--magenta);
  text-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
  animation: glitch-2 3s infinite linear alternate-reverse;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-1 {
  0%, 85% { transform: translate(0); }
  90% { transform: translate(-4px, -1px); }
  95% { transform: translate(4px, 1px); }
  100% { transform: translate(-2px, -2px); }
}

@keyframes glitch-2 {
  0%, 85% { transform: translate(0); }
  90% { transform: translate(4px, 1px); }
  95% { transform: translate(-4px, -1px); }
  100% { transform: translate(2px, 2px); }
}

/* Scroll Distortion Effect */
.scroll-distort {
  animation: scroll-glitch 0.15s steps(2) forwards;
  animation-play-state: paused;
}

.scroll-distort.distorting {
  animation-play-state: running;
}

@keyframes scroll-glitch {
  0% { transform: skewX(0deg); }
  25% { transform: skewX(-3deg); }
  50% { transform: skewX(3deg); }
  75% { transform: skewX(-1.5deg); }
  100% { transform: skewX(0deg); }
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Neon Card Hover Effects */
.neon-card {
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  background: var(--card);
}

.neon-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.neon-card:hover::before {
  opacity: 0.05;
}

.neon-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.2), 0 10px 40px rgba(0,0,0,0.05);
  transform: translateY(-5px);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Neon Button Styles */
.neon-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--fg);
  color: var(--bg);
  border: none;
}

.neon-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: var(--cyan);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
  z-index: 0;
}

.neon-btn:hover::before {
  width: 400px;
  height: 400px;
}

.neon-btn:hover {
  color: var(--fg);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.5);
}

.neon-btn span {
  position: relative;
  z-index: 1;
}

/* Outline Button */
.outline-btn {
  position: relative;
  border: 2px solid var(--fg);
  transition: all 0.3s ease;
  overflow: hidden;
}

.outline-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--magenta);
  transition: height 0.3s ease;
  z-index: -1;
}

.outline-btn:hover {
  border-color: var(--magenta);
  color: white;
}

.outline-btn:hover::after {
  height: 100%;
}

/* Accordion */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content.open {
  max-height: 200px;
}

.accordion-icon {
  transition: transform 0.3s ease;
  color: var(--cyan);
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
  color: var(--magenta);
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
	animation-duration: 0.01ms !important;
	animation-iteration-count: 1 !important;
	transition-duration: 0.01ms !important;
  }
}

/* Scrollbar - Light Theme */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
}

/* Neon Underline */
.neon-underline {
  position: relative;
}

.neon-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.neon-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Glow Effect */
.glow-cyan {
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.5), 0 0 20px rgba(0, 245, 255, 0.3);
}

.glow-magenta {
  text-shadow: 0 0 10px rgba(255, 0, 255, 0.5), 0 0 20px rgba(255, 0, 255, 0.3);
}

/* Counter */
.counter {
  font-variant-numeric: tabular-nums;
}

/* Service number styling */
.service-num {
  -webkit-text-stroke: 1px var(--muted);
  color: transparent;
}

/* Floating Shapes */
.floating-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float-medium {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(-5deg); }
}

@keyframes float-fast {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

.float-slow { animation: float-slow 6s ease-in-out infinite; }
.float-medium { animation: float-medium 4s ease-in-out infinite; }
.float-fast { animation: float-fast 3s ease-in-out infinite; }

/* Large Text Outline Background */
.hero-bg-text {
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(15vw, 25vw, 30vw);
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(0, 245, 255, 0.15);
  color: transparent;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
