:root {
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-300: #a5b4fc;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --violet-600: #7c3aed;
  --cyan-400: #22d3ee;
  --ink: #0f172a;
  --ink-2: #1e293b;
  --slate: #475569;
  --slate-400: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f5f7fc;
  --line: #e6e8f0;
  --night-1: #1e1b4b;
  --night-2: #312e81;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 4px 16px rgba(15,23,42,.06);
  --shadow-md: 0 10px 30px rgba(30,27,75,.10), 0 2px 8px rgba(30,27,75,.06);
  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.72);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand__thin { font-weight: 500; color: var(--slate); }
.brand__mark { flex: none; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 15px; font-weight: 500; color: var(--slate); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.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: .3s; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font); font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; border: 1px solid transparent; white-space: nowrap; }
.btn--primary { background: linear-gradient(135deg, var(--indigo-600), var(--violet-600)); color: #fff; box-shadow: 0 8px 20px rgba(99,102,241,.35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(99,102,241,.45); }
.btn--lg { padding: 16px 34px; font-size: 17px; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--indigo-300); color: var(--indigo-600); }
.btn--ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }

/* ---------- HERO ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding: 120px 0 110px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 120% at 50% 0%, #2a2570 0%, var(--night-1) 45%, #0b0a23 100%); }
.hero__aurora { position: absolute; inset: -20% -10% auto -10%; height: 80%; background:
  radial-gradient(40% 60% at 20% 30%, rgba(124,58,237,.55), transparent 70%),
  radial-gradient(35% 55% at 80% 20%, rgba(34,211,238,.40), transparent 70%),
  radial-gradient(45% 60% at 60% 70%, rgba(99,102,241,.45), transparent 70%);
  filter: blur(20px); animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { 0% { transform: translate3d(-3%,-2%,0) scale(1); } 100% { transform: translate3d(4%,3%,0) scale(1.08); } }
.hero__stars { position: absolute; inset: 0; background-image:
  radial-gradient(1.5px 1.5px at 20% 30%, rgba(255,255,255,.8), transparent),
  radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,.7), transparent),
  radial-gradient(1px 1px at 40% 60%, rgba(255,255,255,.6), transparent),
  radial-gradient(1.5px 1.5px at 85% 65%, rgba(255,255,255,.7), transparent),
  radial-gradient(1px 1px at 55% 80%, rgba(255,255,255,.5), transparent),
  radial-gradient(1px 1px at 10% 75%, rgba(255,255,255,.5), transparent);
  opacity: .7; }
.hero__inner { position: relative; text-align: center; max-width: 860px; }
.eyebrow { font-family: var(--font); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo-300); margin-bottom: 22px; }
.eyebrow--dark { color: var(--indigo-600); }
.hero__title { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 700; color: #fff; }
.grad { background: linear-gradient(110deg, #a5b4fc, #22d3ee 60%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { margin: 26px auto 0; max-width: 660px; font-size: clamp(1.05rem, 2vw, 1.22rem); color: #cdd3f0; }
.hero__cta { display: flex; gap: 14px; justify-content: center; margin-top: 38px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 14px; justify-content: center; margin-top: 64px; flex-wrap: wrap; }
.hero__stats > div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px 22px; backdrop-filter: blur(4px); }
.hero__stats dt { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: #fff; }
.hero__stats dd { font-size: .85rem; color: var(--indigo-300); }

/* ---------- SECTIONS ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section__sub { margin-top: 16px; color: var(--slate); font-size: 1.08rem; }

/* ---------- CARDS ---------- */
.grid--cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; color: inherit; text-decoration: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--indigo-100); }
.card__icon { font-size: 28px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--indigo-50), #f3e8ff); margin-bottom: 18px; }
.card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: .96rem; }
.card__more { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .92rem; color: var(--indigo-600); display: inline-flex; align-items: center; gap: 6px; transition: gap .2s; }
.card:hover .card__more { gap: 11px; }

