:root {
  --navy-950: #031023;
  --navy-900: #06162f;
  --navy-850: #0a1c38;
  --navy-800: #102746;
  --blue-600: #1769ff;
  --blue-500: #2b7fff;
  --blue-100: #eaf2ff;
  --ink: #0c1930;
  --muted: #60708a;
  --line: #dfe7f1;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --success: #41d791;
  --danger: #d8445f;
  --shadow: 0 22px 60px rgba(4, 22, 52, .12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
.container { width: var(--container); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -50px; z-index: 999; padding: 10px 16px; background: #fff; color: #000; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand img { width: 245px; filter: brightness(0) invert(1); }
.main-nav { display: flex; align-items: center; gap: 30px; color: #eaf2ff; font-size: .95rem; font-weight: 650; }
.main-nav > a { position: relative; padding-block: 12px; }
.main-nav > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 5px; height: 2px; background: var(--blue-500); transition: right .25s ease; }
.main-nav > a:hover::after, .main-nav > a:focus-visible::after { right: 0; }
.menu-button { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 9px; }
.menu-button span { display: block; height: 2px; background: #fff; margin: 6px 0; border-radius: 99px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--blue-600);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(23,105,255,.24);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(23,105,255,.32); }
.button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid rgba(43,127,255,.35); outline-offset: 3px; }
.button-small { min-height: 46px; padding-inline: 19px; font-size: .9rem; }
.button-outline { background: transparent; border-color: rgba(255,255,255,.48); box-shadow: none; }
.button-outline:hover { background: rgba(255,255,255,.08); box-shadow: none; }
.button-outline svg { width: 21px; height: 21px; fill: currentColor; }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 34%, rgba(31,111,255,.24), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(24,105,255,.15), transparent 30%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 50%, #061b3e);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image:
    linear-gradient(rgba(81,130,211,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(81,130,211,.12) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to right, transparent, #000 50%, #000);
}
.hero::after {
  content: "";
  position: absolute;
  left: -10%; right: -10%; bottom: -180px; height: 330px;
  border: 1px solid rgba(49,125,255,.25);
  border-radius: 50%;
  box-shadow: 0 -55px 110px rgba(20,94,225,.12), inset 0 32px 80px rgba(20,94,225,.08);
}
.hero-grid { position: relative; z-index: 2; min-height: 760px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 68px; align-items: center; padding-top: 115px; padding-bottom: 70px; }
.eyebrow { display: inline-block; color: #76aaff; text-transform: uppercase; letter-spacing: .11em; font-size: .74rem; font-weight: 800; }
.eyebrow-blue { color: var(--blue-600); }
.hero-copy h1 { max-width: 680px; margin: 20px 0 22px; font-size: clamp(2.75rem, 5vw, 4.75rem); line-height: 1.08; letter-spacing: -.045em; }
.hero-copy h1 em { color: var(--blue-500); font-style: normal; }
.hero-copy > p { max-width: 635px; margin: 0; color: #c8d4e7; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.trust-row { display: flex; gap: 42px; margin-top: 34px; color: #fff; }
.trust-row span { position: relative; padding-left: 19px; }
.trust-row span::before { content: ""; position: absolute; top: .65em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 5px rgba(43,127,255,.12); }
.trust-row strong, .trust-row small { display: block; }
.trust-row strong { font-size: .91rem; }
.trust-row small { margin-top: 2px; color: #93a6c3; }

.dashboard { padding: 20px; border: 1px solid rgba(137,177,238,.25); border-radius: 24px; background: rgba(8,29,59,.72); box-shadow: 0 30px 90px rgba(0,0,0,.3); backdrop-filter: blur(15px); }
.dashboard-top, .dashboard-bottom, .chart-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dashboard-top { padding: 5px 4px 18px; }
.dashboard-top > div { display: grid; }
.dashboard-label { color: #8fa7c9; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; color: #b8c8df; font-size: .82rem; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(65,215,145,.1); }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.metric-grid article { padding: 15px; border: 1px solid rgba(146,177,224,.12); border-radius: 13px; background: rgba(255,255,255,.035); }
.metric-grid span, .metric-grid small { display: block; color: #98a9c2; }
.metric-grid strong { display: block; margin: 4px 0 2px; font-size: 1.45rem; }
.metric-grid span { font-size: .78rem; }
.metric-grid small { font-size: .68rem; }
.chart-card { margin-top: 12px; padding: 17px 16px 8px; border: 1px solid rgba(146,177,224,.12); border-radius: 14px; background: rgba(255,255,255,.03); }
.chart-heading { margin-bottom: 8px; font-size: .87rem; }
.chart-heading small { color: #8ea1bf; }
.chart { width: 100%; height: 190px; }
.grid-lines line { stroke: rgba(150,180,225,.12); stroke-width: 1; }
.chart-area { fill: url(#chartFill); }
.chart-line { fill: none; stroke: #43a0ff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.dashboard-bottom { margin-top: 12px; padding: 15px 16px; border: 1px solid rgba(146,177,224,.12); border-radius: 14px; color: #d5e1f1; font-size: .83rem; }
.dashboard-bottom span { display: flex; align-items: center; gap: 9px; }
.dashboard-bottom i { width: 9px; height: 9px; border-radius: 50%; background: var(--success); }

.section { padding: 112px 0; }
.section-heading { max-width: 720px; margin: 0 auto 55px; text-align: center; }
.section-heading h2, .about-copy h2 { margin: 13px 0 14px; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.13; letter-spacing: -.035em; }
.section-heading p, .about-copy p { margin: 0; color: var(--muted); font-size: 1.03rem; }
.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.service-card { position: relative; min-height: 390px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: 0 16px 42px rgba(10,35,70,.055); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: #b7cff7; box-shadow: var(--shadow); }
.icon-box { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 17px; background: var(--blue-100); color: var(--blue-600); }
.icon-box svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 25px 0 10px; font-size: 1.32rem; }
.service-card > p { margin: 0; color: var(--muted); }
.service-card ul { margin: 24px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid var(--line); }
.service-card li { position: relative; padding: 5px 0 5px 19px; color: #40526d; font-size: .9rem; }
.service-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-500); }

.about { background: var(--surface-soft); }
.about-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 90px; align-items: center; }
.about-copy { max-width: 510px; }
.benefit-list { display: grid; gap: 14px; }
.benefit { display: grid; grid-template-columns: 62px 1fr; gap: 22px; align-items: start; padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.benefit > span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--blue-100); color: var(--blue-600); font-weight: 850; }
.benefit h3 { margin: 1px 0 6px; font-size: 1.08rem; }
.benefit p { margin: 0; color: var(--muted); font-size: .93rem; }

.cta-section { padding: 35px 0 80px; background: var(--surface-soft); }
.cta-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 44px 48px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(120deg, var(--navy-950), #0b2f68); box-shadow: var(--shadow); }
.cta-card::after { content: ""; position: absolute; width: 330px; height: 330px; right: -100px; bottom: -210px; border-radius: 50%; border: 1px solid rgba(80,150,255,.35); box-shadow: 0 0 0 40px rgba(41,112,226,.06), 0 0 0 90px rgba(41,112,226,.035); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { max-width: 650px; margin: 8px 0 8px; font-size: clamp(1.7rem, 3vw, 2.65rem); line-height: 1.13; }
.cta-card p { margin: 0; color: #b8c8df; }
.cta-card .button { flex: 0 0 auto; }

.site-footer { padding: 70px 0 22px; color: #d8e3f2; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 75px; }
.footer-brand img { width: 230px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 360px; margin: 22px 0 0; color: #9eb0c9; }
.footer-grid h2 { margin: 0 0 17px; color: #fff; font-size: 1rem; }
.footer-grid a, .footer-grid span, .footer-grid strong, .footer-grid small { display: block; margin: 9px 0; }
.footer-grid a, .footer-grid span { color: #b8c8dc; }
.footer-grid a:hover { color: #fff; }
.footer-grid small { margin-top: 22px; color: #8297b4; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #8297b4; font-size: .84rem; }

.contact-modal { width: min(740px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 0; border: 0; border-radius: 22px; background: transparent; overflow: auto; }
.contact-modal::backdrop { background: rgba(0,10,26,.72); backdrop-filter: blur(7px); }
.modal-panel { position: relative; padding: 42px; border-radius: 22px; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.modal-close { position: absolute; top: 17px; right: 18px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--ink); font-size: 1.5rem; }
.modal-heading h2 { margin: 8px 0; font-size: 2rem; line-height: 1.15; }
.modal-heading p { margin: 0; color: var(--muted); }
.contact-form { display: grid; gap: 17px; margin-top: 27px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; color: #263750; font-size: .86rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #cfdae9; border-radius: 10px; background: #fff; color: var(--ink); padding: 12px 13px; outline: 0; }
.contact-form textarea { resize: vertical; min-height: 115px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(43,127,255,.1); }
.form-submit { width: 100%; }
.contact-form > small { color: var(--muted); text-align: center; }
.honeypot { position: absolute !important; left: -9999px !important; }

.toast-stack { position: fixed; right: 20px; bottom: 20px; z-index: 100; display: grid; gap: 10px; max-width: min(420px, calc(100% - 40px)); }
.toast { padding: 15px 18px; border-radius: 12px; color: #fff; box-shadow: var(--shadow); animation: toast-in .3s ease both; }
.toast-success { background: #176844; }
.toast-error { background: #a52e43; }
@keyframes toast-in { from { transform: translateY(16px); opacity: 0; } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
  .nav-wrap { height: 78px; }
  .brand img { width: 205px; }
  .menu-button { display: block; position: relative; z-index: 31; }
  .main-nav { position: fixed; inset: 0 0 auto; z-index: 30; display: grid; align-content: start; gap: 8px; min-height: 100dvh; padding: 110px 30px 40px; background: rgba(3,16,35,.98); transform: translateX(100%); transition: transform .25s ease; }
  .main-nav.open { transform: none; }
  .main-nav a { font-size: 1.25rem; }
  .main-nav .button { margin-top: 15px; }
  .hero-grid { grid-template-columns: 1fr; gap: 55px; padding-top: 145px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .dashboard { max-width: 720px; margin-inline: auto; width: 100%; }
  .service-grid { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .service-card { min-height: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-copy { max-width: 720px; text-align: center; margin-inline: auto; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-grid > :last-child { grid-column: 2; }
}

@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1180px); }
  .section { padding: 82px 0; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; padding-bottom: 85px; }
  .hero-copy h1 { font-size: clamp(2.35rem, 12vw, 3.3rem); }
  .hero-copy > p { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .trust-row { gap: 24px; text-align: left; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-grid article { display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .metric-grid article strong { grid-column: 2; grid-row: 1 / span 2; }
  .chart { height: 135px; }
  .dashboard-bottom { align-items: flex-start; }
  .section-heading { margin-bottom: 35px; }
  .service-card { padding: 27px; }
  .benefit { grid-template-columns: 48px 1fr; padding: 20px; gap: 16px; }
  .benefit > span { width: 44px; height: 44px; }
  .cta-section { padding-bottom: 55px; }
  .cta-card { padding: 34px 26px; border-radius: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid > :last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; margin-top: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .modal-panel { padding: 34px 22px 25px; }
}
