/* ==========================================================================
   Landing Page Stylesheet — shared by term-insurance.php / health-insurance.php
   Self-contained (no Tailwind dependency) to keep PPC landing pages fast
   and visually guaranteed-correct regardless of the main site's CSS build.
   ========================================================================== */

:root {
  --lp-blue: #2563eb;
  --lp-blue-dark: #1d4ed8;
  --lp-navy: #0f172a;
  --lp-green: #10b981;
  --lp-green-dark: #059669;
  --lp-amber: #f59e0b;
  --lp-slate-900: #0f172a;
  --lp-slate-700: #334155;
  --lp-slate-500: #64748b;
  --lp-slate-300: #cbd5e1;
  --lp-slate-100: #f1f5f9;
  --lp-slate-50: #f8fafc;
  --lp-border: #e2e8f0;
  --lp-radius: 14px;
  --lp-shadow: 0 8px 24px rgba(15,23,42,.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  color: var(--lp-slate-900);
  line-height: 1.6;
  background: #fff;
  padding-bottom: 64px; /* room for mobile sticky bar */
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; margin: 0; color: var(--lp-slate-900); }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.lp-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.lp-section { padding: 56px 0; }
.lp-section-alt { background: var(--lp-slate-50); }

/* Top bar */
.lp-topbar { border-bottom: 1px solid var(--lp-border); padding: 14px 0; }
.lp-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-logo { display: flex; align-items: center; gap: 10px; }
.lp-logo-mark { position: relative; width: 40px; height: 40px; background: var(--lp-blue); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; box-shadow: 0 4px 10px rgba(37,99,235,.25); }
.lp-logo-mark .badge-dot { position: absolute; right: -3px; bottom: -3px; width: 14px; height: 14px; background: var(--lp-green); border-radius: 50%; border: 2px solid #fff; }
.lp-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.lp-logo-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--lp-navy); }
.lp-logo-title span { color: var(--lp-green-dark); }
.lp-logo-tagline { font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-slate-500); margin-top: 1px; }
.lp-topbar-cta { display: flex; align-items: center; gap: 10px; }
.lp-call-badge { display: flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 700; color: var(--lp-slate-900); }
.lp-call-badge svg { color: var(--lp-green); flex-shrink: 0; }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 10px; font-weight: 700; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: .15s; font-family: inherit; }
.lp-btn-primary { background: var(--lp-blue); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,.25); }
.lp-btn-primary:hover { background: var(--lp-blue-dark); }
.lp-btn-whatsapp { background: var(--lp-green); color: #fff; }
.lp-btn-whatsapp:hover { background: var(--lp-green-dark); }
.lp-btn-outline { background: #fff; color: var(--lp-blue); border-color: var(--lp-blue); }
.lp-btn-block { width: 100%; }

/* Hero */
.lp-hero { background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%); padding: 40px 0 56px; }
.lp-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.lp-eyebrow { display: inline-block; background: #dbeafe; color: var(--lp-blue-dark); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.lp-hero h1 { font-size: 2.4rem; line-height: 1.15; margin-bottom: 14px; }
.lp-hero h1 .accent { color: var(--lp-blue); }
.lp-hero-sub { font-size: 1.05rem; color: var(--lp-slate-700); margin-bottom: 20px; max-width: 520px; }
.lp-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.lp-trust-row { display: flex; flex-wrap: wrap; gap: 16px; }
.lp-trust-row .item { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--lp-slate-700); font-weight: 500; }
.lp-trust-row svg { color: var(--lp-green); flex-shrink: 0; }

/* Form card */
.lp-form-card { background: #fff; border-radius: var(--lp-radius); box-shadow: var(--lp-shadow); border: 1px solid var(--lp-border); padding: 26px; position: sticky; top: 20px; }
.lp-form-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.lp-form-card .sub { font-size: .82rem; color: var(--lp-slate-500); margin-bottom: 18px; display: block; }
.lp-field { margin-bottom: 12px; }
.lp-field label { display: block; font-size: .78rem; font-weight: 600; color: var(--lp-slate-700); margin-bottom: 5px; }
.lp-field input, .lp-field select, .lp-field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--lp-border); border-radius: 9px;
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--lp-slate-900);
}
.lp-field input:focus, .lp-field select:focus, .lp-field textarea:focus { outline: 2px solid var(--lp-blue); outline-offset: 1px; border-color: var(--lp-blue); }
.lp-field textarea { min-height: 64px; resize: vertical; }
.lp-form-note { font-size: .72rem; color: var(--lp-slate-500); text-align: center; margin-top: 10px; }
.lp-alert { padding: 12px 14px; border-radius: 9px; font-size: .85rem; margin-bottom: 14px; }
.lp-alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.lp-alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Section head */
.lp-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.lp-head .lp-eyebrow { margin-bottom: 10px; }
.lp-head h2 { font-size: 1.85rem; margin-bottom: 8px; }
.lp-head p { color: var(--lp-slate-500); font-size: .95rem; }

