/* Premium LBS ChildSafe homepage theme. Content and routes remain in index.php. */
:root {
  --brand-blue: #1769E0;
  --brand-navy: #102A56;
  --brand-teal: #00A6A6;
  --brand-green: #17B978;
  --brand-sky: #EAF5FF;
  --brand-mint: #E9FAF2;
  --brand-purple: #8054E8;
  --brand-orange: #F59E0B;
  --page-bg: #F8FAFF;
  --text-primary: #14243B;
  --text-secondary: #64748B;
  --premium-border: rgba(23, 105, 224, .12);
  --premium-shadow: 0 18px 48px rgba(16, 42, 86, .09);
}

html { background: var(--page-bg); }
body {
  font-family: "Plus Jakarta Sans", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-primary);
  background: var(--page-bg);
}
h1, h2, h3, h4, .section-title, .brand-name { letter-spacing: -.035em; }
.section-title { color: var(--brand-navy); }
.section-subtitle { max-width: 760px; font-size: 15px; line-height: 1.75; }

.topbar { background: var(--brand-navy); }
.header { border-bottom-color: rgba(23, 105, 224, .1); box-shadow: 0 8px 28px rgba(16, 42, 86, .05); }
.nav-links a { color: #52637A; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-blue); background: var(--brand-sky); }
.btn { min-height: 46px; padding-inline: 20px; border-radius: 13px; font-weight: 700; letter-spacing: -.01em; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
  box-shadow: 0 10px 24px rgba(23, 105, 224, .22);
}
.btn-primary:hover { color: #fff; background: linear-gradient(135deg, #1259c0, #008b8b); box-shadow: 0 15px 28px rgba(23, 105, 224, .28); transform: translateY(-2px); }
.btn-outline { color: var(--brand-blue); border-color: rgba(23, 105, 224, .28); background: rgba(255,255,255,.82); }
.btn-outline:hover { color: var(--brand-navy); border-color: var(--brand-blue); background: var(--brand-sky); transform: translateY(-2px); }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 166, 166, .3), transparent 28%),
    radial-gradient(circle at 12% 85%, rgba(23, 185, 120, .18), transparent 30%),
    linear-gradient(135deg, #102A56 0%, #1769E0 63%, #087f89 100%);
}
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; pointer-events: none; }
.hero::before { width: 460px; height: 460px; right: -140px; top: -190px; box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 58px rgba(255,255,255,.018); }
.hero::after { width: 240px; height: 240px; left: -110px; bottom: -130px; background: rgba(255,255,255,.04); }
.hero h1 { color: #fff; }
.hero h1 span { background: linear-gradient(100deg, #8FF2C7, #B5F4FF, #D7C4FF); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy { color: rgba(255,255,255,.8); }
.hero-lead { color: #D9FFF0; }
.hero-topic-divider { color: rgba(255,255,255,.45); }
.hero-topic-icon { background: rgba(255,255,255,.13) !important; color: #fff !important; box-shadow: none; }
.hero-illustration::before { background: radial-gradient(circle, rgba(255,255,255,.34), rgba(142,232,229,.14) 55%, transparent 72%); }
.mini-feature { color: #fff; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.1); box-shadow: 0 12px 25px rgba(0,0,0,.1); backdrop-filter: blur(10px); }
.mini-feature .icon-circle { background: rgba(255,255,255,.16); color: #fff; box-shadow: none; }

.feature-item, .why-card, .step, .pricing-card, .partner-card, .income-card, .contact-panel, .contact-card {
  border-color: var(--premium-border);
  box-shadow: var(--premium-shadow);
}
.feature-item > i, .why-card > i, .step-icon, .partner-category-icon { box-shadow: 0 9px 20px rgba(16,42,86,.1); }
.feature-item { background: rgba(255,255,255,.88); }
.why-card { background: linear-gradient(145deg, #fff 25%, var(--brand-sky)); }
.why-card:nth-child(1) { background: linear-gradient(145deg, #fff 25%, var(--brand-mint)); }
.why-card:nth-child(2) { background: linear-gradient(145deg, #fff 25%, #effafa); }
.why-card:nth-child(3) { background: linear-gradient(145deg, #fff 25%, #f4efff); }
.why-card:nth-child(4) { background: linear-gradient(145deg, #fff 25%, #fff7e8); }

.journey-section { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #F5FAFF 100%); }
.journey-section::before { content:""; position:absolute; z-index:-1; width:420px; height:420px; top:30px; right:-210px; border-radius:50%; background:radial-gradient(circle, rgba(0,166,166,.11), transparent 68%); }
.journey-eyebrow, .partner-eyebrow { color: var(--brand-teal); }
.journey-section .step { background-color: #fff; border-radius: 22px; }
.journey-section .step:nth-child(1) { --step-accent: var(--brand-blue); }
.journey-section .step:nth-child(2) { --step-accent: var(--brand-teal); }
.journey-section .step:nth-child(3) { --step-accent: var(--brand-purple); }
.journey-section .step:nth-child(4) { --step-accent: var(--brand-green); }
.journey-section .step:nth-child(5) { --step-accent: #168CBA; }
.journey-section .step:nth-child(6) { --step-accent: var(--brand-orange); }
.journey-section .step-icon { background: color-mix(in srgb, var(--step-accent) 12%, white); }

.subscription-section { background: linear-gradient(180deg, var(--page-bg), #fff); }
.pricing-card { border-radius: 26px; }
.pricing-card-basic { border-top-color: var(--brand-blue); }
.pricing-card-pro { border-top-color: var(--brand-green); background: linear-gradient(155deg, #fff, var(--brand-mint)); }
.pricing-card h3, .pricing-comparison h3 { font-family: inherit; color: var(--brand-navy); }
.pricing-button { border-radius: 13px; }
.pricing-card-pro .pricing-button { background: linear-gradient(135deg, var(--brand-green), var(--brand-teal)); box-shadow: 0 10px 22px rgba(23,185,120,.22); }

.pro-partner-section { background: linear-gradient(135deg, #102A56 0%, #1769E0 58%, #008E8E 100%); }
.pro-partner-section .section-title, .pro-partner-section .pro-partner-subheading, .pro-partner-section .pro-partner-description, .pro-partner-section .pro-partner-tagline { color: #fff; }
.pro-partner-section .pro-partner-header .section-title { background: linear-gradient(100deg, #fff, #A8FFE0); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.pro-partner-section .partner-category-card { border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.96); }
.pro-partner-section .pro-partner-income-heading h3, .pro-partner-section .pro-partner-income-heading p, .pro-partner-section .pro-partner-actions h3, .pro-partner-section .pro-partner-actions p { color: #fff; }
.pro-partner-section .btn-outline { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.pro-partner-section .btn-outline:hover { color: var(--brand-navy); background: #fff; }

.footer { background: var(--brand-navy); }
.footer a:hover { color: #8FF2C7; }

@media (max-width: 800px) {
  .hero { padding-top: 58px; }
  .hero-grid { gap: 18px; }
}
@media (max-width: 520px) {
  .hero { padding-top: 46px; }
  .hero h1 { font-size: clamp(36px, 11vw, 52px); }
  .hero-buttons .btn { width: 100%; }
  .journey-section .step { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Premium public footer */
.footer-cta { position:relative; isolation:isolate; overflow:hidden; padding:28px 0; background:var(--page-bg); }
.footer-cta-inner { position:relative; display:flex; align-items:center; gap:20px; padding:30px 34px; overflow:hidden; border-radius:24px; background:linear-gradient(120deg,#1769E0,#00A6A6 72%,#17B978); box-shadow:0 20px 45px rgba(23,105,224,.2); }
.footer-cta-inner::before,.footer-cta-inner::after { content:""; position:absolute; pointer-events:none; border:1px solid rgba(255,255,255,.22); border-radius:50%; }
.footer-cta-inner::before { width:240px; height:240px; right:-80px; top:-130px; box-shadow:0 0 0 22px rgba(255,255,255,.05),0 0 0 46px rgba(255,255,255,.035); }
.footer-cta-inner::after { width:120px; height:120px; left:32%; bottom:-90px; background:rgba(255,255,255,.06); }
.footer-cta-icon { position:relative; z-index:1; width:66px; height:66px; flex:0 0 66px; display:grid; place-items:center; border-radius:20px; color:#fff; background:rgba(255,255,255,.18); font-size:28px; box-shadow:inset 0 1px 0 rgba(255,255,255,.25); }
.footer-cta-copy { position:relative; z-index:1; flex:1; }
.footer-cta-copy h2 { margin:0 0 6px; color:#fff; font-size:clamp(22px,3vw,32px); }
.footer-cta-copy p { max-width:670px; margin:0; color:rgba(255,255,255,.84); font-size:13px; line-height:1.65; }
.footer-cta-actions { position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:10px; }
.footer-cta .btn-outline { color:#fff; border-color:rgba(255,255,255,.55); background:rgba(255,255,255,.08); }
.footer-cta .btn-outline:hover { color:var(--brand-navy); background:#fff; }
.premium-footer { position:relative; isolation:isolate; overflow:hidden; padding:72px 0 24px; color:#fff; background:radial-gradient(circle at 86% 8%,rgba(59,130,246,.25),transparent 26%),radial-gradient(circle at 8% 92%,rgba(0,166,166,.2),transparent 28%),linear-gradient(135deg,#081B38 0%,#103D78 58%,#073D48 100%); }
.premium-footer::before { content:""; position:absolute; z-index:-1; inset:0; pointer-events:none; opacity:.19; background-image:radial-gradient(rgba(255,255,255,.45) .7px,transparent .7px); background-size:18px 18px; mask-image:linear-gradient(135deg,transparent 15%,#000 100%); }
.premium-footer::after { content:""; position:absolute; z-index:-1; width:360px; height:360px; right:-210px; bottom:-220px; pointer-events:none; border:1px solid rgba(255,255,255,.12); border-radius:50%; box-shadow:0 0 0 26px rgba(255,255,255,.035),0 0 0 54px rgba(255,255,255,.025); }
.footer-orb,.footer-ring { position:absolute; z-index:-1; pointer-events:none; }
.footer-orb { width:180px; height:180px; border-radius:50%; filter:blur(2px); opacity:.35; }
.footer-orb-one { top:-100px; right:12%; background:radial-gradient(circle,#3B82F6,transparent 68%); }
.footer-orb-two { bottom:-120px; left:22%; background:radial-gradient(circle,#22C55E,transparent 68%); }
.footer-ring { width:180px; height:180px; left:-90px; top:42%; border:1px solid rgba(255,255,255,.12); border-radius:50%; }
.premium-footer .footer-grid { position:relative; grid-template-columns:1.5fr 1fr 1.15fr 1.35fr; gap:42px; }
.footer-logo { width:auto; height:62px; margin-bottom:18px; padding:6px; border-radius:12px; background:#fff; }
.premium-footer .footer-description { max-width:275px; margin:0; color:rgba(255,255,255,.72); font-size:13px; line-height:1.75; }
.footer-feature-pills { display:flex; flex-wrap:wrap; gap:7px; margin-top:20px; }
.footer-feature-pills span { display:inline-flex; align-items:center; gap:6px; padding:7px 9px; border:1px solid rgba(255,255,255,.14); border-radius:999px; color:rgba(255,255,255,.8); background:rgba(255,255,255,.07); font-size:10px; }
.footer-feature-pills i { color:#8FF2C7; }
.premium-footer .footer-title { margin:4px 0 18px; color:#fff; font-size:15px; font-weight:800; letter-spacing:.01em; }
.premium-footer .footer-links { display:grid; gap:11px; }
.premium-footer .footer-links li { color:rgba(255,255,255,.68); font-size:12px; }
.premium-footer .footer-links a { position:relative; display:inline-flex; align-items:center; gap:8px; color:rgba(255,255,255,.72); transition:color .2s ease, transform .2s ease; }
.premium-footer .footer-links a::after { content:""; position:absolute; right:0; bottom:-3px; left:22px; height:1px; transform:scaleX(0); transform-origin:left; background:#8FF2C7; transition:transform .2s ease; }
.premium-footer .footer-links a:hover,.premium-footer .footer-links a:focus-visible { color:#8FF2C7; transform:translateX(3px); }
.premium-footer .footer-links a:hover::after,.premium-footer .footer-links a:focus-visible::after { transform:scaleX(1); }
.premium-footer .footer-links i { width:14px; color:#5DB4FF; font-size:10px; transition:transform .2s ease; }
.premium-footer .footer-links a:hover i { transform:translateX(3px); }
.footer-contact-list { display:grid; gap:13px; margin:0; padding:0; list-style:none; }
.footer-contact-list li { display:flex; align-items:center; gap:10px; color:rgba(255,255,255,.72); font-size:12px; line-height:1.5; }
.footer-contact-list a { color:rgba(255,255,255,.82); transition:color .2s ease; }
.footer-contact-list a:hover { color:#8FF2C7; }
.footer-contact-icon { width:38px; height:38px; flex:0 0 38px; display:grid; place-items:center; border-radius:12px; font-size:16px; }
.footer-icon-blue { color:#7DBBFF; background:rgba(59,130,246,.2); }
.footer-icon-green { color:#8FF2C7; background:rgba(34,197,94,.18); }
.footer-icon-orange { color:#FFD18A; background:rgba(245,158,11,.19); }
.footer-icon-purple { color:#D8C6FF; background:rgba(128,84,232,.2); }
.premium-footer .footer-bottom { position:relative; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-top:48px; padding-top:20px; border-top:1px solid rgba(255,255,255,.14); color:rgba(255,255,255,.58); font-size:11px; }
.footer-legal { display:flex; flex-wrap:wrap; gap:16px; }
.footer-legal a { color:rgba(255,255,255,.68); transition:color .2s ease; }
.footer-legal a:hover { color:#8FF2C7; }
.footer-trust { display:inline-flex; align-items:center; gap:6px; color:rgba(255,255,255,.72); }
.footer-trust i { color:#8FF2C7; }
@media (max-width:900px) { .premium-footer .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .footer-brand { grid-column:1 / -1; } .footer-cta-inner { align-items:flex-start; flex-wrap:wrap; } .footer-cta-copy { flex-basis:calc(100% - 90px); } .footer-cta-actions { width:100%; margin-left:86px; } }
@media (max-width:520px) { .footer-cta { padding:20px 0; } .footer-cta-inner { padding:24px 20px; } .footer-cta-icon { width:54px; height:54px; flex-basis:54px; font-size:22px; } .footer-cta-copy { flex-basis:calc(100% - 74px); } .footer-cta-actions { margin-left:0; flex-direction:column; } .footer-cta-actions .btn { width:100%; } .premium-footer { padding:52px 0 22px; } .premium-footer .footer-grid { grid-template-columns:1fr; gap:30px; } .footer-brand { grid-column:auto; } .premium-footer .footer-bottom { align-items:center; flex-direction:column; text-align:center; } .footer-legal { justify-content:center; } }
