:root {
  /* Пастельная цветовая схема */
  --primary-color: #8FBC8F;
  --primary-dark: #6B8E6B;
  --primary-light: #B5D6B5;
  --secondary-color: #F5DEB3;
  --secondary-dark: #D4BC8A;
  --accent-color: #DDA0DD;
  --accent-dark: #C080C0;
  
  /* Нейтральные цвета */
  --white: #FFFFFF;
  --light-grey: #F8F9FA;
  --grey: #E9ECEF;
  --dark-grey: #6C757D;
  --dark: #343A40;
  --black: #212529;
  
  /* Градиенты */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  --gradient-overlay: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3));
  
  /* Шрифты */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans Pro', sans-serif;
  
  /* Размеры */
  --container-max-width: 1200px;
  --border-radius: 12px;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.15);
  
  /* Переходы */
  --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  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: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Глобальные стили кнопок */
.btn, 
.button, 
button, 
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  min-width: 120px;
}

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

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

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

.btn-primary:hover,
.button.is-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: var(--shadow-hover);
}

.btn-secondary,
.button.is-secondary {
  background: var(--gradient-secondary);
  color: var(--dark);
  box-shadow: var(--shadow);
}

.btn-outlined,
.button.is-outlined {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  backdrop-filter: blur(10px);
}

.btn-outlined:hover,
.button.is-outlined:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(143, 188, 143, 0.1);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar {
  padding: 1rem 0;
}

.navbar-brand .logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.navbar-item {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
  position: relative;
}

.navbar-item::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.navbar-item:hover {
  color: var(--primary-color);
  background: rgba(143, 188, 143, 0.1);
}

.navbar-item:hover::after {
  width: 80%;
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

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

.hero-body {
  position: relative;
  z-index: 2;
  padding: 8rem 0;
}

.hero .title,
.hero .subtitle {
  color: var(--white) !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.stats-widget {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
}

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

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Секции */
.section {
  padding: 5rem 0;
  position: relative;
}

.section.has-background-light {
  background: var(--light-grey);
}

.section.has-background-primary {
  background: var(--gradient-primary);
}

/* Карточки */
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

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

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

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

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

.card-content h3,
.card-content h4,
.card-content h5 {
  margin-bottom: 1rem;
}

.card-content p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Progress Indicator */
.progress-indicator {
  margin-top: auto;
}

.progress-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-grey);
}

.progress {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--grey);
  overflow: hidden;
}

.progress.is-primary::-webkit-progress-value {
  background: var(--gradient-primary);
}

.progress.is-success::-webkit-progress-value {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

/* Pricing Cards */
.pricing-card {
  position: relative;
  transition: var(--transition-bounce);
}

.pricing-card.featured {
  transform: scale(1.05);
  border: 3px solid var(--primary-color);
}

.pricing-card.featured::before {
  content: 'Más Popular';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.price {
  text-align: center;
  margin: 2rem 0;
}

.currency {
  font-size: 1.5rem;
  vertical-align: top;
  color: var(--primary-color);
}

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

.period {
  display: block;
  font-size: 0.9rem;
  color: var(--dark-grey);
}

.features {
  list-style: none;
  margin: 2rem 0;
}

.features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--grey);
  position: relative;
  padding-left: 2rem;
}

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

/* Resource Cards */
.resource-card {
  border-left: 4px solid var(--primary-color);
  transition: var(--transition-smooth);
}

.resource-card:hover {
  border-left-color: var(--accent-color);
}

/* Webinars */
.webinar-info {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tag.is-info { background: var(--secondary-color); color: var(--dark); }
.tag.is-success { background: var(--primary-color); color: var(--white); }
.tag.is-warning { background: var(--accent-color); color: var(--dark); }
.tag.is-primary { background: var(--primary-dark); color: var(--white); }
.tag.is-danger { background: #FF6B6B; color: var(--white); }

/* Case Studies */
.case-study-card {
  background: linear-gradient(135deg, var(--white) 0%, var(--light-grey) 100%);
}

.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--primary-color);
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.metric-label {
  display: block;
  font-size: 0.9rem;
  color: var(--dark-grey);
  text-transform: uppercase;
}

/* Testimonials */
.custom-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slide {
  min-width: 100%;
  padding: 1rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(143, 188, 143, 0.2);
}

.media {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.media-left {
  margin-right: 1rem;
}

.media-left img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

.rating .star {
  color: #FFD700;
  font-size: 1.2rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
}

.slider-btn:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-hover);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Media Section */
.media-card {
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.media-card:hover {
  border-color: var(--primary-color);
}

/* Contact Section */
.contact-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

/* Forms */
.field {
  margin-bottom: 1.5rem;
}

.input, 
.textarea, 
.select select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--grey);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-smooth);
  background: var(--white);
}

.input:focus, 
.textarea:focus, 
.select select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(143, 188, 143, 0.1);
}

.select {
  position: relative;
}

.select::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--dark-grey);
  pointer-events: none;
}

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

.footer h4,
.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer ul {
  list-style: none;
}

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

.footer ul li a {
  color: var(--light-grey);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer ul li a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

.social-links a {
  display: inline-block;
  padding: 0.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition-smooth);
  text-decoration: none;
  color: var(--light-grey);
  font-weight: 600;
}

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

/* Специальные страницы */
.success-page,
.privacy-page,
.terms-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.privacy-content,
.terms-content {
  padding-top: 100px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

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

.read-more-link::after {
  content: '→';
  margin-left: 0.5rem;
  transition: var(--transition-smooth);
}

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

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

/* Анимации */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-body {
    padding: 6rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .case-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    margin-top: 1rem;
  }
  
  .hero {
    background-attachment: scroll;
  }
  
  .hero-body {
    padding: 4rem 0;
  }
  
  .stats-widget {
    grid-template-columns: 1fr;
  }
  
  .contact-stats {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .prev-btn { left: 10px; }
  .next-btn { right: 10px; }
}

@media (max-width: 480px) {
  .btn, .button {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 2.5rem; }
.mb-6 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }
.mt-6 { margin-top: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 2.5rem; }
.p-6 { padding: 3rem; }

/* Цвета текста */
.has-text-primary { color: var(--primary-color); }
.has-text-secondary { color: var(--secondary-color); }
.has-text-dark { color: var(--dark); }
.has-text-light { color: var(--light-grey); }
.has-text-white { color: var(--white); }
.has-text-grey { color: var(--dark-grey); }
.has-text-grey-dark { color: var(--dark-grey); }
.has-text-grey-light { color: var(--light-grey); }

/* Cookie Popup */
#cookiePopup {
  background: rgba(52, 58, 64, 0.95);
  backdrop-filter: blur(10px);
  border-top: 3px solid var(--primary-color);
}

#acceptCookies {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

#acceptCookies:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

figure {
  width: 100%;
}