/**
 * LifeKeeper Commercial Layer — premium polish
 */

.lk-topbar {
  background: var(--lk-primary-dark, #013352);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lk-topbar-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.lk-topbar-link:hover { color: var(--lk-accent); }

.lk-topbar-muted { color: rgba(255, 255, 255, 0.55); }

.lk-topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
}

.lk-topbar-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25d366;
  color: #fff !important;
  padding: 5px 14px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.78rem;
}

.lk-topbar-wa:hover {
  background: #1fb855;
  color: #fff !important;
}

.lk-topbar-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lk-accent, #fd7e14);
  color: #fff !important;
  padding: 5px 14px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.78rem;
}

.lk-topbar-download:hover {
  background: var(--lk-accent-hover, #e57112);
  color: #fff !important;
}

body.lk-public .header.lk-header {
  transition: padding 0.3s, box-shadow 0.3s, background 0.3s;
}

body.lk-public .header.lk-header.lk-header-scrolled {
  padding: 10px 0;
  box-shadow: 0 8px 32px rgba(2, 66, 105, 0.1);
  background: rgba(255, 255, 255, 0.97);
}

.lk-logo-text { line-height: 1.15; }

body.lk-public .header.lk-header .sitename {
  font-family: var(--lk-font-sans);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  display: block;
}

.lk-tagline {
  display: block;
  font-size: 0.68rem;
  color: var(--lk-text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  max-width: 14rem;
}

@media (max-width: 399.98px) {
  .lk-logo-text .lk-tagline {
    font-size: 0.58rem;
    max-width: 10rem;
  }
}

.lk-btn-ghost {
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--lk-primary) !important;
  text-decoration: none;
  border: 1px solid var(--lk-border);
  transition: all 0.25s;
}

.lk-btn-ghost:hover {
  background: var(--lk-bg-alt);
}

/* ── Public header layout & action buttons (prevent squeeze) ── */
@media (min-width: 1200px) {
  body.lk-public .header.lk-header > .container {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 1.25rem;
  }

  body.lk-public .header.lk-header .logo {
    grid-column: 1;
    margin-right: 0 !important;
    flex-shrink: 0;
  }

  body.lk-public .header.lk-header .navmenu {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
    padding: 0;
  }

  body.lk-public .header.lk-header .navmenu ul {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.1rem;
  }

  body.lk-public .header.lk-header .navmenu a {
    padding: 0.5rem 0.65rem;
    font-size: 0.875rem;
  }

  body.lk-public .header.lk-header .lk-header-actions {
    grid-column: 3;
    flex-shrink: 0;
    gap: 0.45rem;
  }

  body.lk-public .header.lk-header .mobile-nav-toggle {
    display: none !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  body.lk-public .header.lk-header .lk-tagline {
    font-size: 0.6rem;
    letter-spacing: 0.03em;
  }

  body.lk-public .header.lk-header .navmenu a {
    padding: 0.45rem 0.5rem;
    font-size: 0.82rem;
  }

  body.lk-public .header.lk-header .lk-header-actions {
    gap: 0.3rem;
  }

  body.lk-public .header.lk-header .lk-header-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.72rem;
  }
}

.lk-header-actions {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.45rem;
}

body.lk-public .header.lk-header .lk-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 34px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  margin: 0;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    filter 0.22s ease;
}

body.lk-public .header.lk-header .lk-header-btn--ghost {
  color: var(--lk-primary) !important;
  background: #fff;
  border: 1px solid rgba(2, 66, 105, 0.14);
  box-shadow: 0 1px 3px rgba(2, 66, 105, 0.08);
}

body.lk-public .header.lk-header .lk-header-btn--ghost:hover,
body.lk-public .header.lk-header .lk-header-btn--ghost:focus-visible {
  background: var(--lk-bg-alt);
  border-color: rgba(2, 66, 105, 0.28);
  color: var(--lk-primary) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 66, 105, 0.16);
}

body.lk-public .header.lk-header .lk-header-btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, #e8590c, var(--lk-accent));
  border: none;
  box-shadow: 0 2px 10px rgba(253, 126, 20, 0.35);
}

body.lk-public .header.lk-header .lk-header-btn--primary:hover,
body.lk-public .header.lk-header .lk-header-btn--primary:focus-visible {
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(253, 126, 20, 0.5);
  filter: brightness(1.05);
}

