:root {
  --bg: #02040a;
  --panel: rgba(10, 14, 24, 0.82);
  --panel-strong: rgba(12, 17, 29, 0.96);
  --line: rgba(179, 109, 255, 0.22);
  --line-soft: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --muted: #aeb5c4;
  --purple: #933bff;
  --purple-bright: #b26cff;
  --purple-deep: #5b17d6;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 4%, rgba(94, 23, 214, 0.2), transparent 34rem),
    radial-gradient(circle at 15% 42%, rgba(112, 38, 255, 0.12), transparent 32rem),
    linear-gradient(180deg, #02040a 0%, #05070e 48%, #02040a 100%);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(110deg, transparent 0 44%, rgba(148, 58, 255, 0.12) 45%, transparent 58%),
    repeating-linear-gradient(164deg, transparent 0 22px, rgba(141, 51, 255, 0.055) 23px 24px);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.68;
}

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

img {
  max-width: 100%;
}

.brochure-header,
main,
.brochure-footer {
  width: min(100% - 56px, 1320px);
  margin: 0 auto;
}

.brochure-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 34px;
  min-height: 88px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(2, 4, 10, 0.9);
  backdrop-filter: blur(20px);
}

.brand img {
  display: block;
  width: 196px;
  height: auto;
}

.brochure-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 44px);
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}

.brochure-nav::-webkit-scrollbar {
  display: none;
}

.brochure-nav a {
  position: relative;
  padding: 34px 0 30px;
  color: #f4f1fb;
  font-size: 15px;
  font-weight: 800;
}

.brochure-nav a.active,
.brochure-nav a:hover {
  color: var(--purple-bright);
}

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

.demo-link,
.primary-button,
.secondary-button,
.module-card a,
.plan-card a,
.footer-demo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  border-radius: var(--radius);
  font-weight: 850;
}

.demo-link,
.secondary-button {
  border: 1px solid rgba(178, 108, 255, 0.66);
  background: rgba(76, 20, 157, 0.12);
  color: #fff;
}

.demo-link {
  padding: 0 26px;
}

.primary-button {
  min-width: 178px;
  padding: 0 28px;
  background: linear-gradient(135deg, #9f4cff, #671ce4);
  box-shadow: 0 22px 52px rgba(111, 27, 228, 0.34);
}

.secondary-button {
  min-width: 178px;
  padding: 0 26px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: 560px;
  padding: clamp(46px, 6vw, 78px) 12px;
  border-bottom: 1px solid var(--line-soft);
}

.inner-hero {
  min-height: 500px;
  padding-top: 24px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--purple-bright);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.centered {
  text-align: center;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

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

.hero-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.68;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.hero-art {
  position: relative;
  min-width: 0;
}

.hero-art img,
.split-showcase figure img {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.hero-art img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
}

.trust-strip,
.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 38px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(8, 11, 20, 0.72);
}

.trust-strip div,
.metric-band div {
  min-height: 94px;
  padding: 22px 28px;
  border-right: 1px solid var(--line-soft);
}

.trust-strip div:last-child,
.metric-band div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span,
.metric-band strong,
.metric-band span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 6px;
  font-size: 14px;
}

.trust-strip span,
.metric-band span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.metric-band {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 34px;
  border-color: rgba(147, 59, 255, 0.34);
}

.metric-band strong {
  color: var(--purple-bright);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.section-block {
  padding: clamp(42px, 6vw, 82px) 0;
}

.section-block h2 {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: clamp(31px, 3.2vw, 46px);
  line-height: 1.18;
}

.section-intro {
  max-width: 760px;
  margin: -12px auto 34px;
  color: var(--muted);
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
}

.module-grid,
.feature-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

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

.module-card,
.feature-grid article,
.plan-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 72, 255, 0.16), transparent 12rem),
    rgba(10, 14, 24, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.compact-grid .module-card {
  grid-template-rows: 54px 82px 1fr 28px;
  min-height: 330px;
  padding: 24px;
  overflow: hidden;
}

.module-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  border: 1px solid rgba(178, 108, 255, 0.54);
  border-radius: var(--radius);
  color: #d19aff;
}

