/* ===================== TOKENS ===================== */
:root {
  --ink:        #0A1A40;   /* deep navy — brand */
  --ink-2:      #16235a;
  --blue:       #3B6EF6;   /* electric accent */
  --blue-dark:  #2A52D8;
  --mint:       #7FE7C4;   /* fresh accent for highlights */
  --text:       #1c2438;
  --text-soft:  #545d75;
  --line:       #e6e9f2;
  --bg:         #ffffff;
  --bg-alt:     #f6f8fc;
  --bg-ink:     #0A1A40;
  --radius:     16px;
  --radius-sm:  12px;
  --shadow:     0 10px 30px -12px rgba(10,26,64,.18);
  --shadow-lg:  0 24px 60px -20px rgba(10,26,64,.30);
  --maxw:       1140px;
  --font-head:  'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body:  'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ===================== RESET ===================== */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(59,110,246,.7); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #eef2fb; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px -16px rgba(10,26,64,.5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { display: inline-flex; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--ink); letter-spacing: -.03em; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-weight: 500; font-size: .96rem; color: var(--text-soft); transition: color .15s ease; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta {
  background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 999px; font-family: var(--font-head); font-weight: 600;
  transition: transform .15s ease, background .2s ease;
}
.nav .nav-cta:hover { background: var(--ink-2); color:#fff; transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 80% at 85% 5%, rgba(59,110,246,.12), transparent 60%),
    radial-gradient(50% 60% at 5% 100%, rgba(127,231,196,.14), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--blue-dark); background: rgba(59,110,246,.1); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 700; }
.hero .lead { margin-top: 22px; font-size: 1.18rem; color: var(--text-soft); max-width: 38ch; }
.hero-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 26px; font-size: .9rem; color: var(--text-soft); }

/* hero panel / agent card */
.hero-panel { display: flex; justify-content: center; }
.agent-card {
  width: 100%; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); padding: 22px; transform: rotate(.6deg);
}
.agent-card-head { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-live { background: var(--mint); box-shadow: 0 0 0 0 rgba(127,231,196,.7); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(127,231,196,.6);} 70%{box-shadow:0 0 0 8px rgba(127,231,196,0);} 100%{box-shadow:0 0 0 0 rgba(127,231,196,0);} }
.agent-steps { margin: 16px 0; display: flex; flex-direction: column; gap: 13px; }
.agent-steps li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--text-soft); }
.agent-steps .check { color: var(--blue); font-weight: 700; }
.agent-steps li.active { color: var(--ink); font-weight: 500; }
.spin { width: 13px; height: 13px; border: 2px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.agent-card-foot { display: flex; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.agent-card-foot div { flex: 1; background: var(--bg-alt); border-radius: var(--radius-sm); padding: 12px 14px; }
.agent-card-foot strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); }
.agent-card-foot span { font-size: .8rem; color: var(--text-soft); }

/* ===================== TRUST STRIP ===================== */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); padding: 26px 0; }
.trust-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-strip p { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem; }
.trust-items { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-items span { color: var(--text-soft); font-size: .92rem; font-weight: 500; }

/* ===================== SECTIONS ===================== */
.section { padding: 92px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; }
.section-sub { margin: 16px auto 0; color: var(--text-soft); font-size: 1.1rem; max-width: 54ch; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* problem cards */
.problem-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.problem-num { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--blue); background: rgba(59,110,246,.1); padding: 5px 11px; border-radius: 8px; }
.problem-card h3 { font-size: 1.25rem; margin: 18px 0 10px; }
.problem-card p { color: var(--text-soft); }

/* service cards */
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(59,110,246,.4); }
.service-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--blue), var(--ink)); margin-bottom: 20px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--text-soft); font-size: .97rem; }
.services-note { text-align: center; margin-top: 44px; color: var(--text-soft); font-size: 1.05rem; }
.services-note a { color: var(--blue-dark); font-weight: 600; border-bottom: 1px solid rgba(59,110,246,.4); }

/* process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process li { position: relative; padding: 30px 24px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 18px; }
.process h3 { font-size: 1.2rem; margin-bottom: 8px; }
.process p { color: var(--text-soft); font-size: .95rem; }

/* why */
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 16px; }
.why-list li { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue); border-radius: var(--radius-sm); padding: 18px 22px; color: var(--text-soft); }
.why-list strong { color: var(--ink); font-family: var(--font-head); }

/* about */
.about-inner { max-width: 760px; }
.about-inner h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 20px; }
.about-inner p { color: var(--text-soft); font-size: 1.08rem; margin-bottom: 16px; }
.about-meta { font-family: var(--font-head); font-weight: 500; color: var(--ink) !important; font-size: .95rem !important; padding-top: 8px; }

/* ===================== CTA BAND ===================== */
.cta-band { background: linear-gradient(135deg, var(--ink), #122a6b); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 80% 0%, rgba(59,110,246,.4), transparent 60%); }
.cta-inner { position: relative; text-align: center; max-width: 620px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.cta-band p { color: rgba(255,255,255,.82); font-size: 1.12rem; margin-top: 18px; }
.cta-actions { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: .92rem; margin-top: 24px !important; }
.cta-note a { color: var(--mint); border-bottom: 1px solid rgba(127,231,196,.4); }

/* ===================== FOOTER ===================== */
.site-footer { background: #060f29; color: rgba(255,255,255,.72); padding: 56px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { display: flex; gap: 14px; max-width: 320px; }
.footer-brand .brand-name { color: #fff; font-size: 1.2rem; }
.footer-brand p { font-size: .92rem; margin-top: 4px; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav a { font-size: .94rem; transition: color .15s ease; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-panel { justify-content: flex-start; }
  .why-inner { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .28s ease; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .nav-cta { text-align: center; margin-top: 12px; border-bottom: 0; }
  .nav-toggle { display: flex; }
  .section { padding: 68px 0; }
  .hero { padding: 64px 0 56px; }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .trust-strip .container { flex-direction: column; align-items: flex-start; gap: 14px; }
  .btn { width: 100%; }
  .hero-actions, .cta-actions { width: 100%; }
}
