/* --- Variables & Reset --- */
:root {
  /* Palette: Aurora & Mesh */
  --bg-dark: #0a0b14;
  --text-main: #e0e0e0;
  --text-muted: #9ca3af;
  --accent-purple: #7b2cbf;
  --accent-blue: #4cc9f0;
  --accent-lime: #a7f3d0; /* Soft contrast */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

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

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* --- Ambient Background (Aurora) --- */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: blob-float 10s infinite alternate ease-in-out;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: var(--accent-purple);
}

.blob-2 {
  bottom: 20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--accent-blue);
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 40%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(76, 201, 240, 0.4) 0%,
    rgba(123, 44, 191, 0.1) 100%
  );
  animation-duration: 15s;
}

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

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(10, 11, 20, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

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

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

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

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

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

.header__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: var(--accent-blue);
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.header__link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.header__cta {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 30px 10px 30px 10px; /* Organic shape */
  color: #fff;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(123, 44, 191, 0.4);
}

.header__cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(76, 201, 240, 0.5);
}

.header__burger {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* --- Footer --- */
.footer {
  background: rgba(10, 11, 20, 0.9);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 1.5rem;
  margin-top: auto; /* Push to bottom if content is short */
}

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

.footer__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer__logo {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.footer__socials {
  display: flex;
  gap: 1rem;
}

.footer__socials a {
  color: var(--text-muted);
  transition: color 0.3s, transform 0.3s;
}

.footer__socials a:hover {
  color: var(--accent-blue);
  transform: translateY(-3px);
}

.footer__list li {
  margin-bottom: 0.8rem;
}

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

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

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.footer__bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #555;
}

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

@media (max-width: 768px) {
  .header__burger {
    display: block;
    z-index: 1002;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 11, 20, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1001;
  }

  .header__nav.is-active {
    transform: translateX(0);
  }

  .header__list {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .header__link {
    font-size: 1.5rem;
    font-family: var(--font-head);
  }

  .mobile-hide {
    display: none; /* Hide CTA in nav on mobile, maybe add separately if needed */
  }

  /* Add CTA back to mobile menu bottom */
  .header__nav::after {
    content: "Связаться";
    display: block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: var(--accent-purple);
    border-radius: 30px;
    color: white;
    font-size: 1.2rem;
  }

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

/* --- Buttons Global --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px; /* Pill shape */
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  box-shadow: 0 10px 30px rgba(76, 201, 240, 0.3);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(123, 44, 191, 0.5);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

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

.hero__badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(76, 201, 240, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 201, 240, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(76, 201, 240, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 201, 240, 0);
  }
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.text-gradient {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-lime));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block; /* Fix for gradient on some browsers */
}

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

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

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

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

/* Visuals - Fluid Shapes */
.hero__visuals {
  position: relative;
  height: 500px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__img-box {
  position: absolute;
  width: 100%;
  height: 100%;
  max-width: 450px;
  max-height: 550px;
  overflow: hidden;
  /* Organic Blob Shape */
  border-radius: 64% 36% 27% 73% / 55% 57% 43% 45%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
  transition: border-radius 5s ease-in-out infinite alternate;
}

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

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(123, 44, 191, 0.4), transparent);
}

/* Floating Elements (Glassmorphism) */
.hero__float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: 20px;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero__float-card--1 {
  top: 10%;
  right: 0;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero__float-card--2 {
  bottom: 10%;
  left: -20px;
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}

.float-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.float-icon {
  color: var(--accent-lime);
  width: 24px;
  height: 24px;
}

.float-val {
  display: block;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

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

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

  .hero__subtitle,
  .hero__actions {
    margin: 0 auto 2.5rem;
    align-items: center;
  }

  .hero__visuals {
    height: 400px;
  }

  .hero__float-card--1 {
    right: 10%;
  }
  .hero__float-card--2 {
    left: 10%;
  }
}

@media (max-width: 576px) {
  .hero__title {
    font-size: 2.5rem;
  }
}

/* --- Common Section Styles --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-head);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

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

.highlight {
  color: var(--accent-blue);
  font-weight: 500;
}

/* --- Methodology Section --- */
.methodology {
  padding: 6rem 0;
  position: relative;
  z-index: 10;
}

.methodology__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.method-card {
  position: relative;
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 2rem;
  /* Organic Shape */
  border-radius: 40px 20px 50px 20px;
  transition: all 0.4s ease;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Variations for shapes */
.method-card:nth-child(1) {
  border-radius: 30px 60px 30px 40px;
}
.method-card:nth-child(3) {
  border-radius: 40px 30px 60px 30px;
}
.method-card:nth-child(5) {
  border-radius: 60px 40px 30px 50px;
} /* index 5 because connectors are children too */

.method-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Background Blobs inside cards */
.method-card__blob {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  filter: blur(40px);
  opacity: 0.4;
  border-radius: 50%;
  z-index: 0;
  transition: transform 0.5s ease;
}

.method-card:hover .method-card__blob {
  transform: scale(1.5);
}

.blob-color-1 {
  background: var(--accent-purple);
}
.blob-color-2 {
  background: var(--accent-blue);
}
.blob-color-3 {
  background: var(--accent-lime);
}

.method-card__content {
  position: relative;
  z-index: 1;
}

.method-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.method-card__icon i {
  width: 28px;
  height: 28px;
}

.method-card__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1rem;
}

.method-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.method-connector {
  color: var(--text-muted);
  opacity: 0.3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.methodology__footer {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.small-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* Reveal Animation Initial State */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .methodology__grid {
    flex-direction: column;
    gap: 2rem;
  }

  .method-connector {
    display: none; /* Hide arrows on mobile */
  }

  .method-card {
    width: 100%;
    min-height: auto;
    border-radius: 30px; /* Simplification for mobile */
  }
}

/* --- Advantages Section --- */
.advantages {
  position: relative;
  padding: 6rem 0;
}

/* Ambient glow behind the grid */
.section-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle,
    rgba(76, 201, 240, 0.15) 0%,
    transparent 70%
  );
  filter: blur(60px);
  z-index: -1;
}

