/* --- Variables & Reset --- */
:root {
  --font-main: 'Manrope', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;

  --color-bg: #0f1115; /* Глубокий темный */
  --color-surface: #1c1f26; /* Чуть светлее для блоков */
  --color-text: #eaeaea; /* Светло-серый текст */
  --color-text-muted: #9ca3af;
  --color-accent: #ccff00; /* Кислотный лайм - свежесть */
  --color-accent-hover: #b3e600;
  --color-border: #2e333d;

  --container-width: 1280px;
  --header-height: 80px;

  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: var(--color-accent);
  color: #000;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(204, 255, 0, 0.2);
}

.btn--small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

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

.header__nav {
  display: none;
}

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

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

.header__link {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
  position: relative;
}

.header__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: var(--transition);
}

.header__link:hover {
  color: var(--color-text);
}

.header__link:hover::after {
  width: 100%;
}

.header__actions {
  display: none;
}

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

.header__burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

@media (min-width: 992px) {
  .header__burger {
    display: none;
  }
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
}

/* --- Main Content Placeholder --- */
.main {
  padding-top: var(--header-height);
  min-height: 60vh; /* Временно, чтобы футер не "прыгал" */
}

/* --- Footer --- */
.footer {
  background-color: var(--color-surface);
  padding: 80px 0 24px;
  border-top: 1px solid var(--color-border);
}

.footer__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

@media (min-width: 1024px) {
  .footer__container {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
  }
}

.footer__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--color-text);
}

.footer__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 16px 0;
  max-width: 300px;
}

.footer__note {
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-top: 10px;
  opacity: 0.8;
}

.footer__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
}

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

.footer__link {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.footer__link:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer__contact-item a:hover {
  color: var(--color-accent);
}

.footer__icon {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer__bottom {
  max-width: var(--container-width);
  margin: 60px auto 0;
  padding: 24px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh; /* Занимает весь экран */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Фон */
  pointer-events: none;
  opacity: 0.6;
}

.hero__container {
  position: relative;
  z-index: 2; /* Контент поверх канваса */
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  width: 100%;
}

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

/* Badge */
.hero__badge-wrapper {
  margin-bottom: 24px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}

/* Typography */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}

.hero__title-highlight {
  color: transparent;
  -webkit-text-stroke: 1px var(--color-accent);
  position: relative;
}

/* Добавляем эффект заливки текста при наведении или появлении */
.hero__title-highlight::after {
  content: 'для обычной жизни';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  color: var(--color-accent);
  overflow: hidden;
  transition: width 1s ease-in-out;
  border-right: 2px solid var(--color-accent);
  white-space: nowrap;
  -webkit-text-stroke: 0;
  animation: fillText 2s 1s forwards cubic-bezier(0.22, 0.61, 0.36, 1);
}

@keyframes fillText {
  to {
    width: 100%;
    border-right-color: transparent;
  }
}

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

/* Actions */
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

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

.hero__btn {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  max-width: 200px;
  line-height: 1.3;
}

.hero__note-icon {
  color: var(--color-accent);
  width: 16px;
  height: 16px;
}

/* Visual Card (Right side) */
.hero__visual {
  display: none;
  justify-content: flex-end;
}

@media (min-width: 992px) {
  .hero__visual {
    display: flex;
  }
}

.hero__stat-card {
  background: rgba(28, 31, 38, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  border-radius: 16px;
  width: 320px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

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

.hero__stat-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero__live-indicator {
  color: #ff3333;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hero__live-indicator::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: #ff3333;
  border-radius: 50%;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.hero__stat-footer {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.hero__scroll:hover {
  opacity: 1;
}

.hero__scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-text-muted), transparent);
}

/* --- Common Section Styles --- */
.section {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 40px;
  line-height: 1.1;
}

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

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--color-accent);
}

/* --- Bento Grid --- */
.bento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@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);
  }
}

.bento__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento__item:hover {
  border-color: var(--color-accent);
  transform: translateY(-5px);
}

/* Специфичные размеры для грида */
@media (min-width: 992px) {
  .bento__item--large {
    grid-column: span 2;
  }
  .bento__item--wide {
    grid-column: span 2;
  }
}

.bento__item--accent {
  background: var(--color-accent);
  color: #000;
  border: none;
}

.bento__item--accent .bento__desc {
  color: rgba(0, 0, 0, 0.7);
}

