/* 
   Akira Education - Полные стили для страниц методик
   Объединенный файл для всех страниц с методиками
*/

/* ========== ПЕРЕМЕННЫЕ И БАЗОВЫЕ СТИЛИ ========== */
:root {
  --color-purple: #7b68ee;
  --color-pink: #ff56aa;
  --color-turquoise: #00ced1;
  --color-dark: #171038;
  --color-light: #f8f9ff;
  --color-gray: #e0e0e0;
  --color-text: #343a40;
  --color-text-light: #f8f9ff;
  
  /* Эти переменные можно менять для разных методик */
  --color-primary: #9c43fe;
  --color-secondary: #ff59c7;
  --color-accent: #3ad0cd;
  
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  --gradient-secondary: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
  --gradient-tertiary: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  
  --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-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========== АНИМАЦИИ ========== */
@keyframes floatingBadge {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

@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 rotateSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@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%;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

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

@keyframes slideRight {
  from { transform: translateX(-30px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

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

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

@keyframes cardAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Анимированная кнопка с пульсацией */
.pulse-animation {
  animation: pulse 2s infinite;
}

/* ========== ОСНОВНЫЕ КНОПКИ ========== */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.5rem;
  background: var(--gradient-primary);
  color: white;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn-gradient i {
  margin-right: 1rem;
  font-size: 1.8rem;
}

.btn-hero {
  padding: 1.2rem 2.4rem;
  font-size: 1.6rem;
  border-radius: var(--border-radius-lg);
}

.btn-video {
  display: inline-flex;
  align-items: center;
  color: white;
  font-weight: 500;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-video__icon {
  width: 5rem !important;
  height: 5rem !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  transition: all var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-md);
}

.btn-video__icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  z-index: -1;
  transform: scale(1);
  transition: transform 0.5s ease;
}

.btn-video:hover .btn-video__icon::before {
  transform: scale(1.4);
  opacity: 0;
}

.btn-video__icon i {
  font-size: 1.8rem !important;
  color: white;
}

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

.btn-video:hover .btn-video__icon {
  background: var(--color-secondary);
  transform: scale(1.1);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem 2.5rem;
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 1.6rem;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.btn-outline i {
  margin-right: 1rem;
  font-size: 1.8rem;
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 2.8rem;
  background: transparent;
  border: 2px solid white;
  color: white;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 1.6rem;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-outline-light:hover {
  background: white;
  color: var(--color-primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light i {
  margin-right: 1rem;
  font-size: 1.8rem;
}

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.4rem 2.8rem;
  background: white;
  color: var(--color-primary);
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 1.6rem;
  transition: all var(--transition-normal);
  text-decoration: none;
  box-shadow: var(--shadow-md);
}

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

.btn-light i {
  margin-right: 1rem;
  font-size: 1.8rem;
}

.btn-floating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: #25D366;
  color: white;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-size: 1.4rem;
  transition: all var(--transition-normal);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.btn-floating:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-floating i {
  margin-right: 0.8rem;
  font-size: 1.6rem;
}

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

.speed-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
}

.speed-hero__content {
  position: relative;
  z-index: 5;
}

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

.speed-hero__title span {
  display: block;
  font-size: 3.6rem;
  font-weight: 600;
  color: white;
}

.speed-hero__subtitle {
  font-size: 2rem;
  margin-bottom: 3.5rem;
  line-height: 1.4;
}

.speed-hero__subtitle span {
  position: relative;
  font-weight: 600;
  color: var(--color-secondary);
}

.speed-hero__cta {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

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

.hero-stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.hero-stat:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.hero-stat__value {
  font-size: 3.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  color: transparent;
  position: relative;
}

.hero-stat__value span {
  font-size: 1.8rem;
  position: absolute;
  top: 0;
  background: none;
  -webkit-background-clip: initial;
  color: var(--color-secondary);
}

.hero-stat__label {
  font-size: 1.3rem;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9) !important;
}

.speed-hero__image {
  position: relative;
  z-index: 5;
}

.speed-hero__image img {
  width: 100%;
  max-width: 450px;
  border-radius: var(--border-radius-lg);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.floating-badge {
  position: absolute;
  z-index: 3;
  animation: floatingBadge 4s infinite ease-in-out;
}

.floating-badge__content {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  min-width: 180px;
}

.floating-badge__icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  color: white;
  font-size: 1.8rem;
}

.floating-badge__text {
  display: flex;
  flex-direction: column;
}

.floating-badge__value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.floating-badge__label {
  font-size: 1.2rem;
  color: #666;
  color: rgba(255, 255, 255, 0.9) !important;
}

.speed-hero .floating-badge {
  top: 5%;
  right: 5%;
}

.floating-badge--materials {
  bottom: 10%;
  left: -15%;
}

.speed-hero__shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.shape--1 {
  top: -15%;
  left: -5%;
  width: 40%;
  height: 50%;
  background: var(--color-primary);
  animation: morphAnim 15s infinite alternate ease-in-out;
}

.shape--2 {
  bottom: -20%;
  right: -10%;
  width: 45%;
  height: 60%;
  background: var(--color-secondary);
  animation: morphAnim 20s infinite alternate-reverse ease-in-out;
}

.shape--3 {
  top: 40%;
  left: 50%;
  width: 30%;
  height: 40%;
  background: var(--color-accent);
  animation: morphAnim 18s infinite alternate ease-in-out;
  transform: translateX(-50%);
}

/* ========== SECTION STYLES ========== */
.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-subtitle {
  font-size: 1.8rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-title {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.section-description {
  font-size: 1.8rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9) !important;
}

.section-actions {
  margin-top: 2.5rem;
}

.light-text {
  color: white;
}

.light-text .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.light-text .section-title {
  color: white;
}

.light-text .section-description {
  color: rgba(255, 255, 255, 0.8);
}

/* ========== BENEFITS SECTION ========== */
.benefits-section {
  padding: 8rem 0;
  background: var(--color-light);
}

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

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

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

.benefit-card__icon {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  color: white;
  font-size: 2.5rem;
  transition: all var(--transition-normal);
  margin: 0 auto 2.5rem;
}

.benefit-card:hover .benefit-card__icon {
  transform: scale(1.1) rotate(10deg);
}

.benefit-card__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
  text-align: center;
}

.benefit-card__text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #666;
  flex-grow: 1;
  text-align: center;
}

.text-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  margin-left: 0.5rem;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.text-link:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.demo-cta {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C9C9C' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.demo-cta__content {
  flex-grow: 1;
}

.demo-cta__title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.demo-cta__text {
  font-size: 1.6rem;
  color: #666;
}

/* ========== STRUCTURE SECTION ========== */
.structure-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  position: relative;
  overflow: hidden;
}

.structure-section::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");
}

.structure-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.structure-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

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

.structure-card__header {
  padding: 2.5rem;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.structure-card__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0;
}

.structure-card__badge {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  background: white;
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
}

.structure-card__content {
  padding: 2.5rem;
}

.structure-card__detail {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.6rem;
}

.structure-card__detail:last-child {
  margin-bottom: 0;
}

.structure-card__detail i {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.6rem;
}

/* ========== RESULTS SECTION ========== */
.results-section {
  padding: 8rem 0;
  background: var(--color-light);
}

.results-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: center;
}

.results-image {
  position: relative;
}

.results-image img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.results-image__icon {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  box-shadow: var(--shadow-lg);
  animation: floatingBadge 4s infinite ease-in-out;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.results-item {
  display: flex;
  align-items: flex-start;
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.results-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.results-item__icon {
  min-width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
  color: white;
  font-size: 1.8rem;
}

.results-item__text {
  font-size: 1.6rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.results-item__text strong {
  color: var(--color-dark);
}

/* ========== TEACHER BENEFITS SECTION ========== */
.teacher-benefits-section {
  padding: 8rem 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f8f9ff"/><path d="M0 0L50 50L100 0" stroke="%23f1f2fd" stroke-width="2" fill="none"/><path d="M0 100L50 50L100 100" stroke="%23f1f2fd" stroke-width="2" fill="none"/></svg>');
}

.teacher-benefits-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 5rem;
  margin-bottom: 6rem;
}

.teacher-benefits-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.teacher-benefit {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  transition: all var(--transition-normal);
}

.teacher-benefit:hover {
  transform: translateX(10px);
}

.teacher-benefit__number {
  font-size: 3.6rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1;
}

.teacher-benefit__content {
  flex-grow: 1;
}

.teacher-benefit__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.teacher-benefit__text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #666;
}

.teacher-benefits-image {
  position: relative;
}

.teacher-benefits-image img {
  width: 100%;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.cta-block {
  background: var(--gradient-primary);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-block::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");
}

.cta-block__content {
  color: white;
  position: relative;
  z-index: 2;
}

.cta-block__title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-block__text {
  font-size: 1.8rem;
  opacity: 0.9;
}

.cta-block__buttons {
  display: flex;
  gap: 2rem;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
}

.cta-btn {
  white-space: nowrap;
}

/* ========== PRICING SECTION ========== */
.pricing-section {
  padding: 8rem 0;
  background: var(--color-light);
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  border: 1px solid #eee;
  position: relative;
}

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

.pricing-card--featured {
  border-top: 5px solid var(--color-primary);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-card__badge {
  position: absolute;
  top: 2rem;
  right: -3rem;
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 3rem;
  font-size: 1.2rem;
  font-weight: 600;
  transform: rotate(45deg);
  z-index: 3;
}

.pricing-card__header {
  padding: 3rem;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.pricing-card__name {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
  text-transform: uppercase;
}

.pricing-card__price {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pricing-card__value {
  font-size: 4.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.pricing-card__currency {
  font-size: 1.8rem;
  color: #777;
  margin-top: 0.5rem;
}

.pricing-card__content {
  padding: 3rem;
}

.pricing-card__features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: #666;
  line-height: 1.6;
}

.pricing-card__feature i {
  color: var(--color-primary);
  margin-right: 1.5rem;
  font-size: 1.6rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.pricing-card__feature--highlight {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.pricing-card__feature--highlight span {
  font-size: 1.6rem;
}

.pricing-card__footer {
  padding: 3rem;
  text-align: center;
  border-top: 1px solid #eee;
}

.pricing-btn {
  width: 100%;
}

/* ========== PROCESS SECTION ========== */
.process-section {
  padding: 8rem 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23ffffff"/><path d="M0 0L50 50L100 0" stroke="%23f8f9ff" stroke-width="2" fill="none"/><path d="M0 100L50 50L100 100" stroke="%23f8f9ff" stroke-width="2" fill="none"/></svg>');
}

.process-timeline {
  max-width: 800px;
  margin: 0 auto 5rem;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  background: var(--gradient-primary);
  z-index: 1;
}

.process-step {
  display: flex;
  margin-bottom: 5rem;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step__number {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 3rem;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.process-step__content {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  flex-grow: 1;
}

.process-step:hover .process-step__content {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.process-step__title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--color-dark);
}

.process-step__text {
  font-size: 1.6rem;
  color: #666;
  line-height: 1.6;
}

.process-cta {
  text-align: center;
}

/* ========== VIDEO TESTIMONIALS SECTION ========== */
.video-testimonials-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  position: relative;
  overflow: hidden;
}

.video-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 2;
}

.video-preview {
  width: 100%;
  max-width: 170px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.video-link {
  display: block;
  position: relative;
}

.video-link img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-normal);
}

.video-link:hover img {
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6rem !important;
  height: 6rem !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  z-index: 2;
}

.video-play-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  z-index: -1;
  animation: pulse 2s infinite;
}

.video-play-btn i {
  font-size: 2.4rem !important;
  color: var(--color-primary);
  margin-left: 0.5rem;
}

.video-link:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: white;
}

.video-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-shape {
  position: absolute;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.video-shape--1 {
  top: -20%;
  left: -10%;
  width: 40%;
  height: 60%;
  background: rgba(255, 255, 255, 0.1);
  animation: morphAnim 20s infinite alternate ease-in-out;
}

.video-shape--2 {
  bottom: -30%;
  right: -15%;
  width: 50%;
  height: 70%;
  background: rgba(255, 255, 255, 0.1);
  animation: morphAnim 25s infinite alternate-reverse ease-in-out;
}

/* ========== FLOATING CTA ========== */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: all var(--transition-normal);
}

.floating-cta.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.floating-cta__content {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 500px;
}

.floating-cta__info {
  flex-grow: 1;
}

.floating-cta__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.floating-cta__text {
  font-size: 1.4rem;
  color: #666;
  margin: 0;
}

.floating-cta__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.floating-cta__close {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #f0f0f0;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.floating-cta__close:hover {
  background: #e0e0e0;
}

/* ========== QR CODE FIX ========== */
.qr-code img,
img[alt="QR код"],
img.qr-code {
    max-width: 70px !important;
    height: auto !important;
    margin: 0 auto;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(to right, #171038, #2d1b5a);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.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;
}

.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-pink), var(--color-purple));
}

.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: #ff56aa !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: #ff56aa !important;
    transition: all 0.2s ease;
}

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

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    width: 0;
    transition: width 0.2s;
    z-index: 1000;
}

/* ========== ANIMATION CLASSES ========== */
.speed-hero.loaded .speed-hero__title,
.speed-hero.loaded .speed-hero__subtitle,
.speed-hero.loaded .speed-hero__cta,
.speed-hero.loaded .speed-hero__stats {
    animation: fadeInUp 1s forwards;
}

.speed-hero.loaded .speed-hero__image {
    animation: fadeInRight 1s forwards;
}

.speed-hero .speed-hero__title,
.speed-hero .speed-hero__subtitle,
.speed-hero .speed-hero__cta,
.speed-hero .speed-hero__stats,
.speed-hero .speed-hero__image {
    opacity: 0;
}

.speed-hero.loaded .speed-hero__title {
    animation-delay: 0.2s;
}

.speed-hero.loaded .speed-hero__subtitle {
    animation-delay: 0.4s;
}

.speed-hero.loaded .speed-hero__cta {
    animation-delay: 0.6s;
}

.speed-hero.loaded .speed-hero__stats {
    animation-delay: 0.8s;
}

.benefit-card.active {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.structure-card.appear {
    animation: cardAppear 0.5s forwards ease-out;
    opacity: 0;
    transform: translateY(20px);
}

.in-view {
    animation: fadeInUp 0.6s forwards;
}

/* ========== SOCIAL FLOAT SIDEBAR ========== */
.social-float {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 90;
}

.social-float__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: #9c43fe;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.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;
    border-radius: 50%;
}

.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: 1.8rem;
}

