/* --- VARIABLES & RESET --- */
:root {
  /* Palette: Fresh Mint & Dark Jungle */
  --c-bg: #f2f7f5; /* Very light mint */
  --c-surface: #ffffff;
  --c-text-main: #0f291e; /* Dark Jungle Green */
  --c-text-muted: #5c7066;

  --c-accent: #10b981; /* Vivid Mint */
  --c-accent-hover: #059669;
  --c-accent-soft: #d1fae5;

  --c-secondary: #a78bfa; /* Soft Lavender for unique pop */

  /* Typography */
  --font-head: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Shapes */
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --radius-pill: 100px;

  /* Effects */
  --shadow-soft: 0 10px 40px -10px rgba(16, 185, 129, 0.15);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);

  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

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

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
.header__logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.text-accent {
  color: var(--c-accent);
}

/* --- BUTTONS (PILL SHAPE) --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background-color: var(--c-text-main);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--c-accent);
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

.btn__icon {
  width: 18px;
  height: 18px;
}

/* --- HEADER: FLOATING & GLASS --- */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
  pointer-events: none; /* Let clicks pass through outside the pill */
}

.header__glass-pill {
  pointer-events: auto;
  max-width: var(--container-width);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  color: var(--c-text-main);
}

.header__nav {
  display: none;
}

@media (min-width: 992px) {
  .header__nav {
    display: block;
  }
}

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

.header__link {
  font-weight: 500;
  color: var(--c-text-muted);
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.header__link:hover {
  color: var(--c-text-main);
  background-color: var(--c-accent-soft);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .header__btn {
    display: none;
  }
}

/* Burger Icon */
.header__burger {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
@media (min-width: 992px) {
  .header__burger {
    display: none;
  }
}

.burger-line {
  width: 18px;
  height: 2px;
  background-color: var(--c-text-main);
  transition: 0.3s;
}

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--c-surface);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 30px;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Bouncy effect */
  opacity: 0;
}

.mobile-menu {
  /* ...інші стилі... */
  z-index: 9999; /* Максимальний рівень, щоб перекрити все */
  pointer-events: auto; /* На всяк випадок */
}

.mobile-menu.is-active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu__head {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 40px;
}

.mobile-menu__close {
  padding: 10px;
  background: var(--c-bg);
  border-radius: 50%;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.mobile-menu__link {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-text-main);
}

.mobile-menu__link:hover {
  color: var(--c-accent);
}

.mobile-menu__link--cta {
  color: var(--c-accent);
  font-size: 1.5rem;
  margin-top: 20px;
  border-bottom: 2px solid var(--c-accent);
}

.mobile-menu__footer {
  margin-top: auto;
  text-align: center;
  color: var(--c-text-muted);
  font-size: 0.8rem;
}

/* --- FOOTER --- */
.footer {
  margin-top: 100px;
  padding-bottom: 40px;
}

.footer__inner-rounded {
  background-color: var(--c-surface);
  border-radius: var(--radius-lg);
  padding: 60px 40px 30px;
  box-shadow: var(--shadow-soft);
}

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

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer__logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--c-text-main);
  display: block;
  margin-bottom: 20px;
}

.footer__mission {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  margin-bottom: 24px;
  max-width: 280px;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--c-accent-soft);
  color: var(--c-text-main);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
}

.footer__heading {
  margin-bottom: 24px;
  font-size: 1.1rem;
  color: var(--c-text-main);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__links a {
  color: var(--c-text-muted);
  font-size: 0.95rem;
}
.footer__links a:hover {
  color: var(--c-accent);
  transform: translateX(5px);
}

.footer__address {
  font-style: normal;
  color: var(--c-text-muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
}

.footer__contact-link {
  font-weight: 600;
  color: var(--c-text-main);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  align-self: flex-start;
}

.footer__eu-note {
  margin-top: 16px;
  font-size: 0.75rem;
  color: #9ca3af;
  background: #f9fafb;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
}

.footer__bottom {
  border-top: 1px solid #f3f4f6;
  padding-top: 30px;
  text-align: center;
  color: #9ca3af;
  font-size: 0.85rem;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding-top: 160px; /* Space for fixed header */
  padding-bottom: 100px;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Background Bubbles */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero__bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  transition: transform 0.2s ease-out; /* For JS Parallax */
}

.hero__bubble--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    var(--c-accent-soft) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  top: -100px;
  right: -100px;
}

.hero__bubble--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    #e0e7ff 0%,
    rgba(255, 255, 255, 0) 70%
  ); /* Soft Indigo */
  bottom: 50px;
  left: -100px;
}

