:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-2: #eef1f7;
  --ink: #111827;
  --muted: #5b6472;
  --line: #dfe4ee;
  --dark: #111322;
  --dark-2: #191b2d;
  --purple: #5b2eff;
  --purple-2: #7c5cff;
  --blue: #16a8ff;
  --green: #20d59b;
  --warning: #f9b44c;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 19, 34, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto -84px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(17, 19, 34, 0.78);
  color: #fff;
  backdrop-filter: blur(18px);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-color: rgba(124, 92, 255, 0.25);
  background: rgba(17, 19, 34, 0.94);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

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

.brand img {
  display: block;
  width: 190px;
  max-width: 38vw;
  height: 44px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

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

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

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

.nav-links a:hover,
.footer-links a:hover {
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(91, 46, 255, 0.28);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--purple-2);
  box-shadow: 0 20px 42px rgba(91, 46, 255, 0.36);
}

.button-small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.language-select select {
  min-height: 38px;
  max-width: 118px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  outline: none;
}

.language-select select:focus {
  border-color: rgba(32, 213, 155, 0.45);
  box-shadow: 0 0 0 3px rgba(32, 213, 155, 0.14);
}

.language-select option {
  color: var(--ink);
}

.platform-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  font-weight: 800;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.platform-access:hover {
  transform: translateY(-1px);
  border-color: rgba(32, 213, 155, 0.45);
  background: rgba(255, 255, 255, 0.14);
}

.platform-access svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 56px;
  align-items: center;
  min-height: 760px;
  padding: 142px max(24px, calc((100vw - 1180px) / 2)) 82px;
  overflow: hidden;
}

.section-dark {
  position: relative;
  background:
    radial-gradient(circle at 82% 22%, rgba(91, 46, 255, 0.32), transparent 30%),
    linear-gradient(135deg, #111322 0%, #17192b 52%, #0e1220 100%);
  color: #fff;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

.hero > *,
.section-dark > * {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.65rem, 6vw, 5.8rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.25;
}

.hero p,
.section-heading p,
.split p,
.proof p,
.cta-band p,
.site-footer p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-dark p,
.hero p {
  color: rgba(255, 255, 255, 0.76);
}

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

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.trust-line span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
}

.hero-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: contain;
  object-position: top left;
}

.hero-media-caption {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 11, 22, 0.62);
}

.hero-media-caption strong,
.hero-media-caption span {
  display: block;
}

.hero-media-caption span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.92rem;
}

.section {
  padding: 104px max(24px, calc((100vw - 1180px) / 2));
}

.section-muted {
  background: var(--surface-2);
}

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

.section-heading.compact {
  max-width: 680px;
}

.problem-grid,
.feature-grid,
.differential-grid,
.audience-grid {
  display: grid;
  gap: 16px;
}

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

.problem-grid article,
.feature-grid article,
.audience-grid article,
.steps article,
.solution-list article,
.numbers article,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.problem-grid article,
.audience-grid article {
  padding: 24px;
}

.problem-grid p,
.feature-grid p,
.audience-grid p,
.steps p,
.solution-list p,
.faq p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 54px;
  align-items: start;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--purple);
  font-weight: 800;
}

.solution-list {
  display: grid;
  gap: 14px;
}

.solution-list article {
  display: flex;
  gap: 18px;
  padding: 22px;
}

.solution-list span,
.steps span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 7px;
  background: rgba(91, 46, 255, 0.1);
  color: var(--purple);
  font-weight: 900;
}

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

.steps article {
  padding: 22px;
}

.steps span {
  margin-bottom: 28px;
  background: var(--dark);
  color: #fff;
}

.install-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.install-gallery figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.install-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.install-gallery figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 700;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.showcase-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.showcase-card.large {
  grid-column: span 2;
  grid-row: span 2;
}

.showcase-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  background: #6f44ff;
  object-fit: contain;
  object-position: top left;
}

.showcase-card.large img {
  aspect-ratio: 16 / 7;
}

.showcase-card div {
  padding: 18px;
}

