:root {
  --bg: #05050a;
  --panel: #0d0c16;
  --panel-strong: #11101d;
  --line: rgba(127, 76, 255, 0.28);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f7f4ff;
  --muted: #b8adc9;
  --muted-2: #8c819f;
  --purple: #7a38ff;
  --purple-2: #a95cff;
  --violet: #4b1bf3;
  --cyan: #32d6ff;
  --green: #3df09d;
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 12%, rgba(121, 43, 255, 0.34), transparent 22rem),
    radial-gradient(circle at 6% 44%, rgba(39, 24, 138, 0.28), transparent 18rem),
    linear-gradient(180deg, #020207 0%, var(--bg) 42%, #04030a 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button,
input,
textarea {
  font: inherit;
}

svg {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sprite {
  display: none;
}

.site-shell {
  position: relative;
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-bottom: 96px;
  overflow: hidden;
  border-inline: 1px solid rgba(255, 255, 255, 0.025);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 14px clamp(18px, 4vw, 36px);
  background: rgba(3, 3, 9, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 141px;
  height: 38px;
  object-fit: cover;
  object-position: left center;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 12px;
  color: #cbc3dd;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(122, 56, 255, 0.14);
}

.section-pad {
  margin-inline: clamp(18px, 4vw, 36px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.84fr);
  gap: clamp(18px, 5vw, 52px);
  min-height: 560px;
  padding-top: clamp(34px, 7vw, 72px);
  padding-bottom: 24px;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  inset: 0 -36px auto;
  height: 360px;
  z-index: -2;
  background: url("assets/hero-glow.jpg") center / cover no-repeat;
  opacity: 0.28;
  filter: blur(2px) saturate(1.2);
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 85%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 -36px;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 10, 0.82) 0%, rgba(5, 5, 10, 0.38) 48%, rgba(5, 5, 10, 0.82) 100%),
    radial-gradient(circle at 68% 38%, rgba(124, 35, 255, 0.42), transparent 16rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 570px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #ded8ec;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  padding: 10px 13px;
  background: rgba(13, 12, 22, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 0 28px rgba(122, 56, 255, 0.22);
}

.eyebrow svg,
.section-kicker svg {
  color: var(--purple-2);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(38px, 5.8vw, 68px);
  line-height: 0.98;
  font-weight: 800;
}

h1 span,
.bots h2 span {
  color: var(--purple-2);
}

.hero-text {
  max-width: 440px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.58;
}

.hero-actions {
  display: grid;
  gap: 12px;
  width: min(100%, 360px);
  margin-top: 26px;
}

.button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.button:hover,
.mini-button:hover,
.bot-grid button:hover,
.service-card:hover {
  transform: translateY(-2px);
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, #6332ff, #9d45ff);
  box-shadow: 0 14px 34px rgba(100, 49, 255, 0.32);
}

.ghost,
.mini-button {
  color: #fff;
  background: rgba(5, 5, 12, 0.55);
  border-color: rgba(122, 56, 255, 0.58);
}

.hero-art {
  align-self: center;
  justify-self: center;
  position: relative;
  width: min(100%, 430px);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 14% 0 4%;
  background: radial-gradient(circle, rgba(126, 36, 255, 0.58), transparent 62%);
  filter: blur(28px);
}

.hero-art img {
  position: relative;
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.55));
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 clamp(18px, 4vw, 36px) 24px;
}

.trust-row div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  color: #d8d0e8;
  font-size: 13px;
  font-weight: 600;
}

.trust-row svg {
  color: var(--purple-2);
}

