/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #05050A;
  color: #EFF0F3;
  line-height: 1.5;
  font-weight: 400;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  background: linear-gradient(135deg, #EFF0F3, #A0B2B0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
}

.nav__list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav__list a {
  text-decoration: none;
  color: #B0B3C0;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__list a:hover {
  color: #EFF0F3;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: #EFF0F3;
  transition: 0.2s;
}

@media (max-width: 768px) {
  .nav__list {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background: #0A0A12;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: left 0.3s ease;
    backdrop-filter: blur(16px);
    z-index: 99;
  }
  .nav__list.active {
    left: 0;
  }
  .nav__toggle {
    display: flex;
  }
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: #EFF0F3;
  color: #05050A;
}

.btn-primary:hover {
  background: #CDD1DB;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: #EFF0F3;
}

.btn-outline:hover {
  border-color: #EFF0F3;
  background: rgba(255, 255, 255, 0.05);
}

.btn-large {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* HERO */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 20% 30%, rgba(80, 100, 100, 0.15), transparent 60%);
}

.hero__container {
  text-align: center;
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero__title span {
  background: linear-gradient(120deg, #EFF0F3, #8FBCB0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__desc {
  font-size: 1.2rem;
  color: #B0B3C0;
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* SECTIONS */
.section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

.section__header {
  margin-bottom: 48px;
  text-align: center;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #8FBCB0;
  margin-bottom: 16px;
}

.section__header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section__sub {
  color: #B0B3C0;
  max-width: 500px;
  margin: 16px auto 0;
}

/* GRID */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

/* CARDS */
.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px;
  transition: all 0.3s ease;
}

.card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  border-color: rgba(143, 188, 176, 0.4);
}

.card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.card p {
  color: #B0B3C0;
  font-size: 1rem;
}

.card__tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.75rem;
  background: rgba(143, 188, 176, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  color: #8FBCB0;
}

/* TOOLS GRID */
.tools__grid .card--accent {
  background: linear-gradient(145deg, rgba(20, 25, 35, 0.8), rgba(10, 12, 18, 0.9));
}

/* MEXC (партнёр) — одна кнопка, 20% */
.mexc-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(143, 188, 176, 0.1), transparent);
}

.mexc__offer {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.mexc__cashback {
  background: linear-gradient(135deg, rgba(143, 188, 176, 0.1), rgba(20, 25, 35, 0.8));
  border-radius: 32px;
  padding: 32px;
  margin-bottom: 32px;
  border: 1px solid rgba(143, 188, 176, 0.3);
}

.cashback-badge {
  display: inline-block;
  background: #8FBCB0;
  color: #05050A;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.mexc__cashback p {
  font-size: 1.1rem;
  color: #EFF0F3;
  line-height: 1.5;
}

.mexc__cashback strong {
  color: #8FBCB0;
}

.mexc__buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.mexc__note {
  font-size: 0.8rem;
  color: #5A5F70;
}

@media (max-width: 640px) {
  .mexc__cashback {
    padding: 24px;
  }
  .cashback-badge {
    font-size: 1rem;
    padding: 6px 16px;
  }
  .mexc__cashback p {
    font-size: 0.95rem;
  }
}

/* GUIDES */
.guides__grid {
  margin-top: 32px;
}

.guide-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 24px;
}

.guide-card__status {
  font-size: 0.7rem;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
}

.ready {
  background: rgba(143, 188, 176, 0.2);
  color: #8FBCB0;
}

.soon {
  background: rgba(200, 180, 100, 0.2);
  color: #E6C384;
}

.video-wrapper {
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
  background: #0F1117;
}

.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
}

.btn-link {
  display: inline-block;
  margin-top: 16px;
  color: #8FBCB0;
  text-decoration: none;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0 32px;
}

.step {
  text-align: center;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(143, 188, 176, 0.15);
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.5rem;
  color: #8FBCB0;
  margin-bottom: 20px;
}

