:root {
  /* Базові преміальні кольори */
  --text-light: #ffffff;
  --primary: #6941C6;
  --radius-lg: 12px;
  
  /* Складний багатошаровий космічний градієнт:
     1-й шар (radial): Яскраве фіолетове свічення у верхній лівій частині (біля Hero тексту)
     2-й шар (radial): М'яке глибоке синє підсвічування строго по центру (під 2-м блоком)
     3-й шар (linear): Наша фірмова ультра-темна нічна база як основа */
  --bg-dark-gradient: 
    radial-gradient(circle at 20% 30%, rgba(105, 65, 198, 0.22) 0%, rgba(0, 0, 0, 0) 50%),
    radial-gradient(circle at 50% 55%, rgba(10, 7, 37, 0.85) 0%, rgba(4, 4, 29, 0.4) 60%),
    linear-gradient(180deg, #04041d 0%, #0a0725 45%, #0b071c 100%);
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Глобальний фон для ВСЬОГО сайту — об'ємний, живий та преміальний */
body {
  background: var(--bg-dark-gradient);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;    /* Фіксує підсвічування на екрані для 3D-ефекту глибини при скролі */
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.popup-open {
  overflow: hidden !important;
}

.ui-section {
  padding-top: 90px;
  padding-bottom: 90px;
  width: 100%;
  position: relative;
}

.ui-section:not(.hero-section) .ui-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
  padding: 32px 24px;
}

.thank-you-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.thank-you-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(105, 65, 198, 0.18);
  border: 1px solid rgba(105, 65, 198, 0.35);
  border-radius: 999px;
  padding: 10px 18px;
}

.thank-you-badge span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.thank-you-title {
  font-size: 42px;
  line-height: 1.05;
  margin: 0;
}

.thank-you-text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 760px;
  margin: 0;
}

.thank-you-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: grid;
  gap: 16px;
}

.thank-you-list-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 20px 22px;
  text-align: left;
}

.thank-you-list-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 8px;
  color: #ffffff;
}

.thank-you-btn {
  margin-top: 10px;
  padding: 14px 40px;
}

@media (max-width: 768px) {
  .thank-you-card {
    padding: 30px 22px;
  }
  .thank-you-title {
    font-size: 32px;
  }
  .thank-you-list-item {
    padding: 18px 18px;
  }
}

