* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050711;
  --bg-soft: #0c1020;
  --panel: rgba(13, 22, 44, 0.72);
  --panel-strong: rgba(15, 28, 57, 0.95);
  --text: #f4f7ff;
  --muted: #a9b4d0;
  --cyan: #39e6ff;
  --blue: #5477ff;
  --purple: #a45cff;
  --green: #51f5a8;
  --border: rgba(122, 220, 255, 0.18);
  --shadow: 0 24px 80px rgba(31, 71, 255, 0.24);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(84, 119, 255, 0.28), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(164, 92, 255, 0.24), transparent 30rem),
    linear-gradient(135deg, #04050c, #081125 48%, #03040a);
  overflow-x: hidden;
}

#neural-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.52;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(4, 7, 17, 0.72);
  border-bottom: 1px solid var(--border);
}

.navbar {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #03040a;
  box-shadow: 0 0 28px rgba(57, 230, 255, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--text) !important;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(57, 230, 255, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 76px 0;
}

.eyebrow {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

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

.hero-text,
.section-heading p,
.split p,
.cta-panel p,
.feature-card p,
.timeline-item p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 34px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #02040b;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 32px rgba(57, 230, 255, 0.3);
}

.btn-secondary {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.hero-stats div {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
}

.hero-stats strong {
  display: block;
  font-size: 28px;
  color: var(--text);
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(circle at center, rgba(57, 230, 255, 0.18), transparent 18rem),
    rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 40px;
  background-image:
    linear-gradient(rgba(57, 230, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 230, 255, 0.12) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(500px) rotateX(56deg);
  transform-origin: bottom;
  opacity: 0.5;
}

.server {
  position: absolute;
  width: 118px;
  min-height: 270px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(18, 35, 72, 0.96), rgba(7, 12, 28, 0.96));
  border: 1px solid rgba(57, 230, 255, 0.24);
  box-shadow: 0 0 36px rgba(57, 230, 255, 0.18);
}

.server span {
  display: block;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 16px 50%, var(--green) 0 4px, transparent 5px),
    linear-gradient(90deg, rgba(57, 230, 255, 0.22), rgba(164, 92, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.server-one {
  left: 60px;
  bottom: 74px;
  transform: rotate(-7deg);
}

.server-two {
  right: 70px;
  bottom: 86px;
  transform: rotate(8deg);
}

.server-three {
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
}

.core-orb {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  animation: float 4.5s ease-in-out infinite;
}

.orb-center {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  color: #02040b;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  font-weight: 900;
  font-size: 30px;
  box-shadow: 0 0 44px rgba(57, 230, 255, 0.8);
}

.orb-ring {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(57, 230, 255, 0.5);
  border-radius: 50%;
  animation: spin 8s linear infinite;
}

.orb-ring::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--cyan);
}

.orb-ring.second {
  inset: 25px;
  border-color: rgba(164, 92, 255, 0.55);
  animation-duration: 5s;
  animation-direction: reverse;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 90px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card,
.terminal-card,
.cta-panel,
.timeline-item {
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.feature-card {
  padding: 26px;
  border-radius: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  border-color: rgba(57, 230, 255, 0.5);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  background: rgba(57, 230, 255, 0.1);
  font-size: 26px;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.check-list {
  margin-top: 28px;
  list-style: none;
}

.check-list li {
  color: var(--muted);
  margin-bottom: 14px;
  padding-left: 34px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.terminal-card {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(3, 7, 18, 0.88);
}

.terminal-top {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
}

.terminal-top span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.8;
}

.terminal-top span:nth-child(2) {
  background: var(--purple);
}

.terminal-top span:nth-child(3) {
  background: var(--green);
}

pre {
  min-height: 280px;
  padding: 26px;
  color: var(--green);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  line-height: 1.65;
  white-space: pre-wrap;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  padding: 28px;
  border-radius: 26px;
}

.timeline-item span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(57, 230, 255, 0.24), rgba(164, 92, 255, 0.2));
  color: var(--cyan);
  font-weight: 900;
}

.cta-panel {
  width: min(1180px, calc(100% - 40px));
  margin: 70px auto 100px;
  padding: 42px;
  border-radius: 34px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 36px;
  align-items: start;
}

.contact-details {
  margin-top: 24px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.contact-details p {
  margin-bottom: 8px;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.contact-details a {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: rgba(57, 230, 255, 0.6);
}

.form-note {
  min-height: 24px;
  color: var(--green) !important;
  font-size: 14px !important;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.site-footer a:hover {
  color: var(--text);
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(14px);
  }
}

@media (max-width: 980px) {
  .hero,
  .split,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-visual {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--panel-strong);
  }

  .nav-links.active {
    display: flex;
  }

  .hero-stats,
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
  }

  .server {
    width: 92px;
    min-height: 220px;
  }

  .server-one {
    left: 24px;
  }

  .server-two {
    right: 24px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 26px;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer div {
    flex-wrap: wrap;
  }
}
