:root {
  --page-bg-start: #0b0720;
  --page-bg-end: #1d0d3e;
  --text-main: #f5f7ff;
  --text-soft: #d3d5de;
  --accent: #9a4dff;
  --accent-dark: #7a36de;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background:
    linear-gradient(180deg, rgba(7, 8, 22, 0.6) 0%, rgba(7, 8, 22, 0.85) 100%),
    linear-gradient(112deg, var(--page-bg-start) 10%, var(--page-bg-end) 85%);
}

.site-bg {
  background-image:
    linear-gradient(rgba(128, 99, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(128, 99, 255, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
}

.container,
.container-wide {
  width: 100%;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container {
  max-width: 1160px;
}

.container-wide {
  max-width: 1400px;
}

.site-header {
  padding-top: 1.5rem;
}

.header-row {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 52px;
}

.logo-link {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
}

.logo-image {
  width: 126px;
  height: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-register {
  height: 2.25rem;
  padding: 0 1.25rem;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 26px rgba(154, 77, 255, 0.35);
}

.btn-register:hover {
  background: var(--accent-dark);
}

.hero-section {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.hero-title {
  margin: -0.25rem auto 1rem;
  max-width: 900px;
  text-align: center;
  font-size: 34px;
  line-height: 1.07;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.feature-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.625rem;
  max-width: 680px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-icon {
  margin-top: 2px;
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid var(--accent);
  background: rgba(154, 77, 255, 0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.hero-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
  min-width: 160px;
  height: 48px;
  padding: 0 1.75rem;
  font-size: 15px;
}

.btn-primary {
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(154, 77, 255, 0.35);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  font-weight: 500;
  color: #191629;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.92);
}

.hero-media {
  width: 100%;
  max-width: 570px;
  justify-self: center;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.partners-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(19, 11, 45, 0.8);
}

.carousel-shell {
  overflow: hidden;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  touch-action: pan-x;
  user-select: none;
}

.carousel-shell::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  will-change: transform;
}

.carousel-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 640px) {
  .container,
  .container-wide {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .logo-image {
    width: 144px;
  }

  .hero-section {
    padding-top: 3.5rem;
  }

  .hero-title {
    margin-bottom: 1.5rem;
    font-size: 48px;
    line-height: 1.05;
  }

  .feature-list {
    margin-top: 0.75rem;
    font-size: 15px;
  }

  .hero-actions {
    gap: 1rem;
  }

  .carousel-logo {
    height: 44px;
  }
}

@media (min-width: 1024px) {
  .container,
  .container-wide {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .hero-media {
    justify-self: end;
  }
}
