:root {
  /* Palette: Airy Pastel */
  --color-bg: #f9fafc; /* Дуже світлий сірий, майже білий */
  --color-surface: #ffffff;
  --color-primary: #6c5dd3; /* М'який індиго */
  --color-primary-hover: #5a4cb0;
  --color-accent: #ff9f43; /* Пастельний помаранчевий для кнопок */
  --color-text-main: #2d3436;
  --color-text-muted: #636e72;
  --color-border: #e8eaf6;

  /* Geometry */
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-xl: 40px; /* Hyper rounded */

  /* Spacing */
  --container-width: 1240px;
  --header-height: 90px;

  /* Typography */
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;

  /* Effects */
  --shadow-soft: 0 10px 40px -10px rgba(108, 93, 211, 0.1);
  --shadow-hover: 0 20px 60px -15px rgba(108, 93, 211, 0.2);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  background-color: var(--color-bg);
  color: var(--color-text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height); /* Compensation for fixed header */
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
button {
  font-family: inherit;
  border: none;
  outline: none;
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}

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

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
}

.header__logo-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%; /* Perfect circle */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(108, 93, 211, 0.3);
}

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

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

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

/* Micro-animation: Hover underline scale */
.header__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.header__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__cta {
  background: var(--color-primary);
  color: #fff;
  padding: 12px 32px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.header__cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

/* Burger Menu */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  padding: 10px;
}

.header__burger-line {
  width: 28px;
  height: 3px;
  background-color: var(--color-text-main);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- FOOTER --- */
.footer {
  background: var(--color-surface);
  padding: 80px 0 20px;
  margin-top: 100px;
  border-top-left-radius: 60px; /* Unconventional rounding */
  border-top-right-radius: 60px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.02);
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.footer__desc {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.footer__badge {
  display: inline-block;
  background: #e8f0fe;
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

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

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

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

.footer__link:hover {
  color: var(--color-primary);
  padding-left: 5px; /* Micro-animation: shift */
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.footer__contact-item svg {
  min-width: 20px;
  width: 20px;
  color: var(--color-accent);
}

.footer__bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 2px dashed var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* --- ADAPTIVE --- */
@media (max-width: 992px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-surface);
    flex-direction: column;
    padding: 40px 20px;
    transition: right 0.4s ease;
    border-radius: 0 0 0 40px;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.05);
  }

  .header__nav.active {
    right: 0;
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .header__burger {
    display: flex;
  }

  .header__actions {
    margin-top: 30px;
  }

  /* Burger Animation Class */
  .header__burger.active .header__burger-line:first-child {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .header__burger.active .header__burger-line:last-child {
    transform: rotate(-45deg) translate(5px, -6px);
  }

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

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

  .footer {
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  min-height: 90vh; /* Almost full screen */
  display: flex;
  align-items: center;
}

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

/* Dynamically created blobs will use this class */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  animation: float 10s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ede7f6; /* Light purple tint */
  color: var(--color-primary);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 3.5rem; /* Large typography */
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-accent);
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px; /* Hyper rounded */
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 15px 30px rgba(255, 159, 67, 0.3);
  width: fit-content;
}

.hero__btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 159, 67, 0.4);
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  opacity: 0.8;
}

.hero__note svg {
  width: 16px;
  height: 16px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
}

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

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

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

/* Visual Side */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 600px;
  border-radius: 200px 200px 40px 40px; /* Unique shape: Tombstone-like but softer */
  overflow: visible; /* Allow floating cards to pop out */
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 200px 200px 40px 40px;
  box-shadow: var(--shadow-soft);
}

/* Floating Elements */
.hero__float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float 6s ease-in-out infinite;
}

.hero__float-card--1 {
  top: 15%;
  left: -40px;
  animation-delay: 0s;
}

.hero__float-card--2 {
  bottom: 15%;
  right: -20px;
  animation-delay: 2s;
}

.hero__icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e3f2fd;
  color: #2196f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__icon-box--accent {
  background: #fff3e0;
  color: #ff9800;
}

.hero__float-card strong {
  display: block;
  font-size: 1rem;
  color: var(--color-text-main);
}

.hero__float-card span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Adaptive Hero */
@media (max-width: 992px) {
  .hero__title {
    font-size: 2.5rem;
  }
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__actions {
    align-items: center;
  }
  .hero__stats {
    justify-content: center;
  }
  .hero__visual {
    margin-top: 40px;
  }
  .hero__float-card--1 {
    left: 0;
  }
  .hero__float-card--2 {
    right: 0;
  }
}

@media (max-width: 576px) {
  .hero__title {
    font-size: 2rem;
  }
  .hero__image-wrapper {
    height: 400px;
    border-radius: 100px 100px 30px 30px;
  }
  .hero__float-card {
    padding: 12px 16px;
  }
}

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

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.text-highlight {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.text-highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: #ffeb3b; /* Highlighter yellow */
  opacity: 0.6;
  z-index: -1;
  transform: rotate(-2deg);
  border-radius: 4px;
}

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

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