/* Один розмір контейнера для всіх основних блоків */
.results-container,
.video-global-container,
.benefits-global-container,
.reviews-global-container,
.gift-global-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.ui-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero-section {
  background-image: url('../img/hero/hero fon.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

@media (min-width: 992px) {
  .hero-section {
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 40px;
  }
  .hero-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: calc(100vh - 40px);
  }
}

.hero-header {
  margin-top: 24px;
  margin-bottom: 32px;
}

.language-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.lang-link:hover,
.lang-link.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  margin-right: 12px;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

@media (min-width: 992px) {
  .hero-header {
    margin-top: 55px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo-img { height: 48px; margin-right: 16px; }
  .logo-text { font-size: 28px; letter-spacing: -0.8px; }
  .language-switch { margin-top: 0; }
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .hero-main { flex-direction: row; align-items: center; gap: 40px; margin-top: auto; margin-bottom: auto; }
  .hero-content { width: 54%; }
}

.hero-top-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(105, 65, 198, 0.25);
  border: 1px solid rgba(105, 65, 198, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.hero-top-badge span { font-size: 13px; font-weight: 600; color: #b39ddb; }
.badge-star-icon { width: 14px; height: 14px; margin-right: 6px; }

.ui-h1.hero-title {
  font-size: 38px;
  line-height: 46px;
  font-weight: 700;
  margin: 0 0 16px 0;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 24px 0;
  max-width: 480px;
}

@media (min-width: 1200px) {
  .ui-h1.hero-title { font-size: 52px; line-height: 62px; }
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-tag-item { display: inline-flex; align-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); padding: 8px 16px; border-radius: var(--radius-pill); }
.hero-tag-item span { font-size: 13px; font-weight: 600; }
.tag-icon { width: 16px; height: 16px; margin-right: 8px; }

.hero-cta-group { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.btn-primary.hero-btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 36px;
  border-radius: var(--radius-md);
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0px 4px 12px rgba(105, 65, 198, 0.3);
}

.btn-primary.hero-btn:hover { background-color: rgba(105, 65, 198, 0.8) ; transform: translateY(-1px); box-shadow: 0px 6px 16px rgba(105, 65, 198, 0.6); }
.btn-icon { width: 18px; height: 18px; margin-right: 10px; }
.hero-delivery { display: flex; align-items: center; gap: 8px; }
.delivery-icon { width: 16px; height: 16px; opacity: 0.6; }
.hero-delivery .ui-small { font-size: 12px; color: rgba(255, 255, 255, 0.5); }

/* ДИФУЗОР ТА ПАРА */
.product-container { position: relative; display: inline-block; margin: 0 auto; }
@media (min-width: 992px) { .hero-media { width: 46%; display: flex; justify-content: center; } }
.product-image { max-width: 100%; height: auto; display: block; position: relative; z-index: 10; animation: floatDevice 6s ease-in-out infinite; }

.steam-generator { position: absolute; top: 13%; left: 51.5%; transform: translateX(-50%); width: 40px; height: 100px; z-index: 4; pointer-events: none; }
.steam-puff { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(255,255,255,0.65) 0%, rgba(225,235,255,0.35) 40%, rgba(255,255,255,0) 70%); border-radius: 50%; filter: blur(10px); opacity: 0; }
.steam-1 { width: 45px; height: 45px; animation: superSteam 3s infinite ease-out; }
.steam-2 { width: 55px; height: 55px; animation: superSteam 3.6s infinite ease-out; animation-delay: 1s; }
.steam-3 { width: 50px; height: 50px; animation: superSteam 4.2s infinite ease-out; animation-delay: 2s; }

@keyframes superSteam {
  0% { bottom: -10px; transform: translateX(-50%) scale(0.4); opacity: 0; }
  15% { opacity: 0.85; }
  50% { transform: translateX(-25%) scale(2.2) skewX(-10deg); opacity: 0.55; }
  80% { opacity: 0.2; }
  100% { bottom: 240px; transform: translateX(-45%) scale(4) rotate(12deg); opacity: 0; filter: blur(24px); }
}

.device-glow { position: absolute; top: 55%; left: 50%; transform: translate(-50%, -50%); width: 75%; height: 25%; background: radial-gradient(circle, rgba(0, 242, 254, 0.18) 0%, rgba(0, 0, 0, 0) 70%); z-index: 11; pointer-events: none; animation: pulseGlow 4s infinite ease-in-out; }
@keyframes pulseGlow { 0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); } 50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.08); } }
@keyframes floatDevice { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* КАРТКИ ОПИСУ */
.hero-features-panel.ui-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  box-shadow: 0px 24px 48px rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) { .hero-features-panel.ui-card { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .hero-features-panel.ui-card { grid-template-columns: repeat(4, 1fr); padding: 24px; } }

.feature-card { display: flex; flex-direction: column; }
.feature-heading { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.feature-img-icon { width: 18px; height: 18px; }
.feature-label { font-size: 15px; font-weight: 600; margin: 0; color: var(--text-light); }
.feature-text { font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, 0.6); margin: 0; padding-left: 26px; }

/* СТИЛІ МОДАЛЬНОГО ВІКНА */
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(7, 5, 16, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Стан відображення */
.popup-overlay.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.popup-window {
  background: linear-gradient(145deg, rgba(20, 13, 46, 0.98) 0%, rgba(11, 8, 19, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 32px;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-window {
  transform: translateY(0);
}

.popup-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 36px; cursor: pointer;
  padding: 4px; line-height: 1;
}
.popup-close:hover { color: #ffffff; }

.popup-title { font-size: 24px; font-weight: 700; color: #ffffff; margin: 0 0 10px 0; letter-spacing: -0.5px; }
.popup-subtitle { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.65); margin: 0 0 24px 0; }

.input-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.input-label { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.85); margin-bottom: 8px; }

/* Фікс розмірів під прапорці країн */
.phone-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.country-code-select {
  width: 120px;
  height: 48px;
  background: rgba(10, 7, 24, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #ffffff;
  font-size: 13px;
  padding: 0 10px;
  appearance: none;
  min-width: 110px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}
.country-code-select option {
  color: #000000;
  background: #ffffff;
}

.phone-input-wrapper input[type="tel"] {
  flex: 1;
  height: 48px;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-size: 16px !important;
  padding-left: 16px !important;
}

.phone-input-wrapper input[type="tel"]:focus {
  border-color: #6941C6 !important;
  box-shadow: 0 0 0 4px rgba(105, 65, 198, 0.25) !important;
  outline: none;
}

@media (max-width: 480px) {
  .country-code-select { width: 100px; }
}

.messengers-group { margin-bottom: 24px; }
.messengers-title { font-size: 14px; font-weight: 600; color: #ffffff; margin: 0 0 4px 0; }
.messengers-subtitle { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin: 8px 0 18px 0; }
.messengers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.messengers-error { display: none; margin-top: 10px; color: #f04438; font-size: 13px; font-weight: 600; line-height: 1.35; }
.messengers-error.active { display: block; }
.messengers-group.has-error .messenger-button { border-color: rgba(240, 68, 56, 0.7); }
.messenger-box { cursor: pointer; position: relative; display: block; }
.hidden-checkbox { position: absolute; opacity: 0; width: 0; height: 0; }

.messenger-button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px; padding: 12px 8px; font-size: 13px; font-weight: 600;
  color: rgba(255, 255, 255, 0.7); transition: all 0.2s ease;
}
.messenger-img { width: 24px; height: 24px; object-fit: contain; opacity: 0.8; }

.messenger-box:hover .messenger-button { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); color: #ffffff; }

.hidden-checkbox:checked + .tg-btn { background: rgba(34, 158, 217, 0.15); border-color: #229ED9; color: #229ED9; }
.hidden-checkbox:checked + .wa-btn { background: rgba(37, 211, 102, 0.15); border-color: #25D366; color: #25D366; }
.hidden-checkbox:checked + .vb-btn { background: rgba(115, 90, 161, 0.2); border-color: #735aa1; color: #9b84c9; }

.popup-submit-btn {
  width: 100%; height: 50px; background-color: #6941C6; color: #ffffff; font-size: 16px; font-weight: 600;
  border: none; border-radius: 8px; cursor: pointer; transition: all 0.2s ease;
}
.popup-submit-btn:hover { background-color: #53389E; }
.popup-submit-btn:disabled { background-color: rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.4); cursor: not-allowed; }

.iti-err-txt { font-size: 12px; color: #f04438; margin-top: 6px; display: none; font-weight: 500; }
.iti-invalid-field { border-color: #f04438 !important; box-shadow: 0 0 0 4px rgba(240, 68, 56, 0.2) !important; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

@media (max-width: 480px) {
  .popup-window { padding: 24px 16px; }
  .messengers-grid { grid-template-columns: 1fr; gap: 8px; }
  .messenger-button { flex-direction: row; justify-content: flex-start; padding: 10px 16px; gap: 12px; }
}

/* Колір меню списку країн під темну тему сайту */

.animate-fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.animate-fade-in.animated { opacity: 1; transform: translateY(0); }


/* ==========================================================================
   ОНОВЛЕНІ СТИЛІ ДЛЯ БЛОКУ 2 (ТОЧНО ЯК НА КАРТИНЦІ 2.jpg)
   ========================================================================== */

/* Універсальний клас заголовку з ТЗ, тепер строго 36px */
.ui-h2 {
  font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  color: var(--text-light, #ffffff);
  margin: 0 0 28px 0;
  letter-spacing: -0.5px;
}

/* Налаштування секції та відступів ("Повітря") */
.difference-section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  background: #070510; /* Темний базовий колір підкладки як на фото */
  overflow: hidden;
}

@media (min-width: 992px) {
  .difference-section {
    padding-top: 110px;
    padding-bottom: 110px;
  }
}

/* Верхній бейдж над заголовком */
.badge-result {
  display: inline-flex;
  align-items: center;
  background: rgba(105, 65, 198, 0.15);
  border: 1px solid rgba(105, 65, 198, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-pill, 100px);
  margin-bottom: 16px;
}

.badge-result span {
  font-size: 11px;
  font-weight: 700;
  color: #b39ddb;
  letter-spacing: 0.5px;
}

/* Рядок контенту */
.difference-row {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 992px) {
  .difference-row {
    flex-direction: row;
    align-items: stretch;
    gap: 48px;
  }
  .difference-left {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .difference-right {
    width: 55%;
  }
}

/* Вертикальний список плашок */
.vertical-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Преміальна напівпрозора плашка (Скло) строго за картинкою */
.glass-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.glass-card:hover {
  border-color: rgba(105, 65, 198, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

/* Фіолетові іконки */
.card-icon-box {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-message {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Блок фотографії зліва — зображення не виходить за рамки контейнера */
.image-wrapper-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 20px;
  overflow: hidden; /* Обрізає все, що виходить за межі контейнера */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@media (min-width: 992px) {
  .image-wrapper-container {
    min-height: 480px;
  }
}

.inner-bg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* М'яка фонова фіолетова аура зліва від дівчини */
.photo-ambient-purple {
  position: absolute;
  top: 30%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(105, 65, 198, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 2;
  pointer-events: none;
}

/* Нижня велика картка */
.bottom-full-card.glass-card {
  padding: 24px 32px;
  gap: 24px;
  margin-top: 16px;
}

.bottom-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bottom-card-title {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.bottom-card-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

@media (max-width: 576px) {
  .bottom-full-card.glass-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
  }
  .ui-h2 {
    font-size: 28px;
    line-height: 36px;
  }
}

/* ==========================================================================
   КРЕАТИВНА АНІМАЦІЯ СКРОЛУ (ЧЕРГОВА ПОЯВА КАРТОК)
   ========================================================================== */

/* Загальні елементи */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Ліва і права сторона готові до запуску */
.animate-fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Елементи вертикального списку карт */
.animate-card {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.1), transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.animate-card.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Велика нижня картка випливає знизу */
.animate-card-bottom {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.animate-card-bottom.animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* ==========================================================================
   СТИЛІ ДЛЯ БЛОКУ 2: ВІДЧУЙ РІЗНИЦЮ (РЕЗУЛЬТАТ)
   ========================================================================== */

.results-section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background: transparent; /* Жорстко прибираємо локальний фон, щоб бачити глобальний */
}

@media (min-width: 992px) {
  .results-section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

/* Контейнер сітки (блоки розташовані строго в межах сайту і не вилазять) */
.results-main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .results-main-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 10px;
  }
}

/* Маленький фіолетовий бейдж над заголовком */
.results-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.results-badge span {
  font-size: 11px;
  font-weight: 700;
  color: #c084fc;
  letter-spacing: 0.8px;
}

.results-badge-icon {
  width: 12px;
  height: 12px;
  margin-right: 6px;
}

/* Уніфікований заголовок h2 для усіх секцій головної сторінки */
.ui-h2 {
  position: relative;
  display: inline-block;
  max-width: 100%;
  text-align: left;
}

.ui-h2::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  background: #6941c6;
  box-shadow: 0 0 14px rgba(105, 65, 198, 0.35);
  border-radius: 2px;
  margin-top: 18px;
}

@media (max-width: 767px) {
  .ui-h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .ui-h2::after {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Головний заголовок блоку h2 — строго 36px на десктопах */
.ui-h2.block-title {
  font-size: 28px;
  line-height: 36px;
  font-weight: 700;
  color: var(--text-light);
  margin: 0 0 32px 0;
  letter-spacing: -0.5px;
}

@media (min-width: 768px) {
  .ui-h2.block-title {
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -0.8px;
  }
}

/* Напівпрозорі скляні плашки (Glassmorphism), що стильно лежать на загальному фоні */
.ui-glass-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.25);
}

/* Вертикальний стек з 4-х карток переваг */
.results-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 460px;
}

.result-item-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.result-item-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  background-color: rgba(255, 255, 255, 0.03);
  transform: translateX(4px);
}

.result-card-icon-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Іконки від rez 1.png до rez 4.png */
.result-card-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.result-card-txt {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  letter-spacing: -0.2px;
}

/* Права колонка з фото — ЖОРСТКЕ обмеження контейнером (картинка не випадає наружу) */
.results-media-col {
  width: 100%;
  display: flex;
  justify-content: center;
}

.results-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  overflow: hidden; 
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0px 25px 55px rgba(0, 0, 0, 0.5);
}

.results-main-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Внутрішня тінь на фото для преміального злиття з бекграундом */
.results-photo-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0px 0px 30px rgba(4, 4, 29, 0.4);
  pointer-events: none;
}

/* Нижня широка горизонтальна плашка (іконка rez 5.png) */
.results-footer-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  margin-top: 16px;
}

.footer-panel-icon-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 52px;
  height: 52px;
  border-radius: 10px;
}

.footer-panel-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-panel-info {
  display: flex;
  flex-direction: column;
}

.footer-panel-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.footer-panel-desc {
  font-size: 14px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* Адаптація для телефонів */
@media (max-width: 576px) {
  .results-footer-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
}

/* ==========================================================================
   КРЕАТИВНА АНІМАЦІЯ ПОЯВИ ПРИ СКРОЛІ
   ========================================================================== */
.animate-fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.animate-fade-up.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-200 { transition-delay: 0.15s; }
.delay-300 { transition-delay: 0.3s; }


/* ==========================================================================
   СТИЛІЗАЦІЯ 3-ГО БЛОКУ (СТРОГО ЗА МАКЕТОМ)
   ========================================================================== */

/* Відступи секції для створення повітряного простору в дизайні */
.video-showcase-section {
  padding-top: 100px;
  padding-bottom: 100px;
  background: transparent;
  width: 100%;
  overflow: hidden;
}

.video-global-container {
  max-width: 1200px; /* Один розмір контейнера для всіх блоків */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Уніфікований h2 заголовок */
.ui-h2.section-main-title {
font-size: 36px;
  line-height: 44px;
  font-weight: 700;
  text-align: left; /* Змінено з center на left */
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
  width: 100%;
}

/* Рамка-контейнер для плеєра */
.video-player-wrapper {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0px 32px 64px rgba(0, 0, 0, 0.5);
  position: relative;
  background-color: #070510;
  margin-bottom: 32px;
}

.video-container-inner {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Співвідношення сторін 16:9 */
  height: 0;
}

.video-container-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

/* Преміальна обкладинка відео */
.video-custom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
  visibility: visible;
}

.video-overlay-darken {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 5, 16, 0.25); /* Оптимальне макетне затемнення */
  z-index: 6;
}

/* Стан після натискання кнопки Play */
.video-player-wrapper.video-playing .video-custom-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Біла макетна кнопка Play з ідеальним фокусуванням по центру */
.video-custom-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 86px;
  height: 86px;
  background-color: #ffffff;
  color: #070510;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0px 14px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-svg-icon {
  width: 26px;
  height: 26px;
  margin-left: 4px; /* Оптичне вирівнювання трикутника по центру */
}

.video-custom-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

/* Горизонтальна сітка карток переваг */
.video-features-row {
  display: grid;
  grid-template-columns: 1fr; /* Мобільна версія: в один стовпчик */
  gap: 16px;
  width: 100%;
}

/* Адаптація під десктопні екрани: 3 колонки в один ряд */
@media (min-width: 768px) {
  .video-features-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ефект напівпрозорого матового скла (Glassmorphism) */
.row-glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.row-glass-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Фіолетове кругле коло навколо іконок */
.v-feature-icon-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(105, 65, 198, 0.15);
  border: 1px solid rgba(105, 65, 198, 0.25);
  flex-shrink: 0;
}

.card-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.v-feature-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.v-feature-desc {
  font-size: 13px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

/* Адаптація розміру заголовка для мобільних екранів */
@media (max-width: 767px) {
  .ui-h2.section-main-title {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 32px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .video-showcase-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ==========================================================================
   КРЕАТИВНА СИНХРОННА АНІМАЦІЯ ПОЯВИ ПРИ СКРОЛІ
   ========================================================================== */

/* Заголовок плавно проявляється */
.animate-bl3-fade {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Екран плеєра виїжджає знизу вгору */
.animate-bl3-slide {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.215, 0.610, 0.355, 1), transform 1s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* Плашки переваг з'являються по черзі (каскадом) */
.animate-bl3-card {
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--card-delay);
}

/* Стани після активації через Intersection Observer у JS */
.animate-bl3-fade.bl3-animated,
.animate-bl3-slide.bl3-animated,
.animate-bl3-card.bl3-animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ==========================================================================
   ФІНАЛЬНІ СТИЛІ 3-ГО БЛОКУ (ГОРИЗОНТАЛЬНИЙ МАКЕТ)
   ========================================================================== */

.video-showcase-section {
  padding-top: 100px;
  padding-bottom: 100px;
  background: transparent;
  width: 100%;
  overflow: hidden;
}

.video-global-container {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-global-container .section-main-title {
  text-align: left;
  margin-top: 0;
  margin-bottom: 48px;
}

.video-player-wrapper {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0px 32px 64px rgba(0, 0, 0, 0.5);
  position: relative;
  background-color: #070510;
  margin-bottom: 32px;
}

.video-container-inner {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
}

.video-container-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  z-index: 1;
}

.video-custom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s;
  visibility: visible;
}

.video-overlay-darken {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 5, 16, 0.25);
  z-index: 6;
}

.video-player-wrapper.video-playing .video-custom-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-custom-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 86px;
  height: 86px;
  background-color: #ffffff;
  color: #070510;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0px 14px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-svg-icon {
  width: 26px;
  height: 26px;
  margin-left: 4px;
}

.video-custom-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-features-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

@media (min-width: 768px) {
  .video-features-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.row-glass-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.row-glass-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.v-feature-icon-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(105, 65, 198, 0.15);
  border: 1px solid rgba(105, 65, 198, 0.25);
  flex-shrink: 0;
}

.card-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.v-feature-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.v-feature-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.v-feature-desc {
  font-size: 13px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

@media (max-width: 767px) {
  .video-showcase-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}


/* ==========================================================================
   ОНОВЛЕНІ СТИЛІ БЛОКУ 4 (МАСИМАЛЬНО ТОЧНО ЗА МАКЕТОМ)
   ========================================================================== */

.benefits-showcase-section {
  padding-top: 100px;
  padding-bottom: 120px;
  background: #04020d; /* Глибокий темний фон як на скріншоті */
  width: 100%;
  overflow: hidden;
}

/* Центруємо контент секції переваг згідно з новим макетом */
.benefits-global-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 20px;
  padding-right: 20px;
}

/* Фіолетовий верхній бейдж «ПЕРЕВАГИ» */
.benefits-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(105, 65, 198, 0.15);
  border: 1px solid rgba(147, 51, 234, 0.3);
  padding: 8px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.benefits-top-badge span {
  font-size: 12px;
  font-weight: 700;
  color: #ba9ffb;
  letter-spacing: 1.5px;
}

.badge-star-icon {
  width: 13px;
  height: 13px;
}

/* Стилізація та центрування головного заголовка Блоку 4 */
.benefits-global-container .section-main-title {
  font-size: 42px; /* Преміальний розмір для десктопу */
  line-height: 52px;
  font-weight: 700;
  text-align: left;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
}

/* Фіолетова декоративна лінія під заголовком з макета */
.benefits-global-container .section-main-title::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  background: #6941c6;
  box-shadow: 0px 0px 12px #9333ea;
  border-radius: 2px;
  margin: 18px 0 0 0;
}

/* Головна сітка карток */
.benefits-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; /* Оптимальний простір між картками */
  width: 100%;
  margin-top: 48px;
}

/* Перероблена картка: глибокий фіолетово-чорний відтінок з матовим склом */
.grid-glass-card {
  background: rgba(31, 27, 61, 0.4); /* Точний колір плашки з оригінального зображення */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05); /* Ледь помітна тонка обводка */
  border-radius: 22px; /* М'які закруглені кути */
  padding: 50px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: inset 0px 1px 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.4s ease;
}

/* Ефект при наведенні */
.grid-glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(105, 65, 198, 0.4);
  box-shadow: 0px 25px 50px rgba(7, 4, 18, 0.8), 0px 0px 30px rgba(105, 65, 198, 0.1);
}

/* Круглі зони для іконок (ідеальний фіолетовий градієнт-обводка) */
.b-card-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(23, 14, 56, 0.6);
  border: 1px solid rgba(105, 65, 198, 0.3);
  margin-bottom: 32px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.b-card-icon-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* Заголовки всередині карток (без обмежень висоти, адаптивні) */
.b-card-title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 18px;
}

/* Декоративна лінія під заголовком (наприклад, у картці Автовимкнення) */
.b-card-divider {
  width: 32px;
  height: 2px;
  background: #6941c6;
  border-radius: 1px;
  margin-bottom: 20px;
}

/* Опис переваг (тьмяніший, створює контраст і глибину) */
.b-card-desc {
  font-size: 14px;
  line-height: 22px;
  color: #94a3b8; /* Збалансований колір тексту */
  margin: 0;
  font-weight: 400;
}

/* ==========================================================================
   АДАПТИВНІСТЬ (ГАРНИЙ ВИГЛЯД НА ВСІХ ПРИСТРОЯХ)
   ========================================================================== */

@media (max-width: 1024px) {
  .benefits-grid-layout {
    grid-template-columns: repeat(2, 1fr); /* На планшетах 2 колонки */
    gap: 20px;
  }
  .benefits-global-container .section-main-title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 767px) {
  .benefits-showcase-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .benefits-global-container .section-main-title {
    font-size: 28px;
    line-height: 36px;
  }

  .benefits-grid-layout {
    grid-template-columns: 1fr; /* На мобільних строго в 1 колонку */
    gap: 16px;
    margin-top: 36px;
  }

  .grid-glass-card {
    padding: 40px 24px;
  }
}


/* ==========================================================================
   БЛОК 4: ПЕРЕВАГИ (ЕФЕКТ ПРЕМІАЛЬНОГО МАТОВОГО СКЛА)
   ========================================================================== */

.benefits-showcase-section {
  padding-top: 100px;
  padding-bottom: 120px;
  background: transparent; /* Повністю прозорий для наскрізного відображення глобального неонового фону */
  width: 100%;
  overflow: hidden;
}

.benefits-global-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Вирівнювання заголовка та бейджа ліворуч на десктопі */
  padding-left: 20px;
  padding-right: 20px;
}

/* Фіолетовий верхній бейдж «ПЕРЕВАГИ» */
.benefits-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(105, 65, 198, 0.15);
  border: 1px solid rgba(147, 51, 234, 0.3);
  padding: 8px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.benefits-top-badge span {
  font-size: 12px;
  font-weight: 700;
  color: #ba9ffb;
  letter-spacing: 1.5px;
}

.badge-star-icon {
  width: 13px;
  height: 13px;
}

/* Головний заголовок секції */
.benefits-global-container .section-main-title {
  font-size: 42px;
  line-height: 52px;
  font-weight: 700;
  text-align: left;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  position: relative;
}

/* Фіолетова лінія під головним заголовком */
.benefits-global-container .section-main-title::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  background: #6941c6;
  box-shadow: 0px 0px 12px #9333ea;
  border-radius: 2px;
  margin: 18px 0 0 0;
}

/* Сітка карток (3 колонки на ПК) */
.benefits-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: 56px;
}

