:root {
  color-scheme: dark;
  --bg: #050506;
  --surface: #111113;
  --surface-2: #1b1b1f;
  --text: #ffffff;
  --muted: #9b95a5;
  --primary: #a526ff;
  --primary-dark: #5f2af5;
  --border: rgba(255, 255, 255, 0.09);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 5%, rgba(165, 38, 255, 0.17), transparent 28rem),
    radial-gradient(circle at 5% 40%, rgba(95, 42, 245, 0.12), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

img {
  display: block;
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 5, 6, 0.82);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 12px 30px rgba(165, 38, 255, 0.3);
}

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

.nav-links a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(165, 38, 255, 0.22);
}

.button.secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.hero {
  padding: 96px 0 76px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(165, 38, 255, 0.3);
  border-radius: 999px;
  background: rgba(165, 38, 255, 0.08);
  color: #d8a1ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.gradient-text {
  background: linear-gradient(100deg, #d68bff, #8e56ff 55%, #5f8cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: #b755ff;
}

.phone {
  position: relative;
  width: min(100%, 380px);
  margin-inline: auto;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 42px;
  background: #09090b;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5), 0 0 80px rgba(165, 38, 255, 0.12);
}

.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  width: 94px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050506;
  z-index: 2;
}

.phone-screen {
  min-height: 620px;
  padding: 62px 20px 24px;
  border-radius: 31px;
  background: linear-gradient(180deg, #151518, #080809);
}

.phone-title {
  margin: 0 0 22px;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.upload-card {
  display: grid;
  height: 235px;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 23px;
  background: #111113;
  text-align: center;
}

.upload-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 13px;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, #59348f, #2a1749);
  font-size: 26px;
}

.upload-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 900;
}

.upload-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.mini-heading {
  margin: 24px 0 12px;
  font-weight: 900;
}

.tool-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.tool {
  min-height: 92px;
  padding: 13px 8px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface-2);
  text-align: center;
  font-size: 11px;
  font-weight: 800;
}

.tool:first-child {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.tool-icon {
  display: block;
  margin-bottom: 7px;
  font-size: 22px;
}

.section {
  padding: 80px 0;
}

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

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

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

.feature-card,
.support-card {
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(17, 17, 19, 0.78);
}

.feature-card .icon,
.support-card .icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: rgba(165, 38, 255, 0.13);
  color: #cf8fff;
  font-size: 22px;
}

.feature-card h3,
.support-card h2 {
  margin: 18px 0 8px;
  font-size: 18px;
}

.feature-card p,
.support-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.cta {
  margin: 40px auto 80px;
  padding: 48px;
  border: 1px solid rgba(165, 38, 255, 0.24);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(165, 38, 255, 0.18), rgba(95, 42, 245, 0.1));
  text-align: center;
}

.cta h2 {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: -0.05em;
}

.cta p {
  margin: 0 0 24px;
  color: var(--muted);
}

.page-hero {
  padding: 74px 0 42px;
}

.page-hero h1 {
  max-width: 850px;
  font-size: clamp(42px, 6vw, 64px);
}

.page-hero p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  gap: 56px;
  align-items: start;
  padding-bottom: 90px;
}

.legal-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 8px;
}

.legal-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.legal-content {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(17, 17, 19, 0.78);
}

.legal-content h2 {
  scroll-margin-top: 100px;
  margin: 38px 0 10px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: #bbb6c2;
}

.legal-content a,
.text-link {
  color: #c77eff;
  font-weight: 800;
}

.legal-content li + li {
  margin-top: 8px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-bottom: 80px;
}

.support-card a {
  display: inline-block;
  margin-top: 16px;
  color: #c77eff;
  font-size: 14px;
  font-weight: 900;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 700;
}

@media (max-width: 840px) {
  .nav-links a:not(.button) {
    display: none;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

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

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .legal-nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .brand span:last-child {
    max-width: 145px;
    line-height: 1.05;
  }

  .nav-links .button {
    min-height: 42px;
    padding-inline: 14px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .phone-screen {
    min-height: 570px;
  }

  .section {
    padding: 60px 0;
  }

  .cta {
    padding: 34px 20px;
  }

  .legal-content {
    padding: 22px;
  }

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

  .footer-inner {
    padding: 28px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}