/* ---------- STEPS ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; box-shadow: var(--shadow-sm); }
.step__num { font-family: var(--display); font-weight: 700; font-size: 1rem; color: #fff; background: linear-gradient(135deg, var(--indigo-600), var(--violet-600)); width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: .94rem; }

/* ---------- FOCUS ---------- */
.focus { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.focus__text h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 10px 0 18px; }
.focus__text p { color: var(--slate); margin-bottom: 16px; font-size: 1.05rem; }
.ticks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-weight: 500; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%; background: var(--indigo-50); color: var(--indigo-600); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.focus__panel { position: relative; }
.panel-glow { position: absolute; inset: -30px; background: radial-gradient(circle at 70% 30%, rgba(124,58,237,.25), transparent 70%); filter: blur(20px); z-index: 0; }
.panel-card { position: relative; z-index: 1; background: linear-gradient(160deg, #1e1b4b, #312e81); border-radius: 22px; padding: 34px; color: #fff; box-shadow: 0 24px 60px rgba(30,27,75,.4); border: 1px solid rgba(255,255,255,.1); }
.panel-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; font-size: .92rem; color: #cdd3f0; }
.panel-row .bar { flex: 1; max-width: 150px; height: 8px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.panel-row .bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--cyan-400), var(--indigo-300)); border-radius: 99px; transform-origin: left; animation: grow 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.panel-foot { margin-top: 8px; font-size: .82rem; color: var(--indigo-300); text-align: center; }

/* ---------- ABOUT ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 940px; margin: 0 auto; }
.about__grid p { color: var(--slate); font-size: 1.08rem; }

/* ---------- CONTACT ---------- */
.contact { text-align: center; }
.contact__inner { max-width: 620px; margin: 0 auto; }
.contact h2 { font-size: clamp(2rem, 5vw, 3rem); }
.contact p { color: var(--slate); margin: 16px 0 30px; font-size: 1.12rem; }
.contact__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact__meta { font-size: .9rem; color: var(--slate-400); margin-top: 26px; }
.contact__phone { color: var(--indigo-600); font-weight: 600; }
.contact__phone:hover { text-decoration: underline; }
.footer__copy a:hover { text-decoration: underline; }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: #cbd5e1; padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand--footer { color: #fff; font-size: 17px; }
.footer__copy { font-size: .88rem; color: var(--slate-400); }
.footer__copy a { color: var(--indigo-300); }

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 920px) {
  .grid--cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .focus { grid-template-columns: 1fr; gap: 36px; }
  .about__grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; inset: 70px 0 auto 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 24px 20px; transform: translateY(-120%); transition: transform .3s; box-shadow: var(--shadow-md); }
  .nav__links.open { transform: none; }
  .nav__links a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 12px; }
  .nav__toggle { display: flex; }
  .section { padding: 72px 0; }
  .hero { padding: 90px 0 80px; }
}
@media (max-width: 480px) {
  .grid--cards, .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__aurora, .panel-row .bar i { animation: none; }
}

/* ---------- SUBPAGES ---------- */
.subhero { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding: 128px 0 72px; }
.subhero__inner { position: relative; max-width: 820px; }
.subhero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); color: #fff; margin: 16px 0 18px; }
.subhero__lede { color: #cdd3f0; font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 660px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--indigo-300); font-weight: 600; font-size: .9rem; }
.back-link:hover { color: #fff; }
.prose { max-width: 780px; }
.prose > p { color: var(--slate); font-size: 1.08rem; margin-bottom: 18px; }
.prose h2 { font-size: clamp(1.55rem, 3.5vw, 2.15rem); margin: 40px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.subgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 30px 0; }
.infobox { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.infobox h3 { font-size: 1.12rem; margin-bottom: 16px; }
.infobox ul { list-style: none; display: grid; gap: 11px; }
.infobox li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: .98rem; }
.infobox li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--indigo-600); font-weight: 700; }
.cta-band { text-align: center; background: var(--bg-alt); }
.cta-band h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.cta-band p { color: var(--slate); margin: 14px 0 28px; font-size: 1.08rem; }
@media (max-width: 720px) {
  .subgrid { grid-template-columns: 1fr; }
  .subhero { padding: 100px 0 56px; }
}