/* КАРТКА-ПЛАШКА: СУПЕР-МАТОВЕ РЕАЛІСТИЧНЕ СКЛО */
.grid-glass-card {
  /* Ідеальне співвідношення кольору та прозорості для злиття з фіолетовим градієнтом фону */
  background: rgba(11, 8, 28, 0.45); 
  
  /* Максимальне розмиття шару під карткою для ефекту матовості */
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  
  /* Надтонка обводка — створює чітку скляну межу */
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px; /* М'які закруглені краї як на макеті */
  
  padding: 52px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  
  /* Ефект внутрішнього відблиску світла на верхній межі скла */
  box-shadow: inset 0px 1.5px 1px rgba(255, 255, 255, 0.05), 
              0px 24px 48px rgba(3, 2, 10, 0.4);
              
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.4s ease,
              background 0.3s ease;
}

/* Інтерактивний ховер-ефект преміум-класу */
.grid-glass-card:hover {
  transform: translateY(-6px);
  background: rgba(15, 11, 36, 0.65); /* Скло стає об'ємнішим та насиченішим */
  border-color: rgba(147, 51, 234, 0.4); /* Елегантне фіолетове свічення рамки */
  box-shadow: inset 0px 1.5px 1.5px rgba(255, 255, 255, 0.08),
              0px 32px 64px rgba(3, 2, 10, 0.6), 
              0px 0px 30px rgba(105, 65, 198, 0.2);
}