.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);
    font-size: 1.4rem;
}

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

/* ========== SCROLL TO TOP BUTTON ========== */
.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);
}

/* ========== HEADER STYLING ========== */
.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);
}

.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);
    font-size: 1.4rem;
    white-space: nowrap;
}

.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;
    background-size: 200% 200%;
    animation: gradientShift 5s infinite ease-in-out;
}

/* ========== RESPONSIVE STYLES ========== */
@media screen and (max-width: 1200px) {
    .speed-hero .container {
        grid-template-columns: 1fr;
    }
    
    .speed-hero__image {
        order: -1;
        max-width: 350px;
        margin: 0 auto 3rem;
    }
    
    .speed-hero__content {
        text-align: center;
    }
    
    .speed-hero__cta {
        justify-content: center;
    }
    
    .speed-hero__stats {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .teacher-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .teacher-benefits-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto 3rem;
    }
    
    .cta-block {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-block__buttons {
        justify-content: center;
    }
    
    .footer__top {
        grid-template-columns: 1fr 2fr;
    }
}

@media screen and (max-width: 992px) {
    .speed-hero__title {
        font-size: 4rem;
    }
    
    .speed-hero__title span {
        font-size: 3rem;
    }
    
    .speed-hero__subtitle {
        font-size: 1.8rem;
    }
    
    .results-content {
        grid-template-columns: 1fr;
    }
    
    .results-image {
        max-width: 400px;
        margin: 0 auto 3rem;
    }
    
    .floating-badge {
        display: none;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .speed-hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefit-card {
        text-align: center;
    }
    
    .pricing-card--featured {
        transform: scale(1);
    }
    
    .pricing-card--featured:hover {
        transform: translateY(-10px);
    }
    
    .process-step {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .process-step__number {
        margin-bottom: 2rem;
        width: 6rem;
        height: 6rem;
        font-size: 2.4rem;
    }
    
    .process-timeline::before {
        left: 30px;
    }
    
    .floating-cta__content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-float {
        display: none;
    }
    
    .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;
    }
    
    .menu-toggle {
        display: block;
        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);
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .qr-code img,
    img[alt="QR код"],
    img.qr-code {
        max-width: 200px !important;
    }
}

@media screen and (max-width: 576px) {
    .speed-hero__title {
        font-size: 3.2rem;
    }
    
    .speed-hero__title span {
        font-size: 2.4rem;
    }
    
    .speed-hero__cta {
        flex-direction: column;
        align-items: center;
    }
    
    .demo-cta {
        flex-direction: column;
        text-align: center;
    }
    
    .teacher-benefit {
        flex-direction: column;
        text-align: center;
    }
    
    .teacher-benefit__number {
        margin-bottom: 1.5rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .btn-video__icon,
    .video-play-btn {
        width: 5rem !important;
        height: 5rem !important;
    }
    
    .btn-video__icon i,
    .video-play-btn i {
        font-size: 2rem !important;
    }
    
    .footer__top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer__logo {
        align-items: center;
    }
}