/* --- VARIABLES --- */
:root {
  /* Colors */
  --bg-main: #0a0a0c;
  --bg-secondary: #141419;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;

  /* Neon Accents */
  --accent-primary: #ccff00; /* Acid Lime */
  --accent-secondary: #7000ff; /* Electric Violet */

  /* Layout */
  --container-width: 1240px;
  --header-height: 90px;
  --border-radius: 0px; /* Sharp corners for Brutalism/Tech feel */

  /* Transitions */
  --trans-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Utilities */
.container,
.header__container,
.footer__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: var(--trans-fast);
}

.btn--neon {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

.btn--neon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--accent-primary);
  z-index: -1;
  transition: var(--trans-fast);
}

.btn--neon:hover {
  color: var(--bg-main);
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.4);
}

.btn--neon:hover::before {
  width: 100%;
}

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

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  position: relative;
  z-index: 1002;
}

.header__logo-icon svg {
  filter: drop-shadow(0 0 5px var(--accent-primary));
}

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

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

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

.header__link:hover {
  color: var(--accent-primary);
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0%;
  height: 1px;
  background: var(--accent-primary);
  transition: var(--trans-fast);
}

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

.header__burger {
  display: none;
  color: var(--text-primary);
  z-index: 1002;
}

/* --- MAIN (Global Setup) --- */
.main {
  padding-top: var(--header-height);
  min-height: 80vh; /* Temporary until content is added */
  position: relative;
  overflow: hidden;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--bg-secondary);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

/* Asymmetric Grid for Footer */
.footer__container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__col--brand {
  padding-right: 20px;
}

.footer__slogan {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer__note {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--accent-secondary);
  opacity: 0.8;
}

.footer__title {
  font-size: 1.1rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
}

.footer__title::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background: var(--accent-secondary);
}

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

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

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

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

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

.footer__bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* --- ADAPTIVE (Mobile First approach override) --- */
@media (max-width: 992px) {
  .header__burger {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-main);
    flex-direction: column;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1001;
  }

  .header__nav.active {
    right: 0;
  }

  .header__menu {
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
  }

  .header__link {
    font-size: 1.5rem;
    font-weight: 700;
  }

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

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

  .header__container {
    padding: 0 15px;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
  overflow: hidden;
  background: var(--bg-main); /* Fallback */
}

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

.hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* Asymmetric grid */
  gap: 60px;
  align-items: center;
}

/* Content Side */
.hero__content {
  position: relative;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(204, 255, 0, 0.1);
  border: 1px solid var(--accent-primary);
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero__title {
  font-size: clamp(3.5rem, 8vw, 6.5rem); /* Giant typography */
  line-height: 0.9;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.text-stroke {
  -webkit-text-stroke: 2px var(--text-primary);
  color: transparent;
  position: relative;
  display: inline-block;
}

/* Description with "Glass" backing for readability */
.hero__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 2px solid var(--accent-secondary);
}

.hero__highlight {
  color: var(--text-primary);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Visual Side (Overlapping & Asymmetric) */
.hero__visual {
  position: relative;
}

.hero__img-wrapper {
  position: relative;
  z-index: 1;
}

.hero__img {
  width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(1.1); /* Noir style */
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--trans-fast);
}

.hero__img:hover {
  filter: grayscale(0%);
}

/* Floating Stat Box - Breaking the grid */
.hero__overlay-box {
  position: absolute;
  bottom: -30px;
  left: -40px;
  background: var(--bg-secondary);
  padding: 24px;
  border: 1px solid var(--accent-secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.hero__stat {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-secondary);
  line-height: 1;
}

.hero__stat-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Decorative Element */
.hero__decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(112, 0, 255, 0.2) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  pointer-events: none;
  z-index: 1;
}

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

  .hero__visual {
    order: -1; /* Image on top for mobile */
    max-width: 500px;
    margin: 0 auto 40px;
  }

  .hero__overlay-box {
    left: 0;
    bottom: -20px;
  }
}

/* --- COURSES SECTION --- */
.courses {
  padding: 100px 0;
  position: relative;
  background: var(--bg-secondary);
}

.courses__header {
  margin-bottom: 60px;
  max-width: 600px;
}

.courses__title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.courses__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.courses__accent {
  color: var(--accent-primary);
  font-weight: 600;
}

/* Accordion Wrapper */
.accordion {
  display: flex;
  height: 600px; /* Fixed height for desktop */
  width: 100%;
  gap: 10px;
}

/* Accordion Item */
.accordion__item {
  position: relative;
  flex: 1; /* All items equal width initially */
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  overflow: hidden;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Dark Overlay */
.accordion__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(10, 10, 12, 0.95) 0%,
    rgba(10, 10, 12, 0.4) 100%
  );
  z-index: 1;
  transition: background 0.4s;
}

.accordion__item:hover {
  flex: 3.5; /* Expand active item */
  border-color: var(--accent-primary);
}

.accordion__item:hover .accordion__overlay {
  background: linear-gradient(
    0deg,
    rgba(10, 10, 12, 0.9) 0%,
    rgba(112, 0, 255, 0.2) 100%
  );
}