.showcase-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.feature-grid article {
  min-height: 154px;
  padding: 20px;
}

.feature-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--purple);
  font-weight: 900;
}

.differentials {
  padding-top: 92px;
  padding-bottom: 92px;
}

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

.differential-grid article {
  min-height: 92px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

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

.proof-content {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 44px;
  align-items: center;
}

.numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.numbers article {
  padding: 24px;
}

.numbers strong {
  display: block;
  font-size: 1.55rem;
}

.numbers span {
  color: var(--muted);
}

.logo-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.logo-strip span {
  display: grid;
  place-items: center;
  min-height: 86px;
  border: 1px solid #d7dce7;
  border-radius: var(--radius);
  background: #fff;
}

.logo-strip img {
  display: block;
  max-width: 82%;
  max-height: 48px;
  object-fit: contain;
}

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

.case-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.case-card iframe,
.video-trigger {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--dark);
}

.video-trigger {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  color: #fff;
  font: inherit;
}

.video-trigger img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.76;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.video-trigger span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--purple);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.video-trigger:hover img {
  transform: scale(1.03);
  opacity: 0.88;
}

.case-card div {
  padding: 22px;
}

.case-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  align-items: center;
  gap: 42px;
  margin: 0 max(24px, calc((100vw - 1180px) / 2));
  padding: 44px;
  border-radius: var(--radius);
  background: var(--dark);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

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

.lead-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 0 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  outline: none;
}

.lead-form textarea {
  min-height: 96px;
  padding-top: 12px;
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.lead-form select option {
  color: var(--ink);
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(32, 213, 155, 0.14);
}

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

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq details {
  padding: 0 22px;
}

.faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 800;
  line-height: 1.35;
}

.faq details[open] {
  padding-bottom: 20px;
}

.faq p {
  max-width: 880px;
}

.faq strong {
  color: var(--ink);
  font-weight: 800;
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 100px 24px;
}

.final-cta h2 {
  max-width: 820px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px max(24px, calc((100vw - 1180px) / 2));
  background: #080b16;
  color: #fff;
}

.site-footer p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.68);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .site-header {
    margin-top: 10px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .site-header.is-menu-open .nav-links,
  .site-header.is-menu-open .header-actions {
    display: grid;
    width: 100%;
  }

  .site-header.is-menu-open .nav-links {
    order: 3;
    grid-template-columns: 1fr;
    gap: 4px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header.is-menu-open .nav-links a {
    padding: 12px 10px;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 800;
  }

  .site-header.is-menu-open .nav-links a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .site-header.is-menu-open .header-actions {
    order: 4;
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 8px;
  }

  .site-header.is-menu-open .language-select,
  .site-header.is-menu-open .language-select select,
  .site-header.is-menu-open .platform-access,
  .site-header.is-menu-open .button-small {
    width: 100%;
    max-width: none;
  }

  .site-header.is-menu-open .platform-access,
  .site-header.is-menu-open .button-small {
    min-height: 44px;
  }

  .hero,
  .split,
  .proof-content {
    grid-template-columns: 1fr;
  }

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

  .problem-grid,
  .feature-grid,
  .differential-grid,
  .audience-grid,
  .steps,
  .showcase-grid,
  .logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-card.large {
    grid-column: span 2;
    grid-row: auto;
  }

  .cta-band {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    gap: 12px;
  }

  .brand img {
    width: 168px;
    max-width: 58vw;
    height: 38px;
  }

  .hero,
  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    gap: 38px;
  }

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

  .trust-line span {
    width: 100%;
  }

  .problem-grid,
  .feature-grid,
  .differential-grid,
  .audience-grid,
  .steps,
  .install-gallery,
  .showcase-grid,
  .case-grid,
  .numbers,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .showcase-card.large {
    grid-column: auto;
  }

  .solution-list article {
    flex-direction: column;
  }

  .cta-band {
    margin-right: 18px;
    margin-left: 18px;
    padding: 30px 22px;
  }

  .lead-form {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
