:root {
  --bg: #04060d;
  --bg-soft: #090d19;
  --panel: #0d1324;
  --panel-2: #121a2f;
  --ink: #f7f8ff;
  --muted: #aeb6ca;
  --line: rgba(255, 255, 255, 0.12);
  --brand: #4f46e5;
  --brand-2: #8b5cf6;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --green: #34d399;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Lexend, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans SC",
    sans-serif;
  line-height: 1.6;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(4, 6, 13, 0.82);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 24px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.05;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

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

.lang-switch {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch button {
  min-width: 44px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.lang-switch button.is-active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  padding: clamp(58px, 9vw, 104px) 18px 80px;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: auto -10% -28% -10%;
  z-index: -3;
  height: 520px;
  background:
    radial-gradient(circle at 25% 20%, rgba(79, 70, 229, 0.36), transparent 34%),
    radial-gradient(circle at 74% 10%, rgba(244, 114, 182, 0.2), transparent 30%),
    linear-gradient(180deg, rgba(9, 13, 25, 0), rgba(9, 13, 25, 0.96));
  content: "";
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.48;
  pointer-events: none;
}

.hero-grid::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 6, 13, 0.14), rgba(4, 6, 13, 0.94)),
    linear-gradient(90deg, rgba(4, 6, 13, 0.9), rgba(4, 6, 13, 0.24), rgba(4, 6, 13, 0.86));
  content: "";
}

.video-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(79, 70, 229, 0.42), rgba(244, 114, 182, 0.16)),
    linear-gradient(180deg, #1f2937, #0f172a);
  box-shadow: var(--shadow);
}

.video-card::before,
.phone-video::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 14px);
  content: "";
}

.video-card::after,
.phone-video::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(4, 6, 13, 0.58);
  content: attr(data-label);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.video-card video,
.phone-video video {
  position: relative;
  z-index: 2;
}

.video-card:has(video)::after,
.phone-video:has(video)::after {
  opacity: 0.92;
}

.card-a {
  top: 8%;
  right: 8%;
  width: min(24vw, 270px);
  aspect-ratio: 9 / 16;
}

.card-b {
  top: 22%;
  right: 29%;
  width: min(18vw, 210px);
  aspect-ratio: 9 / 16;
}

.card-c {
  right: 16%;
  bottom: 8%;
  width: min(18vw, 220px);
  aspect-ratio: 9 / 16;
}

.card-d {
  top: 14%;
  left: 6%;
  width: min(18vw, 210px);
  aspect-ratio: 9 / 16;
  opacity: 0.7;
}

.hero-content {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding-top: clamp(30px, 8vh, 94px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(46px, 8vw, 88px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: #d4d9e7;
  font-size: clamp(17px, 2vw, 22px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn svg,
.feature-card svg,
.hero-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-color: rgba(255, 255, 255, 0.08);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  font-size: 13px;
}

.platforms {
  padding: 26px 18px 62px;
  text-align: center;
}

.platforms p {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.platform-row span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #dbe0ef;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: clamp(72px, 9vw, 112px) 18px;
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.showcase-copy h2,
.contact h2,
.faq h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading p:last-child,
.showcase-copy p,
.contact p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card,
.plan-card,
.steps article,
.faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.feature-card {
  min-height: 246px;
  padding: 26px;
}

.feature-card svg {
  width: 34px;
  height: 34px;
  color: var(--cyan);
}

.feature-card:nth-child(2n) svg {
  color: var(--pink);
}

.feature-card:nth-child(3n) svg {
  color: var(--green);
}

.feature-card h3 {
  margin: 24px 0 10px;
  font-size: 22px;
}

.feature-card p,
.steps p,
.plan-card li,
.faq p {
  margin: 0;
  color: var(--muted);
}

.showcase {
  padding: clamp(72px, 9vw, 120px) 18px;
  background:
    linear-gradient(180deg, rgba(4, 6, 13, 0.96), rgba(9, 13, 25, 0.98)),
    var(--bg-soft);
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: center;
}

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

.stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  margin-bottom: 4px;
}

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

.phone-wall {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: center;
}

.phone-video {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(34, 211, 238, 0.26), rgba(139, 92, 246, 0.2)),
    linear-gradient(180deg, #1f2937, #0f172a);
  box-shadow: var(--shadow);
  aspect-ratio: 9 / 16;
}

.phone-video.tall {
  grid-row: span 2;
}

.workflow {
  background:
    radial-gradient(circle at 50% 0, rgba(79, 70, 229, 0.18), transparent 38%),
    var(--bg);
}

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

.steps article {
  min-height: 220px;
  padding: 26px;
}

.steps span {
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 900;
}

.steps h3 {
  margin: 44px 0 10px;
  font-size: 24px;
}

.pricing {
  background: var(--bg-soft);
}

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

.plan-card {
  padding: 26px;
}

.plan-card.featured {
  border-color: rgba(139, 92, 246, 0.62);
  background:
    linear-gradient(180deg, rgba(79, 70, 229, 0.28), rgba(255, 255, 255, 0.04)),
    var(--panel);
}

.plan-label {
  margin: 0;
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 12px 0 18px;
  font-size: 28px;
}

.plan-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding-left: 20px;
}

.plan-card li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.faq {
  padding: clamp(72px, 9vw, 112px) 18px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(28px, 6vw, 76px);
}

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

.faq details {
  padding: 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin-top: 12px;
}

.contact {
  padding: clamp(72px, 9vw, 112px) 18px;
  background: var(--bg-soft);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 6vw, 76px);
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 14%, rgba(34, 211, 238, 0.16), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(244, 114, 182, 0.16), transparent 28%),
    var(--panel);
}

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

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

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

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form select option {
  color: #111827;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(139, 92, 246, 0.72);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 30px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #03050a;
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  color: var(--ink);
}

