:root {
  --bg: #0a2a43;
  --bg-darker: #003459;
  ;
  --primary: #1ea7ff;
  --primary-700: #0d6efd;
  --text: #0f172a;
  --muted: #475569;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --border: #e2e8f0;
  --benefits-bg-x: -4rem; /* desplazamiento horizontal del fondo de beneficios */
  --benefits-bg-zoom: 80%; /* zoom del fondo de beneficios */
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial,
    'Noto Sans', 'Helvetica Neue', sans-serif;
  color: var(--text);
  background: var(--surface);
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

/* NAV + HERO */
.hero {
  position: relative;
  color: white;
  background: #0a2a43 url('assets/fondo_principal.png') center/cover no-repeat;
}

/* Capa de octágonos para toda la sección hero */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/fondo_octagonos.png') 110% 30% / 60% no-repeat,
              linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(10, 42, 67, 0.3) 70%, rgba(10, 42, 67, 1) 100%);
  z-index: 1;
  pointer-events: none;
  opacity: 1;
}

.navbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 600;
}
.brand-logo { width: 36px; height: 36px; object-fit: contain; }

.nav-links { display: flex; gap: 22px; flex: 1; justify-content: center; }
.nav-links a { color: #e6f2ff; text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: white; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 48px 0 80px;
  height: 90vh;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  margin: 24px 0 12px;
}
.hero-copy p { color: #cfe8ff; margin: 0 0 20px; }

.store-badges { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.store-badges .badge { display: inline-flex; align-items: center; }
.store-badges img { height: 44px; width: auto; filter: drop-shadow(0 2px 6px #0003); border-radius: 8px; }

.hero-visual { position: relative; height: 420px; display: grid; place-items: end; }
.phones-img { position: relative; z-index: 2; width: min(640px, 95%); height: auto; filter: drop-shadow(0 18px 50px #0008); }

.diagonal-separator { height: 50px; background: linear-gradient(10deg, #0a2a43 45%, transparent 46%); }

/* BENEFITS */
.benefits {
  position: relative;
  background: var(--bg-darker);
  color: #e6f2ff;
  padding: 40px 0 80px;
  overflow: hidden;
  height: 100vh;
}
.benefits { margin-top: -12px; padding-top: calc(40px + 48px); border-top-left-radius: 18px; border-top-right-radius: 18px; }
.benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('assets/beneficio_background.png');
  background-repeat: no-repeat;
  background-size: var(--benefits-bg-zoom) auto;
  background-position: var(--benefits-bg-x) center;
  opacity: 1;
  pointer-events: none;
}
.benefits::after { content: ""; position: absolute; left: 0; right: 0; top: -48px; height: 96px; background: linear-gradient(180deg, #0a2a43 0%, rgba(10,42,67,0.7) 50%, transparent 100%); pointer-events: none; }
.benefits > .container { position: relative; z-index: 1; margin-right: 0; margin-top: 2rem }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;   margin-top: 7rem !important;}
.benefits-copy { grid-column: 2; max-width: 640px; margin-left: auto; margin-right: clamp(1rem, 4vw, 3rem); }
.benefits-copy h2 { font-size: clamp(28px, 3.4vw, 44px); margin: 0 0 10px; }
.benefits-copy h3 { margin-top: 8px; }
.benefits .cta-row { margin-top: 26px; }
.benefits-media img { width: 100%; height: 360px; object-fit: cover; border-radius: 18px; box-shadow: 0 12px 30px #0007; }
.benefits-copy h2 { font-size: clamp(26px, 3.2vw, 40px); margin: 0 0 10px; }
.benefits-copy h3 { margin: 0 0 10px; color: #bfe4ff; font-weight: 600; }
.benefits-copy p { color: #d8ecff; }
.cta-row { display: flex; gap: 14px; margin-top: 18px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; transition: transform .1s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary-700); color: white; box-shadow: 0 8px 20px #0d6efd66; }
.btn-outline { border: 2px solid #a6d7ff; color: #e6f2ff; }
.btn-full { width: 100%; }

/* PRODUCT */
.product { padding: 70px 0; }
.product h2 { text-align: center; margin: 0 0 20px; }
.slider { position: relative; display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 12px; }
.slides { overflow: hidden; border-radius: 16px; background: transparent; }
.slides .track { display: flex; transition: transform .4s ease; }
.slide { flex: 0 0 100%; display: grid; place-items: center; padding: 16px; }
.slide img { width: min(420px, 80%); height: auto; border-radius: 32px; }
.nav { background: white; border: 1px solid var(--border); width: 44px; height: 44px; border-radius: 999px; cursor: pointer; font-size: 22px; box-shadow: 0 6px 16px #0001; }
.nav:hover { background: var(--surface-2); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; background: #cbd5e1; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--primary-700); width: 22px; border-radius: 6px; }

/* PRICING */
.pricing { background: linear-gradient(180deg, #f7fbff, #ffffff); padding: 70px 0; }
.pricing h2 { text-align: center; margin: 0 0 24px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 22px; box-shadow: 0 10px 30px #0a2a430f; }
.plan-pro { border: 2px solid var(--primary-700); }
.plan-tier { text-transform: uppercase; font-weight: 700; color: var(--muted); letter-spacing: .08em; margin: 0 0 6px; }
.plan-price { font-size: 44px; font-weight: 700; margin: 0 0 10px; color: var(--text); }
.plan-features { margin: 0 0 12px; padding-left: 18px; color: var(--muted); }
.plan-note { color: var(--muted); font-size: 14px; }

/* Botón outline dentro de planes (fondo claro) */
.pricing .btn-outline {
  border-color: var(--primary-700);
  color: var(--primary-700);
  background: transparent;
}
.pricing .btn-outline:hover {
  background: var(--primary-700);
  color: #fff;
}

/* FAQ */
.faq { padding: 70px 0; }
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.faq-copy h2 { margin: 0 0 10px; }
.faq-accordion details { border: 1px solid var(--border); background: white; border-radius: 14px; padding: 12px 14px; margin-bottom: 10px; }
.faq-accordion summary { cursor: pointer; font-weight: 600; }
.faq-accordion p { color: var(--muted); margin: 10px 0 0; }
/* FOOTER */
.site-footer { background: var(--bg-darker); color: #d9eeff; }
.footer-bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.footer-left { display: inline-flex; align-items: center; gap: 14px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; border: 1.6px solid #cfe8ff; color: #cfe8ff; text-decoration: none; }
.icon-btn:hover { background: rgba(255,255,255,.06); }
.terms { color: #cfe8ff; text-decoration: none; margin-left: 8px; }
.footer-right { color: #b7daff; }

/* Back to top */
.back-to-top { position: fixed; right: 18px; bottom: 18px; background: var(--primary-700); color: white; border: 0; width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 10px 30px #0d6efd55; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s ease; }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; height: 360px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .slider { grid-template-columns: 36px 1fr 36px; }
  .plan-grid { grid-template-columns: 1fr; }
}