body.lk-public .header.lk-header .lk-header-btn:active {
  transform: translateY(0);
}

/* Legacy aliases */
.lk-header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 34px;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.lk-header-btn--ghost {
  color: var(--lk-primary) !important;
  background: #fff;
  border: 1px solid rgba(2, 66, 105, 0.14);
  box-shadow: 0 1px 3px rgba(2, 66, 105, 0.08);
}

.lk-header-btn--ghost:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(2, 66, 105, 0.16);
}

.lk-header-btn--primary {
  color: #fff !important;
  background: linear-gradient(135deg, #e8590c, var(--lk-accent));
  border: none;
  box-shadow: 0 2px 10px rgba(253, 126, 20, 0.35);
}

.lk-header-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(253, 126, 20, 0.5);
}

/* Undo template main.css shrink on header CTAs */
@media (max-width: 1200px) {
  body.lk-public .header.lk-header .lk-header-btn,
  body.lk-public .header.lk-header .btn-getstarted {
    order: unset;
    margin: 0;
  }
}

body.lk-public .mobile-btn.lk-header-btn {
  display: block;
  width: 100%;
  text-align: center;
  min-height: 48px;
}

body.lk-public .mobile-btn.lk-header-btn--primary {
  background: linear-gradient(135deg, #e8590c, var(--lk-accent));
  color: #fff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(253, 126, 20, 0.35);
}

body.lk-public .mobile-btn.lk-header-btn--ghost {
  background: transparent !important;
  border: 2px solid var(--lk-primary) !important;
  color: var(--lk-primary) !important;
  box-shadow: none;
}

body.lk-public .mobile-btn.lk-btn-outline-nav {
  background: transparent !important;
  border: 2px solid var(--lk-primary) !important;
  color: var(--lk-primary) !important;
}

.lk-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 997;
  transition: transform 0.25s;
  text-decoration: none;
}

.lk-whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

/* Scroll-to-top sits above WhatsApp with clear gap */
body.lk-public .scroll-top {
  right: 24px;
  width: 48px;
  height: 48px;
  z-index: 998;
  background: var(--lk-accent-text);
  box-shadow: 0 4px 16px rgba(253, 126, 20, 0.4);
}

body.lk-public .scroll-top.active {
  bottom: 92px; /* 24px + 56px WhatsApp + 12px gap */
}

@media (max-width: 575.98px) {
  .lk-whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  body.lk-public .scroll-top {
    right: 18px;
    width: 44px;
    height: 44px;
  }

  body.lk-public .scroll-top.active {
    bottom: 82px; /* 18 + 52 + 12 */
  }
}

.lk-hero-pro {
  position: relative;
  padding: 56px 0 40px !important;
  overflow: hidden;
  min-height: 0 !important;
  background: transparent !important;
}

.lk-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #fff8f3 45%, #f8fafc 100%);
  z-index: 0;
}

.lk-hero-bg::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 55%;
  height: 80%;
  background: radial-gradient(circle, rgba(253, 126, 20, 0.08) 0%, transparent 70%);
}

.lk-hero-content { position: relative; z-index: 1; }

.lk-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(253, 126, 20, 0.12);
  color: var(--lk-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(253, 126, 20, 0.2);
}

.lk-pulse {
  width: 8px;
  height: 8px;
  background: var(--lk-accent);
  border-radius: 50%;
  animation: lk-pulse 2s infinite;
}

@keyframes lk-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.lk-hero-title {
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  margin-bottom: 20px;
}

.lk-hero-title em {
  font-style: italic;
  color: var(--lk-primary);
}

.lk-hero-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--lk-text-muted);
  margin-bottom: 24px;
  max-width: 520px;
}

.lk-hero-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.lk-hero-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.lk-hero-checklist i {
  color: var(--lk-accent);
  margin-top: 2px;
}

.lk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.lk-btn-lg {
  padding: 16px 32px !important;
  font-size: 1rem !important;
}

.lk-hero-note {
  font-size: 0.85rem;
  color: var(--lk-text-muted);
  margin-bottom: 28px;
}

.lk-hero-visual { position: relative; z-index: 1; }