.hero__bubble--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #d1fae5 0%, rgba(255, 255, 255, 0) 70%);
  top: 40%;
  left: 40%;
}

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

@media (min-width: 992px) {
  .hero__container {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* Content */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #fff;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-accent);
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--c-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.hero__title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--c-text-main);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4.5rem;
  } /* Big Typography */
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--c-text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 60px;
}

@media (min-width: 576px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.hero__note {
  font-size: 0.85rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Stats Row */
.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hero__stat-item strong {
  display: block;
  font-size: 1.25rem;
  font-family: var(--font-head);
  color: var(--c-text-main);
}

.hero__stat-item span {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

.hero__divider {
  width: 1px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.1);
}

/* Visual Mockup (Glass Card) */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.glass-card {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4/5;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
}

.hero__visual:hover .glass-card {
  transform: rotate(0deg) scale(1.02);
}

.glass-card__header {
  margin-bottom: auto;
}

.glass-card__dots {
  display: flex;
  gap: 6px;
}

.glass-card__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.1);
}

.glass-chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 150px;
  margin-bottom: 24px;
}

.glass-chart__bar {
  width: 40px;
  background: #e5e7eb;
  border-radius: 20px;
  transition: height 1s ease-out;
}

.glass-chart__bar.active {
  background: var(--c-accent);
  box-shadow: 0 0 20px var(--c-accent-soft);
}

.glass-card__info h4 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.glass-card__info p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
}

/* --- SECTION UTILS --- */
.section {
  padding: 100px 0;
}

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

.tag-pill {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--c-surface);
  color: var(--c-accent);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2.5rem;
  color: var(--c-text-main);
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--c-text-muted);
}

/* --- BENTO GRID --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
  }
}

/* Cards Base */
.bento-card {
  background: var(--c-surface);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
}

/* Grid Spans */
@media (min-width: 992px) {
  .bento-card--large {
    grid-column: span 2;
  }
  .bento-card--tall {
    grid-row: span 2;
  }
  .bento-card--wide {
    grid-column: span 2;
  }
}

/* Card Internals */
.bento-card__icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.bento-card__icon-wrap.icon-blue {
  background: #dbeafe;
  color: #2563eb;
}

.bento-card__icon-wrap.icon-purple {
  background: #ede9fe;
  color: #8b5cf6;
}

.bento-card__content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--c-text-main);
}

.bento-card__content p {
  font-size: 0.95rem;
  color: var(--c-text-muted);
}

/* Decor Elements */
.bento-decor-circle {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    var(--c-accent-soft) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}

.support-avatar-group {
  display: flex;
  margin-top: 24px;
}

.avatar,
.avatar-count {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--c-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  margin-left: -10px;
}
.avatar:first-child {
  margin-left: 0;
}
.avatar-count {
  background: #f3f4f6;
  color: var(--c-text-muted);
}

.bento-card__row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 576px) {
  .bento-card__row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--c-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.link-arrow:hover {
  gap: 12px; /* Micro-interaction: arrow moves */
}

/* Mini Chart Animation */
.bento-mini-chart {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 60px;
}
.chart-pill {
  width: 12px;
  background: var(--c-accent);
  border-radius: 6px;
  opacity: 0.2;
}
.chart-pill--1 {
  height: 40%;
  animation: bounceBar 2s infinite ease-in-out;
}
.chart-pill--2 {
  height: 70%;
  animation: bounceBar 2s infinite ease-in-out 0.2s;
}
.chart-pill--3 {
  height: 100%;
  opacity: 1;
  animation: bounceBar 2s infinite ease-in-out 0.4s;
}

@keyframes bounceBar {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.2);
  }
}