/* Круглий фіолетовий контейнер для іконки переваги */
.b-card-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(105, 65, 198, 0.1);
  border: 1px solid rgba(105, 65, 198, 0.25);
  margin-bottom: 32px;
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
}

.b-card-icon-img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* ЗАГОЛОВКИ КАРТОК З РИСОЧКОЮ */
.b-card-title {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Маленька точна фіолетова рисочка під кожним заголовком */
.b-card-title::after {
  content: '';
  display: block;
  width: 24px; /* Довжина лінії як на макеті */
  height: 2px;  /* Товщина лінії */
  background: #6941c6; /* Фірмовий фіолетовий колір */
  border-radius: 1px;
  margin-top: 16px; /* Акуратний відступ від тексту заголовка */
}

/* Опис переваг */
.b-card-desc {
  font-size: 14px;
  line-height: 22px;
  color: #94a3b8; /* Контрастний приглушений колір тексту */
  margin: 0;
  font-weight: 400;
}

/* Вимикаємо старі роздільники з HTML */
.b-card-divider {
  display: none;
}

/* ==========================================================================
   АДАПТИВНІСТЬ ТА СІТКА ДЛЯ ПЛАНШЕТІВ І СМАРТФОНІВ
   ========================================================================== */

@media (max-width: 1024px) {
  .benefits-grid-layout {
    grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    gap: 20px;
  }
  .benefits-global-container .section-main-title {
    font-size: 36px;
    line-height: 44px;
  }
}

@media (max-width: 767px) {
  .benefits-showcase-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .benefits-global-container {
    align-items: center;
  }

  .benefits-global-container .section-main-title {
    font-size: 28px;
    line-height: 36px;
    text-align: center;
  }

  .benefits-global-container .section-main-title::after {
    margin: 18px auto 0 auto;
  }

  .benefits-global-container .benefits-top-badge {
    align-self: center;
  }

  .benefits-grid-layout {
    grid-template-columns: 1fr; /* 1 колонка на мобільних пристроях */
    gap: 16px;
    margin-top: 36px;
  }

  .grid-glass-card {
    padding: 40px 24px;
    border-radius: 20px;
  }
}


/* ==========================================================================
   БЛОК 5: ВІДГУКИ ТА ГАЛЕРЕЯ (PREMIUM GLASSMORPHISM)
   ========================================================================== */

.reviews-gallery-section {
  padding-top: 120px;
  padding-bottom: 120px;
  background: transparent; /* Наскрізний глобальний фон для збереження відблисків */
  width: 100%;
  overflow: hidden;
}

.reviews-global-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 440px 1fr; /* Ідеальні пропорції як на макеті */
  gap: 64px;
  align-items: start;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- ЛІВА СТОРОНА: ТЕКСТ ТА БЕЙДЖ --- */

.reviews-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(105, 65, 198, 0.15);
  border: 1px solid rgba(147, 51, 234, 0.3);
  padding: 8px 18px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.reviews-top-badge span {
  font-size: 11px;
  font-weight: 700;
  color: #ba9ffb;
  letter-spacing: 1.5px;
}

.reviews-badge-star {
  width: 13px;
  height: 13px;
}

/* Уніфікований h2 за вимогами дизайн-системи */
.reviews-content-side .ui-h2.block-main-title {
  font-size: 36px;
  line-height: 46px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  position: relative;
  text-align: left;
}

/* Декоративна фіолетова лінія під заголовком */
.reviews-content-side .ui-h2.block-main-title::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  background: #6941c6;
  box-shadow: 0px 0px 12px #9333ea;
  border-radius: 2px;
  margin: 18px 0 0 0; /* Лінія вирівняна по лівому краю за макетом */
}

