*, *::before, *::after { box-sizing: border-box; }

:root {
  --color-background-primary: #ffffff;
  --color-text-primary: #042C53;
  --color-text-secondary: #4a6f94;
  --color-border-tertiary: #d0e4f5;
  --border-radius-lg: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f5f8fc;
  color: var(--color-text-primary);
}

/* ── Nav ── */
.lid-nav {
  background: #0C447C;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.lid-nav-logo { color: #E6F1FB; font-size: 16px; font-weight: 500; letter-spacing: -0.3px; text-decoration: none; display: flex; align-items: center; }
.lid-nav-logo span { color: #85B7EB; }
.lid-nav-logo-img { height: 40px; width: auto; display: block; }
.lid-footer-logo { height: 32px; width: auto; margin-bottom: 8px; display: block; }
.lid-nav-links { display: flex; gap: 24px; }
.lid-nav-links a { color: #B5D4F4; font-size: 13px; text-decoration: none; }
.lid-nav-links a:hover { color: #E6F1FB; }
.lid-btn-ghost { background: transparent; border: 0.5px solid #85B7EB; color: #E6F1FB; padding: 6px 16px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.lid-btn-primary { background: #E6F1FB; border: none; color: #0C447C; padding: 6px 16px; border-radius: 6px; font-size: 13px; font-weight: 500; cursor: pointer; }

/* ── Hero ── */
.lid-hero { background: #E6F1FB; padding: 3rem 2rem 2.5rem; display: flex; gap: 2rem; align-items: center; border-bottom: 0.5px solid #B5D4F4; }
.lid-hero-left { flex: 1; }
.lid-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: #B5D4F4; color: #0C447C; font-size: 11px; padding: 4px 10px; border-radius: 20px; margin-bottom: 1rem; }
.lid-hero-h1 { font-size: 26px; font-weight: 500; color: #042C53; line-height: 1.3; margin: 0 0 1rem; }
.lid-hero-sub { font-size: 14px; color: #185FA5; line-height: 1.7; margin: 0 0 1.5rem; max-width: 360px; }
.lid-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.lid-btn-cta { background: #0C447C; border: none; color: #E6F1FB; padding: 10px 22px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-block; }
.lid-btn-sec { background: white; border: 0.5px solid #185FA5; color: #185FA5; padding: 10px 22px; border-radius: 8px; font-size: 13px; cursor: pointer; text-decoration: none; display: inline-block; }
.lid-hero-right { flex: 1; display: flex; justify-content: center; }

/* ── ID Card ── */
.lid-id-card { background: white; border: 0.5px solid #B5D4F4; border-radius: 12px; padding: 1.25rem; width: 240px; }
.lid-id-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.lid-avatar { width: 44px; height: 44px; border-radius: 50%; background: #B5D4F4; display: flex; align-items: center; justify-content: center; color: #0C447C; font-size: 14px; font-weight: 500; flex-shrink: 0; }
.lid-id-name { font-size: 14px; font-weight: 500; color: #042C53; margin: 0; }
.lid-id-role { font-size: 12px; color: #185FA5; margin: 0; }
.lid-badge-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.lid-vbadge { background: #E6F1FB; color: #0C447C; font-size: 10px; padding: 3px 8px; border-radius: 20px; display: flex; align-items: center; gap: 4px; }
.lid-score-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.lid-score { background: #E6F1FB; border-radius: 6px; padding: 6px; text-align: center; }
.lid-score-val { font-size: 15px; font-weight: 500; color: #0C447C; }
.lid-score-lbl { font-size: 10px; color: #185FA5; }
.lid-qr { width: 48px; height: 48px; background: #042C53; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.lid-card-url { font-size: 10px; color: #185FA5; }

/* ── Trust bar ── */
.lid-trust-bar { background: white; border-bottom: 0.5px solid var(--color-border-tertiary); padding: 1rem 2rem; display: flex; align-items: center; gap: 2rem; overflow-x: auto; }
.lid-trust-item { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.lid-trust-item i { color: #185FA5; font-size: 16px; }
.lid-trust-item span { font-size: 12px; color: var(--color-text-secondary); }

/* ── Products ── */
.lid-section { padding: 2rem; }
.lid-section-label { font-size: 11px; color: #185FA5; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 6px; }
.lid-section-h2 { font-size: 20px; font-weight: 500; color: var(--color-text-primary); margin: 0 0 1.5rem; }
.lid-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.lid-product-card { background: var(--color-background-primary); border: 0.5px solid var(--color-border-tertiary); border-radius: 12px; padding: 1rem; }
.lid-product-icon { width: 36px; height: 36px; border-radius: 8px; background: #E6F1FB; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.lid-product-icon i { color: #0C447C; font-size: 18px; }
.lid-product-name { font-size: 13px; font-weight: 500; color: var(--color-text-primary); margin: 0 0 4px; }
.lid-product-desc { font-size: 12px; color: var(--color-text-secondary); line-height: 1.5; margin: 0 0 10px; }
.lid-product-price { font-size: 12px; color: #0C447C; font-weight: 500; }

/* ── How it works ── */
.lid-how { background: #E6F1FB; padding: 2rem; border-top: 0.5px solid #B5D4F4; border-bottom: 0.5px solid #B5D4F4; }
.lid-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 1.5rem; }
.lid-step { background: white; border: 0.5px solid #B5D4F4; border-radius: 12px; padding: 1rem; text-align: center; }
.lid-step-num { width: 28px; height: 28px; border-radius: 50%; background: #0C447C; color: #E6F1FB; font-size: 12px; font-weight: 500; display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; }
.lid-step-title { font-size: 13px; font-weight: 500; color: #042C53; margin: 0 0 4px; }
.lid-step-desc { font-size: 11px; color: #185FA5; line-height: 1.5; margin: 0; }

/* ── Tiers ── */
.lid-tiers { padding: 2rem; }
.lid-tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 1.5rem; }
.lid-tier { border: 0.5px solid var(--color-border-tertiary); border-radius: 12px; padding: 1rem; background: var(--color-background-primary); }
.lid-tier.featured { border: 2px solid #185FA5; }
.lid-tier-badge { font-size: 10px; background: #E6F1FB; color: #0C447C; padding: 2px 8px; border-radius: 20px; margin-bottom: 8px; display: inline-block; }
.lid-tier-name { font-size: 14px; font-weight: 500; color: var(--color-text-primary); margin: 0 0 2px; }
.lid-tier-price { font-size: 22px; font-weight: 500; color: #0C447C; margin: 6px 0 2px; }
.lid-tier-per { font-size: 11px; color: var(--color-text-secondary); margin: 0 0 10px; }
.lid-tier-features { list-style: none; padding: 0; margin: 0; }
.lid-tier-features li { font-size: 11px; color: var(--color-text-secondary); padding: 3px 0; display: flex; align-items: center; gap: 6px; }
.lid-tier-features li i { color: #185FA5; font-size: 13px; }

/* ── Stats ── */
.lid-stats { background: #0C447C; padding: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; }
.lid-stat { text-align: center; }
.lid-stat-val { font-size: 28px; font-weight: 500; color: #E6F1FB; }
.lid-stat-lbl { font-size: 12px; color: #85B7EB; margin-top: 2px; }

/* ── CTA Banner ── */
.lid-cta-banner { background: #E6F1FB; border-top: 0.5px solid #B5D4F4; padding: 2rem; text-align: center; }
.lid-cta-banner h3 { font-size: 20px; font-weight: 500; color: #042C53; margin: 0 0 8px; }
.lid-cta-banner p { font-size: 13px; color: #185FA5; margin: 0 0 1.25rem; }
.lid-cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.lid-footer { background: #042C53; padding: 1.5rem 2rem; }
.lid-footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.lid-footer-brand { color: #E6F1FB; font-size: 16px; font-weight: 500; margin: 0 0 6px; }
.lid-footer-brand span { color: #85B7EB; }
.lid-footer-tagline { font-size: 12px; color: #85B7EB; margin: 0 0 12px; line-height: 1.5; }
.lid-footer-social { display: flex; gap: 10px; }
.lid-footer-social i { color: #85B7EB; font-size: 18px; }
.lid-footer-col h4 { font-size: 12px; font-weight: 500; color: #B5D4F4; margin: 0 0 8px; }
.lid-footer-col a { display: block; font-size: 12px; color: #85B7EB; text-decoration: none; margin-bottom: 5px; }
.lid-footer-col a:hover { color: #E6F1FB; }
.lid-footer-bottom { border-top: 0.5px solid #185FA5; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.lid-footer-copy { font-size: 11px; color: #85B7EB; }
.lid-footer-links { display: flex; gap: 16px; }
.lid-footer-links a { font-size: 11px; color: #85B7EB; text-decoration: none; }

/* ── Hamburger button ── */
.lid-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0.5px solid #85B7EB;
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.lid-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #E6F1FB;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center;
}
.lid-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.lid-hamburger.is-open span:nth-child(2) { opacity: 0; }
.lid-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile drawer ── */
.lid-mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0; right: 0; bottom: 0;
  background: rgba(4,44,83,0.55);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.2s;
}
.lid-mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lid-mobile-menu-inner {
  background: #0C447C;
  padding: 1rem 0 2rem;
  display: flex;
  flex-direction: column;
  transform: translateY(-8px);
  transition: transform 0.2s;
  border-bottom: 0.5px solid #185FA5;
}
.lid-mobile-menu.is-open .lid-mobile-menu-inner {
  transform: translateY(0);
}
.lid-mobile-menu-inner a {
  color: #B5D4F4;
  font-size: 15px;
  text-decoration: none;
  padding: 12px 24px;
  border-bottom: 0.5px solid rgba(21,95,165,0.3);
}
.lid-mobile-menu-inner a:last-child { border-bottom: none; }
.lid-mobile-menu-inner a:hover, .lid-mobile-menu-inner a:active { background: rgba(255,255,255,0.06); color: #E6F1FB; }
.lid-mobile-menu-divider { height: 0.5px; background: #185FA5; margin: 8px 0; }
.lid-mobile-menu-cta {
  margin: 12px 24px 0 !important;
  background: #E6F1FB;
  color: #0C447C !important;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
  padding: 11px 24px !important;
  border-bottom: none !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .lid-footer-top { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 768px) {
  .lid-hamburger { display: flex; }
  .lid-nav-links { display: none !important; }
  .lid-nav-actions { display: none !important; }
  .lid-mobile-menu { display: block; pointer-events: none; }
}
@media (max-width: 640px) {
  .lid-hero { flex-direction: column; }
  .lid-hero-right { display: none; }
  .lid-footer-top { grid-template-columns: 1fr 1fr; }
}

/* ── Bottom app bar — mobile & tablet only (hidden on desktop) ───────────── */
.lid-appbar { display: none; }
@media (max-width: 1024px) {
  .lid-appbar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #042C53;
    border-top: 0.5px solid #185FA5;
    box-shadow: 0 -2px 10px rgba(4, 44, 83, 0.18);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
  }
  .lid-appbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 2px 7px;
    text-decoration: none;
    color: #85B7EB;
    font-size: 10px;
    line-height: 1;
    text-align: center;
    transition: color .12s, background .12s;
  }
  .lid-appbar a i { font-size: 19px; }
  .lid-appbar a.active { color: #E6F1FB; }
  .lid-appbar a:active { background: rgba(255, 255, 255, 0.06); }
  /* keep page content + footer clear of the fixed bar */
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
}
