:root {
  /* Palette: Airy Pastel */
  --color-bg: #f9fbf8; /* Очень светлый, почти белый с оттенком шалфея */
  --color-text: #2c3e50; /* Глубокий серо-синий для текста */
  --color-text-light: #64748b;
  --color-primary: #8eb89b; /* Мягкий шалфей */
  --color-primary-dark: #6f9a7d;
  --color-accent: #e8c39e; /* Пастельный песочный/персиковый */
  --color-white: #ffffff;
  --color-dark: #1e293b;

  /* Spacing & Layout */
  --container-width: 1240px;
  --header-height: 80px;
  --border-radius-lg: 32px; /* Гипер-округление */
  --border-radius-sm: 16px;

  /* Shadows */
  --shadow-soft: 0 10px 40px -10px rgba(142, 184, 155, 0.15);
  --shadow-hover: 0 20px 50px -10px rgba(142, 184, 155, 0.25);

  /* Fonts */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

ul {
  list-style: none;
}

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

/* Container */
.container,
.header__container,
.footer__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px; /* Полный круг по краям */
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.btn--small {
  padding: 10px 24px;
  font-size: 0.9rem;
  background-color: var(--color-text);
  color: var(--color-white);
}

.btn:hover {
  transform: scale(1.05); /* Легкое увеличение */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* HEADER */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header__container {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50px; /* Овальный хедер */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.header__menu {
  display: flex;
  gap: 30px;
}

.header__link {
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 5px 0;
}

/* Анимация подчеркивания для меню */
.header__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header__link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
}

/* FOOTER */
.footer {
  background-color: var(--color-dark);
  color: var(--color-bg);
  padding: 80px 0 30px;
  margin-top: 80px;
  border-top-left-radius: var(--border-radius-lg);
  border-top-right-radius: var(--border-radius-lg);
}

.footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer__link:hover {
  color: var(--color-primary);
  padding-left: 5px; /* Сдвиг вправо при ховере */
}

.footer__desc {
  margin-top: 20px;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 300px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer__icon {
  min-width: 20px;
  color: var(--color-primary);
}

.footer__bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  color: #64748b;
  font-size: 0.85rem;
}

/* Mobile Adaptation */
@media (max-width: 992px) {
  .header__nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    margin: 0 20px;
  }

  .header__nav.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }

  .header__burger {
    display: block;
  }

  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__col {
    align-items: center;
  }

  .footer__list {
    align-items: center;
  }

  .footer__contact-item {
    justify-content: center;
  }
}

/* HERO SECTION STYLES */
.hero {
  padding: 160px 0 100px; /* Відступ зверху враховує фіксований хедер */
  position: relative;
  overflow: hidden;
  min-height: 100vh; /* На весь екран */
  display: flex;
  align-items: center;
}

/* Background Gradients */
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(142, 184, 155, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(232, 195, 158, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: -1;
  filter: blur(60px);
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(142, 184, 155, 0.15);
  border-radius: 20px;
  color: var(--color-primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(142, 184, 155, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(142, 184, 155, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(142, 184, 155, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(142, 184, 155, 0);
  }
}

/* Typography */
.hero__title {
  font-size: 3.5rem;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: 24px;
  font-weight: 700;
}

.text-highlight {
  color: var(--color-primary);
  position: relative;
  white-space: nowrap;
}

/* Креативне підкреслення */
.text-highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: rgba(232, 195, 158, 0.4);
  z-index: -1;
  border-radius: 4px;
  transform: rotate(-1deg);
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 500px;
}

/* Actions */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}

.hero__btn {
  background-color: var(--color-primary);
  color: white;
  padding: 16px 40px;
  font-size: 1.1rem;
  box-shadow: 0 10px 25px -5px rgba(142, 184, 155, 0.5);
}

.hero__btn:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.hero__link-more {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-text);
}

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

.icon-small {
  width: 18px;
  height: 18px;
}

/* Social Proof */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero__avatars {
  display: flex;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--color-white);
  margin-left: -12px;
}

.avatar-circle:first-child {
  margin-left: 0;
}

.hero__trust-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

