/* ====== ENHANCED INDEX CSS - SMOLYANVOTE ====== */

/* CSS Custom Properties (Variables) */
:root {
  /* Color Palette - Modern Green Gradients */
  --primary-green: #19861c;
  --secondary-green: #a9a9a9;
  --accent-green: #48a24c;
  --light-green: #E8F5E8;
  --dark-green: #1B5E20;

  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #F8F9FA;
  --medium-gray: #6C757D;
  --dark-gray: #212529;
  --text-primary: #2C3E50;
  --text-secondary: #5A6C7D;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0F7B59 0%, #4CAF50 100%);
  --gradient-secondary: linear-gradient(135deg, #81C784 0%, #4CAF50 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);

  /* Typography */
  --font-primary: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-secondary: 'Playfair Display', 'Georgia', serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Animations */
  --animation-fast: 1.8s;
  --animation-normal: 3.0s;
  --animation-slow: 2.5s;
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);

  /* Animation Intervals */
  --hero-bg-duration: 35s;
  --title-glow-duration: 10s;
  --title-shimmer-duration: 12s;
  --button-pulse-duration: 5s;
  --container-shimmer-duration: 8s;
  --particles-duration: 40s;

  /* Layout constraints */
  --max-width: 100vw;
  --container-max-width: min(1200px, calc(100vw - 2rem));

}

/* ====== GLOBAL FIXES ====== */
/* Fix horizontal scroll issue */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
}

/* ====== HERO НАСТРОЙКИ ЗА СНИМКАТА  ====== */
:root {
  /* СНИМКА НАСТРОЙКИ */
  --hero-image-size: 1905px;
  /* РАЗМЕР: cover, contain, 80%, 100%, 120% */
  --hero-image-x: 0;
  /* ЛЯВО-ДЯСНО: left, center, right или 0% до 100% */
  --hero-image-y: 40px;
  /* ГОРЕ-ДОЛУ: top, center, bottom или 0% до 100% */

  /* ЦВЕТОВЕ И ЕФЕКТИ */
  --hero-overlay-opacity: 0.1;
  /* ПРОЗРАЧНОСТ НА ОВЕРЛЕЙ: 0 до 1 */
  --text-shadow-strength: 0.05;
  /* ПОПРАВЕНО: намалено от 0.15 за по-ясен текст */
  --button-3d-depth: 8px;
  /* ДЪЛБОЧИНА НА 3D БУТОН */

  /* КОНСИСТЕНТНИ ЦВЕТОВЕ ОТ ПРОЕКТА */
  --primary-green: #19861c;
  --accent-green: #4CAF50;
  --text-primary: #2C3E50;
  --text-secondary: #5A6C7D;
}

/* ====== ГЛАВНА HERO СЕКЦИЯ ====== */
.hero {
  position: relative;
  min-height: 85vh;
  width: 100%;
  overflow: hidden;

  /* СНИМКАТА КАТО BACKGROUND */
  background-image: url('/images/web/hero3.jpg');
  background-size: cover;
  background-position: center top;
  background-position-y: 38px;
  background-repeat: no-repeat;
  /* ПОПРАВЕНО: премахнат fixed за по-ясен текст на всички браузъри */

  /* ФЛЕКСБОКС ЗА ЦЕНТРИРАНЕ */
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* ЛЕКИ ЕНХАНСМЪНТИ С ОВЕРЛЕЙ */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, var(--hero-overlay-opacity)) 0%,
      rgba(25, 134, 28, 0.05) 100%);
  z-index: 1;
}

/* ====== КОНТЕЙНЕР И СЪДЪРЖАНИЕ ====== */
.hero .container {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  margin: 0 0 8rem 14rem;
  padding: 0 2rem;
}

.hero-content {
  width: 55%;
  /* ЗАЕМА ЛЯВАТА ЧАСТ */
  max-width: 600px;
  animation: heroContentSlideIn 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  opacity: 0;
  transform: translateX(-50px);
}

