/* --- VARIABLES & RESET --- */
:root {
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --primary: #06b6d4; /* Cyan */
  --accent: #8b5cf6; /* Violet */
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;

  --font-heading: "Outfit", sans-serif;
  --font-body: "Inter", sans-serif;

  --radius-lg: 30px;
  --radius-full: 9999px;

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

  --glow-primary: 0 0 20px rgba(6, 182, 212, 0.5);
  --glow-accent: 0 0 20px rgba(139, 92, 246, 0.5);
}

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

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

/* --- GLOBAL CONTAINER FIX --- */
.container {
  width: 100%;
  max-width: var(--container-width); /* Обмеження ширини (1200px) */
  margin: 0 auto; /* Центрування по центру */
  padding-left: 24px; /* Безпечний відступ зліва */
  padding-right: 24px; /* Безпечний відступ справа */
}

/* Для мобільних можна зробити відступи трохи меншими, якщо треба */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

html {
  scroll-behavior: smooth;
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}
img {
  max-width: 100%;
  display: block;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* --- UTILITIES --- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--glow {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn--glow:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.6);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: var(--container-width);
  height: var(--header-height);
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 30px;
}

.header__container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo-img {
  height: 40px;
}

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

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

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

.header__link:hover {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

.header__burger {
  display: none;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* --- MOBILE MENU STYLES --- */
@media (max-width: 992px) {
  .header__nav {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
  }

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

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

  .header__burger {
    display: block;
  }

  .header__cta {
    width: 100%;
    text-align: center;
  }
}

/* --- FOOTER --- */
.footer {
  background: linear-gradient(to bottom, var(--bg-dark), #020617);
  padding: 80px 20px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto; /* Push to bottom if content is short */
}

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

.footer__logo img {
  height: 35px;
  margin-bottom: 20px;
}

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

.footer__socials {
  display: flex;
  gap: 15px;
}

.footer__socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
  border: 1px solid transparent;
}

.footer__socials a:hover {
  background: transparent;
  border-color: var(--primary);
  box-shadow: var(--glow-primary);
  transform: translateY(-3px);
}

.footer__title {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: white;
}

.footer__list li {
  margin-bottom: 12px;
}

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

.footer__link:hover {
  color: var(--accent);
  padding-left: 5px; /* Slight shift effect */
}

.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer__contact-list i {
  color: var(--primary);
  min-width: 20px;
}

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

/* Responsive Footer */
@media (max-width: 992px) {
  .footer__container {
    grid-template-columns: 1fr 1fr;
  }
}

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

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

/* Canvas Background */
.hero__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 70% 50%,
      rgba(6, 182, 212, 0.1),
      transparent 60%
    ),
    linear-gradient(to bottom, var(--bg-dark), rgba(15, 23, 42, 0.8));
  z-index: 2;
}

.hero__container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Typography & Content */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--primary);
  margin-bottom: 25px;
  backdrop-filter: blur(5px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary);
}

.hero__title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.text-highlight {
  color: var(--text-main);
  border-bottom: 1px dashed var(--accent);
}

.hero__actions {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.btn--glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

/* Stats */
.hero__stats {
  display: flex;
  gap: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-item {
  display: flex;
  flex-direction: column;
}

.hero__stat-num {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: white;
}

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

/* Visuals */
.hero__visual {
  position: relative;
  padding: 20px;
}

.hero__image-wrapper {
  position: relative;
  border-radius: 40px; /* Hyper-rounded */
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Floating Cards */
.hero__card {
  position: absolute;
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(15px);
  padding: 15px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 5;
  max-width: 240px;
}

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

.hero__card strong {
  display: block;
  font-size: 0.9rem;
  color: white;
}

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

.hero__card--1 {
  top: 10%;
  left: -20px;
  border-left: 3px solid var(--primary);
}

.hero__card--2 {
  bottom: 15%;
  right: -20px;
  border-left: 3px solid var(--accent);
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.floating {
  animation: float 6s ease-in-out infinite;
}
.floating-delayed {
  animation: float 7s ease-in-out infinite 1s;
}

/* Responsive Hero */
@media (max-width: 992px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 40px;
  }

  .hero__desc {
    margin: 0 auto 40px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    margin-top: 50px;
    transform: scale(0.9);
  }

  .hero__title {
    font-size: 2.5rem;
  }
}

/* --- METHODOLOGY SECTION --- */
.methodology {
  padding: 100px 0;
  position: relative;
}

/* Common Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

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

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Card Styles (Glassmorphism + Hyper Rounded) */
.card {
  background: rgba(30, 41, 59, 0.4); /* Напівпрозорий фон */
  backdrop-filter: blur(10px); /* Розмиття фону */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 40px; /* Гіпер-округлення */
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

/* Gradient border effect on hover via pseudo-element */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 40px;
  padding: 2px;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  background: rgba(30, 41, 59, 0.6);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(6, 182, 212, 0.3);
}

.card:hover::before {
  background: linear-gradient(135deg, var(--primary), transparent);
  opacity: 1;
}

/* Icon Box */
.card__icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--primary);
  font-size: 24px;
  transition: all 0.3s ease;
}

.card:hover .card__icon-box {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  transform: rotate(5deg) scale(1.1);
}

/* Highlighted Card (Center) */
.card--highlight .card__icon-box {
  color: var(--accent);
}

.card--highlight:hover {
  border-color: rgba(139, 92, 246, 0.3);
}

.card--highlight:hover .card__icon-box {
  background: var(--accent);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.card--highlight:hover::before {
  background: linear-gradient(135deg, var(--accent), transparent);
}

.card__title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: white;
}

.card__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

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

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

  .card {
    padding: 30px 20px;
  }
}