.module-icon svg {
  width: 29px;
  height: 29px;
}

.module-card h3,
.feature-grid h3,
.plan-card h3 {
  margin-bottom: 14px;
  font-size: clamp(20px, 1.5vw, 24px);
  line-height: 1.24;
  overflow-wrap: anywhere;
}

.module-card p,
.feature-grid p,
.plan-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
  overflow-wrap: anywhere;
}

.module-card a,
.plan-card a {
  justify-self: start;
  align-self: end;
  min-height: auto;
  margin-top: auto;
  color: var(--purple-bright);
  font-size: 14px;
  white-space: nowrap;
}

.compact-grid .module-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
}

.compact-grid .module-icon svg {
  width: 25px;
  height: 25px;
}

.compact-grid .module-card h3 {
  margin-bottom: 0;
  font-size: clamp(18px, 1.15vw, 22px);
  line-height: 1.18;
}

.compact-grid .module-card p {
  margin-bottom: 0;
  font-size: clamp(14px, 0.95vw, 15px);
  line-height: 1.48;
}

.compact-grid .module-card a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 28px;
  font-size: 14px;
  line-height: 1;
}

.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding: clamp(44px, 7vw, 88px) 12px;
}

.split-showcase:nth-of-type(even) {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split-showcase h2,
.cta-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.14;
}

.split-showcase p,
.cta-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.split-showcase figure {
  margin: 0;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #eef1f8;
  line-height: 1.5;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--purple-bright);
  border-radius: 50%;
  color: var(--purple-bright);
  font-size: 12px;
  font-weight: 900;
}

.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 30px 12px 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: #fff;
}

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

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

.demo-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  scroll-margin-top: 116px;
  margin: 26px 0 44px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(147, 59, 255, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(15, 17, 31, 0.96), rgba(36, 16, 74, 0.64), rgba(8, 10, 18, 0.94)),
    repeating-linear-gradient(164deg, transparent 0 16px, rgba(178, 108, 255, 0.055) 17px 18px);
}

.demo-panel-copy {
  display: grid;
  align-content: center;
  min-height: 100%;
}

.demo-panel-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.14;
}

.demo-panel-copy p {
  max-width: 470px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.demo-points {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.demo-points span {
  position: relative;
  padding-left: 28px;
  color: #eef1f8;
  font-size: 14px;
  font-weight: 800;
}

.demo-points span::before {
  content: "";
  position: absolute;
  top: 0.42em;
  left: 0;
  width: 11px;
  height: 11px;
  border: 1px solid var(--purple-bright);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(178, 108, 255, 0.48);
}

.demo-form {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(178, 108, 255, 0.36);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 0%, rgba(147, 59, 255, 0.2), transparent 14rem),
    rgba(3, 7, 15, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.demo-form label {
  display: grid;
  gap: 9px;
  color: #eef1f8;
  font-size: 14px;
  font-weight: 850;
}

.demo-form input:not([type="checkbox"]),
.demo-form select,
.demo-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(3, 7, 15, 0.82);
  color: var(--text);
  font: inherit;
  font-weight: 650;
  padding: 13px 15px;
  outline: none;
}

.demo-form textarea {
  min-height: 94px;
  resize: vertical;
}

.demo-form input:focus,
.demo-form select:focus,
.demo-form textarea:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 3px rgba(178, 108, 255, 0.16);
}

.full-span,
.captcha-field,
.consent-field {
  grid-column: 1 / -1;
}

.captcha-field > span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(178, 108, 255, 0.36);
  border-radius: var(--radius);
  color: var(--purple-bright);
  background: rgba(147, 59, 255, 0.1);
}

.consent-field {
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start;
  color: var(--muted) !important;
  font-weight: 700 !important;
  line-height: 1.45;
}

.consent-field input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--purple);
  flex: 0 0 auto;
}