/* --- ANIMATION CLASSES (From JS Observer) --- */
/* --- ANIMATION FIX --- */
/* Тимчасово робимо все видимим, щоб ти бачив верстку */
.fade-in {
  opacity: 1;
  transform: none;
  transition: transform 0.3s ease; /* Залишимо лише плавність руху */
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* --- TIMELINE SECTION --- */
.section--light {
  background-color: #fff;
  border-radius: var(--radius-lg);
  margin: 20px; /* Slight margin to show body bg behind corners */
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0;
}

/* The Vertical Line */
.timeline__line {
  position: absolute;
  left: 20px; /* Mobile: Line on the left */
  top: 0;
  bottom: 0;
  width: 4px;
  background-color: #f3f4f6;
  border-radius: 4px;
  z-index: 0;
}

/* Desktop: Line in center */
@media (min-width: 768px) {
  .timeline__line {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Progress Line (Animated via JS logic ideally, or just static styling) */
.timeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%; /* Can be animated with JS scroll */
  background: linear-gradient(to bottom, var(--c-accent), var(--c-secondary));
  border-radius: 4px;
  transition: height 0.5s ease;
}

/* Timeline Item */
.timeline__item {
  position: relative;
  margin-bottom: 60px;
  padding-left: 60px; /* Space for marker on mobile */
  z-index: 1;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  background-color: #fff;
  border: 4px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--c-text-muted);
  font-family: var(--font-head);
  transition: all 0.4s ease;
  z-index: 2;
}

.timeline__item:hover .timeline__marker,
.timeline__item.visible .timeline__marker {
  border-color: var(--c-accent);
  background-color: var(--c-accent-soft);
  color: var(--c-accent);
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1);
}

.marker-success {
  background-color: var(--c-accent) !important;
  border-color: var(--c-accent) !important;
  color: white !important;
}

/* Content Card */
.timeline__content {
  background: var(--c-bg); /* Mint bg inside white section */
  padding: 30px;
  border-radius: var(--radius-md);
  border-top-left-radius: 4px; /* Stylish quirk */
  transition: transform 0.3s ease;
}

.timeline__content:hover {
  transform: translateX(5px);
}

.content-highlight {
  background: linear-gradient(
    135deg,
    var(--c-bg) 0%,
    var(--c-accent-soft) 100%
  );
  border: 1px solid var(--c-accent-soft);
}

/* Typography inside timeline */
.timeline__date {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.timeline__content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.timeline__tags {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-soft {
  font-size: 0.75rem;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-pill);
  color: var(--c-text-muted);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* DESKTOP ZIG-ZAG LAYOUT */
@media (min-width: 768px) {
  .timeline__item {
    width: 50%;
    padding-left: 0;
    margin-bottom: 80px;
  }

  .timeline__item:nth-child(odd) {
    margin-left: auto;
    padding-left: 50px; /* Space from center line */
  }

  .timeline__item:nth-child(even) {
    margin-right: auto;
    padding-right: 50px;
    text-align: right;
  }

  .timeline__item:nth-child(even) .timeline__content {
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: 4px;
  }

  /* Markers positioning */
  .timeline__marker {
    left: auto;
    right: auto;
  }

  .timeline__item:nth-child(odd) .timeline__marker {
    left: -22px; /* Half of width (44/2) */
  }

  .timeline__item:nth-child(even) .timeline__marker {
    right: -22px;
  }

  /* Flex alignment for badges in even items */
  .timeline__item:nth-child(even) .timeline__tags {
    justify-content: flex-end;
  }

  .timeline__item:nth-child(even) .timeline__content:hover {
    transform: translateX(-5px);
  }
}

.mt-4 {
  margin-top: 1.5rem;
}
.btn--sm {
  padding: 8px 24px;
  font-size: 0.9rem;
}

.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 24px;
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  min-width: 100%;
  animation: scroll var(--duration) linear infinite;
  animation-direction: var(--direction);
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 24px));
  }
}

/* Pause on hover */
.marquee:hover .marquee__group {
  animation-play-state: paused;
}

