/* --- 1. SETUP & VARIABLES --- */
:root {
  --c-bg: #050505;
  --c-text: #eaeaea;
  --c-text-muted: #888888;
  --c-accent: #ff4d4d; /* Toxic Red/Salmon */
  --c-secondary: #4f46e5; /* Indigo */

  --f-display: "Syne", sans-serif;
  --f-body: "Manrope", sans-serif;

  --easing: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--c-bg);
}

body {
  font-family: var(--f-body);
  color: var(--c-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- 2. TEXTURE & ATMOSPHERE --- */

/* Film Grain Effect */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.07;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScyNTAnIGhlaWdodD0nMjUwJz48ZmlsdGVyIGlkPSdub2lzZSc+PGZlVHVyYnVsZW5jZSB0eXBlPSdmcmFjdGFsTm9pc2UnIGJhc2VGcmVxdWVuY3k9JzAuNjUnIG51bU9jdGF2ZXM9JzMnIHN0aXRjaFRpbGVzPSdzdGl0Y2gnLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0nMTAwJScgaGVpZ2h0PScxMDAlJyBmaWx0ZXI9J3VybCgjbm9pc2UpJyBvcGFjaXR5PScxJy8+PC9zdmc+");
}

/* Ambient Glowing Blobs */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -1;
  opacity: 0.4;
  animation: floatBlob 10s infinite alternate ease-in-out;
}

.ambient-glow--1 {
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, var(--c-secondary), transparent 70%);
}

.ambient-glow--2 {
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--c-accent), transparent 70%);
  animation-delay: -5s;
}

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

/* --- 3. HEADER --- */
.header {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
}

.header__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Glass Effect only for content area if needed, but here we keep it clean transparent */
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-text);
}

.header__logo-icon svg {
  width: 32px;
  height: 32px;
}

.header__logo-text {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.header__logo-text .accent {
  color: var(--c-accent);
}

.header__nav {
  display: flex;
  gap: 40px;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color 0.3s;
  overflow: hidden;
}

/* Hover Effect: Text slide up */
.nav-link:hover {
  color: var(--c-text);
}

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

/* --- LIQUID BUTTON --- */
.btn-liquid {
  position: relative;
  padding: 14px 28px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s var(--easing);
}

.btn-liquid .liquid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-accent);
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.4s var(--easing);
  border-radius: 50% 50% 0 0;
}

.btn-liquid:hover {
  transform: scale(1.05);
  border-color: transparent;
}

.btn-liquid:hover .liquid {
  transform: translateY(0);
  border-radius: 0;
}

/* Burger */
/* --- HEADER CONTROLS --- */
.header__controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Приховуємо бургер на десктопі за замовчуванням */
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1005;
}

.burger-line {
  width: 30px;
  height: 2px;
  background-color: var(--c-text);
  transition: 0.3s;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  /* Ховаємо звичайне меню на планшетах/мобільних */
  .header__nav {
    display: none;
  }

  /* Показуємо бургер */
  .burger-menu {
    display: flex;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .footer__big-text {
    font-size: 3.5rem;
  }
}
/* --- MOBILE MENU OVERLAY --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--c-bg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.mobile-link {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--c-text);
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-link:hover,
.mobile-link.accent {
  color: var(--c-accent);
  -webkit-text-stroke: 1px transparent;
}

/* --- FOOTER --- */
.footer {
  padding-top: 120px;
  padding-bottom: 40px;
  background: linear-gradient(to top, #0a0a0a, transparent);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 60px;
}

.footer__big-text {
  font-family: var(--f-display);
  font-size: 5rem;
  line-height: 0.9;
  font-weight: 800;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1px var(--c-text-muted);
}

.footer__cta-box p {
  color: var(--c-text-muted);
  margin-bottom: 15px;
}

.link-arrow {
  font-size: 1.2rem;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__label {
  font-family: var(--f-display);
  margin-bottom: 25px;
  color: var(--c-text);
}

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

.footer__list a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__list a:hover {
  color: var(--c-accent);
}

.footer__address {
  color: var(--c-text-muted);
  margin-bottom: 20px;
  font-style: normal;
}

.footer__email,
.footer__phone {
  display: block;
  color: var(--c-text);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .footer__big-text {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .header {
    padding: 0 20px;
  }
  .header__logo-text {
    font-size: 1.2rem;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px; /* Space for fixed header */
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.6;
}

.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero__content {
  max-width: 900px;
}

/* Badge */
.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;
  font-size: 0.85rem;
  color: var(--c-accent);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--c-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* Typography */
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 8vw, 7rem); /* Responsive giant font */
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 30px;
}

.hero__title .outline-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
  transition: 0.5s;
}

.hero__title:hover .outline-text {
  color: rgba(255, 255, 255, 0.1);
  -webkit-text-stroke: 1px var(--c-accent);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--c-text-muted);
  max-width: 500px;
  margin-bottom: 50px;
  line-height: 1.7;
}

/* Actions */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.btn-primary {
  position: relative;
  padding: 18px 40px;
  background-color: var(--c-text);
  color: var(--c-bg);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 60px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s var(--easing);
}

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

.btn-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.8) 0%,
    transparent 60%
  );
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s, transform 0.5s;
}