/* Visual & Animation Area */
.hero__visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Floating Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.8;
  z-index: 1;
  transition: transform 0.1s linear; /* Плавність для JS */
}

.shape-1 {
  width: 100px;
  height: 100px;
  background: #e8c39e;
  top: 10%;
  left: 10%;
  filter: blur(20px);
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: #8eb89b;
  bottom: 20%;
  right: 10%;
  filter: blur(30px);
}

.shape-3 {
  width: 60px;
  height: 60px;
  background: #64748b;
  top: 50%;
  left: 80%;
  opacity: 0.2;
}

/* Glass Card */
.glass-panel {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 40px; /* Hyper-rounded */
  padding: 30px;
  width: 380px;
  height: 440px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
  transition: transform 0.1s linear;
}

.card-header {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red {
  background: #ff9f9f;
}
.yellow {
  background: #ffe89f;
}
.green {
  background: #9fdfbf;
}

.skeleton-line {
  height: 16px;
  background: #e2e8f0;
  border-radius: 8px;
  margin-bottom: 16px;
}
.w-70 {
  width: 70%;
}
.w-50 {
  width: 50%;
}

.skeleton-block {
  height: 180px;
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 100%);
  border-radius: 24px;
  margin-top: 30px;
  border: 1px dashed #cbd5e1;
}

.floating-badge {
  position: absolute;
  bottom: 40px;
  right: -40px;
  background: var(--color-white);
  padding: 12px 20px;
  border-radius: 20px;
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-primary-dark);
  animation: float 4s ease-in-out infinite;
}

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

