* {
  box-sizing: border-box;
}

:root {
  --bg: #06070b;
  --text: #f3f3f7;
  --muted: #b9bdd0;
  --accent-1: #8e13ff;
  --accent-2: #ff00c8;
  --panel-border: rgba(215, 0, 255, 0.28);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius-lg: 22px;
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(164, 0, 255, 0.14), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(255, 0, 200, 0.12), transparent 24%),
    linear-gradient(180deg, #040507 0%, #090b12 100%);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.policy-open {
  overflow: hidden;
}

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

.bg-glow {
  position: fixed;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  top: -120px;
  left: -120px;
  background: #9f1bff;
}

.bg-glow-2 {
  right: -140px;
  bottom: 0;
  background: #ff00c8;
}

.hero,
.section,
.policy {
  position: relative;
  z-index: 1;
}

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

.hero__inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 42px;
  align-items: center;
  background: linear-gradient(180deg, rgba(17, 19, 28, 0.78), rgba(11, 13, 20, 0.86));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 32px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.hero__banner-wrap {
  min-height: 220px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.hero__banner {
  width: 100%;
  max-width: 300px;
  max-height: 160px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
}

.hero__banner-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.hero__banner-wrap--fallback .hero__banner {
  display: none;
}

.hero__banner-wrap--fallback .hero__banner-fallback {
  display: flex;
}

.hero__fallback-badge {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  font-weight: 900;
  background: linear-gradient(180deg, var(--accent-2), var(--accent-1));
  color: #fff;
  box-shadow: 0 12px 34px rgba(182, 0, 255, 0.35);
}

.hero__fallback-text {
  display: grid;
  gap: 4px;
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.02;
}

.hero__eyebrow,
.section__label,
.info-card__label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(162, 0, 255, 0.12);
  border: 1px solid rgba(232, 157, 255, 0.18);
  color: #f5ccff;
  font-size: 0.92rem;
}

.hero__content h1 {
  margin: 16px 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
}

.hero__text,
.section__heading p,
.feature-card p,
.info-card p,
.policy__body {
  color: var(--muted);
}

.hero__text {
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.7;
  margin: 0 0 28px;
}

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

.btn {
  appearance: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  border-radius: 14px;
  padding: 15px 24px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

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

.btn--primary {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 30px rgba(190, 0, 255, 0.28);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn--ghost:hover {
  border-color: rgba(255, 0, 200, 0.42);
}

.section {
  padding: 28px 0;
}

.section__heading {
  max-width: 820px;
  margin-bottom: 22px;
}

.section__heading h2 {
  margin: 16px 0 12px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.section__heading p {
  margin: 0;
  line-height: 1.72;
}

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

.feature-card,
.info-card {
  background: linear-gradient(180deg, rgba(15, 17, 26, 0.92), rgba(10, 12, 18, 0.94));
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 24px;
  min-height: 220px;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(180deg, rgba(255, 0, 200, 0.18), rgba(142, 19, 255, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.feature-card h3,
.info-card h3 {
  margin: 0 0 12px;
  font-size: 1.34rem;
}

.feature-card p,
.info-card p {
  margin: 0;
  line-height: 1.7;
}

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

.info-card {
  padding: 24px;
}

.info-card__label {
  margin-bottom: 16px;
}

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

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

.policy__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(4px);
}

.policy__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(760px, 100%);
  height: 100%;
  background: linear-gradient(180deg, rgba(14, 16, 24, 0.98), rgba(9, 10, 15, 0.99));
  border-left: 1px solid rgba(255, 0, 200, 0.18);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

.policy.is-open .policy__panel {
  transform: translateX(0);
}

.policy__top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 18px 24px;
  background: rgba(13, 15, 22, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.policy__top h2 {
  margin: 0;
  font-size: 1.28rem;
}

.policy__close {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

.policy__body {
  padding: 24px;
  overflow: auto;
  line-height: 1.74;
}

.policy__body h3 {
  color: #fff;
  margin: 24px 0 10px;
}

.policy__body p,
.policy__body li {
  margin: 0 0 14px;
}

.policy__body ul {
  padding-left: 20px;
  margin: 0 0 12px;
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero__banner-wrap {
    min-height: 180px;
  }

  .features,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

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

  .hero {
    padding-top: 14px;
  }

  .hero__inner {
    padding: 18px;
    border-radius: 24px;
  }

  .hero__content h1 {
    margin-top: 12px;
  }

  .hero__text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero__actions {
    flex-direction: column;
  }

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

  .feature-card,
  .info-card {
    padding: 18px;
  }

  .policy__top {
    padding: 14px;
  }

  .policy__top h2 {
    font-size: 1.05rem;
  }

  .policy__close {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    font-size: 1.6rem;
  }

  .policy__body {
    padding: 16px;
  }
}