/* Base Bento Item */
.bento-item {
  background: #fff;
  border-radius: 40px; /* Hyper rounded consistent */
  padding: 32px;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

/* Sizes */
.bento-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

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

.bento-item--wide {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-item--cta {
  background: var(--color-text-main);
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Content Layout */
.bento-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

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

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
}

.bento-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Themes (Soft Pastel Backgrounds) */
.theme-blue {
  background: linear-gradient(135deg, #f5f7fa 0%, #e3f2fd 100%);
}
.theme-purple {
  background: linear-gradient(135deg, #f3e5f5 0%, #f9fafc 100%);
}
.theme-orange {
  background: linear-gradient(135deg, #fff3e0 0%, #fff8e1 100%);
}
.theme-green {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
}
.theme-dark {
  background: #2d3436;
  color: #fff;
}

/* Elements */
.bento-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.bento-tags span {
  background: rgba(255, 255, 255, 0.6);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.bento-link i {
  width: 18px;
}

.bento-link-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.bento-link-circle:hover {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(90deg);
}

.btn-small {
  background: #fff;
  color: var(--color-text-main);
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  transition: var(--transition);
}

.btn-small:hover {
  transform: scale(1.05);
}

.badge {
  background: #ff5252;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: auto;
}

.bento-header {
  display: flex;
  align-items: center;
}

.text-white {
  color: #fff;
}
.text-white-50 {
  color: rgba(255, 255, 255, 0.6);
}

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

  .bento-item--large,
  .bento-item--wide,
  .bento-item--cta {
    grid-column: span 2;
  }

  .bento-item--tall {
    grid-column: span 1;
    grid-row: span 1; /* Reset height */
    min-height: 280px;
  }
}

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

  .bento-item--large,
  .bento-item--wide,
  .bento-item--cta,
  .bento-item--tall {
    grid-column: span 1;
    grid-row: auto;
  }
}

/* --- TIMELINE SECTION --- */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

/* The vertical dashed line */
.timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-image: linear-gradient(
    to bottom,
    var(--color-primary) 50%,
    transparent 50%
  );
  background-size: 2px 20px; /* Dashed effect */
  transform: translateX(-50%);
  opacity: 0.3;
  z-index: 0;
}

.timeline__item {
  display: flex;
  justify-content: flex-end; /* Default: content on left */
  padding-right: 50%; /* Push to left side */
  position: relative;
  margin-bottom: 60px;
}

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

.timeline__item--right {
  justify-content: flex-start; /* Content on right */
  padding-right: 0;
  padding-left: 50%; /* Push to right side */
}

/* The Circular Marker (Number) */
.timeline__marker {
  position: absolute;
  top: 20px;
  right: -25px; /* Center on line (50px width / 2) */
  width: 50px;
  height: 50px;
  background: var(--color-surface);
  border: 4px solid #e8eaf6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
  z-index: 2;
  box-shadow: 0 0 0 10px var(--color-bg); /* Mask the line behind */
  transition: var(--transition);
}

.timeline__item--right .timeline__marker {
  right: auto;
  left: -25px;
}

.timeline__item:hover .timeline__marker {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.1);
}

/* The Content Card */
.timeline__content {
  width: 90%;
  background: var(--color-surface);
  padding: 32px;
  border-radius: 40px; /* Hyper rounded */
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

/* Little arrow pointing to marker */
.timeline__item:not(.timeline__item--right) .timeline__content {
  margin-right: 40px;
  border-top-right-radius: 0; /* Asymmetric shape */
}

.timeline__item--right .timeline__content {
  margin-left: 40px;
  border-top-left-radius: 0; /* Asymmetric shape */
}

.timeline__content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

/* Icon inside card */
.timeline__icon {
  width: 50px;
  height: 50px;
  border-radius: 20px;
  background: #e3f2fd;
  color: #2196f3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.theme-purple-icon {
  background: #f3e5f5;
  color: #9c27b0;
}
.theme-orange-icon {
  background: #fff3e0;
  color: #ff9800;
}
.theme-green-icon {
  background: #e8f5e9;
  color: #4caf50;
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--color-text-main);
}

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

.timeline__badge {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 16px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* --- ADAPTIVE TIMELINE --- */
@media (max-width: 768px) {
  .timeline__line {
    left: 30px; /* Move line to left */
    transform: translateX(0);
  }

  .timeline__item {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 80px; /* Space for line */
  }

  .timeline__item--right {
    padding-left: 80px; /* Same as left items */
  }

  .timeline__marker {
    left: 5px; /* Position on left line */
    right: auto;
  }

  .timeline__item--right .timeline__marker {
    left: 5px;
  }

  .timeline__content,
  .timeline__item--right .timeline__content {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-radius: 30px; /* Reset asymmetric shape for mobile consistency */
    border-top-left-radius: 0;
  }
}

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

.faq-item {
  background: var(--color-surface);
  border-radius: 30px; /* Hyper rounded */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid transparent;
}

.faq-item:hover {
  box-shadow: var(--shadow-soft);
  border-color: rgba(108, 93, 211, 0.1); /* Primary color hint */
}

.faq-item.active {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-primary);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  background: transparent;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  cursor: pointer;
}

.faq-icon {
  min-width: 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--color-primary);
}

/* Rotate icon when active */
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--color-primary);
  color: #fff;
}

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

