:root {
  --bg: #050713;
  --panel: rgba(12, 18, 35, .78);
  --panel-2: rgba(18, 28, 52, .88);
  --text: #f8fafc;
  --muted: #a8b3c7;
  --line: rgba(148,163,184,.16);
  --cyan: #22d3ee;
  --blue: #2563eb;
  --violet: #8b5cf6;
  --green: #22c55e;
  --gradient: linear-gradient(135deg, #2563eb, #22d3ee 50%, #8b5cf6);
  --shadow: 0 34px 120px rgba(0,0,0,.48);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(34,211,238,.18), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(139,92,246,.20), transparent 28%),
    linear-gradient(180deg, #050713 0%, #091020 50%, #050713 100%);
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  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: 38px 38px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.mesh {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(42px);
  opacity: .42;
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.mesh-one { background: var(--cyan); left: 7%; top: 18%; }
.mesh-two { background: var(--violet); right: 8%; bottom: 12%; animation-delay: -3s; }

@keyframes float { 50% { transform: translate(26px, -30px) scale(1.05); } }

.top-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 18px 6%;
  background: rgba(5,7,19,.72);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 1000;
  letter-spacing: -.04em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--gradient);
  box-shadow: 0 0 35px rgba(34,211,238,.28);
}

.brand small {
  display: block;
  color: var(--muted);
  letter-spacing: .02em;
  font-weight: 700;
}

.top-nav nav {
  display: flex;
  gap: 28px;
}

.top-nav nav a {
  color: var(--muted);
  font-weight: 800;
}

.nav-button,
.primary,
.secondary {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 1000;
}

.nav-button,
.primary {
  color: white;
  background: var(--gradient);
  box-shadow: 0 18px 48px rgba(37,99,235,.34);
}

.secondary {
  display: inline-flex;
  align-items: center;
  color: white;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 54px 6% 40px;
}

.kicker {
  color: #67e8f9;
  font-size: .78rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 1000;
  margin-bottom: 14px;
}

h1 {
  max-width: 880px;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .86;
  letter-spacing: -.08em;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: .96;
  letter-spacing: -.065em;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

p { color: var(--muted); line-height: 1.6; }

.hero-lead {
  max-width: 760px;
  margin-top: 24px;
  font-size: 1.16rem;
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.trust-row span {
  padding: 9px 12px;
  color: #dbeafe;
  border-radius: 999px;
  border: 1px solid rgba(34,211,238,.18);
  background: rgba(34,211,238,.06);
  font-weight: 800;
  font-size: .9rem;
}

.command-center,
.service-card,
.agent-lab,
.impact-band,
.final-cta,
.address-block,
.modal-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.07);
  backdrop-filter: blur(20px);
}

.command-center {
  padding: 22px;
  overflow: hidden;
}

.command-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.command-top span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--cyan);
}
.command-top span:nth-child(2) { background: var(--violet); }
.command-top span:nth-child(3) { background: var(--green); }
.command-top strong {
  margin-left: auto;
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .12em;
}

.radar-wrap {
  display: grid;
  place-items: center;
  min-height: 410px;
}

.radar {
  position: relative;
  width: min(390px, 80vw);
  height: min(390px, 80vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(34,211,238,.08) 0 18%, transparent 19%),
    repeating-radial-gradient(circle, transparent 0 68px, rgba(34,211,238,.13) 69px 70px),
    conic-gradient(from 0deg, rgba(34,211,238,.18), rgba(139,92,246,.08), rgba(37,99,235,.18), rgba(34,211,238,.18));
  border: 1px solid rgba(34,211,238,.2);
  box-shadow: 0 0 80px rgba(34,211,238,.1);
  animation: radarPulse 4s ease-in-out infinite;
}

@keyframes radarPulse { 50% { box-shadow: 0 0 120px rgba(34,211,238,.18); } }

.radar-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(34,211,238,.55), transparent 22%);
  animation: sweep 5s linear infinite;
  opacity: .55;
}

@keyframes sweep { to { transform: rotate(360deg); } }

.radar-core {
  position: absolute;
  inset: 34%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #08111f;
  border: 1px solid var(--line);
  font-size: 3.6rem;
  font-weight: 1000;
}