/* Content Layout */
.accordion__content {
  position: relative;
  z-index: 2;
  padding: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.accordion__index {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.1);
  position: absolute;
  top: 20px;
  left: 20px;
  transition: color 0.3s;
}

.accordion__item:hover .accordion__index {
  color: var(--accent-primary);
}

.accordion__heading {
  font-size: 1.5rem;
  white-space: nowrap;
  transform-origin: 0 0;
  transition: all 0.4s;
  margin-bottom: 20px;
}

/* Details (Hidden initially on desktop collapsed state logic handled via opacity/width usually, 
   but with flex we need to manage visibility for vertical text) */

.accordion__details {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s 0.2s, transform 0.4s 0.2s;
  display: none; /* Hide completely when collapsed to allow vertical text effect */
}

/* Logic for Expanded State */
.accordion__item:hover .accordion__details {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.accordion__item:hover .accordion__heading {
  font-size: 2.5rem; /* Grow title */
  color: var(--accent-primary);
}

/* Collapsed State Text Rotation (Visual Trick) */
/* We can't easily rotate text in flex items that change width without JS or complex CSS.
   Instead, we will keep text horizontal but hide details. */

.accordion__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 400px;
  margin-bottom: 24px;
}

.accordion__tags {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.accordion__tags li {
  font-size: 0.8rem;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px; /* Slight roundness for tags only */
  color: var(--text-primary);
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .accordion {
    height: auto;
    flex-direction: column;
  }

  .accordion__item {
    height: 100px; /* Collapsed height */
    flex: none;
    width: 100%;
    transition: height 0.4s ease;
  }

  .accordion__item:hover {
    flex: none;
    height: 400px; /* Expanded height */
  }

  .accordion__content {
    justify-content: center;
  }

  .accordion__item:hover .accordion__content {
    justify-content: flex-end;
  }
}

/* --- METHODOLOGY (Bento Grid) --- */
.method {
  padding: 100px 0;
  background-color: var(--bg-main);
}

.section-header {
  margin-bottom: 50px;
  max-width: 700px;
}

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

.text-neon {
  color: var(--accent-primary);
}

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

.highlight {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: var(--accent-secondary);
  text-underline-offset: 4px;
}

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

/* Box Styles */
.bento-box {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px;
  position: relative;
  transition: var(--trans-fast);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
}

.bento-box:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Modifiers for Grid Spanning */
.bento-box--wide {
  grid-column: span 2;
}

.bento-box--tall {
  grid-column: 3;
  grid-row: span 2;
  background: linear-gradient(
    145deg,
    rgba(112, 0, 255, 0.15) 0%,
    rgba(10, 10, 12, 1) 100%
  );
  border-color: var(--accent-secondary);
}

/* Box Content */
.bento-box__icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-primary);
  border-radius: 50%; /* Soft contrast to sharp corners */
}

.bento-box__title {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.bento-box__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Special styling for CTA Box */
.bento-box--accent .bento-box__content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  justify-content: center;
}

.large-icon {
  width: 64px;
  height: 64px;
  color: var(--accent-secondary);
  margin-bottom: 24px;
}

.bento-box__actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

/* Button variant for dark background */
.btn--white {
  background: var(--text-primary);
  color: var(--bg-main);
  padding: 12px 32px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  width: 100%;
  text-align: center;
  transition: var(--trans-fast);
}

.btn--white:hover {
  background: var(--accent-primary);
  color: var(--bg-main);
}

.link-arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--trans-fast);
}

.link-arrow:hover {
  color: var(--accent-primary);
  gap: 12px; /* Move arrow */
}

/* Decor element for Wide Box */
.bento-box__decor {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

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

  .bento-box--wide,
  .bento-box--tall {
    grid-column: auto;
    grid-row: auto;
  }
}

/* --- MENTORS SECTION --- */
.mentors {
  padding: 100px 0 0; /* Bottom padding handled by marquee container */
  background: var(--bg-main);
  overflow: hidden;
}

.mentors__header {
  text-align: center;
  margin-bottom: 80px;
}

.mentors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 120px;
}

/* Mentor Card "Dossier" Style */
.mentor-card {
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--trans-fast);
  position: relative;
  top: 0;
}

/* Offset the middle card for asymmetry */
.mentor-card:nth-child(2) {
  top: -30px;
  border-color: rgba(112, 0, 255, 0.3);
}

.mentor-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
}

.mentor-card__img-box {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mentor-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: var(--trans-fast);
}

.mentor-card:hover .mentor-card__img {
  filter: grayscale(0%);
}

.mentor-card__badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--bg-main);
  color: var(--text-primary);
  padding: 4px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mentor-card__info {
  padding: 24px;
}

.mentor-card__name {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.mentor-card__role {
  font-size: 0.85rem;
  color: var(--accent-primary);
  margin-bottom: 16px;
  font-family: monospace;
  text-transform: uppercase;
}

.mentor-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.mentor-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mentor-card__tech span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 8px;
  border-radius: 4px;
}

