/* ===== CSS ПЕРЕМЕННЫЕ ===== */
:root {
  /* Дополнительная цветовая схема */
  --primary-color: #ff6b35;
  --primary-dark: #e55a2b;
  --primary-light: #ff8c65;
  --secondary-color: #35a0ff;
  --secondary-dark: #2b8ae5;
  --secondary-light: #65b8ff;
  --accent-color: #ffd700;
  --accent-dark: #e6c200;
  
  /* Нейтральные цвета */
  --text-primary: #222222;
  --text-secondary: #666666;
  --text-light: #ffffff;
  --text-muted: #888888;
  
  /* Фоновые цвета */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-dark: #1a1a1a;
  --bg-gradient: linear-gradient(135deg, #ff6b35 0%, #35a0ff 100%);
  --bg-hero: linear-gradient(135deg, rgba(255, 107, 53, 0.8) 0%, rgba(53, 160, 255, 0.8) 100%);
  
  /* Шрифты */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  
  /* Размеры */
  --container-width: 1200px;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
  
  /* Анимации */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-index */
  --z-header: 1000;
  --z-modal: 9999;
  --z-tooltip: 10000;
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
  box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* ===== КОНТЕЙНЕРЫ ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== КНОПКИ ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--bg-gradient);
  color: var(--text-light);
  box-shadow: var(--shadow);
  transform: translateY(0);
}

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

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

.btn-secondary:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-3px);
}

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

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-header);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo h1 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-menu a {
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.burger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-hero);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 4rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: heroSlideUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: heroSlideUp 1s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroSlideUp 1s ease-out 0.4s both;
}

/* ===== СЕКЦИИ ===== */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--text-primary);
  position: relative;
}

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

/* ===== ИСТОРИЯ ===== */
.history {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.history-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.history-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.history-image {
  text-align: center;
}

.history-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.history-image img:hover {
  transform: perspective(1000px) rotateY(0deg);
}

/* ===== КОМАНДА ===== */
.team {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.team::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.team .container {
  position: relative;
  z-index: 2;
}

.team .section-title {
  color: var(--text-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 200px;
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

.card-content h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

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

/* ===== ПРОЦЕСС ===== */
.process {
  padding: 80px 0;
  background: var(--bg-primary);
}

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

.process-step {
  text-align: center;
  position: relative;
  padding-top: 4rem;
}

.step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--bg-gradient);
  color: var(--text-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.process-step h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.process-step p {
  color: var(--text-secondary);
}

/* ===== КЛИЕНТУРА ===== */
.clientele {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.clientele::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.clientele .container {
  position: relative;
  z-index: 2;
}

.clientele .section-title {
  color: var(--text-light);
}

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

.clientele-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.clientele-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.stat h3 {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stat p {
  color: var(--text-light);
  margin: 0;
}

/* ===== WEBINARS ===== */
.webinars {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.webinars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

/* ===== РЕСУРСЫ ===== */
.resources {
  padding: 80px 0;
  background: var(--bg-primary);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-item {
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.resource-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

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

.resource-item p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* ===== ПРЕССА ===== */
.press {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.press::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.press .container {
  position: relative;
  z-index: 2;
}

.press .section-title {
  color: var(--text-light);
}

.press-content {
  display: grid;
  gap: 2rem;
}

.press-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.press-item h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.press-item p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.press-item p:last-child {
  margin-bottom: 0;
  opacity: 0.8;
}

/* ===== ЦЕНЫ ===== */
.pricing {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing .card {
  position: relative;
  overflow: hidden;
}

.pricing .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--bg-gradient);
}

.price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 1rem 0;
}

.pricing ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.pricing li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.pricing li:last-child {
  border-bottom: none;
}

/* ===== ИННОВАЦИИ ===== */
.innovation {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.innovation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.innovation .container {
  position: relative;
  z-index: 2;
}

.innovation .section-title {
  color: var(--text-light);
}

.innovation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.innovation-text p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.innovation-features {
  display: grid;
  gap: 2rem;
}

.feature {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.feature h4 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--text-light);
  margin: 0;
  opacity: 0.9;
}

/* ===== КОНТАКТЫ ===== */
.contact {
  padding: 80px 0;
  background: var(--bg-primary);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  padding: 2rem;
}

.contact-info h3 {
  color: var(--text-primary);
  margin-bottom: 2rem;
}

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

.contact-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--text-secondary);
  margin: 0;
}

.contact-form {
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #ddd;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-section ul li a {
  color: var(--text-light);
  opacity: 0.8;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

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

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

/* ===== АНИМАЦИИ ===== */
@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* ===== ПАРАЛЛАКС ===== */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТРАНИЦЫ ===== */
.page-content {
  padding: 100px 0 80px;
  min-height: calc(100vh - 200px);
}

.page-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  text-align: center;
}

.success-content {
  background: var(--bg-primary);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 100%;
}

.success-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .history-content,
  .contact-content,
  .innovation-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    transition: var(--transition);
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .burger {
    display: flex;
  }
  
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .team-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .clientele-stats {
    grid-template-columns: 1fr;
  }
  
  .webinars-grid {
    grid-template-columns: 1fr;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== УТИЛИТЫ ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

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

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}