/* ══════════════════════════════════════════════
   My LifeGuard — Shared Styles v1.0
   ══════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: #1a2b3c;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: #0b9edf; text-decoration: none; }
a:hover { color: #0879b0; }

/* ── DISCLAIMER BAR ── */
.disclaimer-bar {
    background: #0a1e30;
    color: #8899aa;
    text-align: center;
    font-size: 12px;
    padding: 8px 20px;
    line-height: 1.5;
}
.disclaimer-bar a { color: #7dd3fc; text-decoration: underline; }
.disclaimer-bar a:hover { color: #bae6fd; }

/* ── HEADER / NAV ── */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e9ed;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
}
.logo {
    font-family: 'League Spartan', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #0b9edf;
    font-style: italic;
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    color: #334155;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover { color: #0b9edf; }
.header-cta {
    display: inline-block;
    background: #0b9edf;
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}
.header-cta:hover { background: #0889c4; }

/* ── HERO (page-level) ── */
.page-hero {
    background: linear-gradient(145deg, #0c2844 0%, #1e4f82 50%, #1a6baa 100%);
    text-align: center;
    padding: 52px 24px;
    color: #fff;
}
.page-hero h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(28px, 4.5vw, 38px);
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}
.page-hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── LANDING HERO (bigger) ── */
.landing-hero {
    background: linear-gradient(145deg, #0c2844 0%, #1e4f82 50%, #1a6baa 100%);
    text-align: center;
    padding: 60px 24px 52px;
    color: #fff;
}
.landing-hero-inner {
    max-width: 680px;
    margin: 0 auto;
}
.landing-hero .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    margin-bottom: 24px;
    color: rgba(255,255,255,0.9);
}
.landing-hero h1 {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.landing-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.82);
    max-width: 540px;
    margin: 0 auto 28px;
    line-height: 1.65;
}
.landing-hero .hero-note {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    margin-top: 12px;
}

/* ── BUTTONS ── */
.btn-primary {
    display: inline-block;
    background: #0b9edf;
    color: #fff;
    padding: 15px 38px;
    border-radius: 10px;
    font-family: 'League Spartan', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 16px rgba(11,158,223,0.35);
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background: #0889c4; transform: translateY(-1px); color: #fff; }

.btn-secondary {
    display: inline-block;
    background: #fff;
    color: #0b9edf;
    padding: 15px 38px;
    border-radius: 10px;
    font-family: 'League Spartan', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}
.btn-secondary:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(255,255,255,0.2); color: #0b9edf; }

/* ── SECTION COMMON ── */
.section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 68px 24px;
    text-align: center;
}
.section-inner.text-left { text-align: left; }
.section-label {
    font-family: 'League Spartan', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0b9edf;
    margin-bottom: 6px;
}
.section-title {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 800;
    color: #0c2844;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}
.section-subtitle {
    font-size: 16px;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}
.section-inner.text-left .section-subtitle { margin: 0; }

/* ── CONTENT SECTIONS (for text pages) ── */
.content-section {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px;
}
.content-section h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0c2844;
    margin: 36px 0 12px;
}
.content-section h2:first-child { margin-top: 0; }
.content-section p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}
.content-section a { color: #0b9edf; text-decoration: underline; }
.content-section ul, .content-section ol {
    margin: 12px 0 16px 24px;
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}
.content-section li { margin-bottom: 6px; }

/* ── FEATURE CARDS (landing kit items) ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.feature-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.07);
    border-color: #cbd5e1;
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #fff;
}
.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.feature-icon.blue   { background: linear-gradient(135deg, #0b9edf, #0879b0); }
.feature-icon.amber  { background: linear-gradient(135deg, #f59e0b, #d97706); }
.feature-icon.green  { background: linear-gradient(135deg, #10b981, #059669); }
.feature-icon.red    { background: linear-gradient(135deg, #ef4444, #dc2626); }
.feature-icon.purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.feature-icon.teal   { background: linear-gradient(135deg, #14b8a6, #0d9488); }

.feature-card h3 {
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0c2844;
    margin-bottom: 6px;
}
.feature-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* ── STATS ROW ── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}
.stat-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
}
.stat-number {
    font-family: 'League Spartan', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #0b9edf;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #0c2844;
    margin-bottom: 4px;
}
.stat-source {
    font-size: 12px;
    color: #94a3b8;
}

/* ── STEPS (how it works) ── */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 44px;
    position: relative;
}
.steps-container::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}
.step {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-number {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0c2844;
    color: #fff;
    font-family: 'League Spartan', sans-serif;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.step h3 {
    font-family: 'League Spartan', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #0c2844;
    margin-bottom: 8px;
}
.step p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.55;
    max-width: 260px;
    margin: 0 auto;
}

/* ── FORM SECTION ── */
.form-section {
    background: linear-gradient(145deg, #0c2844 0%, #1e4f82 100%);
    padding: 68px 24px;
}
.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}
.form-wrapper .section-title,
.form-wrapper .section-label { color: #fff; }
.form-wrapper .section-subtitle { color: rgba(255,255,255,0.7); }

.form-disclaimer {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin: 20px 0 24px;
    text-align: left;
}

.form-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Progress bar */
.form-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}
.progress-step {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    font-family: 'League Spartan', sans-serif;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.progress-step.active {
    background: #0b9edf;
    color: #fff;
    box-shadow: 0 2px 8px rgba(11,158,223,0.3);
}
.progress-step.completed {
    background: #10b981;
    color: #fff;
}
.progress-line {
    width: 60px;
    height: 2px;
    background: #e2e8f0;
    transition: background 0.3s;
}
.progress-line.completed { background: #10b981; }
.progress-label {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 6px;
}

.form-step { display: none; }
.form-step.active { display: block; }

.form-step-title {
    font-family: 'League Spartan', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0c2844;
    text-align: center;
    margin-bottom: 4px;
}
.form-step-desc {
    font-size: 14px;
    color: #64748b;
    text-align: center;
    margin-bottom: 24px;
}

.form-row {
    margin-bottom: 18px;
}
.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}
.form-row label .req { color: #ef4444; }
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: #1a2b3c;
    transition: border-color 0.2s;
    background: #fff;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #0b9edf;
    box-shadow: 0 0 0 3px rgba(11,158,223,0.1);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.field-error { border-color: #ef4444 !important; }
.error-msg {
    font-size: 12px;
    color: #ef4444;
    margin-top: 4px;
    display: none;
}
.error-msg.visible { display: block; }

.form-btn {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.15s;
    margin-top: 8px;
}
.form-btn-primary {
    background: #0b9edf;
    color: #fff;
}
.form-btn-primary:hover { background: #0889c4; transform: translateY(-1px); }
.form-btn-back {
    background: #f1f5f9;
    color: #475569;
    margin-top: 10px;
}
.form-btn-back:hover { background: #e2e8f0; }

.form-buttons {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Radio group */
.radio-group {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}
.radio-option {
    flex: 1;
    position: relative;
}
.radio-option input { position: absolute; opacity: 0; }
.radio-option label {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}
.radio-option input:checked + label {
    border-color: #0b9edf;
    background: #f0f9ff;
    color: #0b9edf;
}

/* Thank you */
.thank-you {
    display: none;
    text-align: center;
    padding: 40px 20px;
}
.thank-you.active { display: block; }
.thank-you h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #0c2844;
    margin-bottom: 12px;
}
.thank-you p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Consent text */
.consent-text {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.5;
    margin-top: 16px;
    text-align: left;
}
.consent-text a { color: #0b9edf; }

/* Confirm list */
.confirm-list {
    text-align: left;
    margin: 16px 0;
    list-style: none;
    padding: 0;
}
.confirm-list li {
    font-size: 14px;
    color: #475569;
    padding: 8px 0 8px 28px;
    position: relative;
    line-height: 1.5;
}
.confirm-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

/* ── FAQ ACCORDION ── */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px 56px;
}
.faq-item {
    border-bottom: 1px solid #e5e9ed;
    padding: 24px 0;
}
.faq-item:first-child { border-top: 1px solid #e5e9ed; }
.faq-question {
    font-family: 'League Spartan', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0c2844;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-question::after {
    content: '+';
    font-size: 22px;
    color: #0b9edf;
    flex-shrink: 0;
    transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
    content: '−';
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding-top: 12px;
}
.faq-answer p {
    font-size: 15px;
    color: #475569;
    line-height: 1.7;
}
.faq-answer a { color: #0b9edf; text-decoration: underline; }

/* ── CTA BAND ── */
.cta-band {
    background: linear-gradient(145deg, #0c2844 0%, #1e4f82 100%);
    text-align: center;
    padding: 60px 24px;
    color: #fff;
}
.cta-band h2 {
    font-family: 'League Spartan', sans-serif;
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 800;
    margin-bottom: 12px;
}
.cta-band p {
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    margin-bottom: 28px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ── FOOTER ── */
.site-footer {
    background: #0c1e2e;
    color: #8899aa;
    padding: 48px 24px 28px;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
}
.footer-brand .logo {
    color: #fff;
    font-size: 20px;
    display: block;
    margin-bottom: 10px;
}
.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: #5a7080;
}
.footer-col h4 {
    font-family: 'League Spartan', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #cbd5e1;
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    color: #5a7080;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.2s;
}
.footer-col a:hover { color: #e2e8f0; }
.footer-legal {
    max-width: 1100px;
    margin: 28px auto 0;
    padding-top: 20px;
    border-top: 1px solid #1a2e3e;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    font-size: 12px;
    color: #3d5565;
    gap: 24px;
}
.footer-legal span:first-child {
    max-width: 700px;
    line-height: 1.5;
}
.footer-sources {
    max-width: 1100px;
    margin: 16px auto 0;
    font-size: 11px;
    color: #3d5565;
    line-height: 1.5;
}
.footer-sources a { color: #5a7080; }

/* ── BACKGROUNDS ── */
.bg-light { background: #f8f9fa; }
.bg-white { background: #fff; }
.border-top-light { border-top: 1px solid #e8ecf0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .header-inner { padding: 12px 16px; }
    .nav-links { gap: 14px; }
    .nav-links a:not(.header-cta) { font-size: 13px; }
    .page-hero { padding: 40px 20px; }
    .landing-hero { padding: 44px 20px 40px; }
    .section-inner { padding: 48px 20px; }
    .features-grid { grid-template-columns: 1fr; gap: 14px; }
    .stats-grid { grid-template-columns: 1fr; gap: 14px; }
    .steps-container { grid-template-columns: 1fr; gap: 32px; }
    .steps-container::before { display: none; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .footer-legal { flex-direction: column; gap: 8px; }
    .cta-band { padding: 48px 20px; }
    .form-card { padding: 28px 20px; }
    .content-section { padding: 40px 20px; }
}
