* {
  box-sizing: border-box;
}

:root {
  --bg: #041325;
  --bg-soft: #0a1c33;
  --card: rgba(21, 34, 58, 0.88);
  --card-strong: #15223a;
  --text: #f5f7ff;
  --muted: #aab7d4;
  --line: rgba(124, 155, 255, 0.18);
  --accent: #2f80ff;
  --accent-2: #8b6dff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(108, 99, 255, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(47, 128, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #041325 0%, #061120 100%);
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(139, 109, 255, 0.06), transparent 30%),
    linear-gradient(315deg, rgba(47, 128, 255, 0.06), transparent 30%);
  z-index: 0;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero {
  padding: 56px 0 36px;
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(12, 25, 47, 0.94), rgba(8, 18, 34, 0.94));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.hero__banner {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  border-radius: 18px;
  object-fit: contain;
  justify-self: center;
  box-shadow: 0 18px 40px rgba(43, 86, 255, 0.18);
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 128, 255, 0.12);
  border: 1px solid rgba(47, 128, 255, 0.25);
  color: #cfe0ff;
  font-size: 13px;
  line-height: 1;
}

.hero__text h1 {
  margin: 16px 0 14px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
}

.hero__desc,
.section-heading p,
.feature-card p,
.highlight-card p,
.footer p,
.policy-modal__body p,
.policy-modal__body li {
  color: var(--muted);
  line-height: 1.7;
}

.hero__desc {
  max-width: 720px;
  font-size: 17px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 24px;
  border-radius: 16px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

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

.btn--primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), #4b8dff 55%, var(--accent-2));
  box-shadow: 0 14px 28px rgba(47, 128, 255, 0.28);
}

.btn--ghost {
  color: white;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(146, 170, 255, 0.22);
}

.section {
  padding: 36px 0;
}

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

.section-heading h2,
.highlight-card h2 {
  margin: 16px 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.14;
}

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

.feature-card {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(22, 36, 63, 0.92), rgba(13, 24, 43, 0.92));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(47, 128, 255, 0.2), rgba(139, 109, 255, 0.18));
  border: 1px solid rgba(120, 153, 255, 0.2);
  margin-bottom: 18px;
}

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

.section--highlight {
  padding-top: 12px;
}

.highlight-card {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(19, 35, 63, 0.98), rgba(15, 26, 46, 0.98));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.highlight-card > div {
  max-width: 780px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 30px 0 56px;
}

.footer__policy {
  appearance: none;
  border: 1px solid rgba(146, 170, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  padding: 12px 18px;
  border-radius: 14px;
  cursor: pointer;
}

.policy-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

.policy-modal.is-open {
  display: block;
}

.policy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 18, 0.74);
  backdrop-filter: blur(8px);
}

.policy-modal__dialog {
  position: relative;
  width: min(920px, calc(100% - 24px));
  max-height: min(86vh, 900px);
  margin: 7vh auto;
  border-radius: 24px;
  background: linear-gradient(180deg, #0d1830 0%, #0a1428 100%);
  border: 1px solid rgba(146, 170, 255, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.policy-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.policy-modal__body {
  padding: 28px 28px 32px;
  overflow: auto;
  max-height: min(86vh, 900px);
}

.policy-modal__body h2 {
  margin: 0 64px 20px 0;
  font-size: 32px;
}

.policy-modal__body h3 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.policy-modal__body ul {
  padding-left: 22px;
}

.policy-modal__body li + li {
  margin-top: 8px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 920px) {
  .hero__content,
  .highlight-card,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .hero__banner {
    max-width: 180px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 24px;
  }

  .hero__content,
  .highlight-card,
  .feature-card,
  .policy-modal__body {
    padding: 20px;
  }

  .container {
    width: min(1120px, calc(100% - 20px));
  }

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

  .btn,
  .footer__policy {
    width: 100%;
    text-align: center;
  }

  .hero__actions {
    width: 100%;
  }

  .policy-modal__dialog {
    width: calc(100% - 12px);
    margin: 3vh auto;
    max-height: 94vh;
  }

  .policy-modal__body {
    max-height: 94vh;
    padding-top: 64px;
  }

  .policy-modal__close {
    top: 10px;
    right: 10px;
  }
}