/* --- PLATFORM SECTION --- */
.platform {
  padding: 100px 0;
  overflow: hidden; /* Щоб декоративні елементи не вилазили */
}

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

/* Text Content */
.platform__badge {
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.platform__title {
  text-align: left;
  margin-bottom: 25px;
}

.platform__desc {
  text-align: left;
  margin-bottom: 35px;
}

.platform__list {
  margin-bottom: 40px;
}

.platform__item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--text-main);
}

.platform__check {
  width: 24px;
  height: 24px;
  background: rgba(6, 182, 212, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
}

.platform__check i {
  width: 14px;
  height: 14px;
}

/* Visual Area */
.platform__visual {
  position: relative;
  padding: 20px;
}

/* Background Glow Blobs */
.platform__blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.4;
}

.platform__blob--1 {
  background: var(--primary);
  top: -50px;
  right: -50px;
}

.platform__blob--2 {
  background: var(--accent);
  bottom: -50px;
  left: -50px;
}

/* Dashboard Mockup (CSS Only Interface) */
.dashboard-mockup {
  position: relative;
  z-index: 2;
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px; /* Hyper rounded */
  padding: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) rotateY(10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.dashboard-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.dashboard__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dashboard__dots {
  display: flex;
  gap: 6px;
}

.dashboard__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.dashboard__search {
  flex-grow: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 10px;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.dashboard__body {
  display: flex;
  gap: 20px;
  height: 250px;
}

.dashboard__sidebar {
  width: 50px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 10px;
}

.dash-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.w-80 {
  width: 80%;
}
.w-60 {
  width: 60%;
}
.w-40 {
  width: 40%;
}

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

.dashboard__stat-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.dashboard__stat-card span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dashboard__stat-card strong {
  font-size: 1.2rem;
  color: var(--primary);
}

/* Animated Graph */
.dashboard__graph {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  gap: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.graph-bar {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  height: 0;
  animation: growBar 1.5s ease-out forwards;
}

.graph-bar.active {
  background: linear-gradient(to top, var(--primary), var(--accent));
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.graph-bar:nth-child(1) {
  animation-delay: 0.2s;
  height: var(--h);
}
.graph-bar:nth-child(2) {
  animation-delay: 0.4s;
  height: var(--h);
}
.graph-bar:nth-child(3) {
  animation-delay: 0.6s;
  height: var(--h);
}
.graph-bar:nth-child(4) {
  animation-delay: 0.8s;
  height: var(--h);
}
.graph-bar:nth-child(5) {
  animation-delay: 1s;
  height: var(--h);
}

@keyframes growBar {
  from {
    height: 0;
  }
  to {
    height: var(--h);
  }
}

.dashboard__status {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: var(--bg-card);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: float 5s ease-in-out infinite;
}

.dashboard__status i {
  width: 16px;
  height: 16px;
}

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

  .platform__content {
    order: 1;
    text-align: left;
  }

  .platform__visual {
    order: 2;
    transform: scale(0.9);
  }
}

/* --- REVIEWS SECTION --- */
.reviews {
  padding: 100px 0;
  position: relative;
  /* Легкий фоновий градієнт для виділення секції */
  background: radial-gradient(
    circle at 50% 50%,
    rgba(6, 182, 212, 0.05),
    transparent 70%
  );
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

/* Review Card */
.review-card {
  background: rgba(30, 41, 59, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.1);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}

.review-card__avatar {
  width: 50px;
  height: 50px;
  /* Додаємо цей рядок, щоб заборонити стиснення: */
  flex-shrink: 0;

  background: var(--primary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.review-card__info {
  flex-grow: 1;
}

.review-card__name {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 2px;
}

.review-card__loc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-card__rating {
  display: flex;
  gap: 2px;
}

.review-card__rating i {
  width: 16px;
  height: 16px;
  color: #fbbf24; /* Gold color for stars */
  fill: #fbbf24;
}

.review-card__text {
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

.review-card__text strong {
  color: var(--text-main);
  font-style: normal;
}

/* FAQ Preview Block (Call To Action) */
.faq-preview {
  background: linear-gradient(
    135deg,
    rgba(30, 41, 59, 0.8),
    rgba(15, 23, 42, 0.9)
  );
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 40px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
}

.faq-preview__content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: white;
}

.faq-preview__content p {
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .faq-preview {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 30px;
  }
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 100px 0;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__wrapper {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.contact__card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.contact__header {
  text-align: center;
  margin-bottom: 30px;
}

.contact__title {
  font-size: 2rem;
  color: white;
  margin-bottom: 10px;
}

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

/* Form Styles */
.form__group {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  color: var(--text-main);
  font-size: 0.9rem;
  margin-bottom: 8px;
  font-weight: 500;
}

.form__input-wrapper {
  position: relative;
}

.form__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: 0.3s ease;
}

.form__input {
  width: 100%;
  padding: 14px 14px 14px 45px; /* місце для іконки */
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.form__input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
  background: rgba(15, 23, 42, 0.8);
}

.form__input:focus + .form__icon,
.form__input-wrapper:focus-within .form__icon {
  color: var(--primary);
}

.form__error {
  display: none;
  color: #ef4444; /* Red */
  font-size: 0.8rem;
  margin-top: 5px;
}

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

.form__captcha-box {
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  max-width: 300px;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  background-color: white;
  border-radius: 2px;
  margin-right: 12px;
  position: relative;
  transition: 0.2s;
}

.custom-checkbox:hover .checkmark {
  border-color: #b2b2b2;
}

.custom-checkbox input:checked ~ .checkmark {
  border-color: var(--primary);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #0f9d58;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.captcha-text {
  color: #333;
  font-size: 14px;
  font-weight: 500;
}

.captcha-logo {
  height: 28px;
  opacity: 0.7;
}

/* Simple Terms Checkbox */
.form__terms {
  margin-bottom: 25px;
}

.custom-checkbox-simple {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.custom-checkbox-simple input {
  display: none;
}

.checkmark-simple {
  min-width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  margin-top: 2px;
}

.custom-checkbox-simple input:checked ~ .checkmark-simple {
  background: var(--primary);
  border-color: var(--primary);
}

.checkmark-simple:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox-simple input:checked ~ .checkmark-simple:after {
  display: block;
}

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

/* Button & Loader */
.form__btn {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.btn-loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.form__btn.loading .btn-text {
  visibility: hidden;
}

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

.success-message {
  display: none;
  text-align: center;
  animation: fadeIn 0.5s ease;
  padding: 20px 0;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  color: var(--primary);
}

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

.success-message h3 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 10px;
}

.success-message p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

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

.cookie-popup {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: bottom 0.5s ease-out;
}

.cookie-popup.show {
  bottom: 30px;
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cookie-content i {
  color: var(--primary);
  min-width: 24px;
}

.cookie-content a {
  color: white;
  text-decoration: underline;
}

.cookie-btn {
  padding: 10px 25px;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (max-width: 576px) {
  .cookie-popup {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .cookie-btn {
    width: 100%;
  }
}

.pages {
  padding: 140px 0 80px; /* Відступ зверху під хедер */
  min-height: 100vh;
}

.pages h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pages h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 20px;
}

.pages p {
  color: var(--text-muted);
  margin-bottom: 15px;
  font-size: 1rem;
  line-height: 1.7;
}

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

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

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

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

.pages a:hover {
  color: var(--primary);
}
