/* --- VARIABLES --- */
:root {
  --color-bg: #05050a;
  --color-text: #e0e0ff;
  --color-text-muted: #a0a0c0;
  --color-primary: #7f00ff; /* Deep Purple */
  --color-secondary: #00d2ff; /* Cyan */
  --color-accent: #ff2e93; /* Pink details */

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

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

  /* Organic Radius */
  --radius-blob: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

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

html {
  scroll-behavior: smooth;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

/* --- AURORA BACKGROUND FX --- */
.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.6;
  border-radius: 50%;
  animation: float 20s infinite alternate;
}

.aurora-blob--1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--color-primary), transparent 70%);
}

.aurora-blob--2 {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--color-secondary), transparent 70%);
  animation-delay: -5s;
}

.aurora-blob--3 {
  top: 40%;
  left: 40%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(255, 46, 147, 0.2), transparent 70%);
  animation-delay: -10s;
}

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

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

.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px; /* Pill shape */
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn--small {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn--glow {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  backdrop-filter: blur(10px);
}

.btn--glow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn--glow:hover::before {
  opacity: 1;
}

.btn--glow:hover {
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: background 0.3s ease;
}

.header__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5, 5, 10, 0.1);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 0 0 20px 20px;
}

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

.header__nav {
  display: none;
}

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

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

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

.header__link:hover {
  color: white;
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s ease;
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

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

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

/* --- MOBILE MENU --- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(5, 5, 10, 0.95);
  backdrop-filter: blur(20px);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 30px;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.is-active {
  right: 0;
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.mobile-menu__close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.mobile-menu__link:hover,
.mobile-menu__link--highlight {
  color: white;
  background: -webkit-linear-gradient(
    0deg,
    var(--color-secondary),
    var(--color-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- FOOTER --- */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 20px;
  margin-top: 100px;
}

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

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

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