.faq-content {
  padding: 0 32px 32px;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* CTA below FAQ */
.faq-cta {
  text-align: center;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

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

.btn-text {
  color: var(--color-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
}

.btn-text:hover {
  color: var(--color-accent);
  gap: 12px; /* Arrow moves away */
}

@media (max-width: 576px) {
  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }
  .faq-content {
    padding: 0 20px 24px;
  }
}

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

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

/* Info Side */
.contact__benefits {
  margin: 32px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.benefit-icon {
  color: var(--color-primary);
}

.contact__visual-card {
  background: #fff;
  padding: 20px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}

.cv-icon {
  width: 48px;
  height: 48px;
  background: #e8eaf6;
  border-radius: 50%;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Form Wrapper */
.contact__form-wrapper {
  position: relative;
  background: #fff;
  padding: 40px;
  border-radius: 40px; /* Hyper rounded */
  box-shadow: 0 20px 80px -10px rgba(108, 93, 211, 0.15);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 24px;
  text-align: center;
}

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

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

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.form-input {
  width: 100%;
  padding: 16px 20px 16px 52px; /* Space for icon */
  border: 2px solid #f0f2f5;
  background: #f9fafc;
  border-radius: 20px; /* Rounded inputs */
  font-size: 1rem;
  color: var(--color-text-main);
  transition: var(--transition);
}

.form-input:focus {
  background: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(108, 93, 211, 0.1);
}

.form-input:focus + .input-icon {
  color: var(--color-primary);
}

/* Error State */
.form-input.error {
  border-color: #ff5252;
  background: #fff5f5;
}

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

.form-input.error ~ .error-msg {
  display: block;
}

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  user-select: none;
  margin-bottom: 16px;
}

.custom-checkbox input {
  display: none; /* Hide default */
}

.checkmark {
  min-width: 24px;
  width: 24px;
  height: 24px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  position: relative;
  transition: var(--transition);
}

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

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

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

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

/* Captcha Box */
.captcha-box {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  padding: 12px 20px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  width: fit-content;
  min-width: 250px;
}

.captcha-label {
  margin-bottom: 0;
  align-items: center;
}

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

.captcha-logo {
  width: 28px;
  opacity: 0.6;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  padding: 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(255, 159, 67, 0.3);
  transition: var(--transition);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 159, 67, 0.4);
  background: #ffa755;
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 16px;
  opacity: 0.7;
}

/* Success Message */
.success-message {
  display: none;
  text-align: center;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  animation: fadeIn 0.5s ease;
}

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

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

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

/* Adaptive Contact */
@media (max-width: 992px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__info {
    text-align: center;
  }
  .contact__benefits {
    align-items: center;
  }
  .contact__visual-card {
    display: none;
  }
}

@media (max-width: 576px) {
  .contact__form-wrapper {
    padding: 30px 20px;
    border-radius: 30px;
  }
  .captcha-box {
    width: 100%;
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px); /* Hidden by default */
  width: 90%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 24px;
  border-radius: 30px; /* Hyper rounded */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  z-index: 9999;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

.cookie-popup.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: all;
}

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

.cookie-icon {
  min-width: 40px;
  width: 40px;
  height: 40px;
  background: #fff3e0;
  color: #ff9800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-text p {
  font-size: 0.9rem;
  color: var(--color-text-main);
  line-height: 1.4;
  margin: 0;
}

.cookie-text a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-btn {
  background: var(--color-text-main);
  color: #fff;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

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

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

/* --- LEGAL PAGES STYLES --- */
.page-section {
  padding: 120px 0 80px; /* Extra top padding for fixed header */
}

.pages {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 60px;
  border-radius: 40px;
  box-shadow: var(--shadow-soft);
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--color-primary);
}

.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 30px 0 16px;
  color: var(--color-text-main);
}

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

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

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

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

@media (max-width: 768px) {
  .pages {
    padding: 30px;
    border-radius: 30px;
  }
  .pages h1 {
    font-size: 2rem;
  }
}
