:root {
  --bg: #000000;
  --panel: #07070b;
  --panel-soft: #0d0d14;
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(160, 116, 255, 0.45);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --purple: #7c3cff;
  --violet: #a074ff;
  --green: #25d366;
  --shadow: 0 22px 90px rgba(124, 60, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #000000;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(124, 60, 255, 0.18), transparent 34rem);
  background-size: 56px 56px, 56px 56px, auto;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), #000000 82%);
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 78px);
  background: rgba(0, 0, 0, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: clamp(156px, 16vw, 246px);
  height: auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  font-weight: 800;
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  transition: color 180ms ease;
}

.nav a:hover,
.nav a.active {
  color: var(--violet);
}

.nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -15px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--purple);
  box-shadow: 0 0 18px var(--purple);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: white;
  font-size: 1.25rem;
  background: #050508;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mail-mini,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-weight: 900;
}

.mail-mini {
  width: 54px;
  min-width: 54px;
  padding: 0;
  background: rgba(124, 60, 255, 0.08);
  box-shadow: inset 0 0 24px rgba(124, 60, 255, 0.12);
}

.mail-mini img {
  width: 27px;
  height: 27px;
  display: block;
}

.button {
  min-width: 158px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.44);
}

.button.primary {
  background: linear-gradient(135deg, #8f49ff, #5d2be7);
  box-shadow: 0 18px 46px rgba(124, 60, 255, 0.32);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.035);
}

.button.full {
  width: 100%;
}

main {
  overflow: hidden;
}

.home-hero,
.page-hero,
.section,
.stats {
  width: min(100%, 1480px);
  margin: 0 auto;
  padding-right: clamp(18px, 5vw, 78px);
  padding-left: clamp(18px, 5vw, 78px);
}

.home-hero {
  display: grid;
  align-content: center;
  gap: clamp(34px, 5vw, 70px);
  min-height: calc(100vh - 84px);
  padding-top: clamp(62px, 8vw, 118px);
  padding-bottom: clamp(48px, 7vw, 92px);
  text-align: center;
}

.hero-content {
  width: min(980px, 100%);
  margin: 0 auto;
}

.eyebrow,
.section-head span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 7px 13px;
  color: #d9ccff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  background: rgba(153, 116, 255, 0.12);
  border: 1px solid rgba(153, 116, 255, 0.2);
  border-radius: 999px;
}

.eyebrow::before,
.section-head span::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--purple);
  border-radius: 50%;
  box-shadow: 0 0 18px var(--purple);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.home-hero h1,
.page-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
  hyphens: none;
}

.page-hero h1 {
  width: min(1080px, 100%);
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(3rem, 5.8vw, 6rem);
}

.home-hero p,
.page-hero p,
.split p {
  width: min(760px, 100%);
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.75;
  text-wrap: balance;
  hyphens: none;
}

.page-hero {
  padding-top: clamp(70px, 9vw, 124px);
  padding-bottom: clamp(38px, 6vw, 72px);
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.product-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 12px;
}

.product-strip img {
  width: 100%;
  height: 88px;
  padding: 18px 22px;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-strip img[src$=".png"] {
  object-fit: contain;
}

.product-strip img.logo-fill {
  padding: 10px 14px;
}

.product-strip img.logo-exoplan {
  padding: 4px 10px;
}

.section {
  padding-top: clamp(42px, 7vw, 82px);
  padding-bottom: clamp(42px, 7vw, 82px);
}

.section-head {
  width: min(780px, 100%);
  margin: 0 auto 28px;
  text-align: center;
}

.section-head h2,
.split h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.04;
}

