/* 
   Akira Education - Общие стили для всех страниц сайта
*/

/* ========== ОСНОВНЫЕ ПЕРЕМЕННЫЕ ========== */
:root {
  --color-primary: #9c43fe;
  --color-secondary: #ff59c7;
  --color-accent: #3ad0cd;
  --color-dark: #171038;
  --color-light: #f8f9ff;
  
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
  
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 20px;
  
  --transition-normal: 0.3s ease;
}

/* ========== ОСНОВНЫЕ СТИЛИ ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-dark);
  background-color: var(--color-light);
  overflow-x: hidden;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-normal);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
}

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.6rem;
}

h3 {
  font-size: 2.4rem;
}

/* ========== АНИМАЦИИ ========== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(156, 67, 254, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(156, 67, 254, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(156, 67, 254, 0);
  }
}

@keyframes shine {
  0% {
    background-position: -100px;
  }
  20% {
    background-position: 200px;
  }
  100% {
    background-position: 200px;
  }
}

@keyframes morphAnim {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

.shine-button {
  position: relative;
  overflow: hidden;
}

.shine-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60px;
  width: 30px;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg);
  animation: shine 5s infinite;
}

/* ========== ПЛАВАЮЩЕЕ МЕНЮ СОЦ СЕТЕЙ ========== */
.social-float {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
}

.social-float__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.social-float__item::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
}