.footer__logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  background: linear-gradient(90deg, white, var(--color-text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__tagline {
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

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

.footer__heading {
  font-family: var(--font-heading);
  color: white;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

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

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

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

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

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

.footer__icon {
  min-width: 18px;
  width: 18px;
  color: var(--color-secondary);
}

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

/* --- TEXT UTILS --- */
.text-gradient {
  background: linear-gradient(
    90deg,
    var(--color-secondary),
    var(--color-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section {
  padding: 100px 0;
  position: relative;
}

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

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

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

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

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

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

.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: 30px;
  color: var(--color-secondary);
  font-size: 0.85rem;
  margin-bottom: 25px;
  backdrop-filter: blur(5px);
}

.hero__badge-icon {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 25px;
  color: white;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4rem;
  }
}

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

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

.btn--large {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  color: white;
  font-weight: 700;
  font-family: var(--font-heading);
}

.btn--ghost:hover {
  color: var(--color-secondary);
}

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

.hero__stat-avatars {
  display: flex;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-bg);
  margin-left: -12px;
}

.avatar:first-child {
  margin-left: 0;
}

/* --- HERO VISUAL (FLUID) --- */
.blob-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.blob-image {
  width: 90%;
  height: 90%;
  object-fit: cover;
  /* Organic Blob Shape via CSS Mask or Border Radius */
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  animation: blob-pulse 8s ease-in-out infinite alternate;
  box-shadow: 0 0 50px rgba(127, 0, 255, 0.3);
  z-index: 1;
}

@keyframes blob-pulse {
  0% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  }
  100% {
    border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
  }
}

.floating-card {
  position: absolute;
  padding: 15px 20px;
  background: rgba(20, 20, 30, 0.8);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: float-card 6s ease-in-out infinite;
}

.floating-card i {
  color: var(--color-secondary);
}

.floating-card--1 {
  top: 10%;
  right: 0;
  animation-delay: 0s;
}

.floating-card--2 {
  bottom: 15%;
  left: 0;
  animation-delay: -3s;
}

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

/* --- METHODOLOGY (FLUID CARDS) --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  transition: transform 0.3s ease, background 0.3s ease;

  /* Fluid / Organic Shapes for cards */
  border-radius: 20px 40px 20px 40px;
}

.feature-card:nth-child(2) {
  border-radius: 40px 20px 40px 20px;
}

.feature-card:nth-child(3) {
  border-radius: 30px;
}

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

.feature-card__icon-box {
  width: 60px;
  height: 60px;
  background: rgba(127, 0, 255, 0.2);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Blob shape icon */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.feature-card__icon-box--secondary {
  background: rgba(0, 210, 255, 0.2);
  color: var(--color-secondary);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.feature-card__icon-box--accent {
  background: rgba(255, 46, 147, 0.2);
  color: var(--color-accent);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.feature-card__title {
  font-family: var(--font-heading);
  color: white;
  font-size: 1.25rem;
  margin-bottom: 15px;
}

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

/* --- ANIMATION CLASSES --- */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* --- COURSES SECTION --- */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

@media (min-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.course-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;

  /* Organic Shape Base */
  border-radius: 30px 10px 30px 10px;
}

.course-card:nth-child(2n) {
  border-radius: 10px 30px 10px 30px;
}

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

.course-card--highlight {
  background: linear-gradient(145deg, rgba(127, 0, 255, 0.1), rgba(0, 0, 0, 0));
  border: 1px solid rgba(127, 0, 255, 0.2);
}

.course-card__icon {
  font-size: 2rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.course-card:hover .course-card__icon {
  transform: scale(1.2);
  color: white;
}

.course-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: white;
  margin-bottom: 10px;
}

.course-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 25px;
  line-height: 1.5;
}

.course-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.course-card__link i {
  width: 16px;
  transition: transform 0.3s ease;
}

.course-card:hover .course-card__link i {
  transform: translateX(5px);
  color: var(--color-secondary);
}

/* --- MENTORS SECTION --- */
.mentors-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 992px) {
  .mentors-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

.mentors-info {
  padding-right: 20px;
}

.mentors-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.mentors-stats {
  display: flex;
  gap: 30px;
}

.mentors-stats li {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.mentors-stats strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 5px;
}

.mentors-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

@media (min-width: 768px) {
  .mentors-list {
    flex-direction: row;
    justify-content: center;
  }
}

.mentor-blob {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .mentor-blob {
    margin-top: 0;
  }
  .mentor-blob--reverse {
    margin-top: 80px; /* Staggered effect */
  }
}

.mentor-blob__img-box {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  /* Organic blob shape */
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: border-radius 0.5s ease;
}

.mentor-blob:hover .mentor-blob__img-box {
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  border-color: var(--color-primary);
}

.mentor-blob__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.mentor-blob:hover .mentor-blob__img {
  filter: grayscale(0);
}

.mentor-blob__info {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 5, 10, 0.8);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 20px;
  text-align: center;
  width: 80%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mentor-blob__info h4 {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.mentor-blob__info span {
  font-size: 0.85rem;
  color: var(--color-secondary);
}

/* --- REVIEWS SECTION --- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.review-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 30px;
  border-radius: 20px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.review-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: var(--color-secondary);
  transform: translateY(-5px);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.review-card__avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: white;
  font-family: var(--font-heading);
}

.review-card__name {
  color: white;
  font-size: 1rem;
  line-height: 1.2;
}

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

.review-card__rating {
  margin-left: auto;
  color: #ffd700; /* Gold */
  letter-spacing: 2px;
  font-size: 0.8rem;
}

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

/* --- CONTACT SECTION --- */
.contact__container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

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

.contact__info-box {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.info-item i {
  color: var(--color-secondary);
  width: 20px;
}

/* --- FORM STYLES --- */
.contact__form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 40px;
  position: relative;
  backdrop-filter: blur(10px);
}

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

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

.form-input {
  width: 100%;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  color: white;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 15px rgba(127, 0, 255, 0.2);
  background: rgba(0, 0, 0, 0.4);
}

/* Validation Styles */
.form-input.is-invalid {
  border-color: #ff4d4d;
}

.error-msg {
  display: none;
  color: #ff4d4d;
  font-size: 0.8rem;
  margin-top: 5px;
  margin-left: 10px;
}

.form-group.has-error .error-msg {
  display: block;
}

/* Custom Checkbox (Captcha & Policy) */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  display: none;
}

.checkbox-box {
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.checkbox-box--small {
  width: 20px;
  height: 20px;
}

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

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

.captcha-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 5px;
}

.captcha-icon {
  margin-left: auto;
  color: var(--color-text-muted);
  opacity: 0.5;
}

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

.policy-text a {
  color: var(--color-secondary);
  text-decoration: underline;
}

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

/* Success State */
.form-success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 10, 0.95);
  backdrop-filter: blur(20px);
  z-index: 10;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.form-success.is-visible {
  opacity: 1;
  visibility: visible;
}

.success-icon {
  width: 60px;
  height: 60px;
  color: var(--color-secondary);
  margin-bottom: 20px;
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: 90%;
  max-width: 600px;
  background: rgba(20, 20, 30, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

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

.cookie-icon {
  color: var(--color-secondary);
  flex-shrink: 0;
}

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

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

/* --- LEGAL PAGES STYLES --- */
.pages {
  padding: 150px 0 100px; /* Offset for fixed header */
}

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

.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: white;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

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

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

.pages strong {
  color: white;
}

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