:root {
  /* палитра */
  --background: #030308;
  --foreground: oklch(0.98 0 0);
  --card: #06060E;
  --card-foreground: oklch(0.98 0 0);
  --primary: oklch(0.65 0.25 300);
  --primary-foreground: oklch(0.98 0 0);
  --secondary: oklch(0.7 0.18 25);
  --secondary-foreground: oklch(0.1 0 0);
  --muted: oklch(0.2 0.01 285);
  --muted-foreground: oklch(0.65 0 0);
  --accent: oklch(0.7 0.18 25);
  --accent-foreground: oklch(0.1 0 0);
  --border: oklch(0.25 0.02 285);
  --input: oklch(0.2 0.02 285);
  --ring: oklch(0.65 0.25 300);

  /* шрифты */
  --font-sans: 'Inter', sans-serif;
  --font-bowler: 'BOWLER', sans-serif;

  /* скругление */
  --radius: 0.375rem;
  --radius-xl: 0.625rem;
  --radius-2xl: 0.75rem;
  --radius-3xl: 1rem;
}

/* базовые стили */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

/* контейнер */
.container {
  max-width: 100%;
  padding-left: 220px;
  padding-right: 220px;
}

/* типографика */
h1, h2, h3, h4 {
  font-family: var(--font-bowler);
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.4);
}

.btn-large {
  padding: 1rem 2rem;
  padding-left: 3.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  position: relative;
}

.btn-full {
  width: 100%;
}

.btn:hover {
  transform: scale(1.02);
}

.btn-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
}

.btn .icon-default,
.btn .icon-hover {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  transform: translateY(-50%);
  transition: opacity 0.3s ease;
}

.btn .icon-default {
  opacity: 1;
}

.btn .icon-hover {
  opacity: 0;
}

.btn:hover .icon-default {
  opacity: 0;
}

.btn:hover .icon-hover {
  opacity: 1;
}

/* шапка */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background-color: rgba(16, 12, 26, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-family: var(--font-bowler);
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius);
  background-color: var(--muted);
  transition: all 0.3s ease;
  position: relative;
}

.social-link-large {
  width: 2.5rem;
  height: 2.5rem;
}

.social-link:hover {
  background-color: var(--primary);
}

.social-link img {
  width: 1.25rem;
  height: 1.25rem;
  transition: opacity 0.3s ease;
}

.icon-default {
  opacity: 1;
}

.icon-hover {
  opacity: 0;
  position: absolute;
}

.social-link:hover .icon-default {
  opacity: 0;
}

.social-link:hover .icon-hover {
  opacity: 1;
}

/* 1 блок */
.hero {
  padding-top: 9rem;
  padding-bottom: 6rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  color: var(--muted-foreground);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 410px;
  height: 798px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
}

.hero-glow {
  display: none;
}

/* блок "что внутри" */
.features {
  padding: 6rem 0;
  background-color: rgba(25, 20, 40, 0.5);
}

.section-title {
  font-size: 2.8125rem;
  text-align: center;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--muted-foreground);
  font-size: 1.25rem;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3.5rem;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 1.5rem;
  background-color: var(--card);
  border-radius: var(--radius-2xl);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(102, 126, 234, 0.5);
  box-shadow: 0 10px 40px rgba(102, 126, 234, 0.1);
  transform: translateY(-4px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  background-color: rgba(102, 126, 234, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

.feature-card:hover .feature-icon {
  background-color: rgba(102, 126, 234, 0.2);
}

.feature-icon-img {
  width: 1.5rem;
  height: 1.5rem;
}

.feature-text {
  color: var(--foreground);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
}

/* блок с бонусом */
.earn {
  padding: 6rem 0;
}

.earn-content {
  background: linear-gradient(135deg, #241439, #33171C);
  border-radius: var(--radius-3xl);
  padding: 3rem;
  border: 1px solid rgba(102, 126, 234, 0.3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.badge-secondary {
  background-color: rgba(234, 179, 58, 0.2);
  color: var(--secondary);
}

.badge-primary {
  background-color: rgba(102, 126, 234, 0.2);
  color: var(--primary);
}

.section-title-left {
  font-size: 2.8125rem;
  margin-bottom: 1.5rem;
}

.earn-description {
  color: var(--muted-foreground);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.earn-highlight {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.earn-percent {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
}

.earn-description-inline {
  color: var(--muted-foreground);
  font-size: 1.25rem;
  font-weight: 400;
}

.earn-image {
  width: 345px;
  height: 671px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  transform: rotate(10deg);
}

/* блок для организатора */
.organizers {
  padding: 6rem 0;
  background-color: rgba(25, 20, 40, 0.5);
}

.organizers-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.organizers-image-wrapper {
  display: flex;
  justify-content: center;
}

.organizers-image {
  width: 410px;
  height: 798px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.check-text {
  color: var(--muted-foreground);
  font-size: 1.25rem;
  line-height: 1.6;
}

.organizers-text .btn {
  margin-top: 2.5rem;
}

/* блок для польз */
.users {
  padding: 6rem 0;
}

.users-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.users-image {
  width: 410px;
  height: 798px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
}

/* блок с выпад текстом */
.faq {
  padding: 6rem 0;
  background-color: rgba(25, 20, 40, 0.5);
}

.section-title-center {
  font-size: 2.8125rem;
  text-align: center;
  margin-bottom: 3.5rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background-color: var(--card);
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(102, 126, 234, 0.3);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(32, 26, 51, 0.5);
}

.faq-question-text {
  font-weight: 600;
  color: var(--foreground);
  font-size: 1.25rem;
  line-height: 1.6;
}

.faq-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer-text {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted-foreground);
  font-size: 1.25rem;
  line-height: 1.6;
}

/* блок скачивания */
.download {
  padding: 6rem 0;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.section-description-center {
  color: var(--muted-foreground);
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* форма для записи */
.contact {
  padding: 6rem 0;
  background-color: rgba(25, 20, 40, 0.5);
}

.contact-wrapper {
  max-width: 32rem;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  background-color: var(--input);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  color: var(--foreground);
  font-size: 1rem;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.form-textarea {
  resize: none;
}

.form-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-checkbox {
  width: 1rem;
  height: 1rem;
  margin-top: 0.25rem;
  accent-color: var(--primary);
}

.form-checkbox-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* футер */
.footer {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-description {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--primary);
}

.footer-copyright {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted-foreground);
  font-size: 1rem;
}

/* для анимации курсора */
#cursorTrail {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* адаптивность */
@media (max-width: 1024px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero-content,
  .earn-content,
  .organizers-content,
  .users-content {
    grid-template-columns: 1fr;
  }

  .organizers-content,
  .users-content {
    grid-template-columns: 1fr;
  }

  .organizers-image-wrapper {
    order: -1;
  }

  .users-content {
    grid-template-columns: 1fr;
  }

  .users-image-wrapper {
    order: -1;
  }

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

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

  .hero-image,
  .organizers-image,
  .users-image {
    width: 100%;
    max-width: 345px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title,
  .section-title,
  .section-title-left,
  .section-title-center {
    font-size: 2rem;
  }

  .hero-description,
  .section-description,
  .section-description-center,
  .feature-text,
  .check-text,
  .faq-question-text,
  .faq-answer-text,
  .earn-description,
  .footer-description,
  .footer-link {
    font-size: 1rem;
  }

  .hero-buttons,
  .download-buttons {
    flex-direction: column;
  }

  .btn-large {
    width: 100%;
  }

  .social-links {
    display: none;
  }

  .earn-content {
    padding: 2rem;
  }

  .earn-image {
    width: 100%;
    max-width: 280px;
  }
}
