/* ==========================================================
   SSDI Claim Expert - main stylesheet
   ========================================================== */
:root {
  --navy: #0f2a4a;
  --navy-2: #163a63;
  --teal: #13a3b9;
  --teal-2: #1ec3d6;
  --teal-dark: #0b6f8a;
  --ink: #1c2b3a;
  --muted: #5b6b7b;
  --line: #e2eaf0;
  --bg: #f5fafc;
  --white: #ffffff;
  --amber: #f5a623;
  --green: #2fbf71;
  --red: #d64545;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(15, 42, 74, 0.14);
  --shadow-sm: 0 8px 24px rgba(15, 42, 74, 0.09);
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: 84px 0; }
.section-alt { background: var(--bg); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(19, 163, 185, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 600; font-size: 1rem;
  padding: 15px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none !important;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-2), var(--teal-dark));
  box-shadow: 0 12px 28px rgba(19, 163, 185, 0.38);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(19, 163, 185, 0.5); }
.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--navy); color: #cfe3f2; font-size: 0.85rem; text-align: center; padding: 9px 12px;
}
.topbar strong { color: #fff; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 20px; }
.brand img { height: 66px; width: auto; mix-blend-mode: multiply; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--navy); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--teal-dark); text-decoration: none; }
.nav-cta { padding: 11px 24px; font-size: 0.92rem; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(30, 195, 214, 0.35), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(19, 163, 185, 0.25), transparent 60%),
    linear-gradient(160deg, #0b2140 0%, #123a66 55%, #0f5f86 100%);
  color: #fff;
  padding: 78px 0 96px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1.2px, transparent 1.2px);
  background-size: 26px 26px; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.6rem); margin-bottom: 20px; }
.hero h1 .hl {
  background: linear-gradient(90deg, #6fe6f3, #ffffff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 1.15rem; color: #d3e6f5; max-width: 560px; margin-bottom: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px; border-radius: 999px; font-size: 0.88rem; color: #fff;
}
.badge svg { width: 16px; height: 16px; color: var(--teal-2); }
.hero-art { margin-top: 10px; max-width: 470px; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.3)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

/* ---------- Form card ---------- */
.form-card {
  background: #fff; color: var(--ink);
  border-radius: 24px; padding: 34px 32px 28px;
  box-shadow: var(--shadow), 0 0 0 6px rgba(255,255,255,0.12);
  position: relative;
}
.form-card .ribbon {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--amber), #ff8a3d);
  color: #fff; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px; box-shadow: 0 8px 18px rgba(245, 166, 35, 0.4); white-space: nowrap;
}
.form-card h2 { font-size: 1.55rem; text-align: center; margin: 8px 0 6px; }
.form-card .sub { text-align: center; color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 20px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal-2), var(--teal-dark)); transition: width 0.3s ease; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfdfe;
  transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(19, 163, 185, 0.15); background: #fff; }
