/* Styles for the home page (index.html). Shared top bar styles live in site-header.css. */
:root {
  --navy: #0B2F57;
  --navy-deep: #081E3A;
  --brand: #0C447C;
  --sky: #4FA3F0;
  --orange: #F4893A;
  --orange-ink: #0B2340;
  --ink: #0F172A;
  --body: #475569;
  --line: #E2E8F0;
  --bg: #F6F8FB;
  --card: #FFFFFF;
  --tint-blue: #E8F1FC;
  --tint-orange: #FDF0E6;
  --ok: #22C55E;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
}
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { color: var(--ink); letter-spacing: -.02em; margin: 0; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 10px;
  font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn-orange { background: var(--orange); color: var(--orange-ink); box-shadow: 0 10px 24px -10px rgba(244,137,58,.7); }
.btn-orange:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-ghost { color: #fff; border: 2px solid rgba(255,255,255,.35); padding: 12px 22px; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #C9D8EC;
  background:
    radial-gradient(600px 400px at 78% 45%, rgba(79,163,240,.28), transparent 70%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
  padding-top: 88px; padding-bottom: 104px;
}
.eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.hero h1 { color: #fff; font-size: clamp(38px, 6vw, 62px); line-height: 1.06; font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero .lead { font-size: 18px; margin: 24px 0 8px; max-width: 520px; }
.hero .lead-strong { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 36px; max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Phone illustration */
.scene { position: relative; height: 420px; }
.orbit { position: absolute; border-radius: 50%; }
.orbit.a { width: 10px; height: 10px; background: var(--sky); left: 12%; top: 18%; opacity: .7; }
.orbit.b { width: 8px; height: 8px; background: var(--orange); right: 6%; bottom: 20%; }
.orbit.c { width: 6px; height: 6px; background: #fff; right: 22%; top: 6%; opacity: .5; }
.phone {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 210px; height: 400px; border-radius: 30px; background: #fff; padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), inset 0 0 0 6px #DCE6F2;
}
.phone .notch { width: 70px; height: 8px; border-radius: 8px; background: #DCE6F2; margin: 4px auto 14px; }
.ph-top { background: var(--brand); border-radius: 12px; padding: 12px; display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.ph-logo { width: 26px; height: 26px; border-radius: 50%; background: #fff; flex-shrink: 0; display: grid; place-items: center; }
.ph-logo::after { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--brand); }
.ln { height: 7px; border-radius: 6px; background: #CBD5E1; }
.ph-top .ln { background: rgba(255,255,255,.8); }
.ph-field { margin-bottom: 12px; }
.ph-field .ln.lbl { width: 40%; height: 5px; margin-bottom: 6px; background: #94A3B8; }
.ph-field .box { height: 22px; border-radius: 6px; border: 1.5px solid #E2E8F0; background: #F8FAFC; }
.ph-field .box.focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(79,163,240,.2); }
.ph-submit { height: 26px; border-radius: 8px; background: var(--orange); margin-top: 18px; display: grid; place-items: center; }
.ph-submit::after { content: ""; width: 50px; height: 5px; border-radius: 4px; background: rgba(11,35,64,.6); }
.float {
  position: absolute; background: #fff; border-radius: 12px; padding: 10px 14px; display: flex; gap: 10px; align-items: center;
  box-shadow: 0 16px 40px -12px rgba(0,0,0,.5); color: #0F172A; animation: bob 5s ease-in-out infinite;
}
.float b { display: block; font-size: 13px; }
.float small { display: block; font-size: 11px; color: #64748B; line-height: 1.3; }
.float .ic { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.float .ic svg { width: 17px; height: 17px; }
.float.lead-card { right: -4%; top: 16%; }
.float.lead-card .ic { background: #E8F1FC; color: var(--brand); }
.float.lead-card .tick {
  position: absolute; right: -8px; top: -8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--ok); color: #fff; display: grid; place-items: center; border: 2px solid #fff;
}
.float.lead-card .tick svg { width: 12px; height: 12px; }
.float.mail-card { left: -2%; bottom: 24%; animation-delay: -2.5s; }
.float.mail-card .ic { background: #FDF0E6; color: var(--orange); border-radius: 8px; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.section-head p { margin: 12px 0 0; font-size: 17px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px;
  transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(15,23,42,.35); }
.step .num {
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px; margin-bottom: 18px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 15.5px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature.flip .art { order: 2; }
.feature h2 { font-size: clamp(26px, 3.5vw, 34px); margin-bottom: 12px; }
.feature > div > p { font-size: 17px; margin: 0 0 24px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks li::before {
  content: ""; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.art {
  border-radius: 20px; min-height: 340px; display: grid; place-items: center; padding: 40px; position: relative;
}
.art.blue { background: var(--tint-blue); }
.art.orange { background: var(--tint-orange); }

/* Dashboard illustration */
.dash { width: 100%; max-width: 380px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 48px -24px rgba(11,47,87,.45); }
.dash-top { background: var(--navy); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; }
.dash-top .ln { width: 110px; background: rgba(255,255,255,.7); }
.dash-top .pill { width: 60px; height: 14px; border-radius: 6px; background: var(--sky); }
.dash-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-top: 1px solid #EEF2F7; }
.dash-row:first-of-type { border-top: 0; }
.dot { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; }
.dash-row .ln.name { width: 34%; background: #334155; }
.dash-row .ln.meta { width: 22%; background: #CBD5E1; margin-left: auto; }
.tag { width: 44px; height: 14px; border-radius: 6px; }
.dash-row.new { animation: flash 3.2s ease-in-out infinite; }
@keyframes flash { 0%, 60%, 100% { background: #fff; } 75% { background: #F0F7FF; } }

/* Attendee illustration */
.mini-phone {
  width: 150px; height: 250px; background: #fff; border-radius: 22px; padding: 14px 12px;
  box-shadow: 0 24px 48px -20px rgba(120,60,10,.35), inset 0 0 0 5px #EEF2F7; position: relative;
}
.mini-phone .ln { margin-bottom: 10px; }
.mini-phone .head { height: 20px; border-radius: 6px; background: var(--brand); margin: 8px 0 14px; }
.mini-phone .box { height: 16px; border-radius: 5px; background: #EEF2F7; margin-bottom: 9px; }
.mini-phone .go { height: 20px; border-radius: 6px; background: var(--orange); margin-top: 16px; }
.big-check {
  position: absolute; left: -44px; top: 70px; width: 58px; height: 58px; border-radius: 50%;
  background: var(--ok); display: grid; place-items: center; box-shadow: 0 12px 24px -8px rgba(34,197,94,.6);
}
.big-check svg { width: 30px; height: 30px; }
.envelope {
  position: absolute; right: -52px; bottom: 50px; width: 72px; height: 50px; border-radius: 10px;
  background: var(--navy); display: grid; place-items: center; box-shadow: 0 12px 24px -8px rgba(11,47,87,.6);
}
.envelope svg { width: 34px; height: 34px; }

/* ---------- Closing CTA + footer ---------- */
.closing {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #C9D8EC;
  border-radius: 24px; padding: 56px 40px; text-align: center;
}
.closing h2 { color: #fff; font-size: clamp(26px, 4vw, 36px); }
.closing p { margin: 12px auto 28px; max-width: 520px; font-size: 17px; }
.closing .hero-ctas { justify-content: center; }


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; gap: 24px; }
  .scene { height: 400px; max-width: 420px; width: 100%; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; }
  .feature.flip .art { order: 0; }
  .feature + .feature { margin-top: 72px; }
  section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .hero .lead, .hero .lead-strong { font-size: 16.5px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .scene { height: 360px; transform: scale(.88); margin: -20px auto; }
  .float.lead-card { right: 0; }
  .float.mail-card { left: 0; }
  .art { min-height: 280px; padding: 28px 20px; }
  .big-check { left: -30px; width: 48px; height: 48px; }
  .envelope { right: -36px; width: 60px; height: 42px; }
  .closing { padding: 40px 20px; border-radius: 18px; }
}