.lk-hero-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(2, 66, 105, 0.15);
  border: 6px solid #fff;
}

.lk-hero-frame .img-container {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.lk-hero-frame .img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lk-hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(2, 66, 105, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
  z-index: 2;
  animation: lk-float 4s ease-in-out infinite;
}

.lk-hero-float i {
  font-size: 1.25rem;
  color: var(--lk-accent);
  background: rgba(253, 126, 20, 0.12);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.lk-hero-float strong {
  display: block;
  font-size: 0.82rem;
  font-family: var(--lk-font-sans);
}

.lk-hero-float small {
  color: var(--lk-text-muted);
  font-size: 0.72rem;
}

.lk-hero-float-1 { top: 12%; left: -4%; }
.lk-hero-float-2 { bottom: 14%; right: -4%; animation-delay: 1.5s; }

@keyframes lk-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.lk-trust-strip {
  background: var(--lk-surface);
  border-bottom: 1px solid var(--lk-border);
  padding: 20px 0;
}

.lk-trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px 40px;
}

.lk-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lk-trust-item i { color: var(--lk-accent); font-size: 1.1rem; }

.lk-section-compact { padding: 48px 0; }

.lk-pillar-card {
  display: block;
  height: 100%;
  background: var(--lk-surface);
  border: 1px solid var(--lk-border);
  border-radius: var(--lk-radius);
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--lk-shadow-sm);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}

.lk-pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lk-primary), var(--lk-accent));
  transform: scaleX(0);
  transition: transform 0.35s;
}

.lk-pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--lk-shadow-hover);
  color: inherit;
}

.lk-pillar-card:hover::before { transform: scaleX(1); }

.lk-pillar-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--lk-accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.lk-pillar-icon {
  font-size: 2rem;
  color: var(--lk-primary);
  margin-bottom: 16px;
  display: block;
}

.lk-pillar-card h3 { font-size: 1.25rem; margin-bottom: 12px; }

.lk-pillar-card p {
  color: var(--lk-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.lk-pillar-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--lk-accent);
}

.lk-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.28s;
}

.lk-btn-whatsapp:hover {
  background: #1fb855;
  color: #fff !important;
  transform: translateY(-2px);
}

.lk-btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff !important;
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.lk-btn-outline-light:hover {
  background: #fff;
  color: var(--lk-primary) !important;
}

.lk-mega-cta { padding: 0 0 80px; }

.lk-mega-cta-inner {
  background: linear-gradient(125deg, #024269 0%, #0369a1 50%, #024269 100%);
  border-radius: 28px;
  padding: 56px 48px;
  color: #fff;
  box-shadow: 0 24px 64px rgba(2, 66, 105, 0.25);
  position: relative;
  overflow: hidden;
}

/* White type on navy — override global heading colors */
body.lk-public .lk-mega-cta-inner .lk-mega-cta-headline,
body.lk-public .lk-mega-cta-inner h2 {
  color: #fff !important;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 16px;
}

body.lk-public .lk-mega-cta-inner .lk-mega-cta-text,
body.lk-public .lk-mega-cta-inner p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.05rem;
  line-height: 1.7;
}

body.lk-public .lk-mega-cta-inner .lk-badge-light {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.lk-mega-cta .lk-btn-on-dark-outline.w-100 {
  justify-content: center;
}

.lk-badge-light {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.lk-page-hero {
  padding: 100px 0 48px !important;
  background: linear-gradient(135deg, #f0f7ff 0%, #fff8f3 45%, #f8fafc 100%) !important;
}

body.lk-public .portrait-type-card {
  background: var(--lk-surface) !important;
  border: 1px solid var(--lk-border) !important;
  box-shadow: var(--lk-shadow) !important;
  border-radius: var(--lk-radius) !important;
}

body.lk-public .how-it-works-section {
  background: var(--lk-bg-alt) !important;
}

body.lk-public .demo-tab-btn.active {
  background: var(--lk-primary) !important;
  color: #fff !important;
}

@media (max-width: 991px) {
  .lk-hero-float { display: none; }
  .lk-mega-cta-inner { padding: 40px 28px; }
}

@media (max-width: 768px) {
  .lk-hero-actions { flex-direction: column; }
  .lk-hero-actions .lk-btn-lg { width: 100%; justify-content: center; }
}