.errorlist {
  margin: 0;
  padding: 0;
  color: #ffb4c2;
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.form-success,
.form-error {
  display: grid;
  gap: 5px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  line-height: 1.45;
}

.form-success {
  border: 1px solid rgba(82, 211, 140, 0.35);
  color: #bbf7d0;
  background: rgba(22, 101, 52, 0.22);
}

.form-success span {
  color: #d7fce3;
}

.form-error {
  border: 1px solid rgba(255, 130, 160, 0.32);
  color: #ffd5de;
  background: rgba(130, 18, 42, 0.24);
}

.form-submit {
  width: 100%;
  margin-top: 22px;
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
}

.plan-card {
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 430px;
}

.plan-card.featured {
  border-color: rgba(178, 108, 255, 0.64);
  background:
    radial-gradient(circle at 50% 0%, rgba(147, 59, 255, 0.32), transparent 15rem),
    rgba(14, 16, 31, 0.92);
}

.plan-card strong {
  margin: 10px 0 20px;
  color: var(--purple-bright);
  font-size: 32px;
}

.plan-card ul {
  display: grid;
  gap: 11px;
  margin: 0 0 26px;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.plan-card li::before {
  content: "✓ ";
  color: var(--purple-bright);
  font-weight: 900;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  margin: 26px 0 36px;
  padding: clamp(32px, 5vw, 54px) clamp(28px, 5vw, 68px);
  border: 1px solid rgba(147, 59, 255, 0.42);
  border-radius: var(--radius);
  background:
    linear-gradient(105deg, rgba(15, 17, 31, 0.96), rgba(52, 19, 95, 0.76), rgba(8, 10, 18, 0.94)),
    repeating-linear-gradient(164deg, transparent 0 14px, rgba(178, 108, 255, 0.07) 15px 16px);
}

.cta-panel h2 {
  color: var(--purple-bright);
}

.brochure-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(140px, 0.7fr)) minmax(220px, 0.9fr);
  gap: 42px;
  padding: 36px 0 46px;
  border-top: 1px solid var(--line-soft);
}

.brochure-footer img {
  width: 174px;
}

.brochure-footer p,
.brochure-footer a,
.footer-demo span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.brochure-footer h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brochure-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-demo {
  display: grid;
  align-content: center;
  justify-content: start;
  min-height: 110px;
  padding: 20px;
  border: 1px solid var(--line-soft);
  background: rgba(10, 14, 24, 0.7);
}

.footer-demo b {
  color: var(--purple-bright);
}

@media (max-width: 1180px) {
  .brochure-header {
    grid-template-columns: 1fr auto;
    gap: 18px;
    padding: 18px 0;
  }

  .brochure-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .demo-link {
    grid-column: 2;
    grid-row: 1;
  }

  .brochure-nav a {
    padding: 8px 0 14px;
  }

  .brochure-nav a.active::after {
    bottom: 4px;
  }

  .hero,
  .demo-panel,
  .split-showcase,
  .split-showcase:nth-of-type(even) {
    grid-template-columns: 1fr;
  }

  .demo-panel {
    scroll-margin-top: 178px;
  }

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

@media (max-width: 860px) {
  .brochure-header,
  main,
  .brochure-footer {
    width: min(100% - 32px, 1320px);
  }

  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .hero-copy {
    max-width: none;
  }

  .trust-strip,
  .metric-band,
  .feature-grid,
  .form-grid,
  .plan-grid,
  .module-grid,
  .compact-grid,
  .cta-panel,
  .brochure-footer {
    grid-template-columns: 1fr;
  }

  .trust-strip div,
  .metric-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .trust-strip div:last-child,
  .metric-band div:last-child {
    border-bottom: 0;
  }

  .hero-art img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 142px;
  }

  .demo-link {
    min-height: 44px;
    padding: 0 14px;
    font-size: 13px;
  }

  h1 {
    font-size: 38px;
  }

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

  .section-block {
    padding: 46px 0;
  }

  .module-card,
  .feature-grid article,
  .plan-card {
    min-height: auto;
  }
}
