/* --- VARIABLES --- */
:root {
  /* Palette: Iridescent / Aurora */
  --bg-page: #fdfcff;
  --text-main: #2d3436;
  --text-muted: #636e72;

  --accent-1: #a18cd1; /* Soft Purple */
  --accent-2: #fbc2eb; /* Soft Pink */
  --accent-gradient: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);

  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Mulish", sans-serif;

  --radius-btn: 50px; /* Pill shape */
  --radius-card: 24px;
  --container: 1200px;
}

/* --- RESET & BASE --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Blobs Animation */
.ambient-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.6;
  animation: floatBlob 20s infinite alternate;
}

.ambient-blob--1 {
  top: -10%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, #fbc2eb 0%, rgba(255, 255, 255, 0) 70%);
}

.ambient-blob--2 {
  bottom: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #a18cd1 0%, rgba(255, 255, 255, 0) 70%);
  animation-delay: -5s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(50px, 50px) scale(1.1);
  }
}

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

.container,
.header__container,
.footer__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: capitalize;
}

.btn--primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 10px 20px rgba(161, 140, 209, 0.3);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(161, 140, 209, 0.4);
}

.btn--primary i {
  width: 18px;
  height: 18px;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 1rem;
}

.header__glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-btn); /* Pill header */
  padding: 0.8rem 0;
  max-width: var(--container);
  margin: 0 auto;
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-left: 0.5rem;
}

.header__logo-img {
  height: 36px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  background: var(--text-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(90deg, #2d3436, #636e72);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__list {
  display: flex;
  gap: 2.5rem;
}

.header__link {
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
}

/* Organic underline hover */
.header__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: 0.3s;
  transform: translateX(-50%);
}

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

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

.header__mobile-action {
  display: none;
}

/* Custom "Dot" Burger */
.header__burger {
  display: none;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: space-between;
  padding: 4px;
}

.burger-dot {
  width: 8px;
  height: 8px;
  background-color: var(--text-main);
  border-radius: 50%;
  transition: 0.3s;
}

.header__burger.active .burger-dot:nth-child(1) {
  transform: translate(11px, 11px);
}
.header__burger.active .burger-dot:nth-child(2) {
  opacity: 0;
}
.header__burger.active .burger-dot:nth-child(3) {
  opacity: 0;
}
.header__burger.active .burger-dot:nth-child(4) {
  transform: translate(-11px, -11px);
}

/* --- MAIN --- */
.main {
  min-height: 80vh;
  padding-top: 120px;
}

/* --- FOOTER --- */
.footer {
  background: #fff;
  position: relative;
  padding-bottom: 2rem;
  margin-top: 4rem;
}

.footer__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg) translateY(99%);
}

.footer__wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.footer__wave .shape-fill {
  fill: #fff;
}

/* Body bg is slightly colored, footer is white, so the wave creates transition */
/* Correction: Let's make footer separate from body visually */
.footer {
  background: white;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.02);
}

.footer__container {
  padding-top: 4rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.footer__logo img {
  height: 28px;
}

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

.footer__socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: 0.3s;
}

.social-link:hover {
  background: var(--accent-gradient);
  color: white;
  transform: translateY(-2px);
}