.footer span,
.footer p,
.footer-links {
  margin: 0;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.footer p {
  text-align: right;
}

.legal-page {
  min-height: 100vh;
}

.legal-nav {
  gap: 18px;
}

.legal-shell {
  width: min(940px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0;
}

.legal-hero {
  margin-bottom: 26px;
}

.legal-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.legal-hero > p:not(.section-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.legal-meta div,
.legal-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    var(--panel);
}

.legal-meta div {
  padding: 18px;
}

.legal-meta span,
.legal-meta strong {
  display: block;
}

.legal-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.legal-meta strong {
  margin-top: 4px;
}

.legal-panel {
  padding: clamp(22px, 4vw, 42px);
}

.legal-intro p,
.legal-section p,
.legal-contact p {
  color: #d5dbee;
}

.legal-intro p {
  margin: 0 0 12px;
}

.legal-notice {
  margin: 22px 0 30px;
  padding: 16px;
  border: 1px solid rgba(139, 92, 246, 0.34);
  border-radius: 14px;
  color: #ece9ff;
  background: rgba(139, 92, 246, 0.12);
  font-weight: 700;
}

.legal-section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2,
.legal-contact h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.legal-section p {
  margin: 10px 0;
}

.legal-section a,
.legal-contact a {
  color: #c4b5fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-contact {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 940px) {
  .nav-toggle {
    display: grid;
  }

  .header-actions {
    gap: 10px;
  }

  .nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 18px;
    left: 18px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(13, 19, 36, 0.98);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
    gap: 10px;
  }

  .legal-page .legal-nav {
    position: static;
    display: flex;
    gap: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .nav a {
    padding: 8px 4px;
  }

  .hero-grid {
    opacity: 0.34;
  }

  .card-a {
    right: 2%;
    width: 230px;
  }

  .card-b,
  .card-d {
    display: none;
  }

  .feature-grid,
  .steps,
  .plan-grid,
  .showcase-grid,
  .faq-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
    padding: 11px 16px;
  }

  .brand small {
    display: none;
  }

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

  .hero h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

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

  .lang-switch button {
    min-width: 38px;
  }

  .hero-note {
    align-items: flex-start;
  }

  .card-a {
    top: 18%;
    right: -18%;
    width: 210px;
  }

  .card-c {
    right: -12%;
    bottom: 2%;
    width: 170px;
  }

  .feature-grid,
  .contact-form,
  .phone-wall {
    grid-template-columns: 1fr;
  }

  .phone-video.tall {
    grid-row: auto;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .footer p {
    text-align: left;
  }

  .legal-shell {
    width: min(100% - 24px, 940px);
  }

  .legal-meta {
    grid-template-columns: 1fr;
  }
}