.social-float__item:hover {
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.social-float__item:hover::before {
  opacity: 1;
}

.social-float__item i {
  font-size: 2rem;
}

.social-float__phone {
  position: relative;
}

.social-float__phone span {
  position: absolute;
  left: 120%;
  background: var(--color-primary);
  color: white;
  white-space: nowrap;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.social-float__phone:hover span {
  opacity: 1;
  visibility: visible;
  left: 110%;
}

/* ========== ШАПКА САЙТА ========== */
.header {
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 90;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.header.scrolled {
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo__img {
  height: 4.5rem;
  transition: all var(--transition-normal);
}

.header.scrolled .logo__img {
  height: 3.5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  width: 3.5rem;
  height: 3rem;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-primary);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: all var(--transition-normal);
}

.menu-toggle span:nth-child(1) {
  top: 0px;
}

.menu-toggle span:nth-child(2) {
  top: 12px;
}

.menu-toggle span:nth-child(3) {
  top: 24px;
}

.menu-toggle.active span:nth-child(1) {
  top: 12px;
  transform: rotate(135deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.menu-toggle.active span:nth-child(3) {
  top: 12px;
  transform: rotate(-135deg);
}

.main-nav {
  transition: all var(--transition-normal);
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav__item {
  position: relative;
}

.main-nav__link {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  color: var(--color-dark);
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-normal);
}

.main-nav__link:hover {
  color: var(--color-primary);
  background-color: rgba(123, 104, 238, 0.1);
}

.main-nav__link.highlight {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  font-weight: 600;
}

.main-nav__link.highlight:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.main-nav__icon {
  margin-right: 1rem;
  font-size: 1.8rem;
  transition: transform var(--transition-normal);
}

.main-nav__link:hover .main-nav__icon {
  transform: scale(1.2);
}

/* ========== HERO SECTION ========== */
.hero {
  padding: 8rem 0;
  background: linear-gradient(135deg, #1e0d3d, #2a1352);
  position: relative;
  overflow: hidden;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__subtitle {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.hero__title {
  font-size: 5.2rem;
  font-weight: 800;
  margin-bottom: 2rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero__description {
  font-size: 2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-md);
}

.feature__icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.feature__icon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.feature__link {
  color: white;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.feature:hover .feature__link {
  color: var(--color-secondary);
}

/* ========== СЛАЙДЕР ========== */
.hero__slider {
  position: relative;
  z-index: 2;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.slider__wrapper {
  position: relative;
  height: 600px;
}

.slider__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slider__slide.active {
  opacity: 1;
  z-index: 1;
}

.slider__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider__controls {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 5;
}

.slider__btn {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--color-dark);
}

.slider__btn:hover {
  background: white;
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}

.slider__dots {
  display: flex;
  gap: 1rem;
}

.slider__dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.slider__dot.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.slider__dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ========== ИНФОРМАЦИОННЫЕ КАРТОЧКИ ========== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 5;
}

.info-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border-top: 4px solid transparent;
  border-image: var(--gradient-primary);
  border-image-slice: 1;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.info-card__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  position: relative;
}

.info-card__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.info-card:hover .info-card__title::after {
  width: 80px;
}

.info-card__text {
  font-size: 1.6rem;
  line-height: 1.7;
  color: #666;
}

/* ========== СЕКЦИЯ СТАТИСТИКИ ========== */
.stats {
  padding: 8rem 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.15);
}

.stat-card__number {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  color: transparent;
  position: relative;
}

.stat-card__number span {
  font-size: 3rem;
  position: absolute;
  top: 5px;
}

.stat-card__text {
  font-size: 1.6rem;
  font-weight: 500;
}

.stat-card__icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 8rem;
  opacity: 0.1;
  transition: all var(--transition-normal);
}

.stat-card:hover .stat-card__icon {
  opacity: 0.2;
  transform: scale(1.1);
}

/* ========== СЕКЦИЯ ОСОБЕННОСТЕЙ ========== */
.features-section {
  padding: 8rem 0;
  background: var(--color-light);
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  padding-bottom: 2rem;
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--color-dark);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 3px;
  background: var(--gradient-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 5rem;
}

.feature-box {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 4px solid transparent;
  border-image: var(--gradient-primary);
  border-image-slice: 1;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  transition: height var(--transition-normal);
  opacity: 0;
  z-index: 0;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-box:hover::before {
  height: 100%;
  opacity: 0.05;
}

.feature-box__icon {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: white;
  font-size: 2.8rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.feature-box:hover .feature-box__icon {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.feature-box__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  color: var(--color-primary);
}

.feature-box__text {
  font-size: 1.5rem;
  line-height: 1.7;
  flex-grow: 1;
  position: relative;
  z-index: 1;
  color: #666;
}

.cta-center {
  text-align: center;
  margin-top: 5rem;
}

/* ========== КНОПКИ ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.5rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 1.6rem;
  transition: all var(--transition-normal);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-gradient {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-gradient:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.btn i {
  margin-left: 1rem;
  transition: transform var(--transition-normal);
}

.btn:hover i {
  transform: translateX(5px);
}

.btn-text {
  position: relative;
  z-index: 2;
}

/* ========== МОДАЛЬНЫЕ ОКНА ========== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal__container {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  max-width: 50rem;
  width: 100%;
  position: relative;
  z-index: 201;
  box-shadow: var(--shadow-lg);
  transform: translateY(50px);
  opacity: 0;
  transition: all var(--transition-normal);
}

.modal.active .modal__container {
  transform: translateY(0);
  opacity: 1;
}

.modal__container--thanks {
  max-width: 40rem;
  text-align: center;
}

.modal__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--color-dark);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.modal__close:hover {
  color: var(--color-primary);
  transform: rotate(90deg);
}

.form {
  width: 100%;
}

.form__title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-dark);
}

.form__group {
  margin-bottom: 2rem;
  position: relative;
}

.form__input {
  width: 100%;
  padding: 1.5rem 2rem 1.5rem 5rem;
  border: 1px solid #e0e0e0;
  border-radius: var(--border-radius-md);
  font-size: 1.6rem;
  transition: all var(--transition-normal);
}

.form__input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(156, 67, 254, 0.2);
}

.form__icon {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--color-primary);
}

.form__btn {
  width: 100%;
}

.thanks-content {
  text-align: center;
}

.thanks-icon {
  font-size: 7rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

.thanks-title {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.thanks-text {
  font-size: 1.8rem;
  margin-bottom: 3rem;
  color: #666;
}

/* ========== ФУТЕР ========== */
.footer {
  background: linear-gradient(to right, #171038, #2d1b5a);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__logo img {
  max-width: 150px;
  margin-bottom: 2rem;
}

.footer__logo p {
  font-size: 1.4rem;
  opacity: 0.8;
  color: white !important;
  margin: 0;
}

.footer__title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
  color: white !important;
}

.footer__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, var(--color-secondary), var(--color-primary));
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 1.4rem;
  opacity: 0.8;
  transition: all 0.2s ease;
  color: white !important;
  text-decoration: none;
}

.footer__links a:hover {
  opacity: 1;
  transform: translateX(5px);
  color: var(--color-secondary) !important;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.4rem;
}

.footer__copyright, 
.footer__credits {
  font-size: 1.4rem;
  opacity: 0.7;
  margin: 0;
  color: white !important;
}

.footer__credits a {
  color: var(--color-secondary) !important;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer__credits a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__app {
  padding-top: 1rem;
}

.footer__app-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.app-link img {
  height: 40px;
  transition: transform 0.3s ease;
}

.app-link:hover img {
  transform: translateY(-5px);
}

/* Скрыть сообщение об активации Windows */
.footer [class*="active"], 
.footer [class*="activation"],
.footer [id*="active"],
.footer [id*="activation"] {
  display: none !important;
}

/* ========== АДАПТИВНЫЕ СТИЛИ ========== */
@media (max-width: 1024px) {
  .hero__grid {
    gap: 3rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer__app {
    grid-column: span 2;
    text-align: center;
  }
  
  .footer__app-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .hero__content {
    order: 2;
    text-align: center;
  }
  
  .hero__features {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .slider {
    max-width: 450px;
    margin: 0 auto;
  }
  
  .info-cards {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .social-float {
    display: none;
  }
  
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 35rem;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 8rem 3rem 3rem 3rem;
    transition: right var(--transition-normal);
    z-index: 100;
    overflow-y: auto;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .main-nav__link {
    width: 100%;
    padding: 1.5rem;
  }
  
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer h3.footer__title {
    margin-top: 2rem;
  }
  
  .footer__title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer__logo {
    align-items: center;
    text-align: center;
  }
  
  .footer__links {
    text-align: center;
  }
  
  .footer__app {
    grid-column: 1;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 3rem;
  }
  
  .hero__title {
    font-size: 4.2rem;
  }
  
  .stats__grid {
    grid-template-columns: 1fr;
    max-width: 30rem;
    margin: 0 auto;
  }
  
  .slider__wrapper {
    height: 250px;
  }
  
  .modal__container {
    padding: 3rem 2rem;
  }
  
  .btn {
    width: 100%;
  }
}

/* ========== КНОПКА "ВВЕРХ" ========== */
.scroll-to-top {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-dark);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}


body.menu-open {
    overflow: hidden !important;
}


.main-nav {
    z-index: 100 !important;
}



.mobile-menu-overlay {
  display: none !important; /* Полностью отключаем оверлей */
}