.footer__title {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

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

.footer__link:hover {
  color: #a18cd1;
  padding-left: 5px;
}

.footer__list--contacts li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.icon-circle {
  width: 24px;
  height: 24px;
  color: #a18cd1;
  flex-shrink: 0;
}

.footer__bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid #eee;
  padding-top: 2rem;
  margin: 0 1.5rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .header__nav {
    position: fixed;
    top: 80px;
    right: 10px; /* Floating menu look */
    width: calc(100% - 20px);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    flex-direction: column;
    padding: 2rem;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .header__nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .header__list {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .header__action {
    display: none;
  }
  .header__mobile-action {
    display: block;
    margin-top: 1.5rem;
  }
  .header__burger {
    display: flex;
  }

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

@media (max-width: 576px) {
  .footer__container {
    grid-template-columns: 1fr;
  }
  .header__logo-text {
    font-size: 1.1rem;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 2rem 0 6rem 0;
  overflow: hidden;
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(161, 140, 209, 0.1);
  color: #a18cd1;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(161, 140, 209, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero__title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero__text {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn--glass {
  background: white;
  color: var(--text-main);
  border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn--glass:hover {
  border-color: #a18cd1;
  color: #a18cd1;
}

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

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

.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
}

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

.stat-sep {
  width: 1px;
  height: 40px;
  background: #eee;
}

/* Visual Side with Floating Cards */
.hero__visual {
  position: relative;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__gradient-circle {
  width: 400px;
  height: 400px;
  background: var(--accent-gradient);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  position: absolute;
  animation: pulseGlow 5s infinite alternate;
}

.glass-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-radius: var(--radius-card);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  color: var(--text-main);
  animation: floatCard 6s ease-in-out infinite;
}

.glass-icon {
  color: #a18cd1;
  width: 32px;
  height: 32px;
}

.glass-card--1 {
  top: 20%;
  left: 10%;
  z-index: 2;
}

.glass-card--2 {
  bottom: 25%;
  right: 10%;
  z-index: 3;
  animation-delay: -3s; /* Desync animation */
}

@keyframes pulseGlow {
  0% {
    opacity: 0.3;
    transform: scale(0.9);
  }
  100% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

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

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

  .hero__text,
  .hero__actions,
  .hero__stats {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .hero__badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .hero__visual {
    height: 300px;
  }

  .hero__gradient-circle {
    width: 250px;
    height: 250px;
  }
}

/* --- SECTIONS COMMON --- */
.section {
  padding: 6rem 0;
  position: relative;
}

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

.section-header {
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

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

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #a18cd1;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* --- CAPABILITIES GRID (Bento/Organic) --- */
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 2rem;
}

.cap-card {
  background: #fff;
  border-radius: 32px; /* Super rounded for organic feel */
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.02),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Hover Effect: Lift & Glow */
.cap-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(161, 140, 209, 0.15);
  border-color: rgba(161, 140, 209, 0.3);
}

.cap-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a18cd1;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: 0.3s;
}

.cap-card:hover .cap-icon-box {
  background: var(--accent-gradient);
  color: white;
  transform: rotate(-5deg);
}

.cap-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.cap-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Grid Spans */
.cap-card--large {
  grid-column: span 2;
  background: linear-gradient(135deg, #fff 0%, #fdfcff 100%);
}

.cap-card--medium {
  grid-column: span 1;
}

.cap-card--wide {
  grid-column: span 3;
  background: #f8f9fc; /* Slightly darker/different background */
}

/* Visual Decoration for Large Card */
.cap-card__visual {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
}

.blob-deco {
  width: 100%;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.1;
  animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  50% {
    border-radius: 60% 40% 30% 70% / 60% 50% 40% 60%;
  }
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
}

/* Wide Card Layout */
.cap-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.cap-card__text {
  max-width: 60%;
}

.cap-card__stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-pill {
  background: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-pill i {
  color: #55efc4;
  width: 18px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #a18cd1;
  font-weight: 700;
}

.link-arrow:hover {
  gap: 0.8rem;
  color: #fbc2eb;
}

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

  .cap-card--large,
  .cap-card--medium,
  .cap-card--wide {
    grid-column: span 1;
  }

  .cap-card__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .cap-card__text {
    max-width: 100%;
  }
  .cap-card__stats {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

html {
  scroll-behavior: smooth;
}

/* --- PROCESS TIMELINE --- */
.process {
  overflow: hidden;
}

/* Ambient blob specific for this section */
.process__blob {
  position: absolute;
  top: 30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(161, 140, 209, 0.15) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  filter: blur(50px);
  z-index: -1;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* The central line */
.timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(161, 140, 209, 0) 0%,
    rgba(161, 140, 209, 0.5) 15%,
    rgba(161, 140, 209, 0.5) 85%,
    rgba(161, 140, 209, 0) 100%
  );
  transform: translateX(-50%);
}

.timeline__item {
  display: flex;
  justify-content: flex-end; /* Default: Left side content (flex-end of left half?) No, logic is relative to center */
  padding-right: 50%;
  margin-bottom: 4rem;
  position: relative;
  width: 100%;
}

.timeline__item--right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

/* The Number Bubble */
.timeline__marker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: #fff;
  border: 2px solid #fbc2eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #a18cd1;
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.5); /* Outer ring */
  transition: 0.3s;
}

.timeline__item:hover .timeline__marker {
  background: var(--accent-gradient);
  color: white;
  transform: translateX(-50%) scale(1.1);
}

/* Content Card */
.timeline__content {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  padding: 2rem;
  border-radius: 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  transition: 0.4s;
  margin: 0 2rem; /* Spacing from center line */
}

/* Connector line from center to card */
.timeline__content::before {
  content: "";
  position: absolute;
  top: 25px;
  width: 2rem;
  height: 1px;
  background: #a18cd1;
  opacity: 0.3;
}

/* Adjust connector position based on side */
.timeline__item .timeline__content::before {
  right: -2rem;
}

.timeline__item--right .timeline__content::before {
  left: -2rem;
  right: auto;
}

.timeline__item:hover .timeline__content {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(161, 140, 209, 0.15);
}

.timeline__content h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  color: var(--text-main);
}

.timeline__content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.highlight {
  color: #a18cd1;
  font-weight: 600;
}

.btn-text {
  color: #a18cd1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.btn-text:hover {
  gap: 0.8rem;
  color: #fbc2eb;
}

.btn--sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  background: #f0f2f5;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* --- RESPONSIVE TIMELINE --- */
@media (max-width: 768px) {
  .timeline__line {
    left: 20px;
  }

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

  .timeline__marker {
    left: 20px;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .timeline__content {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .timeline__item .timeline__content::before,
  .timeline__item--right .timeline__content::before {
    display: none; /* Hide connector lines on mobile */
  }
}

/* --- FAQ SECTION --- */
.faq__container {
  max-width: 800px; /* Narrower container for better readability */
}

.faq__wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}

.faq__item {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: 0.3s ease;
}

.faq__item:hover {
  box-shadow: 0 8px 30px rgba(161, 140, 209, 0.1);
  transform: translateY(-2px);
}

.faq__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  text-align: left;
  transition: 0.3s;
}

.faq__trigger:hover {
  color: #a18cd1;
}

.faq__icon {
  color: #a18cd1;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq__item.active .faq__icon {
  transform: rotate(180deg);
}

.faq__item.active .faq__trigger {
  color: #a18cd1;
  background: rgba(161, 140, 209, 0.05);
}

/* Accordion Animation Logic */
.faq__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq__body {
  padding: 0 2rem 2rem 2rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

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

/* CTA Block at the bottom */
.faq__cta {
  text-align: center;
  background: linear-gradient(135deg, #fdfbfd 0%, #f4f7f6 100%);
  padding: 3rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

/* Decor for CTA */
.faq__cta::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 150px;
  height: 150px;
  background: var(--accent-gradient);
  filter: blur(60px);
  opacity: 0.2;
}

.faq__cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.faq__cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* --- CONTACT SECTION --- */
.contact {
  padding-bottom: 8rem;
  overflow: visible; /* Allow blobs to overflow */
}

.contact__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

.contact__blob--1 {
  top: 10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(161, 140, 209, 0.2) 0%,
    transparent 70%
  );
}

.contact__blob--2 {
  bottom: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(251, 194, 235, 0.2) 0%,
    transparent 70%
  );
}

.contact__container {
  max-width: 1000px;
}

.contact__wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

/* Info Side */
.contact__title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--text-main);
}

