:root {
  --bg-color: #0a0a0c;
  --text-color: #e2e2e7;
  --accent-color: #7c4dff;
  --secondary-color: #bc9aff;
  --card-bg: rgba(255, 255, 255, 0.03);
  --border-color: rgba(255, 255, 255, 0.1);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Аврора-градиент на фоне */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(124, 77, 255, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(188, 154, 255, 0.1) 0%,
      transparent 40%
    );
  z-index: -1;
  pointer-events: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.header__logo-img {
  width: 32px;
  height: 32px;
}

.header__logo-text {
  font-family: "Syne", sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -1px;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.header__link {
  text-decoration: none;
  color: var(--text-color);
  font-size: 0.9rem;
  font-weight: 400;
  transition: var(--transition);
  opacity: 0.7;
}

.header__link:hover {
  opacity: 1;
  color: var(--accent-color);
}

.header__cta {
  text-decoration: none;
  background: var(--accent-color);
  color: #fff;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
}

.header__cta:hover {
  background: transparent;
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

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

.header__burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
}

/* Footer */
.footer {
  background: #050507;
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
  margin-top: 100px;
}

.footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer__logo-text {
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  display: block;
  margin-bottom: 20px;
}

.footer__description {
  font-size: 0.9rem;
  opacity: 0.6;
}

.footer__title {
  color: #fff;
  margin-bottom: 24px;
  font-size: 1.1rem;
  font-family: "Syne", sans-serif;
}

.footer__list,
.footer__contact-info {
  list-style: none;
}

.footer__list li,
.footer__contact-info li {
  margin-bottom: 12px;
}

.footer__list a {
  text-decoration: none;
  color: var(--text-color);
  opacity: 0.6;
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer__list a:hover {
  opacity: 1;
  padding-left: 5px;
  color: var(--secondary-color);
}

.footer__contact-info {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer__contact-info a {
  color: inherit;
  text-decoration: none;
}

.footer__bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.4;
}

/* Responsive */
@media (max-width: 992px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header__menu {
    display: none; /* Logic for burger in script.js */
  }
  .header__burger {
    display: flex;
  }
  .footer__container {
    grid-template-columns: 1fr;
  }
}

/* Hero Section - Bento Grid */
.hero {
  padding: 160px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero__bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 20px;
}

.hero__card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: var(--transition);
}

.hero__card:hover {
  border-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.05);
}

.hero__card--main {
  grid-column: span 3;
  grid-row: span 2;
  justify-content: center;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(124, 77, 255, 0.1);
  border: 1px solid var(--accent-color);
  color: var(--secondary-color);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 24px;
  width: fit-content;
}

.hero__title {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero__subtitle {
  font-size: 1.2rem;
  opacity: 0.7;
  max-width: 600px;
  margin-bottom: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn--primary {
  background: var(--accent-color);
  color: #fff;
}

.btn--primary:hover {
  box-shadow: 0 10px 30px rgba(124, 77, 255, 0.3);
  transform: translateY(-3px);
}

.btn--secondary {
  margin-left: 15px;
  color: #fff;
  border: 1px solid var(--border-color);
}

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

/* Mini Cards */
.hero__card--stats {
  grid-column: span 1;
  text-align: center;
}
.hero__stat-val {
  font-family: "Syne", sans-serif;
  font-size: 2rem;
  color: var(--secondary-color);
}
.hero__icon {
  color: var(--accent-color);
  margin-bottom: 15px;
}

.hero__card--visual {
  grid-column: span 1;
  background: linear-gradient(135deg, #7c4dff 0%, #21114a 100%);
}
.hero__visual-blob {
  position: absolute;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(40px);
  top: -20px;
  right: -20px;
}

.hero__card--cta {
  grid-column: span 1;
  border: 1px dashed var(--accent-color);
  justify-content: space-between;
}
.hero__go-icon {
  align-self: flex-end;
  color: var(--accent-color);
}

/* Animation Classes */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Hero */
@media (max-width: 992px) {
  .hero__bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .hero__card--main {
    grid-column: span 2;
  }
}

/* Секция Практики */
.practices {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: "Syne", sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.section-subtitle {
  opacity: 0.6;
  font-size: 1.1rem;
}

.practices__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 20px;
}

.practice-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.practice-card--large {
  grid-row: span 2;
  justify-content: space-between;
}

.practice-card--wide {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(124, 77, 255, 0.05) 0%,
    rgba(10, 10, 12, 0) 100%
  );
}

.practice-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.practice-card__icon {
  width: 50px;
  height: 50px;
  background: rgba(124, 77, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.practice-card__title {
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.practice-card__text {
  font-size: 0.95rem;
  opacity: 0.7;
  line-height: 1.5;
}

.practice-card__link {
  margin-top: 20px;
  text-decoration: none;
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
}

.practice-card__bg-icon {
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 8rem;
  opacity: 0.03;
  transform: rotate(-15deg);
}

.practice-card__visual {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  position: relative;
  margin-left: 20px;
}

.visual-circle {
  width: 100%;
  height: 100%;
  border: 2px dashed var(--accent-color);
  border-radius: 50%;
  animation: rotate 10s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Mobile Adaptive */
@media (max-width: 992px) {
  .practices__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .practices__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .practice-card--wide {
    grid-column: span 1;
    flex-direction: column;
  }
}

/* Секция Инструменты */
.tools {
  padding: 100px 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(124, 77, 255, 0.03) 0%,
    transparent 70%
  );
}

.tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.tool-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
  transition: var(--transition);
}

.tool-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--secondary-color);
  box-shadow: 0 0 30px rgba(124, 77, 255, 0.1);
}

.tool-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.tool-card__tag {
  font-family: "Monospace", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 1px;
  background: rgba(124, 77, 255, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

.tool-card__dot {
  width: 8px;
  height: 8px;
  background: var(--accent-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-color);
}

.tool-card__name {
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fff;
}

.tool-card__desc {
  font-size: 0.95rem;
  opacity: 0.6;
  line-height: 1.6;
}

.tool-card__footer {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.tool-card__status {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.tool-card__btn {
  color: #fff;
  transition: var(--transition);
}

.tool-card__btn:hover {
  color: var(--accent-color);
  transform: rotate(45deg);
}

.tools__info-bar {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
  border: 1px solid var(--border-color);
}

.tools__info-bar i {
  vertical-align: middle;
  margin-right: 8px;
  color: var(--accent-color);
}

/* Mobile */
@media (max-width: 992px) {
  .tools__grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* Секция Преимущества (Editorial Style) */
.benefits {
  padding: 120px 0;
  border-top: 1px solid var(--border-color);
}

.benefits__wrapper {
  display: flex;
  gap: 80px;
}

.benefits__sidebar {
  flex: 1;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.benefits__tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-color);
  display: block;
  margin-bottom: 20px;
}

.benefits__main-title {
  font-family: "Syne", sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 30px;
  letter-spacing: -2px;
}

.benefits__intro {
  font-size: 1.1rem;
  opacity: 0.6;
  margin-bottom: 40px;
}

.benefits__divider {
  width: 60px;
  height: 2px;
  background: var(--accent-color);
}

.benefits__content {
  flex: 1.5;
}

.benefit-item {
  display: flex;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.benefit-item:first-child {
  padding-top: 0;
}

.benefit-item:hover {
  padding-left: 20px;
}

.benefit-item__num {
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  color: var(--accent-color);
  font-weight: 800;
  margin-top: 5px;
}

.benefit-item__title {
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.benefit-item__text {
  font-size: 1rem;
  opacity: 0.7;
  line-height: 1.6;
}

/* Mobile Adaptive */
@media (max-width: 992px) {
  .benefits__wrapper {
    flex-direction: column;
    gap: 60px;
  }
  .benefits__sidebar {
    position: static;
  }
  .benefits__main-title {
    font-size: 2.5rem;
  }
}
/* Секция FAQ */
.faq {
  padding: 100px 0;
}

.faq__grid {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition);
}

.faq__item:hover {
  border-color: var(--accent-color);
}

.faq__question {
  width: 100%;
  padding: 25px 30px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
}

.faq__question i {
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(255, 255, 255, 0.01);
}

.faq__answer p {
  padding: 0 30px 25px;
  opacity: 0.7;
  line-height: 1.6;
}

.faq__item.active .faq__answer {
  max-height: 200px;
}

.faq__item.active .faq__question i {
  transform: rotate(45deg);
}

/* Секция Контактов */
.contact {
  padding: 100px 0;
}

.contact__bento {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 40px;
  padding: 60px;
  backdrop-filter: blur(20px);
}

.contact__title {
  font-family: "Syne", sans-serif;
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 20px;
}

.contact__text {
  opacity: 0.7;
  margin-bottom: 40px;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

/* Форма */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__input {
  width: 100%;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  color: #fff;
  font-family: inherit;
  transition: var(--transition);
}

.form__input:focus {
  border-color: var(--accent-color);
  outline: none;
  background: rgba(255, 255, 255, 0.07);
}

.form__error {
  color: #ff4d4d;
  font-size: 0.8rem;
  display: none;
  margin-top: 5px;
  padding-left: 10px;
}

/* Капча и Чекбоксы */
.captcha__container,
.agreement__container {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
}

.form__captcha {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-color);
}

.captcha__checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent-color);
  border-radius: 4px;
  position: relative;
}

.captcha__container input:checked + .captcha__checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent-color);
}

.form__btn {
  background: var(--accent-color);
  color: #fff;
  padding: 20px;
  border: none;
  border-radius: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.form__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form__message {
  display: none;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-top: 20px;
}

.form__message--success {
  background: rgba(0, 255, 127, 0.1);
  color: #00ff7f;
  border: 1px solid #00ff7f;
}

@media (max-width: 992px) {
  .contact__bento {
    grid-template-columns: 1fr;
    padding: 40px;
  }
}

.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 30px;
  max-width: 400px;
  background: #1a1a1e;
  border: 1px solid var(--accent-color);
  padding: 25px;
  border-radius: 20px;
  z-index: 2000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
  backdrop-filter: blur(10px);
}

/* Класс для скрытия */
.cookie-popup.is-hidden {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}

.cookie-popup__content p {
  font-size: 0.85rem;
  margin-bottom: 15px;
  opacity: 0.8;
  color: #fff;
}
.cookie-popup__content a {
  color: var(--secondary-color);
  text-decoration: underline;
}
.cookie-popup__btn {
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}
.cookie-popup__btn:hover {
  background: var(--secondary-color);
}

.pages {
  padding: 150px 0 100px;
  line-height: 1.8;
}
.pages h1 {
  font-family: "Syne", sans-serif;
  font-size: 3rem;
  margin-bottom: 40px;
  color: var(--accent-color);
}
.pages h2 {
  font-family: "Syne", sans-serif;
  font-size: 1.8rem;
  margin: 30px 0 20px;
  color: #fff;
}
.pages p {
  margin-bottom: 20px;
  opacity: 0.8;
}
.pages ul {
  margin-bottom: 20px;
  padding-left: 20px;
}
.pages li {
  margin-bottom: 10px;
  opacity: 0.8;
}
.pages strong {
  color: #fff;
}
.pages a {
  color: var(--secondary-color);
  text-decoration: none;
}
.pages a:hover {
  text-decoration: underline;
}