.services,
.bots {
  padding: 30px clamp(12px, 2vw, 18px);
  background: rgba(7, 7, 14, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.services {
  text-align: center;
}

.section-kicker {
  margin-bottom: 10px;
  color: #895cff;
}

.services h2,
.bots h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
  font-weight: 800;
}

.section-lead {
  max-width: 530px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.45;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.service-card {
  position: relative;
  min-height: 212px;
  padding: 24px 22px 18px;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(21, 20, 34, 0.9), rgba(10, 9, 17, 0.9)),
    radial-gradient(circle at 0 0, rgba(122, 56, 255, 0.26), transparent 10rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  border-color: rgba(122, 56, 255, 0.5);
}

.service-card > svg {
  width: 42px;
  height: 42px;
  color: var(--purple-2);
  margin-bottom: 18px;
  stroke-width: 1.7;
}

.service-card h3 {
  max-width: 240px;
  margin: 0;
  font-size: 18px;
  line-height: 1.05;
}

.service-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.service-card a {
  position: absolute;
  right: 15px;
  bottom: 13px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--purple-2);
}

.bots {
  margin-top: 18px;
  padding-top: 24px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.bots h2 {
  max-width: 610px;
}

.mini-button {
  min-height: 40px;
  padding: 9px 14px;
  color: #bca6ff;
  white-space: nowrap;
}

.bot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.bot-grid button {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 102px;
  padding: 12px 10px;
  color: #fff;
  background: linear-gradient(180deg, rgba(17, 16, 29, 0.96), rgba(8, 8, 16, 0.96));
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.bot-grid button.is-selected,
.bot-grid button:hover {
  border-color: rgba(122, 56, 255, 0.64);
}

.bot-grid svg {
  width: 32px;
  height: 32px;
  color: var(--purple-2);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 18px clamp(18px, 4vw, 36px);
  background: rgba(255, 255, 255, 0.055);
}

.stats div {
  min-height: 128px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  background: #06060d;
  text-align: center;
}

.stats svg {
  width: 35px;
  height: 35px;
  color: var(--purple);
}

.stats strong {
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

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

.quote-form-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 4vw, 36px);
  margin-top: 18px;
  margin-bottom: 18px;
  padding: 16px;
  background:
    radial-gradient(circle at 8% 12%, rgba(121, 56, 255, 0.3), transparent 15rem),
    linear-gradient(90deg, rgba(16, 15, 27, 0.98), rgba(9, 8, 17, 0.98));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}

.quote-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 48px);
  align-items: start;
  min-height: calc(100vh - 160px);
  padding-top: clamp(34px, 7vw, 74px);
  padding-bottom: 28px;
}

.quote-form-copy {
  padding: clamp(10px, 2vw, 18px);
}

.quote-page .quote-form-copy {
  position: sticky;
  top: 92px;
}

.quote-page h1 {
  max-width: 680px;
  font-size: clamp(34px, 5vw, 58px);
}

.quote-page .quote-form-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.mail-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: linear-gradient(135deg, #6d38ff, #a65cff);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(122, 56, 255, 0.32);
}

.quote-form-section h2 {
  font-size: clamp(18px, 2.4vw, 26px);
}

.quote-form-section p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: clamp(10px, 2vw, 16px);
  background: rgba(5, 5, 12, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: #ddd6ee;
  font-size: 13px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  color: #fff;
  background: rgba(11, 10, 20, 0.94);
  border: 1px solid rgba(122, 56, 255, 0.32);
  border-radius: 7px;
  outline: none;
}

.quote-form textarea {
  min-height: 118px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: rgba(169, 92, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(122, 56, 255, 0.16);
}

.quote-form ::placeholder {
  color: #827790;
}

.form-full {
  grid-column: 1 / -1;
}

.form-grid {
  display: contents;
}

.bots-screen {
  padding-top: clamp(34px, 7vw, 74px);
  padding-bottom: 28px;
}

.bots-hero {
  max-width: 820px;
  margin-bottom: 26px;
}

.bots-hero h1 {
  max-width: 820px;
  font-size: clamp(36px, 5.5vw, 64px);
}

.bots-hero p:not(.eyebrow) {
  max-width: 670px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.58;
}

.active-bot-grid {
  display: grid;
  gap: 16px;
}

.active-bot-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 18px;
  background:
    radial-gradient(circle at 18% 16%, rgba(122, 56, 255, 0.24), transparent 20rem),
    linear-gradient(180deg, rgba(17, 16, 29, 0.95), rgba(7, 7, 14, 0.96));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.bot-logo-frame {
  display: grid;
  place-items: center;
  min-height: 330px;
  padding: 16px;
  background: #06060c;
  border: 1px solid rgba(122, 56, 255, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
}

.bot-logo-frame img {
  display: block;
  width: 100%;
  max-width: 460px;
  max-height: 360px;
  object-fit: contain;
  border-radius: 7px;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.44));
}

