:root {
  /* --- PALETA CLARA (Light Mode) --- */
  --bg-light: #f8fafc;      /* Fondo principal muy claro (casi blanco) */
  --text-dark: #0f172a;     /* Texto principal oscuro (casi negro) */
  --text-gray: #475569;     /* Texto secundario (gris medio) */
  --primary: #2563eb;       /* Azul vibrante para botones/acentos */
  --accent: #7c3aed;        /* Violeta */
  
  /* Ajustes para el efecto "cristal" en fondo claro */
  --glass-bg: rgba(255, 255, 255, 0.7); /* Mucho más opaco y blanco */
  --glass-border: rgba(0, 0, 0, 0.06);  /* Borde gris muy sutil */
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Sombra suave */

  --font-main: 'Inter', system-ui, sans-serif;
}

body {
  margin: 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-family: var(--font-main);
  overflow-x: hidden;
}

/* --- LUCES DE FONDO (GLOWS) - Ahora más sutiles --- */
.glow-bg {
  position: fixed;
  width: 600px;
  height: 600px;
  /* Usamos colores más fuertes pero con mucha transparencia */
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(100px); /* Más blur para que sea muy suave */
  z-index: -1;
  pointer-events: none;
}
.left-glow { top: -200px; left: -200px; background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%); }
.right-glow { top: 10%; right: -200px; }

/* --- NAVBAR --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  /* Fondo blanco semitransparente */
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid var(--glass-border);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.logo {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  margin: 0 15px;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }

.btn-nav {
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.btn-nav:hover { background: #1d4ed8; }

/* --- LAYOUT PRINCIPAL --- */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HERO SECTION SPLIT --- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 90vh;
  padding-top: 80px;
}

/* Texto Izquierda */
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 12px;
  border-radius: 100px;
  margin-bottom: 24px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 24px 0;
  letter-spacing: -0.03em;
  color: var(--text-dark);
}

/* El gradiente ahora es de azul oscuro a violeta para destacar sobre blanco */
.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 480px;
}

/* Botones CTA */
.cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.btn {
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover { transform: translateY(-2px); background: #1d4ed8; box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3); }

.btn-outline {
  border: 1px solid rgba(0,0,0,0.1); /* Borde gris visible */
  color: var(--text-dark);
  background: white;
}
.btn-outline:hover { background: #f1f5f9; border-color: rgba(0,0,0,0.2); }

.trusted-by {
  font-size: 13px;
  color: var(--text-gray);
  font-weight: 500;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 20px;
  display: inline-block;
}

/* Visual Derecha */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.visual-container {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero-img {
  width: 100%;
  border-radius: 20px;
  /* Sombra más marcada para dar profundidad en fondo claro */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  background: white; /* Asegura que la imagen tenga fondo si es PNG transparente */
}

.hero-img:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.2);
}

/* Tarjeta flotante */
.floating-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: rgba(255, 255, 255, 0.9); /* Casi blanco opaco */
  backdrop-filter: blur(16px);
  border: 1px solid white; /* Borde blanco para resaltar */
  padding: 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Sombra suave */
  animation: float 6s ease-in-out infinite;
}

.icon-check {
  background: #22c55e; /* Verde un poco más vivo */
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: bold; color: white;
}

.float-text {
  display: flex; flex-direction: column; font-size: 13px; color: var(--text-dark);
}
.float-text span { color: var(--text-gray); font-size: 11px; margin-top: 2px; }

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

/* --- GRID FEATURES --- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}

.card {
  background: white;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: var(--card-shadow);
  padding: 32px;
  border-radius: 16px;
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(37, 99, 235, 0.1); /* Borde azul sutil al hacer hover */
}

.card h3 { margin-top: 0; font-size: 18px; color: var(--text-dark); font-weight: 700; }
.card p { color: var(--text-gray); font-size: 15px; line-height: 1.6; margin-bottom: 0; }

.footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--glass-border);
  color: var(--text-gray);
  font-size: 14px;
}

/* --- RESPONSIVE (Sin cambios mayores) --- */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
    gap: 40px;
  }
  
  .hero-text p, .cta-group {
    margin-left: auto; 
    margin-right: auto;
  }
  
  h1 { font-size: 36px; }
  
  .nav-links { display: none; }
  
  .floating-card { left: 50%; transform: translateX(-50%); bottom: -20px; animation: none; }
  .hero-img { transform: none; }
  .hero-img:hover { transform: none; }
}