:root {
  --bg: #0c0711;
  --bg-soft: #160d20;
  --card: #20122e;
  --card-light: #ffffff;
  --text: #f7f1ff;
  --muted: #c9b8d9;
  --muted-dark: #5b4b66;
  --primary: #791ab5;
  --primary-dark: #4c0f73;
  --accent: #d7b7ff;
  --border: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(12, 7, 17, 0.76);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-mark {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff, var(--accent), var(--primary));
  box-shadow: 0 0 28px rgba(121, 26, 181, 0.8);
}

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

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 88px;
  background:
    radial-gradient(circle at 20% 20%, rgba(121, 26, 181, 0.34), transparent 35%),
    radial-gradient(circle at 85% 15%, rgba(215, 183, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #0c0711 0%, #170b22 45%, #0c0711 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -120px -220px auto;
  width: 520px;
  height: 520px;
  border-radius: 999px;
  background: rgba(121, 26, 181, 0.18);
  filter: blur(40px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 660px;
  color: var(--muted);
  font-size: 19px;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 16px 36px rgba(121, 26, 181, 0.35);
}

.button.secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

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

.trust-line span {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-card {
  display: flex;
  justify-content: center;
}

.signal-box {
  width: min(430px, 100%);
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(32, 18, 46, 0.86);
  box-shadow: var(--shadow);
}

.signal-header,
.profile-result {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.signal-header {
  margin-bottom: 30px;
  color: var(--text);
  font-weight: 800;
}

.status {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(121, 26, 181, 0.18);
  font-size: 12px;
}

.wave {
  height: 54px;
  margin: 18px 0;
  border-radius: 18px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(215, 183, 255, 0.2) 25%, rgba(121, 26, 181, 0.95) 52%, rgba(215, 183, 255, 0.26) 75%, transparent 100%);
  mask-image: radial-gradient(circle at 10% 50%, black 5px, transparent 6px);
  opacity: 0.9;
}

.wave-one {
  transform: scaleX(0.92);
}

.wave-two {
  transform: scaleX(1);
  opacity: 0.62;
}

.wave-three {
  transform: scaleX(0.78);
  opacity: 0.44;
}

.profile-result {
  margin-top: 28px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.profile-result small {
  display: block;
  color: var(--muted);
}

.profile-result span {
  color: var(--accent);
  font-weight: 800;
}

.section {
  padding: 92px 0;
}

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

.section-heading p,
.text-block p {
  color: var(--muted);
  font-size: 18px;
}

.cards {
  display: grid;
  gap: 18px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.055);
}

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

.dark-section {
  background:
    radial-gradient(circle at 75% 20%, rgba(121, 26, 181, 0.25), transparent 30%),
    var(--bg-soft);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

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

.step {
  position: relative;
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
}

.step span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

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

.accent-section {
  background: linear-gradient(180deg, #0c0711 0%, #140a1f 100%);
}

.vision-section {
  background:
    linear-gradient(135deg, rgba(121, 26, 181, 0.2), rgba(12, 7, 17, 0.1)),
    var(--bg);
}

.contact-section {
  padding-top: 60px;
}

.contact-box {
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: 34px;
  background:
    radial-gradient(circle at 15% 10%, rgba(215, 183, 255, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(121, 26, 181, 0.24), rgba(255, 255, 255, 0.055));
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-box p {
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 18px;
}

.contact-box small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  background: #09050d;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 84px 0 70px;
  }

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

  .cards.three,
  .cards.four,
  .steps {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: clamp(44px, 12vw, 70px);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .logo {
    font-size: 14px;
  }

  .hero {
    padding: 68px 0 58px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-line span {
    font-size: 12px;
  }

  .cards.three,
  .cards.four,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .contact-box {
    padding: 32px 22px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