.btn-primary:hover .btn-glow {
  opacity: 0.2;
  transform: scale(1);
}

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

/* Scroll Indicator */
.scroll-down {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--c-text-muted);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--c-text-muted), transparent);
}

/* Mobile Adjustments for Hero */
@media (max-width: 768px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .scroll-down {
    display: none;
  }
}

/* --- MARQUEE STRIP --- */
.marquee-strip {
  background: var(--c-accent);
  color: var(--c-bg);
  padding: 15px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 5;
  transform: rotate(-1deg) scale(1.05); /* Slight tilt for rebel look */
  margin: 50px 0;
}

.marquee-content {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  text-transform: uppercase;
  animation: marquee 20s linear infinite;
}

.marquee-content .divider {
  color: rgba(0, 0, 0, 0.3);
  margin: 0 20px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- SECTIONS COMMON --- */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-title {
  font-family: var(--f-display);
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.1;
}

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

.highlight {
  color: var(--c-text);
  border-bottom: 1px solid var(--c-accent);
}

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

.bento-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--easing), background 0.3s;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-5px);
  border-color: var(--c-secondary);
}

/* Grid layout logic */
.bento-card--large {
  grid-column: span 2;
}

.bento-card--tall {
  grid-row: span 2;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(79, 70, 229, 0.1) 100%
  );
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  margin-bottom: 20px;
}

.bento-card h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

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

/* Abstract visual in tall card */
.visual-abstract {
  margin-top: auto;
  position: relative;
  height: 100px;
  width: 100%;
}

.visual-abstract .circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
}

.visual-abstract .c1 {
  width: 60px;
  height: 60px;
  background: var(--c-accent);
  top: 20%;
  left: 20%;
  animation: floatBlob 5s infinite alternate;
}

.visual-abstract .c2 {
  width: 80px;
  height: 80px;
  background: var(--c-secondary);
  bottom: 10%;
  right: 10%;
  animation: floatBlob 7s infinite alternate-reverse;
}

/* --- STEPS SYSTEM --- */
.steps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px; /* For border effect */
  background: rgba(255, 255, 255, 0.1); /* Divider color */
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-item {
  background: var(--c-bg); /* Mask gap color */
  padding: 40px;
  display: flex;
  align-items: flex-start;
  gap: 40px;
  transition: background 0.3s;
}

.step-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.step-number {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-secondary);
  line-height: 1;
}

.step-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--c-text);
}

.step-content p {
  color: var(--c-text-muted);
}

/* --- SCROLL ANIMATION CLASS --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .bento-card--large,
  .bento-card--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .step-item {
    flex-direction: column;
    gap: 15px;
  }
}

/* --- MENTORS --- */
.mentors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.mentor-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  position: relative;
  transition: 0.3s;
}

.mentor-card:hover {
  border-color: var(--c-accent);
}

.mentor-image {
  width: 100%;
  height: 350px;
  background: #111;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  /* Grayscale by default, color on hover */
  filter: grayscale(100%) contrast(1.2);
  transition: filter 0.4s ease;
}

.mentor-card:hover .mentor-image {
  filter: grayscale(0%) contrast(1);
}

