/* CSS Variables для яркой цветовой схемы и гласморфизма */
:root {
  /* Яркие основные цвета */
  --primary-color: #ff6b35;
  --primary-dark: #e55a2b;
  --primary-light: #ff8c69;
  --secondary-color: #4ecdc4;
  --secondary-dark: #45b7b8;
  --secondary-light: #6fffe9;
  --accent-color: #ffe066;
  --accent-dark: #f9ca24;
  --accent-light: #fff200;
  
  /* Дополнительные яркие цвета */
  --success-color: #2ed573;
  --warning-color: #ffa726;
  --danger-color: #ff4757;
  --info-color: #3742fa;
  
  /* Текстовые цвета */
  --text-primary: #2c3e50;
  --text-secondary: #34495e;
  --text-light: #7f8c8d;
  --text-white: #ffffff;
  --text-dark: #222222;
  
  /* Фоновые цвета */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-dark: #2c3e50;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --bg-bright: linear-gradient(135deg, #ff6b35 0%, #4ecdc4 50%, #ffe066 100%);
  
  /* Гласморфизм эффекты */
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  --glass-backdrop: blur(8px);
  
  /* Тени и эффекты */
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.25);
  
  /* Переходы и анимации */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
  --transition-slow: 0.6s ease;
  
  /* Шрифты */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Nunito', sans-serif;
  
  /* Размеры */
  --border-radius: 15px;
  --border-radius-small: 8px;
  --border-radius-large: 25px;
  --container-max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

/* Контейнер */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Глобальные стили кнопок */
.btn, button, input[type='submit'] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-medium);
  position: relative;
  overflow: hidden;
  min-width: 140px;
  text-align: center;
  box-shadow: var(--shadow-light);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: var(--text-white);
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--primary-dark), var(--secondary-dark));
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--text-white);
}

.btn-outline-light:hover {
  background: var(--text-white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Читать далее ссылки */
.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-fast);
  position: relative;
}

.read-more:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.read-more::after {
  content: '→';
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-medium);
}

.navbar {
  padding: 1rem 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--bg-bright);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-item {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-small);
  transition: all var(--transition-fast);
}

.navbar-item:hover {
  background: var(--glass-bg);
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 107, 53, 0.3), rgba(78, 205, 196, 0.3));
  z-index: 1;
}

.hero-body {
  position: relative;
  z-index: 2;
  padding: 100px 0 50px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-white) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-white) !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

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

/* Stats Widget */
.stats-widget {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-large);
  padding: 2rem;
  box-shadow: var(--glass-shadow);
}

.stat-item {
  text-align: center;
  margin-bottom: 1.5rem;
}

.stat-item:last-child {
  margin-bottom: 0;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-white);
  font-weight: 500;
}

/* Секции */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  position: relative;
  color: var(--text-dark);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--bg-bright);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Карточки */
.card {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: all var(--transition-medium);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* Methodology Section */
.methodology-section {
  background: var(--bg-secondary);
}

.methodology-card {
  border-left: 4px solid var(--primary-color);
}

/* Instructors Section */
.instructors-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.instructor-card .card-image {
  height: 300px;
}

.instructor-name {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.instructor-title {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Case Studies Section */
.case-studies-section {
  background: var(--bg-secondary);
}

.case-study-card {
  border-top: 4px solid var(--accent-color);
}

.case-title {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.case-stats .stat-number {
  color: var(--primary-color);
}

.case-stats .stat-label {
  color: var(--text-primary);
}

/* Clientele Section */
.clientele-section {
  background: var(--bg-primary);
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  transition: all var(--transition-medium);
  margin: 0 auto;
  text-align: center;
}

.client-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

.client-logo img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: filter var(--transition-medium);
  margin: 0 auto;
}

.client-logo:hover img {
  filter: grayscale(0%);
}

/* Resources Section */
.resources-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.resource-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-medium);
}

.resource-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
}