/* --- MARQUEE (Running Line) --- */
.career-track {
  background: var(--accent-primary);
  color: var(--bg-main);
  padding: 60px 0;
  position: relative;
  /* Create a slight tilt for dynamic look */
  transform: skewY(-2deg);
  margin-bottom: -50px; /* Overlap footer slightly */
  border-top: 1px solid var(--text-primary);
  border-bottom: 1px solid var(--text-primary);
}

.career-track__label {
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.career-track__wrapper {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
}

.career-track__content {
  display: flex;
  gap: 60px;
  animation: scroll 20s linear infinite;
  padding-left: 60px; /* Initial offset */
}

.career-track__content span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  opacity: 0.8;
}

/* Keyframes for infinite scroll */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.career-cta {
  text-align: center;
  margin-top: 40px;
  /* Un-skew the content so text is readable */
  transform: skewY(2deg);
}

.career-cta p {
  font-weight: 600;
  margin-bottom: 10px;
}

/* Override button for this dark-on-light section */
.career-track .btn--neon {
  border-color: var(--bg-main);
  color: var(--bg-main);
}
.career-track .btn--neon::before {
  background: var(--bg-main);
}
.career-track .btn--neon:hover {
  color: var(--accent-primary);
}

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

  .mentor-card:nth-child(2) {
    top: 0; /* Remove offset on mobile */
  }

  .career-track__content span {
    font-size: 2.5rem; /* Smaller text on mobile */
  }
}

/* --- CONTACT SECTION --- */
.contact {
  padding: 100px 0;
  background-color: var(--bg-secondary);
  position: relative;
}

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

/* Info Side */
.contact__title {
  font-size: 3rem;
  margin-bottom: 24px;
}

.contact__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact__highlight {
  color: var(--accent-primary);
  font-weight: 600;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
}

.contact__icon {
  color: var(--accent-secondary);
}

/* Form Side */
.contact__form-wrapper {
  background: var(--bg-main);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Inputs */
.form__group {
  margin-bottom: 24px;
  position: relative;
}

.form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: "Space Grotesk", sans-serif;
}

.form__input {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 16px;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: var(--trans-fast);
}

.form__input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.1);
}

/* Error State */
.form__input.error {
  border-color: #ff3333;
}

.form__error {
  display: none;
  color: #ff3333;
  font-size: 0.75rem;
  margin-top: 6px;
  position: absolute;
  bottom: -20px;
  left: 0;
}

.form__input.error + .form__error {
  display: block;
}

/* Custom Checkbox (Legal) */
.form__check-group {
  margin-bottom: 24px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--trans-fast);
  color: var(--bg-main);
}

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

.custom-checkbox input:checked + .checkmark svg {
  width: 14px;
  height: 14px;
}

.checkmark svg {
  width: 0; /* Hidden by default */
}

.check-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

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

/* Custom Captcha Box */
.captcha-box {
  background: #222;
  border: 1px solid #444;
  padding: 15px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  max-width: 300px;
}

.captcha-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.captcha-checkbox input {
  display: none;
}

.captcha-mark {
  width: 24px;
  height: 24px;
  border: 2px solid #aaa;
  border-radius: 2px;
  background: #fff;
  transition: 0.2s;
  position: relative;
}

.captcha-checkbox input:checked + .captcha-mark {
  background: #fff;
  border-color: #fff;
}

/* The green checkmark for captcha */
.captcha-checkbox input:checked + .captcha-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #0f9d58;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.captcha-text {
  font-size: 0.9rem;
  color: #fff;
  font-family: sans-serif;
}

.captcha-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #aaa;
  font-size: 0.6rem;
}

.captcha-logo svg {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
}

/* Button Width */
.form__btn {
  width: 100%;
}

/* Success Message */
.form__message {
  display: none;
  margin-top: 20px;
  padding: 20px;
  background: rgba(204, 255, 0, 0.1);
  border: 1px solid var(--accent-primary);
  text-align: center;
}

.msg-title {
  color: var(--accent-primary);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

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

  .contact__form-wrapper {
    padding: 20px;
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: -100%; /* Hidden initially */
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: rgba(20, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-primary);
  padding: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.cookie-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.cookie-btn {
  align-self: flex-end;
  padding: 8px 24px;
  font-size: 0.8rem;
}

/* --- POLICY PAGES STYLES (privacy.html, terms.html etc.) --- */
.pages {
  padding: 140px 0 80px; /* Space for fixed header */
  background: var(--bg-main);
  min-height: 100vh;
}

.pages h1 {
  font-size: 3rem;
  margin-bottom: 40px;
  color: var(--accent-primary);
  text-transform: uppercase;
}

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

.pages p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
  max-width: 800px; /* Readable line length */
}

.pages ul {
  list-style: none;
  margin-bottom: 24px;
  padding-left: 0;
}

.pages li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pages li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--accent-secondary);
  font-weight: 700;
}

.pages a {
  color: var(--accent-primary);
  border-bottom: 1px solid transparent;
}

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

/* Responsive Cookie */
@media (max-width: 576px) {
  .cookie-popup {
    left: 10px;
    right: 10px;
  }
}