.mentor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scan line effect */
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-accent);
  box-shadow: 0 0 10px var(--c-accent);
  animation: scan 3s linear infinite;
  opacity: 0;
  transition: opacity 0.3s;
}

.mentor-card:hover .scan-line {
  opacity: 1;
}

@keyframes scan {
  0% {
    top: 0;
  }
  50% {
    top: 100%;
  }
  100% {
    top: 0;
  }
}

.mentor-info h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--c-text);
}

.mentor-info .role {
  color: var(--c-accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.mentor-info .desc {
  color: var(--c-text-muted);
  font-size: 0.95rem;
}

/* --- REVIEWS (Infinite Scroll) --- */
.reviews-section {
  overflow: hidden; /* Hide scrollbar */
}

.reviews-track-wrapper {
  width: 100%;
  position: relative;
  padding: 20px 0;
  /* Fade effect on sides */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.reviews-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

/* Pause animation on hover */
.reviews-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 15px));
  } /* Adjust based on gap/items */
}

.review-card {
  width: 400px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 4px; /* Brutalist slight radius */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.stars {
  color: var(--c-secondary);
  letter-spacing: 2px;
}

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

.review-text {
  font-size: 1.05rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--c-text);
}

.review-author {
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--c-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

/* --- CTA SEPARATOR --- */
.cta-separator {
  padding: 80px 0;
  text-align: center;
  background: radial-gradient(
    circle at center,
    rgba(79, 70, 229, 0.1),
    transparent 70%
  );
}

.cta-title {
  font-family: var(--f-display);
  font-size: 3rem;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .review-card {
    width: 300px;
  }
  .cta-title {
    font-size: 2rem;
  }
}

/* --- CONTACT SECTION --- */
.contact-section {
  background: linear-gradient(to bottom, var(--c-bg), #0a0a0a);
  padding: 120px 0;
}

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

.contact-perks {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--c-text-muted);
}

.perk-item i {
  color: var(--c-secondary);
}

/* --- CYBER FORM --- */
.cyber-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

/* Form Inputs */
.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 0;
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus {
  border-bottom-color: var(--c-accent);
}

.form-group label {
  position: absolute;
  top: 10px;
  left: 0;
  color: var(--c-text-muted);
  pointer-events: none;
  transition: 0.3s ease;
}

/* Floating Label Logic */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
  top: -20px;
  font-size: 0.8rem;
  color: var(--c-accent);
}

/* Error State */
.form-group.error input {
  border-bottom-color: #ff0000;
}

.error-msg {
  position: absolute;
  bottom: -20px;
  left: 0;
  font-size: 0.75rem;
  color: #ff0000;
  opacity: 0;
  transition: 0.3s;
}

.form-group.error .error-msg {
  opacity: 1;
}

/* --- CUSTOM CHECKBOXES --- */
.checkbox-group,
.captcha-box {
  margin-bottom: 25px;
}

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

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  height: 20px;
  width: 20px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: 0.2s;
}

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

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

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

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

/* Captcha Box Style */
.captcha-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.captcha-mark {
  border-radius: 2px;
}

.captcha-icon {
  color: var(--c-text-muted);
}

.submit-btn {
  width: 100%;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
}

/* --- SUCCESS MESSAGE --- */
.form-success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  z-index: 10;
}

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

.success-icon {
  color: #00ff00;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: 90%;
  max-width: 600px;
  background: rgba(20, 20, 20, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 30px;
  border-radius: 50px;
  z-index: 9999;
  opacity: 0;
  transition: 0.5s var(--easing);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

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

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

.cookie-btn {
  background: var(--c-text);
  color: var(--c-bg);
  border: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.cookie-btn:hover {
  background: var(--c-accent);
}

/* --- LEGAL PAGES STYLES (privacy.html etc) --- */
.page-main {
  padding: 150px 0 80px;
  min-height: 80vh;
}

.pages h1 {
  font-family: var(--f-display);
  font-size: 3rem;
  margin-bottom: 40px;
  color: var(--c-text);
}

.pages h2 {
  font-family: var(--f-display);
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--c-text);
}

.pages p {
  margin-bottom: 15px;
  color: var(--c-text-muted);
  line-height: 1.8;
}

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

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

.pages strong {
  color: var(--c-text);
}

/* Mobile Fixes */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}
