* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0F1117;
  color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Noise/grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0F1117; }
::-webkit-scrollbar-thumb { background: #2D3348; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #4AC9E3; }

/* ============================================
   ANIMATED HERO: gradient orb + particles + grid
   ============================================ */
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  pointer-events: none;
  z-index: 0;
}
.hero-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(74, 201, 227, 0.18) 0%,
    rgba(139, 92, 246, 0.08) 30%,
    rgba(59, 130, 246, 0.06) 50%,
    transparent 70%
  );
  animation: orbPulse 6s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  33% { transform: scale(1.08); opacity: 0.85; }
  66% { transform: scale(0.95); opacity: 1; }
}

/* Grid pattern overlay on hero */
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(74, 201, 227, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 201, 227, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 70%);
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(74, 201, 227, 0.4);
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-800px) translateX(var(--drift)); opacity: 0; }
}

/* Snappier fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0ms; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 70ms; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 140ms; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 210ms; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 280ms; }
.stagger-children .fade-in:nth-child(6) { transition-delay: 350ms; }

/* ============================================
   DASHBOARD MOCKUP: 3D tilt, glow halo, reflection
   ============================================ */
.dashboard-mockup {
  perspective: 1200px;
}
.dashboard-mockup-inner {
  transform: rotateX(2.5deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  position: relative;
}
.dashboard-mockup-inner:hover {
  transform: rotateX(0deg);
}
/* Glow halo behind mockup */
.dashboard-mockup-inner::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(74, 201, 227, 0.15), rgba(139, 92, 246, 0.08), rgba(59, 130, 246, 0.1));
  z-index: -1;
  filter: blur(30px);
  opacity: 0.7;
  transition: opacity 0.6s ease;
}
.dashboard-mockup-inner:hover::before {
  opacity: 1;
}
/* Reflection fade at bottom */
.dashboard-reflection {
  position: relative;
  margin-top: -1px;
  height: 120px;
  overflow: hidden;
  pointer-events: none;
}
.dashboard-reflection-inner {
  transform: scaleY(-1) rotateX(2.5deg);
  opacity: 0.12;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 60%);
}

/* Pricing card glow */
.pricing-recommended {
  box-shadow: 0 0 40px rgba(74, 201, 227, 0.15), 0 0 80px rgba(74, 201, 227, 0.05);
}

/* Dashboard mock chart bars */
.chart-bar {
  transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer.open {
  max-height: 300px;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-menu.open {
  max-height: 400px;
}

/* Button hover effects */
.btn-cyan {
  background: #4AC9E3;
  color: #0F1117;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-cyan:hover {
  background: #6DD8EE;
  box-shadow: 0 0 25px rgba(74, 201, 227, 0.35), 0 4px 15px rgba(74, 201, 227, 0.2);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid #2D3348;
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-outline:hover {
  border-color: #4AC9E3;
  color: #4AC9E3;
  box-shadow: 0 0 15px rgba(74, 201, 227, 0.1);
}

/* Step connector line */
.step-connector {
  position: absolute;
  top: 28px;
  left: calc(50% + 40px);
  width: calc(100% - 80px);
  height: 2px;
  background: linear-gradient(90deg, #4AC9E3, #2D3348);
}

/* Navbar backdrop */
.nav-scrolled {
  background: rgba(15, 17, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(45, 51, 72, 0.5);
}

/* Stars */
.star { color: #FBBF24; }

/* ============================================
   LOGO TICKER / SOCIAL PROOF BAR
   ============================================ */
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track:hover {
  animation-play-state: paused;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-wrapper {
  overflow: hidden;
  position: relative;
}
.ticker-wrapper::before,
.ticker-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.ticker-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0F1117, transparent);
}
.ticker-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0F1117, transparent);
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  white-space: nowrap;
  color: #6B7280;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ticker-item .ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4AC9E3;
  opacity: 0.4;
}

/* Count-up stat numbers */
.stat-number {
  display: inline-block;
}

/* ============================================
   FEATURE CARDS: glassmorphism hover + gradient line
   ============================================ */
.feature-card {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4AC9E3, #8B5CF6);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(74, 201, 227, 0.25);
  background: rgba(26, 31, 46, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 20px rgba(74, 201, 227, 0.06);
}
.feature-card:hover::after {
  width: 100%;
}
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, rgba(74, 201, 227, 0.12), rgba(139, 92, 246, 0.06));
  border: 1px solid rgba(74, 201, 227, 0.08);
  transition: all 0.35s ease;
}
.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, rgba(74, 201, 227, 0.2), rgba(139, 92, 246, 0.1));
  border-color: rgba(74, 201, 227, 0.15);
}

/* ============================================
   TESTIMONIALS: gradient avatars, quote marks, left border
   ============================================ */
.testimonial-card {
  position: relative;
  border-left: 2px solid transparent;
  border-image: linear-gradient(to bottom, #4AC9E3, #8B5CF6) 1;
  transition: all 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.testimonial-quote {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 48px;
  line-height: 1;
  font-family: Georgia, serif;
  background: linear-gradient(135deg, rgba(74, 201, 227, 0.15), rgba(139, 92, 246, 0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
}
.testimonial-avatar::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, var(--avatar-from), var(--avatar-to));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

/* Hero parallax on glow */
.hero-glow-parallax {
  transition: transform 0.1s linear;
}