/* Globals & Variables */
:root {
  /* Триадная цветовая схема */
  --primary-color: #3E57FF;
  --primary-dark: #2A3FD9;
  --secondary-color: #FF5E3A;
  --secondary-dark: #E54A2A;
  --tertiary-color: #52CC6F;
  --tertiary-dark: #3FAB5A;
  
  /* Нейтральные цвета */
  --light-bg: #F8FAF7;
  --medium-bg: #E9EFEA;
  --dark-text: #2A2A2A;
  --light-text: #FFFFFF;
  --medium-text: #606060;
  
  /* Эффекты */
  --card-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  --hover-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --glassmorphism: rgba(255, 255, 255, 0.8);
  
  /* Размеры */
  --border-radius: 12px;
  --button-radius: 6px;
  --card-radius: 16px;
}

/* Typography */
body {
  font-family: 'Source Sans Pro', sans-serif;
  color: var(--dark-text);
  line-height: 1.7;
  background-color: var(--light-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
}

.title {
  margin-bottom: 1.5rem;
}

.subtitle {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  color: var(--medium-text);
}

/* Links & Buttons */
a {
  color: var(--primary-color);
  transition: var(--transition);
  text-decoration: none;
}

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

.button {
  border-radius: var(--button-radius);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
}

.button.is-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.button.is-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(62, 87, 255, 0.3);
}

.button.is-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
}

.button.is-secondary:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 94, 58, 0.3);
}

.button.is-tertiary {
  background-color: var(--tertiary-color);
  border-color: var(--tertiary-color);
  color: white;
}

.button.is-tertiary:hover {
  background-color: var(--tertiary-dark);
  border-color: var(--tertiary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(82, 204, 111, 0.3);
}

.button.is-outlined {
  background-color: transparent;
}

.button.is-outlined.is-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.button.is-outlined.is-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Read More Links */
.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
}

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

.read-more:hover {
  color: var(--primary-dark);
}

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

/* Layout & Containers */
.container {
  padding: 0 1rem;
}

.section {
  padding: 4rem 1.5rem;
}

.section:nth-child(odd) {
  background-color: var(--medium-bg);
}

