:root {
  --color-dark: #050505;
  --color-dark-surface: #121212;
  --color-lemon: #ccff00;
  --color-lemon-glow: rgba(204, 255, 0, 0.4);
  --color-emerald: #10b981;
  --color-white: #ffffff;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-surface-blur: rgba(255, 255, 255, 0.03);

  --font-sans: 'Montserrat', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: initial; /* Lenis handles this */
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-dark);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

a, button, input, textarea {
  cursor: none;
}

/* Typography */
h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
}

.text-lemon {
  color: var(--color-lemon);
}

.text-gray {
  color: var(--color-gray-400);
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
  z-index: 10;
}

.grid {
  display: grid;
  gap: 32px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Custom Cursor */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--color-lemon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--color-lemon-glow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}
.cursor-ring.hover {
  width: 64px;
  height: 64px;
  border-color: var(--color-lemon);
  background: rgba(204, 255, 0, 0.05);
}

/* Background Effects */
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  mix-blend-mode: screen;
  animation: float 20s ease-in-out infinite alternate;
}
.blob-1 { top: -10%; left: -10%; width: 600px; height: 600px; background: var(--color-lemon); opacity: 0.15; }
.blob-2 { bottom: -10%; right: -5%; width: 500px; height: 500px; background: var(--color-emerald); opacity: 0.1; animation-delay: -5s; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 40;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  background: rgba(5, 5, 5, 0.5);
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}
.navbar.scrolled {
  background: rgba(5, 5, 5, 0.85);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.nav-logo img { height: 48px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: var(--color-gray-300); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--color-lemon); }
.nav-cta { display: flex; align-items: center; gap: 16px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-bounce);
  gap: 10px;
  font-size: 1rem;
}
.btn-primary {
  background: var(--color-lemon);
  color: var(--color-dark);
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(204, 255, 0, 0.2);
}
.btn-outline {
  border: 1px solid var(--color-border);
  color: var(--color-white);
}
.btn-outline:hover {
  border-color: var(--color-lemon);
  background: rgba(204, 255, 0, 0.05);
}

/* Magnetic wrap for buttons */
.magnetic-wrap { display: inline-block; padding: 10px; }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 80px;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  background: var(--color-surface-blur);
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--color-lemon);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.text-gradient {
  background: linear-gradient(to right, var(--color-lemon), var(--color-emerald), var(--color-lemon));
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradient-shift 4s linear infinite;
}
.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--color-gray-400);
  max-width: 600px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Marquee */
.marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.02);
  padding: 16px 0;
  display: flex;
}
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-item {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--color-gray-500);
  margin: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.marquee-item::after { content: '✦'; color: var(--color-lemon); }
.marquee:hover .marquee-content { animation-play-state: paused; }

/* Glass Cards (General use) */
.glass-card {
  background: var(--color-surface-blur);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 40px;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(204, 255, 0, 0.1) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition-smooth);
}
.glass-card:hover {
  border-color: rgba(204, 255, 0, 0.4);
  transform: translateY(-8px);
}
.glass-card:hover::before { opacity: 1; }

/* Stats */
.stats-section { padding: 80px 0; border-bottom: 1px solid var(--color-border); position: relative; }
.stats-bg {
  position: absolute;
  inset: 0;
  background-image: url('referen.png');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(100%) blur(4px);
  z-index: 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; z-index: 10; }
.stat-item {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid var(--color-border);
}
.stat-item:last-child { border-right: none; }
.stat-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--color-gray-400); margin-bottom: 16px; display: block; }
.stat-number { font-size: clamp(3rem, 6vw, 6rem); font-family: 'Bebas Neue', var(--font-display); color: var(--color-lemon); line-height: 1; margin-bottom: 16px; display: block; }

/* Sections */
.section-header { text-align: center; margin-bottom: 64px; }
.section-title { font-size: clamp(2.5rem, 5vw, 4rem); margin-bottom: 16px; }
.section-desc { font-size: 1.1rem; color: var(--color-gray-400); max-width: 600px; margin: 0 auto; }

/* Always ON Method (Funnel) */
.funnel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.funnel-step {
  padding: 32px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--color-border);
  position: relative;
  transition: var(--transition-smooth);
}
.funnel-step:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--color-lemon-glow);
}
.funnel-step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--color-lemon);
  font-weight: bold;
  opacity: 0.5;
  margin-bottom: 16px;
}
.funnel-step h4 { font-size: 1.25rem; margin-bottom: 12px; }
.funnel-step p { font-size: 0.9rem; color: var(--color-gray-400); margin-bottom: 16px; }
.funnel-step .goal { font-size: 0.8rem; color: var(--color-emerald); padding-top: 16px; border-top: 1px solid var(--color-border); }

/* Niches */
.niche-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.niche-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(204, 255, 0, 0.1);
  color: var(--color-lemon);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.niche-icon svg { width: 28px; height: 28px; }

/* Process */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.process-item {
  display: flex;
  align-items: center;
  background: var(--color-surface-blur);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  gap: 24px;
  transition: var(--transition-smooth);
}
.process-item:hover { border-color: var(--color-lemon); transform: translateX(10px); }
.process-num { font-size: 2rem; font-family: var(--font-display); font-weight: bold; color: var(--color-lemon); opacity: 0.8; }
.process-content h4 { font-size: 1.25rem; margin-bottom: 4px; }
.process-content p { color: var(--color-gray-400); font-size: 0.9rem; }

/* Animations & Reveals */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.05); }
  100% { transform: translate(30px, -20px) scale(0.95); }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--color-dark);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-bar { width: 150px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 2px; overflow: hidden; position: relative; }
.loader-bar::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 40%; background: var(--color-lemon); animation: loading 1s infinite ease-in-out; }
@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* Video Slider */
.slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #000;
}
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; pointer-events: none;
}
.slide.active { opacity: 1; pointer-events: auto; }
.slide video { width: 100%; height: 100%; object-fit: cover; }
.slide-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; }
.slider-controls { position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between; transform: translateY(-50%); padding: 0 24px; z-index: 20; pointer-events: none; }
.slider-btn { pointer-events: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: white; backdrop-filter: blur(4px); transition: var(--transition-smooth); }
.slider-btn:hover { background: rgba(204,255,0,0.2); border-color: var(--color-lemon); color: var(--color-lemon); }
.slider-dots { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.dot { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.2); transition: var(--transition-smooth); }
.dot.active { width: 32px; background: var(--color-lemon); }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-control { width: 100%; padding: 16px 20px; border-radius: 12px; background: rgba(255,255,255,0.03); border: 1px solid var(--color-border); color: white; font-family: var(--font-sans); transition: var(--transition-smooth); }
.form-control:focus { outline: none; border-color: var(--color-lemon); background: rgba(255,255,255,0.06); }

/* Footer */
.footer { border-top: 1px solid var(--color-border); padding: 60px 0 30px; background: var(--color-dark-surface); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { height: 40px; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--color-gray-400); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--color-lemon); }
.footer-bottom { border-top: 1px solid var(--color-border); padding-top: 30px; text-align: center; color: var(--color-gray-500); font-size: 0.9rem; }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; color: white; }
.mobile-menu { position: fixed; inset: 0; background: var(--color-dark); z-index: 35; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; transform: translateY(-100%); transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1); }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { font-size: 2rem; font-family: var(--font-display); font-weight: bold; color: white; text-decoration: none; }

@media (max-width: 992px) {
  .funnel-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: 1fr; border-bottom: none; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--color-border); }
  .nav-links, .nav-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .funnel-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cursor-dot, .cursor-ring { display: none; }
  body, a, button, input, textarea { cursor: auto; }
}