.step h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.step p {
  color: #B0B3C0;
  font-size: 0.95rem;
}

.access__action {
  text-align: center;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* RULES (рекомендации) */
.rules__list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
}

.rule-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 10px 20px;
  border-radius: 40px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.disclaimer {
  background: rgba(255, 50, 50, 0.05);
  border-left: 3px solid #8FBCB0;
  padding: 20px;
  border-radius: 16px;
  font-size: 0.85rem;
  color: #A0A5B5;
}

/* FAQ */
.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 8px;
}

.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: #EFF0F3;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.faq__question::after {
  content: '+';
  font-size: 1.5rem;
  color: #8FBCB0;
}

.faq__item.open .faq__question::after {
  content: '−';
}

.faq__answer {
  display: none;
  padding-bottom: 20px;
  color: #B0B3C0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.faq__item.open .faq__answer {
  display: block;
}

/* TEASER (скоро в ATC) */
.teaser-section {
  background: radial-gradient(circle at 70% 20%, rgba(143, 188, 176, 0.08), transparent);
  text-align: center;
}

.teaser__content {
  max-width: 700px;
  margin: 0 auto;
}

.teaser__icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.teaser__content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  background: linear-gradient(120deg, #EFF0F3, #8FBCB0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.teaser__content p {
  font-size: 1.1rem;
  color: #B0B3C0;
  margin-bottom: 28px;
}

.teaser__button {
  margin-bottom: 20px;
}

.teaser__hint {
  font-size: 0.85rem;
  color: #5A5F70;
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .teaser__content h2 {
    font-size: 1.6rem;
  }
  .teaser__content p {
    font-size: 1rem;
  }
}

/* CONTACT */
.contact {
  text-align: center;
}

.contact__inner {
  background: linear-gradient(135deg, rgba(30, 35, 45, 0.5), rgba(10, 12, 18, 0.8));
  border-radius: 32px;
  padding: 48px 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact__inner h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.contact__inner p {
  margin-bottom: 28px;
  color: #B0B3C0;
}

/* FOOTER */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px 0 32px;
  text-align: center;
}

.footer__logo {
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #EFF0F3, #8FBCB0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer__logo:hover {
  opacity: 0.8;
}

.footer__socials {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #B0B3C0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  color: #8FBCB0;
}

/* Дисклеймер в подвале */
.footer__disclaimer {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px 24px;
  border-radius: 16px;
  border-left: 3px solid #8FBCB0;
  font-size: 0.75rem;
  color: #8A8F9E;
  line-height: 1.5;
}

.footer__disclaimer h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #EFF0F3;
}

.footer__disclaimer p {
  margin-bottom: 10px;
}

.footer__disclaimer p:last-child {
  margin-bottom: 0;
}

.footer__copy {
  font-size: 0.75rem;
  color: #5A5F70;
}

/* Анимация появления/исчезновения при скролле (работает в обе стороны) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.reveal.inview {
  opacity: 1;
  transform: translateY(0);
}

/* История */
.history-section {
  background: radial-gradient(circle at 30% 20%, rgba(80, 100, 100, 0.08), transparent);
}

.history__content {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}

.history__text {
  flex: 2;
  min-width: 260px;
}

.history__text p {
  margin-bottom: 20px;
  color: #B0B3C0;
  font-size: 1rem;
}

.history__stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.history__stats div {
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 20px;
  border-radius: 40px;
  text-align: center;
  font-weight: 500;
}

.history__stats span {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #8FBCB0;
  line-height: 1.2;
}

.history__image {
  flex: 1;
  text-align: center;
  font-size: 3.5rem;
  background: rgba(143, 188, 176, 0.1);
  border-radius: 32px;
  padding: 32px;
}

.code-graph {
  font-size: 3.5rem;
  filter: drop-shadow(0 0 8px rgba(143, 188, 176, 0.3));
}

@media (max-width: 768px) {
  .history__content {
    flex-direction: column;
  }
  .history__stats {
    justify-content: center;
  }
}