/* Header & Navigation */
.navbar {
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.navbar-brand .title {
  margin-bottom: 0;
  font-size: 1.75rem;
}

.navbar-item {
  font-weight: 600;
  transition: var(--transition);
}

.navbar-item:hover {
  color: var(--primary-color);
  background-color: transparent !important;
}

/* Hero Section */
.hero {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative;
  margin-top: 3.25rem;
}

.hero.is-fullheight {
  min-height: calc(100vh - 3.25rem);
}

.hero.is-medium {
  min-height: 60vh;
}

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

/* Cards */
.card {
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  overflow: hidden;
  background-color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

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

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

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

/* About Section */
.about-section {
  position: relative;
}

.about-section .image-container {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.about-section .image-container img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.about-section .image-container:hover img {
  transform: scale(1.03);
}

/* Mission Section */
.mission-section {
  position: relative;
}

.mission-section .image-container {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.mission-section .image-container img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}

.mission-section .image-container:hover img {
  transform: scale(1.03);
}

/* Accolades Section */
.accolades-section .card-image {
  height: 240px;
}

.accolades-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Webinars Section */
.webinars-section .card-image {
  height: 260px;
}

.webinars-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.webinars-section .subtitle {
  font-weight: 600;
  color: var(--secondary-color);
}

/* Resources Section */
.resources-section .card-image {
  height: 200px;
}

.resources-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Events Section */
.events-section .card-image {
  height: 260px;
}

.events-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-section .subtitle {
  font-weight: 600;
  color: var(--secondary-color);
}

/* News Section */
.news-section .card-image {
  height: 200px;
}

.news-section .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-section .subtitle {
  font-size: 0.9rem;
  color: var(--medium-text);
}

/* Press Section */
.press-section .press-item {
  background-color: white;
  border-radius: var(--card-radius);
  padding: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
  margin-bottom: 1.5rem;
}

.press-section .press-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.press-section .media-left img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

/* Pricing Section */
.pricing-section .pricing-card {
  text-align: center;
}

.pricing-section .pricing-card.featured {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(62, 87, 255, 0.2);
  border: 2px solid var(--primary-color);
  z-index: 1;
  position: relative;
}

.pricing-section .price-tag {
  margin: 1.5rem 0;
}

.pricing-section .price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.pricing-section .price-features {
  list-style-type: none;
  padding: 0;
  margin: 1.5rem 0;
}

.pricing-section .price-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* Contact Section */
.contact-section {
  position: relative;
}

.contact-section .card {
  box-shadow: var(--card-shadow);
  border-radius: var(--card-radius);
}

.contact-form-section .contact-details {
  margin-bottom: 2rem;
}

.contact-form-section .contact-item {
  margin-bottom: 1.5rem;
}

.contact-form-section .map-container {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.contact-form-section .map-container img {
  width: 100%;
  height: auto;
}

/* Form Elements */
.input, .textarea, .select select {
  border-radius: var(--button-radius);
  border: 1px solid #dbdbdb;
  transition: var(--transition);
}

.input:focus, .textarea:focus, .select select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 1px var(--primary-color);
}

.checkbox input {
  margin-right: 0.5rem;
}

/* Success Page */
.success-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 5rem 1.5rem;
}

.success-icon img {
  border-radius: 50%;
}

/* FAQ/Accordion Section */
.accordion {
  margin-top: 2rem;
}

.accordion-item {
  border-radius: var(--button-radius);
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.accordion-header {
  padding: 1.25rem;
  background-color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.accordion-header:hover {
  background-color: #f9f9f9;
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  padding: 1rem 1.25rem 1.25rem;
}

.accordion-header .icon {
  font-size: 1.5rem;
  color: var(--primary-color);
}

/* Team Section */
.team-section .team-card {
  text-align: center;
}

.team-section .card-image {
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-section .card-image img {
  border-radius: 50%;
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: var(--card-shadow);
}

.team-section .subtitle {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Values Section */
.values-section .value-card {
  height: 100%;
  border-left: 5px solid var(--tertiary-color);
  background-color: rgba(82, 204, 111, 0.05);
}

.values-section .title {
  color: var(--tertiary-dark);
}

/* Timeline Section */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline:after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-color);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  z-index: 1;
  top: 15px;
}

.timeline-item:nth-child(odd) .timeline-marker {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
  left: -10px;
}

.timeline-content {
  padding: 20px;
  background-color: white;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

/* Resources List */
.resources-list {
  list-style-type: none;
  padding-left: 0;
}

.resources-list li {
  margin-bottom: 0.75rem;
}

.resources-list li a {
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.resources-list li a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* What's Next Section */
.whats-next-section .card {
  text-align: center;
  background-color: var(--light-bg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.whats-next-section .card-content {
  padding: 2rem;
}

/* Footer */
.footer {
  background-color: #292929;
  color: var(--light-text);
  padding: 4rem 1.5rem 2rem;
}

.footer .title {
  color: white;
  margin-bottom: 1.5rem;
}

.footer ul {
  list-style-type: none;
  padding-left: 0;
}

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

.footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

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

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

.social-links a {
  margin-right: 0.5rem;
  transition: var(--transition);
  display: inline-block;
}

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

/* Privacy & Terms Pages */
.privacy-content, .terms-content {
  padding-top: 100px;
}

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

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

/* Helper Classes */
.has-shadow {
  box-shadow: var(--card-shadow);
}

.has-radius {
  border-radius: var(--card-radius);
}

.has-background-primary {
  background-color: var(--primary-color) !important;
  color: white;
}

.has-background-secondary {
  background-color: var(--secondary-color) !important;
  color: white;
}

.has-background-tertiary {
  background-color: var(--tertiary-color) !important;
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(62, 87, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(62, 87, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 87, 255, 0); }
}

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

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

/* Image Containers */
.image-container {
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.image-container:hover {
  box-shadow: var(--hover-shadow);
}

.image-container:hover img {
  transform: scale(1.03);
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-consent .buttons {
  display: flex;
  gap: 0.5rem;
}

/* Media Queries */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .timeline:after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-marker,
  .timeline-item:nth-child(even) .timeline-marker {
    left: 21px;
  }
}

@media screen and (max-width: 768px) {
  .pricing-section .pricing-card.featured {
    transform: none;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .cookie-consent {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .section {
    padding: 3rem 1rem;
  }
}

/* Print Styles */
@media print {
  .navbar, .hero, .footer, .button {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  .container {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  a {
    text-decoration: underline;
    color: #000;
  }
  
  .card, .image-container {
    box-shadow: none !important;
    border: 1px solid #ddd;
  }
}