.bento__icon {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.bento__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

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

.bento__tag {
  margin-top: 20px;
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
}

.bento__stat {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

/* Wide item styles */
.bento__content--row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.bento__visual-side {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
}

.bento__graph-bar {
  width: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: height 0.5s;
}

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

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

/* --- Sticky Scroll Cases --- */
.cases__container {
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
}

@media (min-width: 992px) {
  .cases__container {
    flex-direction: row;
    gap: 60px;
  }
}

.cases__content {
  flex: 1;
  padding-bottom: 100px; /* Запас для скролла */
}

.cases__intro-text {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 60px;
  max-width: 480px;
}

.cases__step {
  padding: 40px 0;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding-left: 30px;
  margin-bottom: 20px;
  opacity: 0.3;
  transition: opacity 0.5s;
}

.cases__step.active {
  opacity: 1;
  border-left-color: var(--color-accent);
}

.cases__number {
  display: block;
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.cases__title {
  font-size: 1.8rem;
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.cases__list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cases__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
}

.cases__list i {
  width: 16px;
  color: var(--color-accent);
}

.cases__quote {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--color-accent);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Sticky Visual */
.cases__visual-wrapper {
  flex: 1;
  position: relative;
  display: none;
}

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

.cases__visual {
  position: sticky;
  top: 150px;
  height: 400px;
  width: 100%;
  background: #14171d;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.cases__card {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.cases__card.active {
  opacity: 1;
  transform: translateY(0);
}

.cases__card-icon {
  width: 60px;
  height: 60px;
  background: var(--color-accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.cases__card-icon i {
  width: 30px;
  height: 30px;
}

/* Fake UI elements for visuals */
.fake-ui-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 12px;
  border-radius: 4px;
}

.fake-ui-btn {
  margin-top: 20px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--color-text);
}

.fake-ui-btn.btn-accent {
  background: var(--color-accent);
  color: #000;
  border: none;
}

.fake-ui-circle {
  width: 100px;
  height: 100px;
  border: 8px solid var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* --- Marquee (Бегущая строка) --- */
.marquee-wrapper {
  background: var(--color-accent);
  color: #000;
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  z-index: 5;
  transform: rotate(-1deg) scale(1.05); /* Легкий наклон для динамики */
  margin: 40px 0;
}

.marquee {
  display: flex;
  white-space: nowrap;
  animation: scroll 20s linear infinite;
}

.marquee span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  padding-right: 40px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- Creative Section --- */
.creative {
  position: relative;
}

.creative__header {
  margin-bottom: 60px;
  max-width: 600px;
}

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

.creative__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .creative__gallery {
    grid-template-columns: repeat(3, 1fr);
    height: 500px; /* Фиксированная высота для десктопа */
  }
}

.creative__card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

/* Эффект аккордеона для десктопа: при наведении карточка расширяется */
@media (min-width: 768px) {
  .creative__card {
    flex: 1; /* Все равны */
  }

  .creative__card:hover {
    flex: 2.5; /* Активная становится шире */
    background: transparent;
    border-color: var(--color-accent);
  }
}

.creative__card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}

/* Оверлей чтобы текст читался на картинке */
.creative__card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.9));
}

.creative__card:hover .creative__card-bg {
  opacity: 1;
}

.creative__card-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.creative__card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto; /* Толкает контент вниз */
}

.creative__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

.creative__icon {
  color: var(--color-accent);
  width: 24px;
  height: 24px;
}

.creative__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #fff;
  transform: translateY(20px);
  transition: transform 0.5s;
}

.creative__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  opacity: 0; /* Скрыт по умолчанию */
  transform: translateY(20px);
  transition: all 0.5s;
  display: none; /* Скрыт на мобильном для экономии места, или можно оставить */
}

@media (min-width: 768px) {
  .creative__text {
    display: block;
  }
}

.creative__btn {
  align-self: flex-start;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s 0.1s; /* Небольшая задержка */
}

/* Hover States */
.creative__card:hover .creative__title {
  transform: translateY(0);
}

.creative__card:hover .creative__text {
  opacity: 1;
  transform: translateY(0);
  color: #ddd; /* Светлее на темном фоне */
}

.creative__card:hover .creative__btn {
  opacity: 1;
  transform: translateY(0);
}

.creative__footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  opacity: 0.6;
}
/* --- Contact Section --- */
.contact__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .contact__container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

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

.contact__details {
  margin-top: 20px;
}

.contact__detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  color: var(--color-text);
}

.contact__detail-item i {
  color: var(--color-accent);
}

/* --- Form Styles --- */
.contact__form-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 40px;
  border-radius: 24px;
  position: relative;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.3s;
}

.form.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute; /* Убираем из потока при скрытии */
  visibility: hidden;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

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

.form__input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form__input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(204, 255, 0, 0.1);
}

.form__input.error {
  border-color: #ff3333;
}

.form__error {
  font-size: 0.8rem;
  color: #ff3333;
  display: none; /* Скрыто по умолчанию */
  margin-top: 4px;
}

.form__input.error + .form__error {
  display: block;
}

/* Checkbox */
.form__checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
}

.form__checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.form__checkbox-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  cursor: pointer;
}

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

.form__btn {
  width: 100%;
  margin-top: 10px;
}

/* Success Message */
.form__success {
  display: none; /* Скрыто */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
  height: 100%;
  animation: fadeIn 0.5s ease;
}

.form__success.visible {
  display: flex;
}

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

.form__success-icon {
  width: 80px;
  height: 80px;
  background: rgba(204, 255, 0, 0.1);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.form__success-icon i {
  width: 40px;
  height: 40px;
}

.form__success-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form__success-text {
  color: var(--color-text-muted);
}

/* --- Cookie Pop-up --- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 9999;
  background: rgba(28, 31, 38, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  max-width: 400px;
}

@media (min-width: 768px) {
  .cookie-popup {
    left: 30px;
    right: auto;
  }
}

.cookie-popup.active {
  transform: translateY(0);
}

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

.cookie-popup__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

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

/* --- Pages Styles (Privacy, Terms etc.) --- */
.pages {
  padding: 60px 0 100px;
  min-height: 70vh;
}

.pages h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 40px;
  color: #fff;
}

.pages h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--color-text);
}

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

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

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

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

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