.resource-card h3 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.resource-card p {
  color: var(--text-white);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* Sustainability Section */
.sustainability-section {
  background: var(--bg-secondary);
}

.sustainability-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.sustainability-content h3:first-child {
  margin-top: 0;
}

.sustainability-stats {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Pricing Section */
.pricing-section {
  background: var(--bg-primary);
}

.pricing-card {
  position: relative;
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition-medium);
}

.pricing-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px) scale(1.02);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-heavy);
}

.featured-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-bright);
  color: var(--text-white);
  padding: 5px 20px;
  border-radius: var(--border-radius-large);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
}

.pricing-title {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.price {
  margin-bottom: 2rem;
}

.currency {
  font-size: 1.2rem;
  color: var(--text-light);
}

.amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.period {
  font-size: 1rem;
  color: var(--text-light);
}

.features-list {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.features-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 25px;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-secondary);
}

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

.faq-item {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-light);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  background: var(--bg-primary);
}

.faq-question:hover {
  background: var(--bg-secondary);
}

.faq-question h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.1rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-medium);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 1rem 2rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}

.contact-form {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-large);
  padding: 2.5rem;
  box-shadow: var(--glass-shadow);
}

.input-field {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 16px;
  margin-bottom: 1rem;
  transition: all var(--transition-fast);
  backdrop-filter: var(--glass-backdrop);
}

.input-field::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.input-field:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.2);
}

.contact-info {
  color: var(--text-white);
}

.contact-item {
  margin-bottom: 2rem;
}

.contact-item h4 {
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.contact-item p {
  margin: 0;
  opacity: 0.9;
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

.footer-title {
  color: var(--accent-color);
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-white);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.social-links {
  margin-top: 1rem;
}

.social-links a {
  color: var(--text-white);
  text-decoration: none;
  margin-right: 1rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.social-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.social-links a:hover::after {
  transform: scaleX(1);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.7;
}

/* Success страница */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-bright);
  color: var(--text-white);
  text-align: center;
  padding: 2rem;
}

.success-content {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-large);
  padding: 3rem;
  box-shadow: var(--glass-shadow);
  max-width: 600px;
  width: 100%;
}

.success-content h1 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.success-content p {
  color: var(--text-white);
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Privacy и Terms страницы */
.privacy-page,
.terms-page {
  padding-top: 100px;
  min-height: 100vh;
}

.content-section {
  padding: 2rem 0;
}

.content-section h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-section h2:first-child {
  margin-top: 0;
}

.content-section h3 {
  color: var(--secondary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-section ul,
.content-section ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.content-section li {
  margin-bottom: 0.5rem;
}

/* Parallax эффекты */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Mobile Navigation */
.navbar-burger {
  display: none;
}

/* Анимации при прокрутке (AOS) */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Адаптивность */
@media screen and (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
}

@media screen and (max-width: 768px) {
  .navbar-burger {
    display: block;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-primary);
  }
  
  .navbar-menu {
    display: none;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-backdrop);
    border-top: 1px solid var(--glass-border);
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-buttons .btn {
    margin-bottom: 1rem;
  }
  
  section {
    padding: 50px 0;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .stats-widget {
    padding: 1.5rem;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .pricing-card .card-content {
    padding: 2rem 1.5rem;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .stats-widget {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
    min-width: 120px;
  }
}

/* Прелоадер */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.preloader-content {
  text-align: center;
  color: var(--text-white);
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

/* Скролл индикатор */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1001;
}

.scroll-progress {
  height: 100%;
  background: var(--bg-bright);
  transition: width 0.1s ease;
}

/* Кастомные утилитарные классы */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 1rem !important; }
.mb-2 { margin-bottom: 2rem !important; }
.mb-3 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem !important; }
.mt-2 { margin-top: 2rem !important; }
.mt-3 { margin-top: 3rem !important; }

.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.gradient-text {
  background: var(--bg-bright);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Улучшенные переходы для всех интерактивных элементов */
a, button, .card, .faq-question, .navbar-item {
  transition: all var(--transition-medium);
}

/* Сглаживание шрифтов */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Фокус стили для доступности */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

button:focus,
.btn:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}