.field.invalid input, .field.invalid select { border-color: var(--red); background: #fff8f8; }
.field .err { display: none; color: var(--red); font-size: 0.78rem; margin-top: 5px; }
.field.invalid .err { display: block; }

.consent { margin-top: 16px; display: flex; gap: 12px; align-items: flex-start; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--teal-dark); flex: 0 0 auto; cursor: pointer; }
.consent label { font-size: 0.72rem; line-height: 1.5; color: #4a5a6a; font-weight: 400; cursor: pointer; }
.consent.invalid label { color: var(--red); }
#consentErr { display: none; color: var(--red); font-size: 0.78rem; margin: 6px 0 0 32px; }
.consent.invalid + #consentErr { display: block; }

.form-card .btn { margin-top: 18px; font-size: 1.08rem; padding: 17px 30px; }
.secure { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.8rem; color: var(--muted); }
.secure svg { width: 15px; height: 15px; color: var(--green); }
.form-success { display: none; text-align: center; padding: 30px 6px; }
.form-success .tick {
  width: 78px; height: 78px; border-radius: 50%; margin: 0 auto 18px;
  background: #e6f9ef; display: grid; place-items: center;
}
.form-success .tick svg { width: 40px; height: 40px; color: var(--green); }
.form-card.done .form-wrap { display: none; }
.form-card.done .form-success { display: block; }

/* ---------- Trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 28px 0; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item .ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(19,163,185,0.1); display: grid; place-items: center; color: var(--teal-dark); flex: 0 0 auto; }
.trust-item .ic svg { width: 24px; height: 24px; }
.trust-item strong { display: block; color: var(--navy); font-size: 0.98rem; }
.trust-item span { font-size: 0.83rem; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px; box-shadow: var(--shadow-sm); position: relative; transition: transform 0.25s, box-shadow 0.25s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .num {
  position: absolute; top: -18px; left: 28px; width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-2), var(--teal-dark)); color: #fff; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 8px 18px rgba(19,163,185,0.4);
}
.step .icon { width: 64px; height: 64px; border-radius: 18px; background: rgba(19,163,185,0.1); display: grid; place-items: center; color: var(--teal-dark); margin-bottom: 18px; }
.step .icon svg { width: 32px; height: 32px; }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: 28px; box-shadow: var(--shadow); }
.split h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.split p.intro { color: var(--muted); font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li svg { width: 24px; height: 24px; color: #fff; background: var(--green); border-radius: 50%; padding: 5px; flex: 0 0 auto; margin-top: 2px; }
.check-list li strong { color: var(--navy); }

/* ---------- Benefits ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(19,163,185,0.4); }
.card .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(135deg, rgba(30,195,214,0.18), rgba(11,111,138,0.18)); color: var(--teal-dark); }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Stats band ---------- */
.band { background: linear-gradient(135deg, var(--navy), #114b7a); color: #fff; padding: 56px 0; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.band-grid strong { display: block; font-size: 2.1rem; color: #6fe6f3; }
.band-grid span { color: #cfe3f2; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 18px 30px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--teal-dark); transition: transform 0.2s; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, var(--teal-dark), var(--teal-2)); color: #fff; text-align: center; padding: 76px 0; position: relative; overflow: hidden; }
.cta h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.cta p { max-width: 640px; margin: 0 auto 28px; color: #eafcff; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0a1d36; color: #a9bfd3; padding: 60px 0 30px; font-size: 0.9rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 64px; width: auto; background: #fff; padding: 8px 14px; border-radius: 12px; margin-bottom: 16px; mix-blend-mode: normal; }
.footer-brand p { max-width: 460px; }
.footer-links h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-links ul { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.footer-links a { color: #a9bfd3; }
.footer-links a:hover { color: #fff; }
.legal-note { padding-top: 28px; font-size: 0.78rem; line-height: 1.7; color: #8aa2b8; }
.legal-note p { margin-bottom: 0.9em; }
.copyright { text-align: center; padding-top: 18px; color: #8aa2b8; font-size: 0.82rem; }

/* ---------- Legal pages ---------- */
.legal-hero { background: linear-gradient(160deg, #0b2140, #123a66 60%, #0f5f86); color: #fff; padding: 56px 0; text-align: center; }
.legal-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal-hero p { color: #cfe3f2; margin: 0; }
.legal { max-width: 860px; margin: 0 auto; padding: 56px 0 80px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal li { margin-bottom: 0.4em; }
.legal .updated { color: var(--muted); font-size: 0.9rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 2em; font-size: 0.93rem; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg); color: var(--navy); }
.callout { background: #eefafd; border-left: 4px solid var(--teal); border-radius: 10px; padding: 16px 20px; margin: 1.4em 0; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { display: none; }
  .steps, .cards { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .split .split-img { order: -1; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .section { padding: 60px 0; }
  .hero { padding: 48px 0 64px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 30px 20px 24px; }
  .band-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-links ul { grid-template-columns: 1fr; }
  .brand img { height: 44px; }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px; background: rgba(255,255,255,0.96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15,42,74,0.12); }
  body { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