/* Стек відгуків */
.reviews-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

/* КАРТКА ВІДГУКУ: СТИЛЬ СКЛА */
.review-glass-item {
  background: rgba(13, 10, 28, 0.45);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  box-shadow: inset 0px 1px 1px rgba(255, 255, 255, 0.04), 0px 12px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.4s ease;
}

.review-glass-item:hover {
  transform: translateX(6px); /* Елегантно зсувається вбік при наведенні */
  border-color: rgba(147, 51, 234, 0.3);
  box-shadow: 0px 20px 40px rgba(5, 3, 15, 0.6), 0px 0px 20px rgba(105, 65, 198, 0.1);
}

.review-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(105, 65, 198, 0.4);
  flex-shrink: 0;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-text-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 20px;
}

.review-quote {
  font-size: 15px;
  line-height: 22px;
  color: #e2e8f0;
  margin: 0;
  font-weight: 400;
}

.review-author-name {
  font-size: 13px;
  color: #a855f7;
  font-weight: 600;
}

/* Лапки на бекграунді картки */
.review-quote-icon {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 24px;
  height: 24px;
  opacity: 0.7;
  pointer-events: none;
}

/* --- ПРАВА СТОРОНА: КРЕАТИВНА СІТКА МЕДІА --- */

.media-premium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.media-grid-item {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0px 20px 45px rgba(0, 0, 0, 0.4);
  aspect-ratio: 1 / 1; /* Квадратні преміум-картки за дизайном */
  background: #0d0a1c;
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Ефект внутрішнього преміального бліку */
.media-item-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 50%, rgba(105, 65, 198, 0.05) 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Ховер ефект для медіа-елементів */
.media-grid-item:hover .gallery-img {
  transform: scale(1.04); /* М'яке занурення вглиб кадру */
}

.media-grid-item:hover {
  border-color: rgba(147, 51, 234, 0.3);
  box-shadow: 0px 30px 60px rgba(4, 2, 12, 0.7), 0px 0px 25px rgba(147, 51, 234, 0.15);
}

/* ==========================================================================
   АДАПТИВНІСТЬ ТА ОПТИМІЗАЦІЯ ВІДСТУПІВ (Сайт дихає)
   ========================================================================== */

@media (max-width: 1100px) {
  .reviews-global-container {
    grid-template-columns: 1fr; /* Перехід в одноколонковий режим */
    gap: 56px;
  }
  
  .reviews-content-side .ui-h2.block-main-title {
    text-align: center;
  }
  
  .reviews-content-side .ui-h2.block-main-title::after {
    margin: 18px auto 0 auto; /* Центрування лінії на планшетах */
  }
  
  .reviews-content-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .reviews-stack {
    width: 100%;
    max-width: 600px; /* Обмеження ширини для акуратності на планшеті */
  }
}

@media (max-width: 767px) {
  .reviews-gallery-section {
    padding-top: 80px;
    padding-bottom: 80px; /* Оптимальні мобільні відступи */
  }

  .reviews-content-side .ui-h2.block-main-title {
    font-size: 28px;
    line-height: 38px;
  }

  .media-premium-grid {
    gap: 12px; /* Компактніша сітка для телефонів */
  }
  
  .media-grid-item {
    border-radius: 14px;
  }
  
  .review-glass-item {
    padding: 20px;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .media-premium-grid {
    grid-template-columns: 1fr; /* На зовсім дрібних екранах карти стають в ряд */
    max-width: 340px;
    margin: 0 auto;
    width: 100%;
  }
}


/* ==========================================================================
   БЛОК 6: ПОДАРУНОК ТА ФІНАЛЬНИЙ CTA (PREMIUM DESIGN SYSTEM)
   ========================================================================== */

.gift-cta-section {
  padding-top: 140px;
  padding-bottom: 140px;
  background: transparent; /* Зберігаємо цілісність темного фону сайту */
  width: 100%;
  overflow: hidden;
  position: relative;
}

.gift-global-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* Співвідношення сторін ідеально підігнане під макет */
  gap: 80px;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- ЛІВА СТОРОНА: КОНТЕНТ ТА МАРКЕТИНГ --- */

.gift-content-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gift-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(105, 65, 198, 0.15);
  border: 1px solid rgba(147, 51, 234, 0.3);
  padding: 8px 18px;
  border-radius: 20px;
  margin-bottom: 34px;
  align-self: flex-start;
}

.gift-top-badge span {
  font-size: 11px;
  font-weight: 700;
  color: #ba9ffb;
  letter-spacing: 1.5px;
}

.gift-badge-icon {
  width: 14px;
  height: 14px;
}

/* Уніфікований h2 за вимогами дизайн-системи */
.gift-content-side .ui-h2.block-main-title {
  font-size: 36px;
  line-height: 46px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
}

/* Декоративна фіолетова лінія під заголовком */
.gift-content-side .ui-h2.block-main-title::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  background: #6941c6;
  box-shadow: 0px 0px 12px #9333ea;
  border-radius: 2px;
  margin-top: 18px;
}