.node {
  position: absolute;
  border: 1px solid rgba(34,211,238,.24);
  border-radius: 999px;
  padding: 10px 12px;
  color: white;
  background: rgba(5,7,19,.82);
  cursor: pointer;
  font-weight: 1000;
  box-shadow: 0 0 30px rgba(34,211,238,.12);
  animation: nodeFloat 4s ease-in-out infinite;
}

.node:hover {
  background: var(--gradient);
}

.node-sap { left: 2%; top: 45%; }
.node-it { right: 4%; top: 25%; animation-delay: -1s; }
.node-ai { right: 12%; bottom: 10%; animation-delay: -2s; }
.node-cloud { left: 14%; top: 13%; animation-delay: -3s; }

@keyframes nodeFloat { 50% { transform: translateY(-9px); } }

.live-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.045);
}

.panel-label {
  color: var(--cyan);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 1000;
  margin-bottom: 6px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 20px 6% 72px;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  min-height: 260px;
  transition: transform .25s ease, border-color .25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -100px;
  background: conic-gradient(from 0deg, transparent, rgba(34,211,238,.18), transparent 30%);
  animation: shimmer 8s linear infinite;
}

@keyframes shimmer { to { transform: rotate(360deg); } }

.service-card > * { position: relative; z-index: 1; }
.service-card:hover { transform: translateY(-8px); border-color: rgba(34,211,238,.42); }

.service-card span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 42px;
  border-radius: 16px;
  background: var(--gradient);
  font-weight: 1000;
  margin-bottom: 24px;
}

.agents-section {
  padding: 30px 6% 80px;
}

.section-title {
  max-width: 860px;
  margin-bottom: 28px;
}

.agent-lab {
  display: grid;
  grid-template-columns: 260px 1fr 330px;
  gap: 18px;
  padding: 20px;
}

.agent-tabs {
  display: grid;
  gap: 10px;
}

.agent-tab,
.bot-actions button {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  padding: 13px;
  text-align: left;
  cursor: pointer;
  font-weight: 900;
}

.agent-tab.active,
.agent-tab:hover,
.bot-actions button:hover {
  color: white;
  border-color: rgba(34,211,238,.4);
  background: linear-gradient(135deg, rgba(37,99,235,.42), rgba(34,211,238,.14));
}

.agent-output,
.mini-bot {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.045);
  padding: 22px;
}

.agent-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.agent-pills span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(34,211,238,.07);
  border: 1px solid rgba(34,211,238,.18);
  color: #dbeafe;
  font-weight: 800;
  font-size: .86rem;
}

.bot-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.bot-header span {
  color: var(--cyan);
  font-size: .8rem;
  font-weight: 900;
}

.bot-window {
  display: grid;
  gap: 10px;
  min-height: 150px;
  max-height: 220px;
  overflow: auto;
}

.bot-msg,
.user-msg {
  padding: 11px 13px;
  border-radius: 15px;
  font-size: .92rem;
}

.bot-msg {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: var(--muted);
}

.user-msg {
  justify-self: end;
  background: var(--gradient);
  color: white;
}

.bot-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.impact-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 6% 80px;
  overflow: hidden;
}

.impact-band div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.impact-band div:last-child { border-right: 0; }
.impact-band strong {
  display: block;
  color: var(--cyan);
  margin-bottom: 10px;
}
.impact-band span { color: white; font-weight: 900; }

.final-cta {
  margin: 0 6% 24px;
  padding: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.final-cta p {
  max-width: 760px;
}

.address-block {
  margin: 0 6% 60px;
  padding: 20px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.address-block a {
  color: var(--cyan);
  font-weight: 900;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(18px);
}

.contact-modal.open { display: grid; }

.modal-card {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.06);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
}

form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5,7,19,.72);
  color: white;
  padding: 13px 14px;
  font: inherit;
}

select option { color: #111827; }
.hidden-field { display: none; }

form button {
  border: 0;
  border-radius: 16px;
  padding: 14px;
  color: white;
  background: var(--gradient);
  font-weight: 1000;
  cursor: pointer;
}

@media (max-width: 1120px) {
  .hero,
  .agent-lab,
  .service-strip,
  .impact-band {
    grid-template-columns: 1fr;
  }

  .impact-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .final-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .top-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .top-nav nav {
    flex-wrap: wrap;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.7rem);
  }

  .radar-wrap {
    min-height: 340px;
  }

  .radar {
    width: 310px;
    height: 310px;
  }
}