/* Review Cards */
.review-card {
  background: #fff;
  border-radius: 24px; /* Soft bubble shape */
  padding: 24px;
  width: 350px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* Card Header */
.review-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
  padding-bottom: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.review-author {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.review-author strong {
  font-size: 0.95rem;
  color: var(--c-text-main);
}

.review-author span {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

.review-rating {
  color: #f59e0b; /* Amber */
  letter-spacing: 2px;
  font-size: 0.8rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* Alt Style (Simpler bubble) */
.review-card--alt {
  background: #f0fdfa; /* Mint tint */
  border: none;
}

.review-card--alt .review-text {
  color: var(--c-text-main);
  font-style: italic;
  font-size: 1rem;
}

.review-author-simple {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--c-accent);
  font-weight: 600;
  text-align: right;
}

/* --- FAQ ACCORDION --- */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--c-bg); /* Mint bg inside white section */
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-item.is-open {
  background-color: #fff; /* White when open for contrast */
  box-shadow: var(--shadow-card);
  border-color: var(--c-accent-soft);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
}

.faq-question {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-text-main);
  padding-right: 16px;
}

.faq-icon {
  color: var(--c-accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

/* Open State Animation */
.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-item.is-open .faq-question {
  color: var(--c-accent);
}

/* Hidden Content */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1); /* Ease-out effect */
}

.faq-inner {
  padding: 0 24px 24px;
  color: var(--c-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.faq-footer {
  margin-top: 40px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--c-text-muted);
}

.link-underline {
  color: var(--c-accent);
  font-weight: 600;
  border-bottom: 1px solid var(--c-accent-soft);
}

.link-underline:hover {
  border-color: var(--c-accent);
}

/* --- CONTACT FORM --- */
#contact {
  padding-bottom: 120px;
}

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

.contact-card {
  background: #fff;
  width: 100%;
  max-width: 500px;
  padding: 40px;
  border-radius: 32px;
  box-shadow: 0 20px 60px -10px rgba(16, 185, 129, 0.15); /* Mint shadow */
  position: relative;
  overflow: hidden;
}

.contact-header {
  text-align: center;
  margin-bottom: 32px;
}

.contact-title {
  font-size: 2rem;
  color: var(--c-text-main);
  margin-bottom: 8px;
}

.contact-subtitle {
  font-size: 0.95rem;
  color: var(--c-text-muted);
}

/* Form Groups */
.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--c-text-main);
  margin-left: 12px; /* Align with input padding */
}

.input-wrapper {
  position: relative;
}

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

.form-input {
  width: 100%;
  padding: 16px 20px 16px 52px; /* Left padding for icon */
  border: 2px solid #f3f4f6;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  color: var(--c-text-main);
  font-family: var(--font-body);
  transition: all 0.3s ease;
  background: #f9fafb;
}

.form-input::placeholder {
  color: #d1d5db;
}

.form-input:focus {
  outline: none;
  background: #fff;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 4px var(--c-accent-soft);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--c-accent);
}

.form-group.error .form-input {
  border-color: #ef4444;
  background: #fef2f2;
  animation: shake 0.4s ease-in-out;
}

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

/* Checkbox/Captcha Error */
.form-group.error .captcha-box,
.form-group.error .checkmark {
  border-color: #ef4444;
  background-color: #fef2f2;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  animation: shake 0.4s ease-in-out;
}

.error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 6px;
  margin-left: 12px;
  font-weight: 500;
}

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

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

.captcha-group {
  background: #f9fafb;
  padding: 12px 20px;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  margin-top: 10px;
  display: inline-block;
  width: 100%;
}

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

.custom-captcha input {
  display: none;
}

.captcha-box {
  width: 28px;
  height: 28px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.captcha-check-icon {
  opacity: 0;
  color: var(--c-accent);
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.5, 1.6, 0.4, 0.7);
}

.custom-captcha input:checked + .captcha-box {
  border-color: var(--c-accent);
}

.custom-captcha input:checked + .captcha-box .captcha-check-icon {
  opacity: 1;
  transform: scale(1);
}

.captcha-text {
  font-size: 0.95rem;
  color: var(--c-text-main);
  font-weight: 500;
}

.terms-group {
  margin-top: 20px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  top: 2px;
  transition: all 0.2s;
}

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

.custom-checkbox input:checked + .checkmark {
  background-color: var(--c-accent);
  border-color: var(--c-accent);
}

.custom-checkbox input:checked + .checkmark::after {
  transform: rotate(45deg) scale(1);
}

.terms-text {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.4;
}

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

.btn--full {
  width: 100%;
  margin-top: 12px;
}

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

.btn.loading .btn-text {
  display: none;
}
.btn.loading .btn-loader {
  display: block;
}
.btn.loading {
  pointer-events: none;
  opacity: 0.8;
}

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

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.success-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 10;
}

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

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

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

.success-message h3 {
  font-size: 1.8rem;
  color: var(--c-text-main);
  margin-bottom: 12px;
}

.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: 90%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 20px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

@media (min-width: 576px) {
  .cookie-popup {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

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

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

.cookie-icon {
  width: 40px;
  height: 40px;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.3;
}

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

.text-page-main {
  padding-top: 140px;
  padding-bottom: 80px;
}

.pages {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 40px; /* Mobile */
  border-radius: 32px;
}

@media (min-width: 768px) {
  .pages {
    padding: 60px;
  }
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  color: var(--c-text-main);
}

.pages h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--c-text-main);
}

.pages p {
  margin-bottom: 16px;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.pages ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--c-text-muted);
}

.pages li {
  margin-bottom: 8px;
}

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