.gift-description {
  font-size: 18px;
  line-height: 26px;
  color: #cbd5e1;
  margin-top: 0;
  margin-bottom: 36px;
  font-weight: 400;
}

.gift-highlight {
  color: #ba9ffb;
  font-weight: 600;
  border-bottom: 1px dashed rgba(186, 159, 251, 0.4);
}

/* Окремий контейнер для правильного позиціонування та дихання кнопки */
.gift-btn-wrapper {
  margin-bottom: 56px;
}

/* Кнопка за вашою оригінальною структурою Hero-блоку */
.gift-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0px 4px 20px rgba(124, 58, 237, 0.3), inset 0px 1px 0px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.gift-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 30px rgba(124, 58, 237, 0.5), inset 0px 1px 0px rgba(255, 255, 255, 0.3);
}

.gift-submit-btn:active {
  transform: translateY(0);
}

/* ТРИГЕРИ ДОВІРИ (Нижня панель) */
.gift-trust-row {
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(13, 10, 28, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 16px 24px;
  border-radius: 16px;
  max-width: 520px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon-zone {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-img-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trust-text span {
  font-size: 13px;
  line-height: 17px;
  color: #94a3b8;
  font-weight: 500;
}

.trust-item-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.08);
}

/* --- ПРАВА СТОРОНА: ПРЕМІУМ ФОТО ПОДАРУНКА --- */

.gift-image-container {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0px 30px 60px rgba(0, 0, 0, 0.5);
  background: #0d0a1c;
  aspect-ratio: 1 / 1;
}

.gift-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* М'яке неонове свічення позаду подарунка для глибини */
.gift-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.gift-image-container:hover .gift-main-image {
  transform: scale(1.03); /* Делікатний зум при наведенні */
}

/* ==========================================================================
   АДАПТИВНІСТЬ ТА ОПТИМІЗАЦІЯ ВІДСТУПІВ (Сайт дихає)
   ========================================================================== */

@media (max-width: 1024px) {
  .gift-global-container {
    grid-template-columns: 1fr; /* Одноколонковий режим для планшетів */
    gap: 56px;
    text-align: center;
  }

  .gift-content-side .ui-h2.block-main-title::after {
    margin: 18px auto 0 auto; /* Центрування декоративної лінії */
  }

  .gift-trust-row {
    margin: 0 auto; /* Центрування тригерів довіри */
  }
  
  .gift-image-container {
    max-width: 500px;
    margin: 0 auto; /* Обмеження гігантського збільшення фото */
    width: 100%;
  }
}

@media (max-width: 767px) {
  .gift-cta-section {
    padding-top: 90px;
    padding-bottom: 90px; /* Акуратне зменшення відступів на мобільних */
  }

  .gift-content-side .ui-h2.block-main-title {
    font-size: 28px;
    line-height: 38px;
  }

  .gift-description {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 28px;
  }

  .gift-btn-wrapper {
    margin-bottom: 40px;
  }

  .gift-trust-row {
    flex-direction: row; /* Тригери розташовані в один ряд */
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    align-items: center;
    max-width: 100%;
    padding: 14px 18px;
  }

  .trust-item {
    flex: 1 1 140px;
    min-width: 120px;
    justify-content: center;
    text-align: center;
  }

  .trust-item-divider {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
  }
  
  .gift-image-container {
    border-radius: 18px;
  }
}


/* ==========================================================================
   ФУТЕР (ПІДВАЛ САЙТУ) — PREMIUM DARK STYLE
   ========================================================================== */

.site-footer {
  background: #070514; /* Глибокий благородний темний колір */
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 80px;
  width: 100%;
  position: relative;
  z-index: 10;
}

.footer-global-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr; /* Ідеальний розподіл простору */
  gap: 64px;
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
}