.contact__desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact__benefits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a18cd1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Form Card Side */
.contact__form-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}

.form__title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--text-main);
}

.form__group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-left: 1rem;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a18cd1;
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.form__input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border-radius: 50px; /* Pill shape */
  border: 2px solid #f0f2f5;
  background: #fdfcff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-main);
  transition: all 0.3s;
  outline: none;
}

.form__input:focus {
  border-color: #a18cd1;
  background: white;
  box-shadow: 0 0 0 4px rgba(161, 140, 209, 0.1);
}

/* Validation Styles */
.form__input.input-error {
  border-color: #ff6b6b;
  animation: shake 0.4s ease-in-out;
}

.error-msg {
  display: none;
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-left: 1rem;
  margin-top: 0.4rem;
}

.form__input.input-error + .error-msg,
.input-wrapper:has(.input-error) + .error-msg {
  display: block;
}

/* Custom Captcha */
.captcha-container {
  margin-bottom: 1.5rem;
}

.captcha-box {
  background: #f9f9f9;
  border: 1px solid #d3d3d3;
  border-radius: 4px; /* Captcha usually boxy */
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  width: fit-content;
  position: relative;
}

.captcha-box input {
  display: none;
}

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

.captcha-box input:checked + .captcha-checkmark {
  border-color: transparent;
}

.captcha-box input:checked + .captcha-checkmark::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 2px;
  width: 6px;
  height: 14px;
  border: solid #009688; /* Captcha green */
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.captcha-text {
  font-size: 0.9rem;
  color: #555;
  font-family: Roboto, sans-serif; /* Captcha feel */
}

.captcha-logo {
  width: 32px;
  height: 32px;
  margin-left: 1rem;
  opacity: 0.7;
}

.error-msg--captcha {
  margin-top: 0.5rem;
}

/* Policy Checkbox */
.policy-check {
  margin-bottom: 2rem;
}

.policy-label {
  display: flex;
  gap: 0.8rem;
  cursor: pointer;
  align-items: flex-start;
}

.policy-label input {
  display: none;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: 0.3s;
  background: white;
  margin-top: 2px;
}

.policy-label input:checked + .custom-checkbox {
  background: #a18cd1;
  border-color: #a18cd1;
}

.policy-label input:checked + .custom-checkbox::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

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

.policy-text a {
  color: #a18cd1;
  text-decoration: underline;
}

/* Button & Loader */
.btn--block {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
}

.loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: rotate 1s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

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

/* Success Message */
.success-message {
  display: none;
  text-align: center;
  padding: 2rem 0;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #4cd137;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin: 0 auto 1.5rem auto;
  font-size: 2rem;
}

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

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

/* Responsive */
@media (max-width: 992px) {
  .contact__wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact__info {
    text-align: center;
  }
  .contact__benefits {
    align-items: center;
  }
}

/* --- COOKIE POPUP --- */
.cookie-box {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 380px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-box.show {
  transform: translateY(0);
}

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

.cookie-icon {
  color: #a18cd1;
  flex-shrink: 0;
}

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

/* --- TEXT PAGES STYLES (Privacy, Terms etc.) --- */
.pages {
  padding: 4rem 0 8rem 0;
}

.pages .container {
  max-width: 800px;
  background: #fff;
  padding: 3rem; /* Paper-like feel */
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-main);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.pages h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

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

.pages ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.pages li {
  list-style-type: disc;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.pages a {
  color: #a18cd1;
  font-weight: 600;
}

/* Responsive Cookies */
@media (max-width: 576px) {
  .cookie-box {
    right: 1rem;
    left: 1rem;
    width: auto;
    bottom: 1rem;
  }
}

html,
body {
  overflow-x: hidden;
}