@keyframes heroContentSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ====== ЗАГЛАВИЕ ====== */
.hero .display-4 {
  font-family: var(--font-primary), serif;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0;
  margin-top: 7.5rem;

  /* ПОПРАВЕНО: заменен градиент с обикновен цвят за перфектна четливост */
  color: var(--primary-green);

  /* ПОПРАВЕНО: минимален text-shadow */
  text-shadow: 0 1px 2px rgba(25, 134, 28, var(--text-shadow-strength));

  /* ПОПРАВЕНО: по-мека анимация без filter ефекти */
  animation: titleColorGlow 4s ease-in-out infinite alternate;
}

@keyframes titleColorGlow {
  0% {
    color: var(--primary-green);
  }

  100% {
    color: var(--accent-green);
  }
}

/* ====== ПОДЗАГЛАВИЕ ====== */
.hero .lead {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.1rem, 2.8vw, 1.3rem);
  font-weight: 300;
  line-height: 4.6;
  color: var(--text-secondary);
  margin-bottom: 15px;
  margin-top: 15px;

  /* ПОПРАВЕНО: минимални ефекти за ясен текст */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  opacity: 0.95;
}

/* ====== ОПРОСТЕН СТЪКЛЕН БУТОН ====== */
.hero .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 2rem 0.9rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
  margin-bottom: 4.5rem;

  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

  /* ДРАМАТИЧЕН СТЪКЛЕН ВИД */
  background: rgb(25, 133, 28);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  /* ПЕРСПЕКТИВА ОТЛЯВО */
  transform: perspective(800px) rotateY(0deg);

  /* СИЛНИ СЕНКИ */
  box-shadow:
    12px 10px 20px rgba(25, 134, 28, 0.6),
    0 2px 0 rgba(25, 134, 28, 0.8),
    inset 0 2px 0 rgba(255, 255, 255, 0.7);

  transition: all 0.5s ease;
  cursor: pointer;
  overflow: hidden;
}

/* ГОЛЯМО ДВИЖЕЩО СЕ ОТРАЖЕНИЕ */
.hero .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent);
  animation: bigReflection 3s linear infinite;
  border-radius: inherit;
}

@keyframes bigReflectionFast {
  0% {
    left: 150%;
  }

  100% {
    left: -150%;
  }
}

.hero .btn i {
  font-size: 1.2em;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 3;
}

/* ====== HOVER ЕФЕКТИ - БЕЗ ДВИЖЕНИЕ ====== */
.hero .btn:hover {
  background: rgba(25, 134, 28, 0.4);
  border-color: rgba(255, 255, 255, 0.5);

  box-shadow:
    8px 8px 20px rgba(25, 134, 28, 0.6),
    4px 4px 8px rgba(0, 0, 0, 0.3);
}

/* ПО-БЪРЗИ ОТРАЖЕНИЯ ПРИ HOVER */
.hero .btn:hover::before {
  animation: glassReflection 2s linear infinite;
}

.hero .btn:hover::after {
  animation: scrollReflection 3s ease-in-out infinite;
  opacity: 1;
}

/* ВЪРТЕНЕ НА ИКОНАТА ПРИ HOVER */
.hero .btn:hover i {
  transform: rotate(360deg) scale(1.1);
}