/* Grid Layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 1.5rem;
}

/* Card Styling */
.bento-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 30px; /* Large radius for organic feel */
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Spans for grid items */
.span-2 {
  grid-column: span 2;
}

.span-row-2 {
  grid-row: span 2;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(123, 44, 191, 0.1) 100%
  );
}

/* Content Styling */
.bento-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bento-content.centered {
  align-items: center;
  text-align: center;
  justify-content: center;
}

.bento-content.flex-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.bento-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.bento-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Icons */
.bento-icon {
  width: 32px;
  height: 32px;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.bento-icon-bg {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
}

/* Visual Decoration (Chart) */
.chart-visual {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-bottom: 1.5rem;
}

.chart-bar {
  width: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.chart-bar.active {
  background: var(--accent-lime);
  box-shadow: 0 0 15px rgba(167, 243, 208, 0.4);
}

/* Map Decoration Placeholder */
.map-decoration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: 100px;
  background-image: radial-gradient(var(--accent-blue) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.2;
  mask-image: radial-gradient(circle, black 40%, transparent 100%);
}

.icon-side i {
  width: 60px;
  height: 60px;
  color: var(--accent-purple);
  opacity: 0.8;
}

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

  .span-row-2 {
    grid-row: auto; /* Reset row span */
    grid-column: span 2; /* Make it full width instead */
  }
}

@media (max-width: 600px) {
  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .span-2,
  .span-row-2 {
    grid-column: auto;
  }

  .bento-content.flex-row {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* --- Program Section (Accordion) --- */
.program {
  padding: 6rem 0;
  position: relative;
}

.accordion {
  max-width: 800px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion__item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion__item.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-blue);
  box-shadow: 0 0 20px rgba(76, 201, 240, 0.1);
}

.accordion__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #fff;
  outline: none;
}

.accordion__title-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.accordion__num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--text-muted);
  opacity: 0.3;
  font-weight: 700;
}

.accordion__item.is-active .accordion__num {
  color: var(--accent-blue);
  opacity: 1;
}

.accordion__title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 500;
}

