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

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --secondary: #1e293b;
  --emerald: #10b981;
  --emerald-light: #d1fae5;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --blue-light: #dbeafe;
  --violet: #8b5cf6;
  --red: #ef4444;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --dark-bg: #0f172a;
  --dark-surface: #1e293b;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--slate-900);
  background-color: var(--white);
  line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: var(--dark-bg);
    color: var(--slate-100);
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Navbar */
.navbar {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

@media (prefers-color-scheme: dark) {
  .navbar {
    background: var(--dark-surface);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  margin: 0 2rem;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .nav-menu a {
    color: var(--slate-300);
  }
}

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

.btn-login {
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-login:hover {
  background: var(--primary-dark);
}

/* Buttons */
.btn {
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--slate-100);
  color: var(--slate-900);
  border: 2px solid var(--primary);
}

@media (prefers-color-scheme: dark) {
  .btn-secondary {
    background: var(--slate-800);
    color: var(--white);
  }
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  display: grid;
  align-items: center;
}

@media (prefers-color-scheme: dark) {
  .hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--slate-900);
}

@media (prefers-color-scheme: dark) {
  .hero-content h1 {
    color: var(--white);
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--slate-600);
  margin-bottom: 2rem;
  line-height: 1.8;
}

@media (prefers-color-scheme: dark) {
  .hero-content p {
    color: var(--slate-300);
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
  }
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 100%;
  max-width: 200px;
  height: auto;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: var(--slate-50);
}

@media (prefers-color-scheme: dark) {
  .features {
    background: var(--dark-surface);
  }
}

.features h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--slate-900);
}

@media (prefers-color-scheme: dark) {
  .features h2 {
    color: var(--white);
  }
}

.section-subtitle {
  text-align: center;
  color: var(--slate-600);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

@media (prefers-color-scheme: dark) {
  .section-subtitle {
    color: var(--slate-300);
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--slate-200);
  transition: all 0.3s ease;
}

@media (prefers-color-scheme: dark) {
  .feature-card {
    background: var(--dark-bg);
    border-color: var(--slate-700);
  }
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

@media (prefers-color-scheme: dark) {
  .feature-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  }
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-icon.blue {
  background: var(--blue-light);
  color: var(--primary);
}

.feature-icon.emerald {
  background: var(--emerald-light);
  color: var(--emerald);
}

.feature-icon.amber {
  background: var(--amber-light);
  color: var(--amber);
}

.feature-icon.violet {
  background: #ede9fe;
  color: var(--violet);
}

@media (prefers-color-scheme: dark) {
  .feature-icon.blue {
    background: rgba(37, 99, 235, 0.1);
  }
  .feature-icon.emerald {
    background: rgba(16, 185, 129, 0.1);
  }
  .feature-icon.amber {
    background: rgba(245, 158, 11, 0.1);
  }
  .feature-icon.violet {
    background: rgba(139, 92, 246, 0.1);
  }
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--slate-900);
}

@media (prefers-color-scheme: dark) {
  .feature-card h3 {
    color: var(--white);
  }
}

.feature-card p {
  color: var(--slate-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
  .feature-card p {
    color: var(--slate-300);
  }
}

/* Benefits Section */
.benefits {
  padding: 5rem 0;
}

.benefits h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--slate-900);
}

@media (prefers-color-scheme: dark) {
  .benefits h2 {
    color: var(--white);
  }
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem 1.5rem;
  flex: 1;
  min-width: 220px;
}

.benefit-item h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
  white-space: nowrap;
}

.benefit-item p {
  color: var(--slate-600);
  line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
  .benefit-item p {
    color: var(--slate-300);
  }
}

/* Stats Section */
.stats {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: var(--white);
}

.stats h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  text-align: center;
  background: var(--slate-50);
}

@media (prefers-color-scheme: dark) {
  .cta {
    background: var(--dark-surface);
  }
}

.cta h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--slate-900);
}

@media (prefers-color-scheme: dark) {
  .cta h2 {
    color: var(--white);
  }
}

.cta p {
  font-size: 1.125rem;
  color: var(--slate-600);
  margin-bottom: 2rem;
}

@media (prefers-color-scheme: dark) {
  .cta p {
    color: var(--slate-300);
  }
}

/* Contact Section */
.contact {
  padding: 5rem 0;
}

.contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--slate-900);
}

@media (prefers-color-scheme: dark) {
  .contact h2 {
    color: var(--white);
  }
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #25d366;
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta:hover {
  background: #20ba5c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Footer */
.footer {
  background: var(--slate-900);
  color: var(--slate-200);
  padding: 3rem 0 1rem;
}

@media (prefers-color-scheme: dark) {
  .footer {
    background: var(--dark-bg);
  }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--slate-300);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: var(--slate-400);
  font-size: 0.875rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #20ba5c;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-content {
    padding: 0.75rem 0;
  }

  .logo h1 {
    font-size: 1.25rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .features,
  .benefits,
  .stats,
  .cta,
  .contact {
    padding: 3rem 0;
  }

  .features h2,
  .benefits h2,
  .stats h2,
  .cta h2,
  .contact h2 {
    font-size: 2rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}