/* ====== АКТИВЕН/НАТИСНАТ ЕФЕКТ - "ПОТЪВАНЕ С ДВИЖЕНИЕ" ====== */
.hero .btn:active {
  /* ПОТЪВАНЕ И УВЕЛИЧАВАНЕ НА ПЕРСПЕКТИВАТА */
  transform: perspective(1000px) rotateY(12deg) translateY(3px) scale(0.98);

  /* НАМАЛЯВАНЕ НА СТЪКЛЕНИТЕ СЕНКИ */
  box-shadow:
    -5px 5px 15px rgba(25, 134, 28, 0.3),
    -6px 6px 0 rgba(25, 134, 28, 0.5),
    0 8px 20px rgba(0, 0, 0, 0.1),
    /* ВЪТРЕШНА СЯНКА ЗА ПОТИСНАТ ЕФЕКТ */
    inset 2px 2px 8px rgba(0, 0, 0, 0.2),
    inset -1px -1px 0 rgba(255, 255, 255, 0.1);

  /* ПОТЪМНЯВАНЕ НА СТЪКЛОТО */
  background: linear-gradient(145deg,
      rgba(21, 107, 24, 0.9) 0%,
      rgba(57, 141, 61, 0.95) 50%,
      rgba(76, 175, 80, 0.9) 100%);

  border-color: rgba(255, 255, 255, 0.1);

  /* ПО-КРАТЪК ПРЕХОД ЗА БЪРЗ ОТЗВУК */
  transition: all 0.15s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ОБРЪЩАНЕ НА ОТРАЖЕНИЯТА ПРИ НАТИСКАНЕ */
.hero .btn:active::before {
  animation: glassReflectionReverse 1s linear infinite;
}

.hero .btn:active::after {
  animation: scrollReflectionReverse 1.5s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes glassReflectionReverse {
  0% {
    left: 100%;
  }

  100% {
    left: -100%;
  }
}

@keyframes scrollReflectionReverse {
  0% {
    background-position: 200% 0;
    opacity: 0.6;
  }

  50% {
    background-position: -200% 0;
    opacity: 0.4;
  }

  100% {
    background-position: 200% 0;
    opacity: 0.6;
  }
}

/* ====== FOCUS ЕФЕКТИ ЗА ACCESSIBILITY ====== */
.hero .btn:focus {
  outline: none;
  box-shadow:
    0 var(--button-3d-depth) 20px rgba(25, 134, 28, 0.4),
    var(--button-3d-depth) var(--button-3d-depth) 0 rgba(25, 134, 28, 0.8),
    0 15px 35px rgba(0, 0, 0, 0.15),
    inset 0 2px 0 rgba(255, 255, 255, 0.3),
    /* FOCUS RING */
    0 0 0 4px rgba(25, 134, 28, 0.3);
}


/* ====== TITLE SECTION ====== */
.title-section {
  padding: 2rem 0;
  max-width: var(--container-max-width);
  margin: 0 auto;
  width: 100%;
}

.clickable-title {
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 1rem;
  border-radius: 15px;
}

.clickable-title:hover {
  background: rgba(25, 134, 28, 0.05);
  transform: translateY(-2px);
}

.title-question {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 0.9;
  margin-bottom: 0;
  font-family: var(--font-primary);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 1rem auto;
}

.title-description {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
  letter-spacing: -0.01em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.dynamic-text-box {
  position: relative;
  display: inline-block;
  min-width: clamp(150px, 20vw, 200px);
  height: 1.9rem;
  vertical-align: baseline;
  flex-shrink: 0;
}

.dynamic-text {
  position: absolute;
  top: 9%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--primary-green);
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(2px);
  white-space: nowrap;
  font-size: inherit;
  line-height: inherit;
}

.dynamic-text.active {
  opacity: 1;
  filter: blur(0);
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  0% {
    filter: drop-shadow(0 0 2px rgba(25, 134, 28, 0.3));
  }

  100% {
    filter: drop-shadow(0 0 8px rgba(25, 134, 28, 0.5));
  }
}

/* ====== VIDEO SECTION ====== */
.video-section {
  position: relative;
  padding: 2rem 0;
  background: var(--gradient-glass);
  backdrop-filter: blur(10px);
  margin-top: -40px;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.video-stats-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 1rem;
}

.video-container {
  flex: 0 0 60%;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 100%;
}

.video-container::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: var(--gradient-secondary);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.3;
}

.video-container:hover {
  box-shadow: var(--shadow-xl);
}

mux-player {
  border-radius: 15px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

.stats-container {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  min-width: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  width: 100%;
}

.stat-title {
  font-family: var(--font-secondary);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  animation: titleGlow var(--title-glow-duration) ease-in-out infinite alternate;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--primary-green);
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 0 2px rgba(44, 62, 80, 0.3));
  }

  100% {
    filter: drop-shadow(0 0 6px rgba(44, 62, 80, 0.5));
  }
}

