:root {
  --night: #060c18;
  --deep: #0b1425;
  --surface: #101e35;
  --raised: #162440;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.16);
  --text: #e8f0fe;
  --muted: #8da0bb;
  --teal: #00d4aa;
  --teal-soft: rgba(0,212,170,.12);
  --blue: #4a9eff;
  --blue-soft: rgba(74,158,255,.12);
  --amber: #ffb547;
  --font-head: "Syne", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background: var(--night);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(1220px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled { background: rgba(6,12,24,.92); backdrop-filter: blur(18px); border-bottom: 1px solid var(--border); }
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; }
.brand span span { color: var(--teal); }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--night);
  background: linear-gradient(135deg, var(--teal), #12b9ff);
}
.nav-menu { display: flex; align-items: center; gap: clamp(14px, 1.55vw, 24px); color: var(--muted); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.nav-menu a:hover, .nav-menu a.active { color: var(--text); }
.nav-cta { color: var(--night) !important; background: var(--teal); padding: 9px 15px; border-radius: 8px; }
.nav-toggle, .nav-close { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

.hero { min-height: 100vh; display: grid; align-items: center; padding: 120px 0 72px; }
.hero-grid, .split, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  background: var(--teal-soft);
  border: 1px solid rgba(0,212,170,.25);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1, h2, h3 { font-family: var(--font-head); letter-spacing: -.03em; line-height: 1.12; }
h1 { font-size: clamp(2.7rem, 5.8vw, 5rem); max-width: 780px; margin-bottom: 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
h3 { font-size: 1.1rem; margin-bottom: 8px; }
p { color: var(--muted); }
.hero-lead { font-size: 1.12rem; max-width: 620px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: var(--night); }
.btn-secondary { border-color: var(--border-strong); color: var(--text); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
.btn-full { width: 100%; }

.orbit-visual { position: relative; width: min(440px, 82vw); aspect-ratio: 1; justify-self: center; }
.orbit-ring { position: absolute; inset: 50%; border: 1px solid var(--border-strong); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-ring span { position: absolute; top: -5px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 18px var(--teal); }
.ring-one { width: 48%; height: 48%; animation: spin 18s linear infinite; }
.ring-two { width: 74%; height: 74%; animation: spin 28s linear infinite reverse; }
.ring-three { width: 96%; height: 96%; animation: spin 42s linear infinite; }
.orbit-core {
  position: absolute;
  inset: 50%;
  width: 140px;
  height: 140px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(0,212,170,.5);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--surface), var(--raised));
  box-shadow: 0 0 48px rgba(0,212,170,.18);
}
.orbit-core i { color: var(--teal); font-size: 2rem; }
.orbit-badge {
  position: absolute;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--raised);
  color: var(--text);
  font-size: .86rem;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.badge-risk { top: 12%; left: 2%; }
.badge-audit { right: -2%; top: 52%; }
.badge-reporting { left: 15%; bottom: 10%; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.section { padding: 96px 0; position: relative; }
.intro, .platform, .contact, .footer { background: var(--deep); }
.split p + p { margin-top: 14px; }
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.proof-grid article, .module-grid article, .service-grid article, .solution-grid article, .advantage-grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.proof-grid strong { display: block; color: var(--teal); font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.proof-grid span { color: var(--muted); font-size: .92rem; }

.product-panel {
  padding: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0,212,170,.1), rgba(74,158,255,.08));
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.product-copy p { margin-bottom: 16px; }
.product-copy .btn { margin-top: 12px; }
.advantage-grid, .module-grid, .service-grid, .solution-grid { display: grid; gap: 18px; }
.advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.module-grid, .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.solution-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.advantage-grid i, .module-grid i, .service-grid i { color: var(--teal); font-size: 1.35rem; margin-bottom: 14px; }
.section-header { max-width: 760px; margin: 0 auto 48px; text-align: center; }

.contact-grid { align-items: start; }
.contact-list { display: grid; gap: 12px; margin-top: 26px; }
.contact-list a, .contact-list span { display: flex; gap: 12px; align-items: center; color: var(--muted); }
.contact-list i { color: var(--teal); width: 20px; }
.contact-form {
  display: grid;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}
.contact-form label { display: grid; gap: 7px; color: var(--text); font-weight: 700; font-size: .9rem; }
.contact-form input, .contact-form select, .contact-form textarea, .chat-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--raised);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus, .chat-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,212,170,.1);
}
.form-note { font-size: .82rem; text-align: center; }

.chat-launcher {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 25;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 16px;
  background: var(--teal);
  color: var(--night);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0,0,0,.4);
}
.chat-panel {
  position: fixed;
  right: 26px;
  bottom: 92px;
  z-index: 30;
  width: min(380px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: var(--deep);
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.chat-panel.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.chat-header { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid var(--border); }
.chat-header button, .chat-form button { border: 0; background: var(--teal); color: var(--night); border-radius: 9px; cursor: pointer; }
.chat-header button { width: 32px; height: 32px; }
.chat-body { padding: 16px; max-height: 300px; overflow-y: auto; display: grid; gap: 10px; }
.chat-message { padding: 11px 13px; border-radius: 12px; background: var(--surface); font-size: .9rem; }
.chat-message.user { background: var(--teal-soft); color: var(--text); justify-self: end; max-width: 85%; }
.chat-message.bot { justify-self: start; max-width: 88%; }
.chat-form { display: grid; grid-template-columns: 1fr 42px; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }

.footer { padding: 54px 0 34px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.footer p { max-width: 360px; margin-top: 14px; }
.footer h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.footer a, .footer span { display: block; color: var(--muted); margin: 7px 0; }

.notification {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 50;
  max-width: 340px;
  padding: 14px 18px;
  border: 1px solid rgba(0,212,170,.4);
  border-radius: 12px;
  background: #08251d;
  color: var(--teal);
  transform: translateX(120%);
  transition: transform .25s var(--ease);
}
.notification.show { transform: translateX(0); }

@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid, .product-panel { grid-template-columns: 1fr; gap: 38px; }
  .module-grid, .service-grid, .solution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, 1220px); }
  .nav-toggle, .nav-close { display: inline-grid; place-items: center; }
  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 44px 30px;
    background: var(--deep);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform .25s var(--ease);
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-close { position: absolute; top: 24px; right: 24px; }
  .hero { min-height: auto; padding-top: 116px; }
  .orbit-visual { display: none; }
  .proof-grid, .advantage-grid, .module-grid, .service-grid, .solution-grid { grid-template-columns: 1fr; }
  .product-panel { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
}
