/* =========================================
   VARIABLES & RESET
========================================= */
:root {
  --bg-color: #080810;
  --primary: #00f0ff;
  --secondary: #8b5cf6;
  --text-main: #ffffff;
  --text-muted: #a0a0b0;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-main: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Hide default cursor on desktop */
@media (min-width: 769px) {
  body, a, button, input, .btn {
      cursor: none !important;
  }
}

/* =========================================
   TYPOGRAPHY & UTILITIES
========================================= */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-muted);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Navbar / Custom CTA Download Button */
#downloadBtn, #downloadBtnHero {
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  box-shadow: none;
}
#downloadBtn:hover, #downloadBtnHero:hover {
  background: rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  transform: translateY(-2px);
}

/* =========================================
   CUSTOM CURSOR
========================================= */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: none;
}
@media (min-width: 769px) {
  .cursor-dot, .cursor-ring { display: block; }
}
.cursor-dot {
  width: 12px; height: 12px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 2px solid var(--primary);
  background: rgba(0, 240, 255, 0.1);
  transition: border-color 0.4s, background-color 0.4s;
}
.cursor-ghost {
  position: fixed; 
  width: 8px; height: 8px; 
  border-radius: 50%;
  background: rgba(0,240,255,0.4); 
  pointer-events: none; 
  z-index: 9997;
  transform: translate(-50%,-50%);
  animation: ghostFade 0.6s ease forwards;
}

/* =========================================
   ANIMATIONS
========================================= */
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -50px) scale(1.1); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-40px, 40px) scale(0.9); }
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(0,240,255,0.4)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 40px rgba(0,240,255,0.9)); }
}

@keyframes bounceDot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes ghostFade {
  from { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  to   { opacity: 0;   transform: translate(-50%,-50%) scale(1.8); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   PRELOADER
========================================= */
#preloader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: var(--bg-color);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

#preloader img {
  height: 80px;
  animation: pulseGlow 2.5s infinite ease-in-out;
  margin-bottom: 30px;
}

.loading-dots {
  display: flex;
  gap: 8px;
}

.loading-dots span {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: bounceDot 0.6s infinite alternate;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

/* =========================================
   NAVBAR & LOGO
========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(8, 8, 16, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container img {
  transition: filter 0.3s ease;
}
.logo-container:hover img {
  filter: drop-shadow(0 0 12px rgba(0,240,255,0.5));
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}

.ghost-orbs {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
}

.orb-1 {
  top: 10%; left: 20%;
  width: 400px; height: 400px;
  background: var(--primary);
  animation: float1 15s infinite ease-in-out;
}

.orb-2 {
  top: 30%; right: 10%;
  width: 300px; height: 300px;
  background: var(--secondary);
  animation: float2 18s infinite ease-in-out;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  max-width: 900px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 60px;
}

.browser-mockup {
  margin: 50px auto 0;
  display: block;
  max-width: 900px;
  width: 90%;
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transition: transform 0.1s ease-out;
}

.mockup-header {
  height: 30px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  padding: 0 15px;
  border-bottom: 1px solid var(--glass-border);
}

.dots {
  display: flex;
  gap: 8px;
}

.dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.browser-mockup img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

/* =========================================
   SECTION TITLES
========================================= */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  will-change: transform;
}

/* =========================================
   STATS BAR
========================================= */
.stats-bar {
  margin-top: 0;
  padding: 60px 0;
  border-top: 1px solid rgba(0, 240, 255, 0.08);
  border-bottom: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =========================================
   FEATURES
========================================= */
.section-padding {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.feature-card::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: 0.5s;
}

.feature-card:hover::before {
  animation: shimmer 1.5s infinite;
}

.feature-card:hover {
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

/* =========================================
   HOW IT WORKS
========================================= */
.steps-container {
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  position: relative;
}

.step-box {
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: visible;
}

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--bg-color);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* =========================================
   PRICING
========================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.price-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 50px 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.price-card.pro {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
  transform: scale(1.05);
}

.price-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.price {
  font-size: 3rem;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
}

.price-card ul {
  list-style: none;
  margin-top: 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.price-card ul li {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.price-card ul li .fa-check {
  color: var(--primary);
}

.price-card ul li .fa-times {
  color: #333;
}

/* =========================================
   FAQ
========================================= */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background 0.3s;
  cursor: pointer;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px 20px;
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* =========================================
   FOOTER
========================================= */
footer {
  background: rgba(8, 8, 16, 0.9);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================
   COOKIE BANNER
========================================= */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 90%;
  max-width: 600px;
  background: rgba(20, 20, 30, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 20px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  transition: transform 0.5s ease;
}

#cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  bottom: 20px;
}

/* =========================================
   RESPONSIVE DESIGN (<= 768px)
========================================= */
@media (max-width: 768px) {
  body {
    cursor: auto !important;
  }
  .cursor-dot, .cursor-ring, .cursor-ghost {
    display: none !important;
  }
  .nav-links {
    position: absolute;
    top: 70px; left: 0; width: 100%;
    background: rgba(8, 8, 16, 0.95);
    flex-direction: column;
    padding: 20px 0;
    clip-path: circle(0% at 100% 0);
    transition: all 0.4s ease-out;
  }
  .nav-links.nav-active {
    clip-path: circle(150% at 100% 0);
  }
  .hamburger { display: block; }
  
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .steps-container { flex-direction: column; }
  
  .browser-mockup { width: 95%; }
  .hero h1 { font-size: clamp(1.8rem, 5vw, 3.5rem); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .price-card.pro { transform: scale(1); }
  
  .footer-content { flex-direction: column; gap: 20px; }
}