.feature-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.product-card,
.contact-panel,
.order-form,
.process-list,
.stats {
  background: linear-gradient(180deg, rgba(13, 13, 20, 0.92), rgba(2, 2, 5, 0.96));
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-grid article {
  min-height: 184px;
  padding: 28px;
  text-align: center;
}

.feature-grid h3,
.product-card h2 {
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.feature-grid p,
.product-card p,
.contact-panel p,
.process-list span,
.stats span {
  color: var(--muted);
  line-height: 1.65;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
  text-align: center;
}

.split p {
  margin-right: auto;
  margin-left: auto;
}

.centered-split {
  grid-template-columns: 1fr;
  text-align: center;
}

.centered-split > div {
  width: min(900px, 100%);
  margin: 0 auto;
}

.centered-split p {
  margin-right: auto;
  margin-left: auto;
}

.centered-split .check-list {
  width: min(820px, 100%);
  margin: 0 auto;
  text-align: center;
}

.centered-split .check-list li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 24px;
  text-align: center;
}

.process-list li + li {
  border-top: 1px solid var(--line);
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 26px;
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.check-list li::before {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-right: 12px;
  content: "\2713";
  color: var(--violet);
  border: 1px solid var(--purple);
  border-radius: 50%;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 24px;
  padding-bottom: 24px;
}

.stats.compact {
  margin-bottom: 8px;
}

.stats div {
  display: grid;
  gap: 8px;
  padding: 0 18px;
  text-align: center;
}

.stats div + div {
  border-left: 1px solid var(--line);
}

.stats strong {
  color: var(--violet);
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 340px;
  padding: 30px;
  text-align: center;
}

.product-card img {
  width: 146px;
  height: 74px;
  margin-bottom: 22px;
  object-fit: contain;
  padding: 12px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(153, 116, 255, 0.22);
  border-radius: 8px;
}

.product-card img.logo-wide {
  width: min(214px, 100%);
  padding: 10px 16px;
}

.product-card img.logo-fill {
  width: min(238px, 100%);
  padding: 7px 10px;
}

.product-card img.logo-exoplan {
  height: 96px;
  padding: 0;
}

.product-card img.logo-on-light {
  background: #ffffff;
}

.product-card img[src$=".png"] {
  object-fit: contain;
}

.product-card p {
  flex: 1;
  width: 100%;
}

.text-only h2 {
  margin-top: 74px;
}

.version-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 24px;
}

.version-tags span {
  padding: 7px 10px;
  color: #dfd2ff;
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(124, 60, 255, 0.12);
  border: 1px solid rgba(160, 116, 255, 0.24);
  border-radius: 999px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 16px;
}

.contact-panel,
.order-form {
  padding: clamp(24px, 3vw, 34px);
}

.contact-panel {
  text-align: center;
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-lines a,
.contact-lines span {
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-lines a {
  display: grid;
  gap: 4px;
}

.contact-lines strong {
  color: white;
}

.contact-lines a span {
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
}

.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: white;
  font: inherit;
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.66);
}

select option {
  color: white;
  background: #000000;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(124, 60, 255, 0.18);
}

select,
textarea,
.wide-field,
.order-form .button {
  grid-column: 1 / -1;
}

textarea {
  min-height: 110px;
  padding-top: 14px;
  resize: vertical;
}

.is-hidden {
  display: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-text-fill-color: white;
  caret-color: white;
  box-shadow: 0 0 0 1000px #000000 inset;
  transition: background-color 9999s ease-in-out 0s;
}

.floating-mail {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 21;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: white;
  background: linear-gradient(135deg, #8f49ff, #5d2be7);
  border-radius: 50%;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.46);
}

.floating-mail img {
  width: 31px;
  height: 31px;
  display: block;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: #000000;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .nav a.active::after {
    display: none;
  }

  .mail-mini {
    justify-self: end;
  }

  .product-strip,
  .feature-grid,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .site-header {
    gap: 10px;
    padding: 14px 16px;
  }

  .brand img {
    width: 142px;
  }

  .mail-mini {
    width: 44px;
    min-width: 44px;
    min-height: 40px;
    padding: 0;
  }

  .home-hero h1,
  .page-hero h1 {
    font-size: 2.7rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .product-strip,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stats div {
    padding: 14px 8px;
  }

  .stats div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .process-list li,
  .order-form {
    grid-template-columns: 1fr;
  }

  .text-only h2 {
    margin-top: 0;
  }
}

@media (max-width: 460px) {
  .product-strip,
  .stats {
    grid-template-columns: 1fr;
  }
}