/* Mobile Hero */
@media (max-width: 992px) {
  .hero {
    padding-top: 120px;
    min-height: auto;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__subtitle {
    margin: 0 auto 30px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    height: 400px;
  }

  .glass-panel {
    width: 100%;
    max-width: 340px;
  }

  .floating-badge {
    right: 0;
  }
}

/* SECTIONS GENERAL */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.text-accent {
  color: var(--color-primary-dark);
  font-style: italic;
}

.section-subtitle {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* BENTO GRID LAYOUT */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 24px;
}

.bento-card {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

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

/* Grid Spans */
.bento-card--wide {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.bento-card--tall {
  grid-column: span 1;
  grid-row: span 2;
}

/* Colors & Themes for Cards */
.bg-mint {
  background: linear-gradient(135deg, #f0f9f4 0%, #ffffff 100%);
}
.bg-sand {
  background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
}
.bg-blue {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}
.bg-lavender {
  background: linear-gradient(135deg, #f8f7ff 0%, #ffffff 100%);
}

.bento-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
  color: var(--color-primary-dark);
}

.bento-icon-box i {
  width: 28px;
  height: 28px;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.bento-text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Special Layouts inside cards */
.bento-card--wide .bento-content {
  flex: 1;
  z-index: 2;
}

.bento-card--wide .bento-visual {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  opacity: 0.8;
}

/* Decorative Mini Cards inside Wide Card */
.mini-card {
  background: var(--color-white);
  padding: 10px 20px;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transform: rotate(-5deg);
}

.mini-card:nth-child(2) {
  transform: rotate(3deg) translateX(-20px);
}

/* Decorative Chart inside Tall Card */
.bento-chart {
  margin-top: auto;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding-top: 30px;
}

.chart-bar {
  width: 20%;
  background: #e2e8f0;
  border-radius: 8px 8px 0 0;
  transition: height 1s ease;
}

.chart-bar.active {
  background: var(--color-accent);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 650px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card--wide {
    grid-column: span 1;
    flex-direction: column;
    align-items: flex-start;
  }

  .bento-card--wide .bento-visual {
    display: none; /* Ховаємо декор на мобільному для економії місця */
  }
}

/* TOOLS SECTION LAYOUT */
.tools-section {
  background-color: #f1f5f9; /* Трохи темніший фон для контрасту блоків */
  border-radius: 60px; /* Дуже велике округлення всієї секції */
  margin: 40px 20px; /* Відступи від країв екрану */
}

/* На мобільному прибираємо марджини, щоб не втрачати місце */
@media (max-width: 768px) {
  .tools-section {
    margin: 0;
    border-radius: 0;
  }
}

.tools-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.tools-tag {
  display: inline-block;
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* CTA Box Left */
.tools-cta-box {
  background: var(--color-white);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  margin-top: 40px;
  box-shadow: var(--shadow-soft);
}

.tools-cta-text {
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.buttons-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.tool-btn {
  background-color: var(--color-dark);
  color: white;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-text-light);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.link-arrow:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.link-arrow i {
  width: 16px;
}

/* ACCORDION STYLES */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.accordion-item {
  background: var(--color-white);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.accordion-item.active {
  box-shadow: var(--shadow-hover);
  border-color: rgba(142, 184, 155, 0.3);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 24px 32px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  color: var(--color-text);
}

.accordion-icon {
  width: 40px;
  height: 40px;
  background: #f8fafc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-right: 20px;
  transition: background 0.3s ease;
}

.accordion-item.active .accordion-icon {
  background: var(--color-primary);
  color: white;
}

.accordion-title {
  font-size: 1.2rem;
  font-weight: 600;
  flex: 1;
}

.accordion-toggle {
  color: #94a3b8;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
  transform: rotate(45deg); /* Перетворюємо плюс на хрестик */
  color: var(--color-primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.accordion-content {
  padding: 0 32px 32px 92px; /* Відступ зліва підрівняний під текст заголовка */
  color: var(--color-text-light);
}

.link-small {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  text-decoration: underline;
}

/* Responsive Accordion */
@media (max-width: 992px) {
  .tools-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tools-info {
    text-align: center;
  }

  .tools-cta-box {
    max-width: 400px;
    margin: 40px auto 0;
  }

  .buttons-row {
    align-items: center;
  }
}

@media (max-width: 576px) {
  .accordion-header {
    padding: 20px;
  }

  .accordion-icon {
    margin-right: 12px;
    width: 32px;
    height: 32px;
  }

  .accordion-icon svg {
    width: 18px;
    height: 18px;
  }

  .accordion-title {
    font-size: 1rem;
  }

  .accordion-content {
    padding: 0 20px 24px 20px;
  }
}

/* LEARN SECTION STYLES */
.learn-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

/* М'який градієнтний фон позаду картки */
.learn-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(232, 195, 158, 0.3) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  z-index: -1;
}

.learn-wrapper {
  display: flex;
  justify-content: center;
}

/* Glassmorphism Card */
.glass-morphism {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 40px; /* Гіпер-округлення */
  padding: 60px;
  box-shadow: 0 30px 60px -10px rgba(142, 184, 155, 0.2);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.badge-soft {
  display: inline-block;
  padding: 6px 14px;
  background: #f1f5f9;
  color: var(--color-text-light);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.learn-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 700;
}

.learn-desc {
  color: var(--color-text-light);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.learn-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.learn-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--color-text);
}

.check-icon {
  width: 24px;
  height: 24px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.check-icon svg {
  width: 14px;
  height: 14px;
}

/* Actions */
.learn-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.btn-primary-glow {
  background: var(--color-primary);
  color: white;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-heading);
  box-shadow: 0 8px 20px rgba(142, 184, 155, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(142, 184, 155, 0.5);
  background: var(--color-primary-dark);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.3s ease;
}

.btn-link:hover {
  color: var(--color-primary);
}

/* Visual Side */
.learn-image-block {
  position: relative;
  height: 400px;
  background: linear-gradient(135deg, #f0fdf4 0%, #e8c39e 100%);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abstract-circle {
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  top: -50px;
  right: -50px;
}

.abstract-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
}

.learn-image-block:hover .abstract-card {
  transform: rotate(0deg) scale(1.05);
}

.play-icon {
  fill: var(--color-primary);
  color: var(--color-primary);
  width: 32px;
  height: 32px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .glass-morphism {
    grid-template-columns: 1fr;
    padding: 40px;
    gap: 40px;
  }

  .learn-image-block {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .glass-morphism {
    padding: 24px;
    border-radius: 24px;
  }

  .learn-title {
    font-size: 1.75rem;
  }

  .learn-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary-glow {
    text-align: center;
  }

  .btn-link {
    justify-content: center;
  }
}

/* CONTACT SECTION */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, #f1f5f9 100%);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left Info */
.contact-highlight {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  background: var(--color-white);
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.highlight-icon {
  width: 48px;
  height: 48px;
  background: #f0fdf4;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.highlight-text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.highlight-text p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* Form Card */
.glass-panel-form {
  background: var(--color-white);
  padding: 40px;
  border-radius: 40px; /* Hyper rounded */
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  font-weight: 700;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #94a3b8;
  transition: color 0.3s ease;
}

.form-input {
  width: 100%;
  padding: 16px 20px 16px 50px; /* padding-left for icon */
  border: 2px solid #f1f5f9;
  border-radius: 16px; /* Rounded inputs */
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f8fafc;
  color: var(--color-text);
  outline: none;
}

.form-input:focus {
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px rgba(142, 184, 155, 0.1);
}

.form-input:focus + .input-icon, /* Для CSS селектора */
.input-wrapper:focus-within .input-icon {
  color: var(--color-primary);
}

.error-text {
  display: none;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 6px;
  padding-left: 10px;
}

.form-group.error .form-input {
  border-color: #ef4444;
  background: #fef2f2;
}

.form-group.error .input-icon {
  color: #ef4444;
}

.form-group.error .error-text {
  display: block;
}

.custom-captcha {
  background: #f9fafb;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
}

.captcha-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.captcha-label input {
  display: none;
}

.captcha-box {
  width: 24px;
  height: 24px;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  background: white;
  position: relative;
  transition: all 0.2s ease;
}

.captcha-box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #10b981;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.captcha-label input:checked + .captcha-box {
  border-color: #10b981;
}

.captcha-label input:checked + .captcha-box::after {
  transform: rotate(45deg) scale(1);
}

.captcha-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
}

.captcha-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.6rem;
  color: #94a3b8;
}

.captcha-logo svg {
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
}

.privacy-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.privacy-label input {
  display: none;
}

.custom-check {
  min-width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  position: relative;
  background: white;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.custom-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s;
}

.privacy-label input:checked + .custom-check {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.privacy-label input:checked + .custom-check::after {
  transform: rotate(45deg) scale(1);
}

.privacy-text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .btn-loader {
  display: block;
}

.btn-submit.loading {
  background-color: var(--color-text-light);
  pointer-events: none;
}

.success-message {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 400px;
  animation: fadeIn 0.5s ease;
}

.success-message.visible {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #f0fdf4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10b981;
  margin-bottom: 24px;
}

.success-icon svg {
  width: 40px;
  height: 40px;
}

.form-content.hidden {
  display: none;
}

/* Responsive Contact */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-info {
    text-align: center;
  }

  .contact-highlight {
    justify-content: center;
    text-align: left;
    max-width: 400px;
    margin: 40px auto 0;
  }
}

.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px); /* Сховано внизу */
  width: 90%;
  max-width: 600px;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 16px 24px;
  border-radius: 50px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-popup.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cookie-icon {
  color: var(--color-accent);
}

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.4;
}

.cookie-text a {
  color: var(--color-accent);
  text-decoration: underline;
}

.cookie-btn {
  background: white;
  color: var(--color-dark);
  white-space: nowrap;
  padding: 10px 24px;
}

.cookie-btn:hover {
  background: var(--color-accent);
}

/* LEGAL PAGES STYLES (privacy.html, terms.html etc.) */
.pages {
  padding: 140px 0 80px; /* Більший відступ зверху через фіксований хедер */
  min-height: 80vh;
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-text);
  margin-bottom: 40px;
  text-align: center;
}

.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text);
  margin: 40px 0 20px;
  border-left: 4px solid var(--color-primary);
  padding-left: 16px;
}

.pages p {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.7;
  max-width: 800px;
}

.pages ul {
  margin-bottom: 24px;
  padding-left: 20px;
  list-style-type: disc;
}

.pages li {
  margin-bottom: 10px;
  color: var(--color-text-light);
}

.pages strong {
  color: var(--color-text);
  font-weight: 600;
}

.pages a {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

@media (max-width: 576px) {
  .cookie-popup {
    flex-direction: column;
    bottom: 10px;
    border-radius: 24px;
    padding: 20px;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .pages h1 {
    font-size: 1.8rem;
  }
}