.active-bot-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 2vw, 18px);
}

.bot-status {
  align-self: flex-start;
  padding: 7px 10px;
  color: var(--green);
  background: rgba(61, 240, 157, 0.08);
  border: 1px solid rgba(61, 240, 157, 0.24);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.active-bot-content h2 {
  margin: 16px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.02;
}

.active-bot-content p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.active-bot-content ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}

.active-bot-content li {
  position: relative;
  padding-left: 22px;
  color: #d7cee7;
  line-height: 1.42;
}

.active-bot-content li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(122, 56, 255, 0.72);
}

.active-bot-content .button {
  width: min(100%, 240px);
}

.mobile-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, 1180px);
  height: 74px;
  transform: translateX(-50%);
  background: rgba(7, 7, 14, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.mobile-nav a {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  min-width: 0;
  color: #a79db8;
  font-size: 11px;
  font-weight: 600;
}

.mobile-nav svg {
  width: 22px;
  height: 22px;
}

.mobile-nav a.active {
  color: var(--purple-2);
}

.mobile-nav .nav-cta {
  color: #fff;
}

.mobile-nav .nav-cta svg {
  width: 32px;
  height: 32px;
  padding: 7px;
  overflow: visible;
  background: linear-gradient(135deg, #6a36ff, #9c4fff);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(122, 56, 255, 0.46);
}

@media (max-width: 850px) {
  .site-shell {
    width: 100%;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    inset: 66px 14px auto;
    display: none;
    padding: 10px;
    background: rgba(9, 8, 17, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .main-nav.open {
    display: grid;
  }

  .main-nav a {
    padding: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 24px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-art {
    width: min(74vw, 330px);
    margin-top: -24px;
    justify-self: end;
  }

  .trust-row,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .bot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-heading,
  .quote-form-section,
  .quote-page {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .quote-page .quote-form-copy {
    position: static;
  }

  .active-bot-card {
    grid-template-columns: 1fr;
  }

  .bot-logo-frame {
    min-height: 280px;
  }

  .quote-form-section {
    gap: 12px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .topbar {
    min-height: 58px;
    padding: 10px 18px;
  }

  .brand img {
    width: 136px;
    height: 36px;
  }

  .main-nav {
    top: 58px;
  }

  .hero {
    padding-top: 20px;
    gap: 0;
    min-height: 620px;
    overflow: hidden;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 10px;
  }

  h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .hero-text {
    max-width: 92%;
    font-size: 14px;
  }

  .hero-actions {
    position: relative;
    z-index: 3;
    width: min(100%, 350px);
  }

  .button {
    min-height: 46px;
    font-size: 13px;
  }

  .hero-art {
    position: absolute;
    top: 156px;
    right: -34px;
    z-index: 1;
    width: min(74vw, 330px);
    height: 390px;
    margin: 0;
    opacity: 0.34;
    pointer-events: none;
  }

  .hero-art::before {
    inset: 18% 4% 10%;
    opacity: 0.8;
    filter: blur(34px);
  }

  .hero-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center right;
    mix-blend-mode: screen;
  }

  .trust-row {
    padding-top: 8px;
    font-size: 12px;
  }

  .services,
  .bots {
    padding: 24px 8px;
  }

  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .service-card {
    min-height: 208px;
    padding: 18px 13px 16px;
  }

  .service-card > svg {
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card p {
    font-size: 12px;
  }

  .bot-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .bot-grid button {
    min-height: 82px;
    padding: 8px 4px;
    font-size: 10px;
  }

  .bot-grid svg {
    width: 24px;
    height: 24px;
  }

  .stats div {
    min-height: 105px;
  }

  .bots-screen {
    padding-top: 24px;
  }

  .active-bot-card {
    padding: 10px;
    gap: 12px;
  }

  .bot-logo-frame {
    min-height: 230px;
    padding: 10px;
  }

  .bot-logo-frame img {
    max-height: 250px;
  }

  .active-bot-content {
    padding: 8px;
  }

  .active-bot-content .button {
    width: 100%;
  }

  .quote-form-section {
    padding: 10px;
  }

  .quote-page {
    padding-top: 24px;
  }

  .mail-icon {
    width: 44px;
    height: 44px;
  }
}
