:root {
  --color-bg: #f5f8fc;
  --color-bg-alt: #ffffff;
  --color-primary: #00b5ff;
  --color-primary-dark: #0089c4;
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #e0f7ff 0, #f5f8fc 50%, #ffffff 100%);
  color: var(--color-text);
}

/* Containers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(245, 248, 252, 0.95),
    rgba(245, 248, 252, 0.7),
    transparent
  );
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
}

.logo img {
  height: 46px; /* un poco más grande que antes */
  display: block;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-muted);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--color-primary-dark);
}

/* HERO */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3.4vw + 1rem, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-copy h1 span {
  color: var(--color-primary);
}

.hero-copy p {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--color-muted);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #ffffff;
  box-shadow: 0 12px 35px rgba(56, 189, 248, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(37, 99, 235, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-secondary:hover {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
}

/* Badges */
.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  max-width: 420px;
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

/* SECCIONES GENERALES */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.92);
}

.section h2 {
  font-size: 1.9rem;
  margin: 0 0 2rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.step {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.4rem 1.6rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0f172a;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.feature {
  padding: 1.3rem 1.3rem 1.5rem;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

/* Planes */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.plan {
  padding: 1.6rem 1.4rem 1.8rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.12);
}

.plan-highlight {
  border-color: var(--color-primary);
  box-shadow: 0 18px 45px rgba(59, 130, 246, 0.25);
}

.plan .price {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.plan ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.2rem;
  color: var(--color-muted);
}

.plan ul li {
  margin-bottom: 0.4rem;
}

/* FAQ + Contacto */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2rem;
}

details {
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  margin-bottom: 0.6rem;
}

details summary {
  cursor: pointer;
  font-weight: 600;
}

details[open] {
  background: #ffffff;
}

.contact-card {
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #0f172a;
  color: #e5e7eb;
  box-shadow: var(--shadow-soft);
}

.contact-card .btn-primary {
  width: 100%;
  justify-content: center;
  margin: 0.9rem 0 0.4rem;
}

.contact-card a {
  color: #e0f2fe;
}

.contact-hint {
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid #e2e8f0;
  padding: 1.2rem 0 1.6rem;
  background: rgba(255, 255, 255, 0.92);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.footer-small {
  opacity: 0.8;
}

/* Animaciones de scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid,
  .steps,
  .features,
  .plans,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.3rem;
  }

  .nav-bar {
    padding-inline: 1rem;
  }

  .main-nav {
    display: none; /* después podemos hacer menú móvil si querés */
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    max-width: 360px;
  }
}