/* ====== MOTIVATION PANELS SECTION ====== */
.motivation-section {
  padding: 4rem 0;
  background: var(--light-gray);
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.motivation-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
}

.motivation-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.motivation-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 888px;
  margin: 0 auto;
  line-height: 1.5;
}

.panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.motivation-panel {
  background: var(--white);
  border-radius: 16px;
  overflow: visible;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--gray-200);
  min-height: 180px;
  z-index: 1;
}

.motivation-panel.expanded {
  box-shadow: var(--shadow-xl);
  z-index: 10;
  transform: translateY(-8px);
}

.panel-header {
  padding: 1.5rem 1.25rem 1rem 1.25rem;
  position: relative;
}

.panel-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: none;
}

.panel-icon i {
  font-size: 1.3rem;
  color: var(--white);
}

.panel-title {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.panel-preview {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0;
}

.panel-expand-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(25, 134, 28, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.panel-expand-indicator i {
  font-size: 0.9rem;
  color: var(--primary-green);
  transition: transform 0.3s ease;
}

.motivation-panel.expanded .panel-expand-indicator {
  background: var(--primary-green);
}

.motivation-panel.expanded .panel-expand-indicator i {
  color: var(--white);
  transform: rotate(180deg);
}

.panel-content-motivationCard {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.motivation-panel.expanded .panel-content-motivationCard {
  max-height: 400px;
  opacity: 1;
}

.panel-details {
  padding: 0 1.25rem 1.5rem 1.25rem;
  background: rgba(25, 134, 28, 0.02);
}

.panel-details p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.panel-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.panel-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.4;
  padding: 0.5rem 0.75rem;
  background: rgba(25, 134, 28, 0.05);
  border-radius: 8px;
  border-left: 3px solid var(--primary-green);
}

.panel-features i {
  color: var(--primary-green);
  font-size: 0.9rem;
  flex-shrink: 0;
}


/* ====== NEW SECTIONS - PLATFORM COMMUNITY & REGISTRATION ====== */

/* Platform Community Section */
.platform-community-section {
  background-image: url('/images/web/platformComunitiSection.jpg');
  background-size: 277px;
  background-position-x: 278px;
  background-position-y: 165px;
  background-repeat: no-repeat;
  padding: 4rem 0;
  /*background: var(--white);*/
  position: relative;
}

.platform-community-section .container {

  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.community-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.community-text h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.3;
}

.community-text p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: center;
}

.btn-suggest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 1rem;
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  min-height: 48px;
}

.btn-suggest:hover,
.btn-suggest:focus {
  background: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  text-decoration: none;
  outline: none;
}

.btn-suggest:active {
  transform: translateY(0);
}

/* Final Registration Section - Elegant White with Green Accents */
.final-registration-section {
  padding: 5rem 0;
  background: var(--white);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
}

/* Елегантна зелена мрежка като фон */
.final-registration-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(90deg, rgba(25, 134, 28, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(25, 134, 28, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: 1;
}

/* Fade градиенти по краищата */
.final-registration-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at top, rgba(25, 134, 28, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at bottom, rgba(25, 134, 28, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(25, 134, 28, 0.02) 0%, transparent 70%);
  z-index: 2;
}

.final-registration-section .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 3;
}

.registration-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background-image: url("https://res.cloudinary.com/dgescxzjk/image/upload/v1752654982/indexReg_a56hhz.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 20vh;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow:
    0 20px 40px rgba(25, 134, 28, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(25, 134, 28, 0.1);
  backdrop-filter: blur(20px);
  position: relative;
}

/* Декоративни елементи в ъглите */
.registration-content::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg,
      rgba(25, 134, 28, 0.15) 0%,
      transparent 15%,
      transparent 85%,
      rgba(25, 134, 28, 0.15) 100%);
  border-radius: 26px;
  z-index: -1;
}

