/* ============================================================
   HojaDeVida — Landing Page Styles
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
.landing-body {
  background: #fff;
  color: #1a1a18;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

/* ── Animate on scroll ────────────────────────────────────── */
.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate.visible {
  opacity: 1;
  transform: none;
}
.animate:nth-child(2) { transition-delay: 0.1s; }
.animate:nth-child(3) { transition-delay: 0.15s; }
.animate:nth-child(4) { transition-delay: 0.2s; }
.animate:nth-child(5) { transition-delay: 0.25s; }
.animate:nth-child(6) { transition-delay: 0.3s; }

/* ── Navbar ─────────────────────────────────────────────── */
.lnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0);
  transition: background 0.3s, box-shadow 0.3s;
}
.lnav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 #e8e8e4;
}
.lnav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.lnav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a18;
  flex: 1;
}
.lnav-logo-icon { font-size: 1.4rem; }
.lnav-logo-text { color: #1a1a18; }
.lnav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.lnav-links a {
  color: #4b4b48;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.lnav-links a:hover { color: #6366f1; }
.lnav-login {
  border: 1.5px solid #e8e8e4 !important;
  padding: 8px 16px;
  border-radius: 8px;
  color: #4b4b48 !important;
}
.lnav-cta {
  background: #6366f1;
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}
.lnav-cta:hover { background: #4f52d9 !important; color: #fff !important; text-decoration: none; }
.lnav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.lnav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a18;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.lnav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lnav-hamburger.open span:nth-child(2) { opacity: 0; }
.lnav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.lnav-mobile {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid #e8e8e4;
  padding: 16px 24px;
  gap: 12px;
}
.lnav-mobile.open { display: flex; }
.lnav-mobile a { color: #1a1a18; font-weight: 500; text-decoration: none; padding: 8px 0; }
.lnav-mobile .lnav-cta { text-align: center; padding: 12px 20px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0f0ff 0%, #fff 50%, #f0fff8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 24px 60px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(99,102,241,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: #ede9fe;
  color: #6366f1;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: .02em;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #1a1a18;
  margin-bottom: 20px;
}
.hero-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: #6b6b65;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #6366f1;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
}
.btn-hero-primary:hover {
  background: #4f52d9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,.45);
  text-decoration: none;
  color: #fff;
}
.btn-arrow { font-style: normal; }
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #4b4b48;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid #e8e8e4;
  transition: border-color 0.2s, color 0.2s;
}
.btn-hero-secondary:hover { border-color: #6366f1; color: #6366f1; text-decoration: none; }
.hero-note {
  font-size: 0.82rem;
  color: #9b9b95;
  margin-top: 8px;
}

/* ── Dashboard Mockup ────────────────────────────────────── */
.hero-mockup {
  margin-top: 60px;
  width: 100%;
  max-width: 860px;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,.15));
}
.mockup-window {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8e8e4;
  overflow: hidden;
}
.mockup-bar {
  background: #f7f7f5;
  border-bottom: 1px solid #e8e8e4;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.mockup-dot.red    { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green  { background: #10b981; }
.mockup-url {
  margin-left: 12px;
  flex: 1;
  font-size: 0.75rem;
  color: #9b9b95;
  background: #fff;
  border: 1px solid #e8e8e4;
  border-radius: 6px;
  padding: 4px 12px;
  font-family: monospace;
}
.mockup-body {
  display: flex;
  min-height: 340px;
}
.mockup-sidebar {
  width: 170px;
  flex-shrink: 0;
  background: #fafaf8;
  border-right: 1px solid #e8e8e4;
  padding: 16px 0;
  font-size: 0.8rem;
}
.msb-logo {
  font-weight: 700;
  padding: 0 16px 16px;
  font-size: 0.85rem;
  color: #1a1a18;
  border-bottom: 1px solid #e8e8e4;
  margin-bottom: 8px;
}
.msb-item {
  padding: 8px 16px;
  color: #6b6b65;
  cursor: default;
  border-radius: 0 6px 6px 0;
  margin-right: 8px;
}
.msb-item.active {
  background: #ede9fe;
  color: #6366f1;
  font-weight: 600;
}
.mockup-content {
  flex: 1;
  padding: 20px 24px;
  background: #fff;
}
.mockup-header-row {
  margin-bottom: 16px;
}
.mockup-greeting {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a18;
}
.mockup-alerts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.mockup-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
}
.mockup-alert.danger  { background: #fee2e2; border-left: 3px solid #ef4444; }
.mockup-alert.warning { background: #fef3c7; border-left: 3px solid #f59e0b; }
.mockup-alert.info    { background: #ede9fe; border-left: 3px solid #6366f1; }
.ma-icon { font-size: 1.1rem; margin-top: 1px; }
.ma-title { font-weight: 600; color: #1a1a18; line-height: 1.3; }
.ma-sub   { color: #6b6b65; margin-top: 2px; }
.mockup-stats {
  display: flex;
  gap: 16px;
}
.mstat {
  flex: 1;
  background: #f7f7f5;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.mstat-num { font-size: 1.5rem; font-weight: 800; color: #6366f1; }
.mstat-lbl { font-size: 0.72rem; color: #9b9b95; margin-top: 2px; }

/* ── Trust bar ─────────────────────────────────────────────── */
.trust {
  background: #f7f7f5;
  border-top: 1px solid #e8e8e4;
  border-bottom: 1px solid #e8e8e4;
  padding: 24px;
}
.trust-inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}
.trust-label { font-size: 0.82rem; color: #9b9b95; margin-bottom: 16px; font-weight: 500; }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.trust-badge {
  background: #fff;
  border: 1.5px solid #e8e8e4;
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #4b4b48;
}

/* ── Sections common ────────────────────────────────────── */
.section-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #1a1a18;
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-sub {
  font-size: 1rem;
  color: #6b6b65;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 56px;
}

/* ── Features ─────────────────────────────────────────────── */
.features {
  padding: 100px 24px;
  background: #fff;
}
.features-inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  text-align: left;
}
.feature-card {
  background: #fafaf8;
  border: 1.5px solid #e8e8e4;
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  border-color: #6366f1;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(99,102,241,.1);
}
.fc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a18;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.9rem;
  color: #6b6b65;
  line-height: 1.6;
  margin-bottom: 16px;
}
.fc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fc-list li {
  font-size: 0.82rem;
  color: #4b4b48;
}

/* ── Alerts Feature ────────────────────────────────────────── */
.alerts-feature {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 100px 24px;
  color: #fff;
}
.alerts-feature-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.alerts-feature .section-label { color: #a5b4fc; }
.alerts-feature .section-title { color: #fff; }
.alerts-feature p { color: #cbd5e1; font-size: 1rem; line-height: 1.7; margin-bottom: 32px; }
.af-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.af-channel {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 14px 16px;
}
.afc-icon { font-size: 1.4rem; }
.af-channel strong { display: block; font-size: 0.9rem; font-weight: 600; color: #fff; }
.af-channel span { font-size: 0.75rem; color: #a5b4fc; }
.af-visual { display: flex; justify-content: center; }
.af-phone {
  background: #1e293b;
  border-radius: 24px;
  padding: 20px 16px;
  width: 280px;
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  position: relative;
}
.af-phone-notch {
  width: 80px; height: 6px;
  background: rgba(255,255,255,.15);
  border-radius: 4px;
  margin: 0 auto 16px;
}
.af-notification {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
}
.afn-app { font-size: 0.72rem; font-weight: 600; color: #6366f1; margin-bottom: 6px; }
.afn-title { font-size: 0.85rem; font-weight: 700; color: #1a1a18; margin-bottom: 4px; }
.afn-body { font-size: 0.8rem; color: #6b6b65; line-height: 1.4; }
.afn-time { font-size: 0.72rem; color: #9b9b95; margin-top: 8px; }

/* ── Family Feature ────────────────────────────────────────── */
.family-feature {
  padding: 100px 24px;
  background: #f7f7f5;
  text-align: center;
}
.family-inner {
  max-width: 900px;
  margin: 0 auto;
}
.family-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.family-step {
  background: #fff;
  border: 1.5px solid #e8e8e4;
  border-radius: 16px;
  padding: 32px 28px;
  flex: 1;
  min-width: 200px;
  max-width: 240px;
}
.fstep-num {
  width: 40px; height: 40px;
  background: #ede9fe;
  color: #6366f1;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.family-step h4 { font-weight: 700; color: #1a1a18; margin-bottom: 8px; }
.family-step p  { font-size: 0.88rem; color: #6b6b65; line-height: 1.5; }
.family-arrow { font-size: 1.5rem; color: #d0d0ca; flex-shrink: 0; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing {
  padding: 100px 24px;
  background: #fff;
}
.pricing-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: #fafaf8;
  border: 1.5px solid #e8e8e4;
  border-radius: 16px;
  padding: 36px 32px;
  text-align: left;
  position: relative;
}
.pricing-card.featured {
  border-color: #6366f1;
  background: #fff;
  box-shadow: 0 8px 40px rgba(99,102,241,.15);
}
.pc-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #6366f1;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.pc-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.pc-badge.free    { background: #f0f0ec; color: #6b6b65; }
.pc-badge.premium { background: #ede9fe; color: #6366f1; }
.pc-price {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a18;
  margin-bottom: 8px;
  letter-spacing: -0.04em;
}
.pc-price span { font-size: 1rem; font-weight: 400; color: #9b9b95; }
.pc-desc { font-size: 0.9rem; color: #6b6b65; margin-bottom: 28px; line-height: 1.5; }
.pc-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; margin-bottom: 32px; }
.pc-features li { font-size: 0.88rem; line-height: 1.4; }
.pc-features li.ok { color: #1a1a18; }
.pc-features li.no { color: #c0c0ba; }
.pc-btn {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.pc-btn.primary {
  background: #6366f1;
  color: #fff;
}
.pc-btn.primary:hover { background: #4f52d9; color: #fff; text-decoration: none; }
.pc-btn.outline {
  background: transparent;
  border: 1.5px solid #e8e8e4;
  color: #4b4b48;
}
.pc-btn.outline:hover { border-color: #6366f1; color: #6366f1; text-decoration: none; }

/* ── CTA Final ───────────────────────────────────────────── */
.cta-final {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  padding: 100px 24px;
  text-align: center;
}
.cta-final-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.cta-final-inner p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.cta-final .btn-hero-primary {
  background: #fff;
  color: #6366f1;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.cta-final .btn-hero-primary:hover {
  background: #f0f0ff;
  color: #4f52d9;
}

/* ── Footer ──────────────────────────────────────────────── */
.lfooter {
  background: #1a1a18;
  color: #9b9b95;
  padding: 40px 24px 24px;
}
.lfooter-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.lfooter-brand .lnav-logo-text { color: #fff; font-weight: 700; font-size: 1rem; }
.lfooter-brand p { font-size: 0.85rem; margin-top: 6px; }
.lfooter-links { display: flex; gap: 20px; flex-wrap: wrap; }
.lfooter-links a { color: #9b9b95; font-size: 0.88rem; text-decoration: none; }
.lfooter-links a:hover { color: #fff; }
.lfooter-copy {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.82rem;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .alerts-feature-inner { grid-template-columns: 1fr; }
  .af-visual { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
}

@media (max-width: 680px) {
  .lnav-links { display: none; }
  .lnav-hamburger { display: flex; }
  .hero { padding: 90px 20px 40px; }
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-hero-primary, .btn-hero-secondary { justify-content: center; }
  .hero-mockup { margin-top: 40px; }
  .mockup-body { min-height: 240px; }
  .features-grid { grid-template-columns: 1fr; }
  .family-grid { flex-direction: column; }
  .family-arrow { transform: rotate(90deg); }
  .af-channels { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section-sub { margin-bottom: 36px; }
  .features, .family-feature, .pricing, .cta-final, .alerts-feature { padding: 60px 20px; }
}
