/* Logbit — sitio de marketing. Paleta de la app: azul #165CF8, navy #0C1C40.
   Hand-coded, sin framework: carga instantánea. */

:root {
  --blue: #165cf8;
  --blue-dark: #0f47c9;
  --navy: #0c1c40;
  --navy-soft: #16274f;
  --light: #f4f6fb;
  --stone: #8a8f98;
  --line: #e4e8f2;
  --white: #ffffff;
  --ok: #16a34a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(12, 28, 64, 0.08);
  --shadow-lg: 0 24px 60px rgba(12, 28, 64, 0.14);
  --wrap: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 14px 0 12px;
}

.section-head p {
  font-size: 1.08rem;
  color: var(--stone);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(22, 92, 248, 0.28);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22, 92, 248, 0.36);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.06rem;
}

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

.btn-white:hover {
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand img {
  height: 30px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a.link {
  font-weight: 600;
  color: var(--navy-soft);
  font-size: 0.98rem;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 90px;
  background: radial-gradient(
      1200px 500px at 70% -10%,
      rgba(22, 92, 248, 0.1),
      transparent 60%
    ),
    var(--light);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 18px 0 20px;
}

.hero h1 .hl {
  color: var(--blue);
}

.hero-sub {
  font-size: 1.18rem;
  color: var(--navy-soft);
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note svg {
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 18;
  background: linear-gradient(160deg, var(--navy), var(--navy-soft));
  border-radius: 36px;
  box-shadow: var(--shadow-lg);
  border: 8px solid #0a1530;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  gap: 14px;
}

.hp-bar {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
}

.hp-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hp-card .t {
  height: 9px;
  width: 60%;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.55);
}

.hp-card .s {
  height: 7px;
  width: 90%;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.2);
}

.hp-chip {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  color: #bcd0ff;
  background: rgba(22, 92, 248, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ---------- Logos / para quién ---------- */
.audience {
  background: var(--white);
  padding: 52px 0;
  border-bottom: 1px solid var(--line);
}

.audience p {
  text-align: center;
  color: var(--stone);
  font-weight: 600;
  margin-bottom: 22px;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 20px;
  font-weight: 700;
  color: var(--navy-soft);
  font-size: 0.95rem;
  background: var(--light);
}

/* ---------- Features ---------- */
.features {
  background: var(--white);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--white);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(22, 92, 248, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.feature p {
  color: var(--stone);
  font-size: 0.98rem;
}

/* ---------- Franja destacada ---------- */
.highlight {
  background: linear-gradient(150deg, var(--navy), var(--navy-soft));
  color: var(--white);
}

.highlight .section-head h2 {
  color: var(--white);
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat .n {
  font-size: 2.6rem;
  font-weight: 800;
  color: #7ea6ff;
  letter-spacing: -0.02em;
}

.stat .l {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin-top: 4px;
}

/* ---------- Precios ---------- */
.pricing {
  background: var(--light);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border: 2px solid var(--blue);
  box-shadow: var(--shadow);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 34px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

.price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.price-card .desc {
  color: var(--stone);
  font-size: 0.95rem;
  margin-bottom: 20px;
  min-height: 44px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.price .amount {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price .per {
  color: var(--stone);
  font-weight: 600;
}

.price-seats {
  color: var(--navy-soft);
  font-weight: 600;
  margin-bottom: 22px;
}

.price ul {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--navy-soft);
}

.price li svg {
  flex-shrink: 0;
  color: var(--ok);
  margin-top: 3px;
}

.price-card .btn {
  margin-top: auto;
  width: 100%;
}

.pricing-foot {
  text-align: center;
  margin-top: 32px;
  color: var(--stone);
  font-size: 0.98rem;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 22px;
  background: var(--white);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .ico {
  transition: transform 0.2s ease;
  color: var(--blue);
  flex-shrink: 0;
}

.faq-item[open] summary .ico {
  transform: rotate(45deg);
}

.faq-item p {
  color: var(--stone);
  padding: 0 0 20px;
}

/* ---------- CTA final / descarga ---------- */
.download {
  background: var(--light);
}

.download-card {
  background: linear-gradient(150deg, var(--blue), #3f7bff);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.download-card h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 12px;
}

.download-card p {
  font-size: 1.1rem;
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.download-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-note {
  margin-top: 18px;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 0 30px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .brand {
  color: var(--white);
}

.footer-brand p {
  margin-top: 14px;
  max-width: 300px;
  font-size: 0.95rem;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  font-size: 0.96rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
}

/* ---------- Páginas legales ---------- */
.legal {
  padding: 60px 0 80px;
  background: var(--white);
}

.legal .wrap {
  max-width: 800px;
}

.legal h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.legal .updated {
  color: var(--stone);
  margin-bottom: 36px;
}

.legal h2 {
  font-size: 1.35rem;
  margin: 34px 0 12px;
}

.legal p,
.legal li {
  color: var(--navy-soft);
  margin-bottom: 12px;
}

.legal ul {
  padding-left: 22px;
  margin-bottom: 12px;
}

.legal a {
  color: var(--blue);
  font-weight: 600;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 30px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
  }
  .hero-phone {
    max-width: 260px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 64px 0;
  }
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a.link {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .nav-cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: 14px;
  }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--navy);
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .price-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    flex-direction: column;
  }
}
