:root {
  /* Color Palette */
  --bg-dark: #0a0f1d;
  --bg-card: rgba(255, 255, 255, 0.03);
  --primary: #25D366; /* WhatsApp Green */
  --primary-glow: rgba(37, 211, 102, 0.4);
  --secondary: #128C7E;
  --accent: #34b7f1;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-border: rgba(255, 255, 255, 0.1);
  --gradient-main: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  
  /* Spacing & Sizing */
  --container-width: 1200px;
  --section-padding: 100px 20px;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: var(--section-padding);
}

/* Components */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--primary-glow);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--primary);
  transform: translateY(-5px);
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

nav.scrolled {
  background: rgba(10, 15, 29, 0.8);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  border-bottom: 1px solid var(--glass-border);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.4;
  object-fit: cover;
  filter: saturate(1.2) brightness(0.8);
}

.hero-content {
  max-width: 700px;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-main);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: white;
}

/* Animations */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
/* Step Cards */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.step-num {
  font-size: 5rem;
  font-weight: 800;
  color: rgba(37, 211, 102, 0.05);
  position: absolute;
  top: -10px;
  right: 10px;
  line-height: 1;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background: #25D366;
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
  font-size: 1.5rem;
}

/* Particle Background Simulation */
.hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background-image: radial-gradient(circle, var(--primary) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.05;
  top: -50%;
  left: -50%;
  animation: rotate 100s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .whatsapp-float span {
    display: none;
  }
  
/* Integrations Bar */
.integrations-bar {
  background: rgba(255, 255, 255, 0.01);
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  /* Premium Edge Fade */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.integrations-track {
  display: flex;
  width: max-content;
  animation: scroll 40s linear infinite;
}

.integration-group {
  display: flex;
  gap: 100px;
  padding-right: 100px; /* Essential for seamless gap */
}

.integration-group span {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 15px;
  white-space: nowrap;
}

.integration-group i {
  font-size: 2rem;
  color: var(--primary);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Pricing Section */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.2);
}

.popular-tag {
  background: var(--primary);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.price {
  font-size: 3rem;
  font-weight: 800;
  margin: 20px 0;
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  padding: 20px 30px;
  cursor: pointer;
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  color: var(--text-muted);
  margin-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  margin-top: 20px;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
}

/* Switch Styles */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #333;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px; width: 26px;
  left: 4px; bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider { background-color: var(--primary); }
input:checked + .slider:before { transform: translateX(26px); }

/* Ecosystem Section */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.app-card {
  text-align: center;
  padding: 40px 30px;
  transition: var(--transition-smooth);
}

.app-card i {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.5s ease;
}

.app-card h4 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.app-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.app-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

.app-card:hover i {
  transform: scale(1.1) translateY(-5px);
}

@media (max-width: 768px) {
  .pricing-card.featured {
    transform: scale(1);
  }
  .cursor-dot, .cursor-outline {
    display: none;
  }
  .app-card {
    padding: 30px 20px;
  }
}