.accordion__icon {
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.accordion__item.is-active .accordion__icon {
  transform: rotate(180deg);
  color: var(--accent-blue);
}

/* Accordion Content Animation */
.accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.accordion__body {
  padding: 0 2rem 2rem 5rem; /* Indent to align with title */
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* List inside accordion */
.program-list {
  margin-top: 1rem;
  list-style: disc;
  padding-left: 1.2rem;
}

.program-list li {
  margin-bottom: 0.5rem;
  color: #e0e0e0;
}

.program-result-box {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem;
  background: rgba(167, 243, 208, 0.1); /* Lime tint */
  border-radius: 10px;
  color: var(--accent-lime);
  font-weight: 500;
}

.program__footer {
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .accordion__header {
    padding: 1.2rem;
  }

  .accordion__body {
    padding: 0 1.2rem 1.5rem 1.2rem;
  }

  .accordion__title-wrapper {
    gap: 1rem;
  }

  .accordion__title {
    font-size: 1.1rem;
  }
}

/* --- FAQ Section --- */
.faq {
  padding: 6rem 0;
  /* Darker background area to separate sections visually */
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* FAQ Modifier Style */
.accordion__item--faq {
  background: transparent; /* Cleaner look */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.accordion__item--faq.is-active {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-lime); /* Different accent color for FAQ */
  box-shadow: none;
}

.accordion__item--faq .accordion__header {
  padding: 1.2rem 1.5rem;
}

.accordion__item--faq .accordion__title {
  font-size: 1rem; /* Smaller font for questions */
  font-weight: 400;
}

.accordion__item--faq .accordion__body {
  padding: 0 1.5rem 1.5rem 1.5rem; /* No left indent needed here */
  font-size: 0.9rem;
}

.accordion__item--faq .accordion__icon {
  width: 20px;
  height: 20px;
}

/* Icon rotation for Plus icon to X */
.accordion__item--faq.is-active .accordion__icon {
  transform: rotate(45deg); /* Rotates plus to X */
  color: var(--accent-lime);
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr; /* Stack vertically on mobile */
  }
}

/* --- Contact Section --- */
.contact {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* Background blob specific for contact */
.contact__blob {
  position: absolute;
  top: 50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(123, 44, 191, 0.2) 0%,
    transparent 70%
  );
  filter: blur(80px);
  z-index: -1;
}

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

/* Info Side */
.contact__features {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%; /* Circle */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.contact__feature-item strong {
  color: #fff;
  font-size: 1.1rem;
  display: block;
}

.contact__feature-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Form Wrapper */
.contact__form-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.form-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
}

.input-wrapper {
  position: relative;
}

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

.form-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem; /* Space for icon */
  background: rgba(10, 11, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px; /* Pill shape */
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(10, 11, 20, 0.9);
  box-shadow: 0 0 15px rgba(76, 201, 240, 0.2);
}

.form-input:focus + .input-icon, /* If icon was after input (not here) */
.input-wrapper:focus-within .input-icon {
  color: var(--accent-blue);
}

/* Error States */
.error-msg {
  display: none;
  font-size: 0.8rem;
  color: #ef4444; /* Red */
  margin-top: 5px;
  margin-left: 1rem;
}

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

.form-group.has-error .error-msg {
  display: block;
  animation: fadeIn 0.3s;
}

/* Custom Captcha Widget */
.custom-captcha {
  background: #f9f9f9; /* Light bg like google's */
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  padding: 15px;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 300px; /* Standard captcha width */
  margin-bottom: 0.5rem;
}

.captcha-checkbox {
  position: relative;
  width: 28px;
  height: 28px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  transition: all 0.3s;
}

.captcha-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.checkmark {
  display: none;
  color: #0f9d58; /* Google green */
  transform: scale(0);
  transition: transform 0.2s cubic-bezier(0.5, 0, 0.8, 1.5); /* Bouncy pop */
}

.checkmark i {
  width: 24px;
  height: 24px;
}

/* Captcha Checked State */
.captcha-checkbox.is-checked {
  border-color: transparent;
}

.captcha-checkbox.is-checked .checkmark {
  display: block;
  transform: scale(1);
}

.captcha-label {
  color: #000;
  font-size: 0.9rem;
  font-family: sans-serif;
  flex-grow: 1;
  cursor: pointer;
}

.captcha-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #555;
  opacity: 0.5;
}

.captcha-logo i {
  width: 32px;
  height: 32px;
}

/* Custom Privacy Checkbox */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.custom-checkbox input {
  display: none;
}

.checkbox-box {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  transition: all 0.2s;
}

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

/* Pseudo-element for checkmark */
.custom-checkbox input:checked + .checkbox-box::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

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

/* Submit Button Logic */
.btn--full {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
  height: 54px; /* Fixed height for loader stability */
}

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

.btn.is-loading .btn-text {
  display: none;
}

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

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

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

/* Success Message */
.success-message {
  display: none;
  text-align: center;
  padding: 2rem;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(167, 243, 208, 0.1);
  color: var(--accent-lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

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

.success-message h3 {
  font-family: var(--font-head);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
}

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

/* Responsive Form */
@media (max-width: 992px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact__info {
    text-align: center;
  }

  .contact__features {
    align-items: center;
  }

  .contact__feature-item {
    text-align: left;
  }
}

/* --- Cookie Popup --- */
.cookie-popup {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(150%); /* Hidden by default */
  width: 90%;
  max-width: 600px;
  background: rgba(10, 11, 20, 0.95);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  z-index: 9999;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-popup.is-visible {
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-icon {
  width: 40px;
  height: 40px;
  color: var(--accent-blue);
  flex-shrink: 0;
}

.cookie-text h4 {
  color: #fff;
  margin-bottom: 0.3rem;
  font-family: var(--font-head);
}

.cookie-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

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

.btn--sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

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

/* --- Legal Pages Styles (Privacy, Terms, etc.) --- */
/* Structure: <main><section class="pages"><div class="container">... */

.pages {
  padding: calc(var(--header-height) + 4rem) 0 6rem;
  min-height: 80vh;
}

.pages .container {
  max-width: 900px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  padding: 4rem;
}

.pages h1 {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.5rem;
}

.pages h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--accent-blue);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.pages p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  line-height: 1.8;
}

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

.pages li {
  margin-bottom: 0.5rem;
}

.pages strong {
  color: #fff;
}

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

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