:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --text: #0a1f4d;
  --muted: #526077;
  --line: #e3e8f0;
  --primary: #0a6cf0;
  --primary-dark: #0b3fb0;
  --teal: #00b4f0;
  --violet: #7c3aed;
  --navy: #061a44;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --grad: linear-gradient(135deg, #0b3fb0, #0a84ff 55%, #00c2ff);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 0;
  background: var(--primary); color: #fff; font: inherit; font-weight: 600;
  cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s;
  box-shadow: 0 8px 20px rgba(10, 108, 240, .25);
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-small { padding: 10px 20px; box-shadow: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { background: var(--bg-alt); }
.btn-light { background: #fff; color: var(--primary); box-shadow: none; }
.btn-light:hover { background: #eef4ff; }
.btn-block { width: 100%; }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: .75em;
}
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; color: #0a2a6e; }
.logo img { height: 36px; width: auto; }
.logo strong { font-weight: 800; background: linear-gradient(90deg, #0a84ff, #00b4f0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 32px; font-weight: 500; }
.nav-links a:not(.btn) { color: var(--muted); transition: color .15s; }
.nav-links a:not(.btn):hover { color: var(--text); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding: 96px 0 112px; overflow: hidden;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(0, 180, 240, .14), transparent 70%),
    radial-gradient(700px 500px at 10% 0%, rgba(10, 108, 240, .10), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-visual { display: flex; justify-content: center; }
.orbit {
  position: relative; width: min(400px, 100%); aspect-ratio: 1;
  border-radius: 50%; border: 1.5px dashed #c9d5e8;
}
.orbit::before {
  content: ""; position: absolute; inset: 18%; border-radius: 50%; border: 1.5px dashed #dbe3ef;
}
.hub {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  width: 150px; height: 150px; border-radius: 32px; background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow);
}
.node {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: #fff; border-radius: 999px; box-shadow: var(--shadow);
  font-weight: 600; font-size: .95rem; animation: float 5s ease-in-out infinite;
}
.node svg { width: 22px; height: 22px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.n1 { top: 4%; left: 50%; translate: -50% 0; }
.n1 svg { stroke: var(--primary); }
.n2 { bottom: 14%; left: -4%; animation-delay: -1.6s; }
.n2 svg { stroke: var(--primary-dark); }
.n3 { bottom: 14%; right: -4%; animation-delay: -3.2s; }
.n3 svg { stroke: var(--teal); }
@keyframes float { 50% { transform: translateY(-10px); } }

/* Sections */
.section { padding: 96px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.35rem; }
.card > p { color: var(--muted); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c1 { background: linear-gradient(135deg, #1e5fd8, #0b3fb0); }
.c2 { background: linear-gradient(135deg, #3b9bff, #0a6cf0); }
.c3 { background: linear-gradient(135deg, #38d0ff, #0096d6); }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: .97rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #e6f2ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6cf0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Why */
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.why-grid .btn { margin-top: 12px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.feature h4 { font-size: 1.08rem; }
.feature h4::before {
  content: ""; display: block; width: 32px; height: 4px; border-radius: 4px; background: var(--grad); margin-bottom: 16px;
}
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.step-num {
  display: inline-block; font-weight: 800; font-size: 2rem; margin-bottom: 8px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h4 { font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* CTA */
.cta-band { background: var(--grad); color: #fff; padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.contact-list svg {
  width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #e8f0ff;
  fill: none; stroke: var(--primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.contact-list a:hover { color: var(--primary); }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10, 108, 240, .12);
}
.contact-form .invalid { border-color: #dc2626; }
.form-status { margin: 0; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: #047857; }
.form-status.err { color: #dc2626; }

/* Footer */
.site-footer { background: var(--navy); color: #b6c2d9; padding: 64px 0 0; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo strong { background: linear-gradient(90deg, #4aa8ff, #38d0ff); -webkit-background-clip: text; background-clip: text; }
.site-footer .logo img { height: 32px; }
.tagline { color: #fff; font-weight: 500; letter-spacing: .04em; }
.tagline span { color: #38bdf8; margin: 0 6px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-grid p { max-width: 340px; }
.footer-grid h5 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid div > a:not(.logo) { display: block; margin-bottom: 10px; transition: color .15s; }
.footer-grid div > a:not(.logo):hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; font-size: .9rem; }
.footer-bottom p { margin: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .node { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1000px) {
  .cards { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { margin-top: 16px; }
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .orbit { width: min(300px, 80%); }
  .hub { width: 116px; height: 116px; }
  .hub img { width: 80px; height: auto; }
  .section { padding: 72px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .features, .steps, .field-row { grid-template-columns: 1fr; }
  .contact-form, .card { padding: 24px; }
  .node { font-size: .85rem; padding: 8px 12px; }
  .n2 { left: -2%; } .n3 { right: -2%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