/* Спільні стилі для іконок */
.footer-icon {
  width: 18px;
  height: 18px;
  color: #a855f7; /* Фіолетовий акцент */
  flex-shrink: 0;
}

/* --- КОЛОНКА 1: БРЕНД ТА АДРЕСА --- */
.brand-column {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.logo-accent {
  color: #a855f7;
}

.footer-company-name {
  font-size: 15px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 16px 0;
}

.footer-requisites {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.req-item {
  font-size: 14px;
  line-height: 22px;
  color: #94a3b8;
  margin: 0;
}

.req-label {
  color: #64748b;
}

.address-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 4px;
}

.address-item span {
  font-size: 13.5px;
  line-height: 20px;
}

/* --- ЗАГОЛОВКИ КОЛОНОК --- */
.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* --- КОЛОНКА 2: ГРАФІК РОБОТИ --- */
.schedule-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 14px 18px;
  border-radius: 12px;
  width: max-content;
}

.clock-icon {
  width: 22px;
  height: 22px;
}

.schedule-time {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.schedule-time .days {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

.schedule-time .hours {
  font-size: 15px;
  color: #e2e8f0;
  font-weight: 700;
  margin: 0;
}

/* --- КОЛОНКА 3: КОНТАКТИ --- */
.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 15px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-email-link:hover {
  color: #ba9ffb;
}

/* --- НИЖНЯ ПАНЕЛЬ: ЮРИДИЧНІ ПОСИЛАННЯ --- */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 30px;
  padding-bottom: 35px;
  background: #05030f;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-copyright {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-link {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #ba9ffb;
}

.legal-separator {
  color: #1e293b;
  font-size: 12px;
  user-select: none;
}

/* ==========================================================================
   АДАПТИВНІСТЬ ФУТЕРУ
   ========================================================================== */

@media (max-width: 991px) {
  .footer-global-container {
    grid-template-columns: 1fr; /* Все в одну колонку */
    gap: 40px;
    padding-bottom: 48px;
  }

  .footer-heading {
    margin-bottom: 16px;
  }

  .footer-bottom-container {
    flex-direction: column-reverse; /* На мобільних документи вище копірайту */
    gap: 20px;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
    gap: 12px 16px;
  }
}

@media (max-width: 540px) {
  .legal-separator {
    display: none; /* Ховаємо палички на смартфонах, посилання стають блоками */
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 12px;
  }
  
  .schedule-card {
    width: 100%; /* Картка графіку розтягується під мобільний екран */
    justify-content: center;
  }

  .footer-global-container {
    text-align: center;
  }

  .brand-column,
  .footer-requisites,
  .footer-column,
  .footer-email-link {
    align-items: center;
    justify-content: center;
  }

  .footer-requisites {
    gap: 8px;
  }

  .address-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-heading {
    width: 100%;
    text-align: center;
  }

  .footer-email-link {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .ui-h2 {
    text-align: center !important;
  }

  .ui-h2::after {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-content,
  .results-content-col,
  .gift-content-side {
    align-items: center;
    text-align: center;
  }

  .hero-top-badge,
  .results-badge,
  .gift-top-badge {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .hero-cta-group,
  .gift-btn-wrapper {
    align-items: center;
  }

  .btn-primary.hero-btn,
  .gift-submit-btn {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Override section spacing and block width */
.ui-section:not(.hero-section) {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

.hero-section {
  padding-bottom: 50px !important;
}

.video-global-container {
  max-width: 1200px !important;
}

/* ==========================================================================
   СТИЛІ ДЛЯ СЛУЖБОВИХ СТОРІНОК (ПОЛІТИКА КОНФІДЕНЦІЙНОСТІ ТА ІНШІ)
   ========================================================================== */

.legal-page-body {
  background-color: #05030f; /* Базовий наскрізний колір сайту */
  font-family: system-ui, -apple-system, sans-serif;
  color: #cbd5e1;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Декоративні неонові плями на фоні */
.legal-glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
  pointer-events: none;
}

.legal-glow-2 {
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.05) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
  pointer-events: none;
}

/* Центрувальний контейнер сторінки (забезпечує дихання контенту) */
.legal-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px 80px 20px;
  position: relative;
  z-index: 5;
}

/* --- ВЕРХНЯ ЧАСТИНА (HEADER) --- */
.legal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.back-to-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.back-to-home-btn:hover {
  color: #ba9ffb;
}

.legal-logo {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.logo-accent {
  color: #a855f7;
}

/* --- ГОЛОВНА КАРТКА З ТЕКСТОМ (GLASSMORPHISM) --- */
.legal-content-card {
  background: rgba(13, 10, 28, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 60px 50px;
  border-radius: 24px;
  box-shadow: 0px 40px 80px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.legal-main-title {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.legal-subtitle {
  font-size: 16px;
  color: #a855f7;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.3) 0%, rgba(255,255,255,0.02) 100%);
  margin: 32px 0;
}

.legal-intro-section p {
  font-size: 17px;
  line-height: 26px;
  color: #e2e8f0;
}

/* --- СТРУКТУРА ПУНКТІВ (ARTICLES) --- */
.legal-articles {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.legal-section h2 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 16px;
}

.legal-section p {
  font-size: 15px;
  line-height: 24px;
  color: #94a3b8;
  margin-top: 0;
  margin-bottom: 16px;
}

/* Марковані списки */
.legal-list {
  margin: 0 0 20px 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-list li {
  font-size: 15px;
  color: #cbd5e1;
  position: relative;
}

/* Акцентні повідомлення всередині секцій */
.legal-important-note {
  background: rgba(124, 58, 237, 0.1);
  border-left: 3px solid #7c3aed;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  color: #e2e8f0 !important;
}

.legal-no-spam {
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid #10b981;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  color: #e2e8f0 !important;
}

.legal-mail-inline {
  color: #ba9ffb;
  text-decoration: none;
  border-bottom: 1px dashed rgba(186, 159, 251, 0.4);
}

.legal-mail-inline:hover {
  color: #ffffff;
}

/* Плашка з контактами внизу (Блок 9) */
.footer-contact-box {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 24px;
  border-radius: 16px;
}

.legal-contact-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0px 4px 20px rgba(124, 58, 237, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legal-contact-card-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0px 6px 24px rgba(124, 58, 237, 0.4);
}

.legal-contact-card-btn svg {
  flex-shrink: 0;
}

/* Компактний підвал для сторінки */
.legal-mini-footer {
  text-align: center;
  margin-top: 40px;
}

.legal-mini-footer p {
  font-size: 13px;
  color: #475569;
  margin: 0;
}

/* ==========================================================================
   АДАПТИВНІСТЬ СТОРІНКИ ПОЛІТИКИ
   ========================================================================== */

@media (max-width: 767px) {
  .legal-wrapper {
    padding: 24px 16px 60px 16px;
  }

  .legal-content-card {
    padding: 32px 24px; /* Зменшення внутрішніх відступів на мобілках */
    border-radius: 16px;
  }

  .legal-main-title {
    font-size: 26px;
  }

  .legal-section h2 {
    font-size: 18px;
  }
  
  .legal-contact-card-btn {
    width: 100%; /* Кнопка пошти на весь екран на телефонах */
    justify-content: center;
    box-sizing: border-box;
  }
}
