/* ============================================================
   InsureX — brand system derived from CallX (callx.com)
   Colors: black canvas, white type, green→blue gradient accent
   ============================================================ */

:root {
  --bg: #050607;
  --panel: #0e1113;
  --panel-2: #14181b;
  --border: rgba(255, 255, 255, 0.09);
  --text: #f5f7f8;
  --muted: #9aa3ab;
  --green: #08f491;
  --blue: #02b1e9;
  --grad: linear-gradient(90deg, #08f491 0%, #02b1e9 100%);
  --radius: 18px;
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.muted { color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad);
  color: #03140d;
  border: none;
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(8, 244, 145, 0.25); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 6, 7, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo svg { height: 30px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}
.site-nav a:hover, .site-nav a.active { color: var(--text); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 11px 22px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 1.3rem;
  padding: 4px 12px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 120px;
  text-align: center;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.32;
  pointer-events: none;
}
.hero::before { background: radial-gradient(circle, var(--blue), transparent 65%); top: -180px; left: -220px; }
.hero::after { background: radial-gradient(circle, var(--green), transparent 65%); bottom: -220px; right: -220px; }

.hero .container { position: relative; z-index: 1; }

.hero p.lede {
  max-width: 640px;
  margin: 22px auto 38px;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.hero.hero-sub { padding: 90px 0; text-align: left; }
.hero.hero-sub p.lede { margin: 22px 0 34px; }
.hero.hero-sub .hero-actions { justify-content: flex-start; }

/* ---------- Sections ---------- */
section.block { padding: 96px 0; }
section.block.alt { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(8, 244, 145, 0.35); transform: translateY(-3px); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: rgba(8, 244, 145, 0.08);
  border: 1px solid rgba(8, 244, 145, 0.25);
}
.card .icon svg { width: 22px; height: 22px; }

/* ---------- Steps ---------- */
.step { text-align: center; padding: 34px 22px; }
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad);
  color: #03140d;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 18px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--panel);
}
.trust-strip .item { text-align: center; }
.trust-strip .item strong { display: block; font-size: 1.35rem; }
.trust-strip .item span { color: var(--muted); font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 90px 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px circle at 12% 20%, rgba(2, 177, 233, 0.18), transparent 60%),
    radial-gradient(420px circle at 88% 80%, rgba(8, 244, 145, 0.18), transparent 60%);
  pointer-events: none;
}
.cta-band .container { position: relative; }
.cta-band p { max-width: 560px; margin: 16px auto 34px; color: var(--muted); }

/* ---------- Scheduler embed ---------- */
.scheduler-frame {
  width: 100%;
  height: 720px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  margin-top: 34px;
}

/* ---------- Contact ---------- */
.contact-card { display: flex; flex-direction: column; gap: 6px; }
.contact-card a { color: var(--green); font-weight: 600; }

/* ---------- Legal pages ---------- */
.legal { max-width: 800px; padding: 80px 0 100px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 10px; }
.legal h2 { font-size: 1.3rem; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 22px; margin: 10px 0; }
.notice {
  background: rgba(2, 177, 233, 0.08);
  border: 1px solid rgba(2, 177, 233, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: #030405;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.site-footer h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--muted); font-size: 0.95rem; }
.site-footer a:hover { color: var(--text); }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 16px; max-width: 380px; }
.footer-legal {
  border-top: 1px solid var(--border);
  padding-top: 26px;
  color: #6b747c;
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    background: #0a0c0d;
    border-bottom: 1px solid var(--border);
    padding: 24px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta .btn-ghost { display: none; }
}

@media (max-width: 620px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0; }
  section.block { padding: 70px 0; }
}