.registration-content::after {
  content: '';
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(25, 134, 28, 0.1);
  border-radius: 16px;
  z-index: -1;
  pointer-events: none;
}

.registration-content h2 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: var(--text-primary);
  position: relative;
}

.registration-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 365px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
  border-radius: 2px;
}

.registration-content p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.btn-register-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
  color: var(--white);
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  margin: 2rem 0 1rem 0;
  box-shadow:
    0 8px 25px rgba(25, 134, 28, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-height: 56px;
  position: relative;
  overflow: hidden;
}

.btn-register-now::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: left 0.6s;
}

.btn-register-now:hover,
.btn-register-now:focus {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-green) 100%);
  transform: translateY(-3px);
  box-shadow:
    0 12px 35px rgba(25, 134, 28, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: var(--white);
  text-decoration: none;
  outline: none;
}

.btn-register-now:hover::before {
  left: 100%;
}

.btn-register-now:active {
  transform: translateY(-1px);
}

.registration-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  font-weight: 500;
  opacity: 0.8;
}

/* ====== SPONSORS SECTION ====== */
.sponsors-section-wrapper {
  margin: 2rem 0;
}

.sponsors-header {
  text-align: center;
  margin-bottom: 2rem;
}

.sponsors-title {
  text-align: center;
  margin: 0 auto;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

/* ====== FUTURISTIC CAROUSEL BACKGROUND ====== */
#platform-features-carousel {
  position: relative;
  overflow: visible;
  /* visible за да не прецаква 3D трансформациите на каруселата */
  /* Светъл фон подобен на error страницата с точки */
  background: #ffffff;
}

/* Glassmorphism ефект за съдържанието */
#platform-features-carousel .feature-section {
  position: relative;
  z-index: 2;
}

#platform-features-carousel .carousel-container {
  position: relative;
  z-index: 2;
}

/* ====== SVMESSENGER APP PROMO SECTION ====== */
.app-promo-section {
  padding: 4rem 0;
  background: var(--white);
}

.app-promo-section .container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.app-promo-card {
  background: radial-gradient(circle at top left, rgba(25, 134, 28, 0.06) 0%, transparent 55%),
              radial-gradient(circle at bottom right, rgba(25, 134, 28, 0.08) 0%, transparent 60%),
              #f8fafc;
  border-radius: 28px;
  box-shadow:
    0 18px 45px rgba(15, 118, 110, 0.18),
    0 1px 3px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 118, 110, 0.08);
  overflow: hidden;
  position: relative;
}

.app-promo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(148, 163, 184, 0.16), transparent 55%);
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.app-promo-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 2.75rem 2.5rem;
}

.app-promo-text {
  flex: 1 1 50%;
  max-width: 540px;
}

.app-promo-text .badge-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
  margin-bottom: 0.75rem;
}

.app-promo-text h2 {
  font-family: var(--font-primary);
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.app-promo-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.app-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.app-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.app-features-list li i {
  color: #16a34a;
  font-size: 1rem;
}

.btn-app-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
  color: #ffffff;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow:
    0 12px 30px rgba(22, 163, 74, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.38);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-app-download i {
  font-size: 1.1rem;
}

.btn-app-download:hover,
.btn-app-download:focus {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-green) 100%);
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px rgba(22, 163, 74, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #ffffff;
  text-decoration: none;
  outline: none;
}

.btn-app-download:active {
  transform: translateY(0);
}

.app-promo-image {
  flex: 1 1 40%;
  max-width: 260px; /* приблизително ~половината визуален размер */
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.img-promo {
  width: 80%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.18);
}

@media (max-width: 991px) {
  .app-promo-content {
    flex-direction: column-reverse;
    padding: 2.25rem 1.75rem;
  }

  .app-promo-text {
    text-align: center;
  }

  .app-features-list {
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .app-promo-card {
    border-radius: 22px;
  }

  .app-promo-content {
    padding: 2rem 1.25rem;
  }
}
