/* Kublo landing — paleta de la app: índigo #4F46E5, ink #161B33 */
:root {
  --primary: #4F46E5;
  --primary-deep: #3730A3;
  --primary-soft: #EEF2FF;
  --ink: #161B33;
  --ink2: #5B6478;
  --ink3: #9AA3B8;
  --line: #E7EBF5;
  --bg: #F5F7FC;
  --success: #059669;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
h1, h2, h3 { letter-spacing: -0.02em; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 22px; font-weight: 900; color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; color: var(--ink2); }
.nav-links a:not(.btn):hover { color: var(--ink); }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 12px;
  font-weight: 700; font-size: 14px; transition: all .15s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-deep); }
.btn-white { background: #fff; color: var(--ink); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.btn-white:hover { transform: translateY(-1px); }
.btn-ghost { color: var(--ink2); }
.btn-ghost:hover { color: var(--ink); }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); justify-content: center; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 14px; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, #4F46E5 0%, #312E81 55%, #0B0B14 100%);
  color: #fff; overflow: hidden;
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 80px 24px 90px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center;
}
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: 52px; font-weight: 900; line-height: 1.1; margin-bottom: 18px; }
.hero-sub { font-size: 17px; color: #C7D2FE; max-width: 480px; margin-bottom: 28px; }
.hero-ctas { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.soon { font-size: 13px; color: #A5B4FC; font-weight: 600; }
.hero-note { font-size: 13px; color: #818CF8; }

.phone {
  width: 290px; height: 560px; margin: 0 auto;
  background: #0B0B14; border-radius: 44px; padding: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  position: relative;
}
.phone-notch {
  width: 110px; height: 26px; background: #0B0B14;
  border-radius: 0 0 16px 16px;
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 34px;
  background: linear-gradient(180deg, #F5F7FC 0%, #EEF2FF 100%);
  padding: 56px 14px 14px; display: flex; flex-direction: column; gap: 12px;
}
.chip {
  background: #fff; border-radius: 14px; padding: 13px 14px;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  box-shadow: 0 4px 14px rgba(22,27,51,.08);
  animation: float-in .6s ease both;
}
.chip-2 { animation-delay: .15s; }
.chip-3 { animation-delay: .3s; }
.chip-4 { animation-delay: .45s; }
@keyframes float-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ── Secciones ── */
.section { max-width: 1100px; margin: 0 auto; padding: 80px 24px; }
.section h2 { font-size: 34px; font-weight: 900; text-align: center; margin-bottom: 10px; }
.section-sub { text-align: center; color: var(--ink2); margin-bottom: 44px; }
.section-alt { max-width: none; background: var(--bg); }
.section-alt h2 { padding-top: 0; }
.section-alt .steps { max-width: 1100px; margin: 0 auto; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 26px; transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 12px 32px rgba(22,27,51,.08); }
.card-icon { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--ink2); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 20px; }
.step { text-align: center; padding: 10px 20px; }
.step-num {
  width: 44px; height: 44px; border-radius: 14px; margin: 0 auto 14px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink2); }

/* ── Precios ── */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 780px; margin: 0 auto; }
.price-card {
  background: #fff; border: 1.5px solid var(--line); border-radius: 22px;
  padding: 30px; display: flex; flex-direction: column;
}
.price-featured { border-color: var(--primary); position: relative; box-shadow: 0 16px 44px rgba(79,70,229,.14); }
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 11.5px; font-weight: 800;
  padding: 4px 14px; border-radius: 999px; letter-spacing: .04em;
}
.price-card h3 { font-size: 18px; margin-bottom: 6px; }
.price { font-size: 38px; font-weight: 900; }
.price span { font-size: 15px; font-weight: 600; color: var(--ink3); }
.price-alt { font-size: 13px; color: var(--success); font-weight: 700; margin-top: 2px; }
.price-card ul { list-style: none; margin: 20px 0 26px; flex: 1; }
.price-card li { font-size: 14px; color: var(--ink2); padding: 5px 0; }
.price-card .btn { justify-content: center; }
.price-note { text-align: center; font-size: 12.5px; color: var(--ink3); margin-top: 22px; }

/* ── CTA final ── */
.cta-final {
  background: linear-gradient(135deg, #4F46E5, #312E81);
  color: #fff; text-align: center; padding: 70px 24px;
}
.cta-final h2 { font-size: 32px; font-weight: 900; margin-bottom: 10px; }
.cta-final p { color: #C7D2FE; margin-bottom: 26px; }

/* ── Footer ── */
.footer { background: #0B0B14; color: #9AA3B8; padding: 50px 24px 30px; }
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.logo-footer { color: #fff; margin-bottom: 8px; }
.footer p { font-size: 13.5px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-copy { text-align: center; font-size: 12px; margin-top: 36px; color: #5B6478; }

/* ── Legal pages ── */
.legal { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.legal h1 { font-size: 30px; margin-bottom: 6px; }
.legal .updated { color: var(--ink3); font-size: 13px; margin-bottom: 30px; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 14.5px; color: var(--ink2); margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

/* ── Responsive ── */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 56px 24px 60px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; flex-wrap: wrap; }
  .hero-visual { display: none; }
  .grid, .steps, .pricing { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .section { padding: 56px 20px; }
  .section h2 { font-size: 27px; }
}
