﻿:root {
  --bg: #060b18;
  --bg-top: #121a2d;
  --surface: rgba(19, 28, 48, 0.84);
  --surface-strong: rgba(27, 37, 59, 0.94);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f5f7fb;
  --muted: #b4bfd6;
  --blue: #3b82f6;
  --blue-soft: #6ea8ff;
  --blue-deep: #1d4ed8;
  --glow: rgba(59, 130, 246, 0.35);
  --shadow: 0 24px 80px rgba(1, 6, 16, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 42%, rgba(91, 75, 255, 0.16), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(59, 130, 246, 0.14), transparent 24%),
    linear-gradient(180deg, #111827 0%, #08101f 10%, #040915 100%);
}

.site-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(40, 73, 160, 0.08), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: auto, 80px 80px, 80px 80px;
  pointer-events: none;
  opacity: 0.55;
}

.topbar,
.hero-shell,
.services-strip {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(14, 22, 38, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 32px rgba(3, 8, 20, 0.32);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: fit-content;
}

.brand strong {
  font-size: 1.9rem;
  font-family: "Sora", sans-serif;
}

.brand-mark {
  position: relative;
  width: 44px;
  height: 44px;
  transform: rotate(45deg);
}

.brand-mark span {
  position: absolute;
  inset: 0;
  border: 5px solid var(--blue);
  border-radius: 4px;
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.28);
}

.brand-mark span:last-child {
  inset: 10px;
  border-width: 4px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.nav a,
.panel-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav a {
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
  border-color: var(--blue);
}

.panel-link {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.panel-link:hover {
  color: var(--text);
  background: rgba(59, 130, 246, 0.12);
}

.hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 130px);
  padding: 56px 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 9px 16px;
  border: 1px solid rgba(59, 130, 246, 0.5);
  border-radius: 999px;
  background: rgba(26, 43, 83, 0.38);
  color: #d6e7ff;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-copy h1 {
  margin: 0;
  max-width: 720px;
  font-family: "Sora", sans-serif;
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  display: block;
  margin-top: 8px;
  color: #6da5ff;
}

.lead {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.9;
}

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

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
}

.primary-cta {
  color: #f8fbff;
  background: linear-gradient(135deg, var(--blue) 0%, #2563eb 55%, #5b7cff 100%);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.38);
}

.secondary-cta {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02);
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
}

.trust-row p {
  margin: 0;
  color: var(--muted);
}

.avatars {
  display: flex;
  align-items: center;
}

.avatars span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-right: -8px;
  border: 2px solid #0a1020;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, #1d4ed8, #7c3aed);
}

.avatars span:nth-child(2) {
  background: linear-gradient(135deg, #0f766e, #2563eb);
}

.avatars span:nth-child(3) {
  background: linear-gradient(135deg, #ea580c, #dc2626);
}

.avatars span:nth-child(4) {
  background: linear-gradient(135deg, #334155, #0f172a);
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.beam {
  position: absolute;
  left: 12%;
  right: 6%;
  border-radius: 999px;
  filter: blur(0.2px);
}

.beam-main {
  top: 46%;
  height: 40px;
  background: linear-gradient(90deg, rgba(73, 116, 255, 0.02), rgba(92, 89, 255, 0.32), rgba(73, 116, 255, 0.02));
  box-shadow: 0 0 120px rgba(76, 91, 255, 0.18);
}

.beam-soft {
  top: 44%;
  height: 76px;
  background: radial-gradient(circle, rgba(76, 91, 255, 0.2) 0%, rgba(76, 91, 255, 0) 72%);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.floating-card p {
  margin: 0 0 4px;
  color: #97a7c9;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.floating-card strong {
  font-size: 1.1rem;
}

.card-left {
  top: 35%;
  left: 8%;
  transform: rotate(2deg);
}

.card-center {
  top: 34%;
  left: 20%;
  right: 20%;
  justify-content: center;
  text-align: center;
  background: rgba(33, 39, 83, 0.45);
}

.card-center p {
  margin-bottom: 10px;
}

.card-right {
  top: 30%;
  right: 4%;
  transform: rotate(1.4deg);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 1.2rem;
  font-weight: 800;
}

.icon-box.success {
  color: #62f0a8;
  background: rgba(34, 197, 94, 0.14);
}

.icon-box.code {
  color: #73a8ff;
  background: rgba(59, 130, 246, 0.16);
}

.services-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 0 56px;
}

.services-strip article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(12, 18, 31, 0.75);
  backdrop-filter: blur(14px);
}

.services-strip span {
  display: block;
  margin-bottom: 8px;
  color: #7fb0ff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.services-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1120px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    justify-content: flex-start;
    gap: 18px;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 44px;
  }

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

  .card-left {
    left: 0;
  }

  .card-right {
    right: 0;
  }
}

@media (max-width: 760px) {
  .topbar,
  .hero-shell,
  .services-strip {
    width: min(100% - 22px, 1220px);
  }

  .topbar {
    padding: 16px 18px;
    border-radius: 20px;
  }

  .brand strong {
    font-size: 1.6rem;
  }

  .nav {
    gap: 12px 16px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .lead {
    font-size: 1rem;
    line-height: 1.8;
  }

  .hero-actions,
  .trust-row,
  .services-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .trust-row {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .beam-main,
  .beam-soft {
    left: 0;
    right: 0;
  }

  .floating-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    margin-bottom: 14px;
    transform: none;
  }

  .card-center {
    justify-content: flex-start;
    text-align: left;
  }

  .services-strip {
    display: grid;
  }
}