/* Benefit grid */
.lp-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-benefit-card { background: #fff; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 22px; }
.lp-benefit-icon { width: 44px; height: 44px; border-radius: 10px; background: #dbeafe; color: var(--lp-blue); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.lp-benefit-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.lp-benefit-card p { font-size: 1rem; color: var(--lp-slate-500); }

/* Advisor trust strip */
.lp-advisor { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; background: var(--lp-navy); border-radius: var(--lp-radius); padding: 28px; color: #fff; }
.lp-advisor img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.15); }
.lp-advisor h4 { color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.lp-advisor .role { color: #93c5fd; font-size: .82rem; margin-bottom: 8px; display: block; }
.lp-advisor p.desc { color: #cbd5e1; font-size: 1rem; line-height: 1.6; }

/* Comparison table */
.lp-table-wrap { overflow-x: auto; border-radius: var(--lp-radius); border: 1px solid var(--lp-border); }
.lp-table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: .87rem; }
.lp-table th { background: var(--lp-slate-50); text-align: left; padding: 13px 16px; font-weight: 700; color: var(--lp-slate-900); border-bottom: 1px solid var(--lp-border); }
.lp-table td { padding: 13px 16px; border-bottom: 1px solid var(--lp-border); color: var(--lp-slate-700); }
.lp-table tr:last-child td { border-bottom: none; }
.lp-table td.yes { color: var(--lp-green-dark); font-weight: 700; }
.lp-table th.highlight, .lp-table td.highlight { background: #eff6ff; }

/* Testimonials */
.lp-testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-testi-card { background: #fff; border: 1px solid var(--lp-border); border-radius: var(--lp-radius); padding: 22px; }
.lp-testi-card .stars { color: var(--lp-amber); font-size: .9rem; margin-bottom: 8px; }
.lp-testi-card p { font-size: .98rem; color: var(--lp-slate-700); margin-bottom: 12px; line-height: 1.6; }
.lp-testi-card .author { font-weight: 700; font-size: .85rem; color: var(--lp-slate-900); }

/* FAQ */
.lp-faq-item { border-bottom: 1px solid var(--lp-border); }
.lp-faq-q { width: 100%; text-align: left; background: none; border: none; padding: 17px 4px; font-size: 1.02rem; font-weight: 600; color: var(--lp-slate-900); display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; font-family: inherit; }
.lp-faq-q .icon { flex-shrink: 0; transition: transform .2s; color: var(--lp-blue); font-size: 1.1rem; }
.lp-faq-item.open .lp-faq-q .icon { transform: rotate(45deg); }
.lp-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; font-size: .98rem; color: var(--lp-slate-500); padding: 0 4px; line-height: 1.65; }
.lp-faq-item.open .lp-faq-a { max-height: 320px; padding-bottom: 16px; }

/* Final CTA band */
.lp-cta-band { background: var(--lp-blue); border-radius: var(--lp-radius); padding: 40px; text-align: center; color: #fff; }
.lp-cta-band h2 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.lp-cta-band p { color: #dbeafe; margin-bottom: 22px; font-size: 1.02rem; }
.lp-cta-band .lp-btn-primary { background: #fff; color: var(--lp-blue); box-shadow: none; }
.lp-cta-band .lp-btn-primary:hover { background: #f1f5f9; }

/* Footer */
.lp-footer { border-top: 1px solid var(--lp-border); padding: 28px 0; }
.lp-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.lp-footer p { font-size: .78rem; color: var(--lp-slate-500); }
.lp-footer .links a { font-size: .78rem; color: var(--lp-slate-500); margin: 0 8px; }
.lp-footer .links a:hover { color: var(--lp-blue); }

/* Sticky mobile CTA */
.lp-mobile-bar { display: none; }

@media (max-width: 900px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-form-card { position: static; }
  .lp-benefits-grid { grid-template-columns: 1fr 1fr; }
  .lp-testi-grid { grid-template-columns: 1fr; }
  .lp-advisor { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 600px) {
  .lp-hero h1 { font-size: 1.7rem; }
  .lp-benefits-grid { grid-template-columns: 1fr; }
  .lp-topbar-cta .lp-call-badge span.txt { display: none; }
  .lp-cta-band { padding: 28px 20px; }
  .lp-mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 50; box-shadow: 0 -4px 16px rgba(0,0,0,.1);
  }
  .lp-mobile-bar a { padding: 14px 6px; font-size: .85rem; font-weight: 700; text-align: center; display: flex; align-items: center; justify-content: center; gap: 6px; }
  .lp-mobile-bar .call { background: var(--lp-navy); color: #fff; }
  .lp-mobile-bar .wa { background: var(--lp-green); color: #fff; }
}