:root {
  /* Color Palette: Cyber Minimal */
  --bg-dark: #050505;
  --bg-card: #121212;
  --text-main: #e0e0e0;
  --text-muted: #888888;
  --accent-primary: #00f0ff; /* Neon Cyan */
  --accent-secondary: #39ff14; /* Neon Lime */
  --border-color: #333333;

  /* Typography */
  --font-heading: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;

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

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

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

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(5, 5, 5, 0.95);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header__container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-primary);
}

.header__logo-icon {
  width: 40px;
  height: 40px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
}

.header__nav {
  display: none; /* Mobile first hidden */
}

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

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

  .header__link {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    position: relative;
  }

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

  .header__link:not(.header__link--cta):hover::after {
    width: 100%;
  }

  .header__link--cta {
    border: 1px solid var(--accent-secondary);
    color: var(--accent-secondary);
    padding: 8px 24px;
    transition: all 0.3s ease;
  }

  .header__link--cta:hover {
    background: var(--accent-secondary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.4);
  }
}

/* Mobile Burger */
.header__burger {
  background: none;
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 8px;
  cursor: pointer;
  display: block;
}

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

/* Mobile Menu Logic (classes added via JS) */
.header__nav.active {
  display: flex;
  position: absolute;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--accent-primary);
  padding: 20px;
  flex-direction: column;
}

.header__nav.active .header__menu {
  flex-direction: column;
  gap: 20px;
}

/* --- FOOTER --- */
.footer {
  background-color: #000;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 20px;
  margin-top: auto;
}

.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.5fr;
  }
}

.footer__logo {
  display: inline-block;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #fff;
  border-bottom: 2px solid var(--accent-primary);
}

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

.footer__copyright {
  color: #444;
  font-size: 0.8rem;
  margin-top: 20px;
}

.footer__title {
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: 25px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer__link {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  padding-left: 0;
  transition: 0.3s;
}

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

/* Link hover effect - Tech cursor */
.footer__link:hover::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-size: 0.8em;
}

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

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

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

/* --- UI COMPONENTS (Buttons) --- */
/* Загальний стиль кнопок для перевикористання */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
}

.btn--primary {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

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

.btn--primary:hover {
  color: var(--bg-dark);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.4);
}

.btn--primary:hover::before {
  left: 0;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height); /* Врахування фіксованого хедера */
}

.hero__canvas {
  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: 800px;
}

/* Badge "Only EU" */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  font-size: 0.8rem;
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-secondary);
  box-shadow: 0 0 10px var(--accent-secondary);
}

/* Typography */
.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.hero__title-line {
  display: block;
  font-size: clamp(2.5rem, 5vw, 5rem); /* Адаптивний розмір */
  color: #fff;
}

.hero__title-line--highlight {
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-primary);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.hero__title-sub {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 10px;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--text-main);
  max-width: 500px;
  margin-bottom: 50px;
  border-left: 2px solid var(--accent-primary);
  padding-left: 20px;
}

.hero__desc strong {
  color: #fff;
  font-weight: 500;
}

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

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fff;
  line-height: 1;
}

.hero__stat-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: 40px; /* Асиметрія: скрол справа */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero__scroll span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Mobile Fixes */
@media (max-width: 768px) {
  .hero__title-line {
    font-size: 2.5rem;
  }
  .hero__scroll {
    display: none;
  } /* Прибираємо на мобільних */
  .hero__actions {
    gap: 30px;
  }
}

/* --- GLOBAL UTILS FOR SECTIONS --- */
.section-spacing {
  padding: 120px 0;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  opacity: 0.7;
}

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

.mt-20 {
  margin-top: 20px;
}

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

/* --- ABOUT SECTION --- */
.about {
  background-color: var(--bg-dark);
  overflow: hidden; /* Чтобы декоративный текст не вылезал */
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  position: relative;
}

/* Desktop Grid Layout */
@media (min-width: 992px) {
  .about__grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
  }

  .about__info {
    grid-column: 1 / 7;
    z-index: 5;
  }

  .about__visual {
    grid-column: 6 / 13; /* Наложение (overlap) на колонку 6 */
    position: relative;
    padding-top: 50px; /* Сдвиг вниз для асимметрии */
  }
}

/* Background Decorative Text */
.about__bg-text {
  position: absolute;
  top: -50px;
  right: 0;
  font-family: var(--font-heading);
  font-size: 15vw;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.02);
  pointer-events: none;
  z-index: 0;
  line-height: 0.8;
}

/* Description Box Styling */
.about__desc-box {
  border-left: 1px solid var(--accent-secondary);
  padding-left: 30px;
  position: relative;
}

.about__desc-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -1px;
  width: 2px;
  height: 30%;
  background: var(--accent-secondary);
  box-shadow: 0 0 10px var(--accent-secondary);
}

/* Image Wrapper with Cyberpunk Border */
.about__img-wrapper {
  position: relative;
  border: 1px solid var(--border-color);
  padding: 10px;
}

.about__img {
  width: 100%;
  height: auto;
  filter: grayscale(100%) contrast(1.2);
  transition: filter 0.5s ease;
}

.about__img-wrapper:hover .about__img {
  filter: grayscale(0%) contrast(1);
}

/* HUD Overlay on Image */
.about__img-hud {
  position: absolute;
  top: 20px;
  left: 20px;
  color: var(--accent-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-line {
  width: 50px;
  height: 1px;
  background: var(--accent-primary);
}

/* Floating Card */
.about__floating-card {
  background: rgba(18, 18, 18, 0.9);
  border: 1px solid var(--border-color);
  padding: 30px;
  position: relative;
  margin-top: -60px; /* Заезд на картинку */
  margin-left: -40px;
  max-width: 300px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-right: 2px solid var(--accent-secondary);
}

@media (max-width: 991px) {
  .about__floating-card {
    margin: -40px auto 0; /* Центровка на мобильных */
    left: 0;
  }
}

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

.card-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

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

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

.reveal-anim.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-200 {
  transition-delay: 0.2s;
}

/* --- METHODOLOGY (PIPELINE) --- */
.methodology {
  background-color: var(--bg-dark);
}

.pipeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  margin-top: 60px;
}

@media (min-width: 992px) {
  .pipeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

/* Connecting Line */
.pipeline__line {
  position: absolute;
  top: 0;
  left: 20px; /* Mobile position */
  width: 2px;
  height: 100%;
  background: #222;
  z-index: 0;
}

.pipeline__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(to bottom, var(--accent-primary), transparent);
  animation: flowLine 3s infinite linear;
}

@keyframes flowLine {
  0% {
    top: -30%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@media (min-width: 992px) {
  .pipeline__line {
    top: 45px; /* Aligns with icons */
    left: 0;
    width: 100%;
    height: 2px;
  }

  .pipeline__progress {
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, var(--accent-primary), transparent);
    animation: flowLineHorizontal 3s infinite linear;
  }
}

@keyframes flowLineHorizontal {
  0% {
    left: -30%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* Step Cards */
.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 30px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
  backdrop-filter: blur(5px);
}

.step-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.step-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.step-card__num {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

.step-card:hover .step-card__num {
  -webkit-text-stroke: 1px var(--accent-primary);
  opacity: 0.5;
}

.step-card__icon {
  width: 40px;
  height: 40px;
  color: var(--accent-secondary);
  background: rgba(57, 255, 20, 0.1);
  padding: 8px;
  border-radius: 50%; /* Исключение для иконки - круг */
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.step-card__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.step-card__desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Link Arrow Style */
.link-arrow {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.link-arrow:hover {
  gap: 10px;
  text-shadow: 0 0 10px var(--accent-primary);
}

/* --- BENTO GRID --- */
.benefits {
  background-color: var(--bg-dark);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

@media (min-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(250px, auto));
  }

  /* Spanning Classes */
  .bento-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .bento-item--tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .bento-item--wide {
    grid-column: span 2;
  }
}

/* Card Styling */
.bento-item {
  background: #0a0a0a;
  border: 1px solid var(--border-color);
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-item:hover {
  border-color: var(--accent-primary);
  background: #0f0f0f;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

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

/* Typography & Elements */
.bento-title {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

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

.bento-desc strong {
  color: var(--accent-primary);
}

.bento-icon-box {
  width: 50px;
  height: 50px;
  background: var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 20px;
}

.bento-icon-main {
  width: 48px;
  height: 48px;
  color: var(--accent-secondary);
  margin-bottom: auto; /* Push content down */
}

/* Decorative Numbers */
.bento-bg-num {
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  z-index: 1;
}

/* Stat Highlight */
.bento-stat {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 15px;
}

.bento-stat span {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-secondary);
  font-family: var(--font-heading);
}

.bento-stat small {
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Tech Markers (The L-shapes in corners) */
.bento-marker {
  position: absolute;
  width: 10px;
  height: 10px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.bento-marker.top-left {
  top: 0;
  left: 0;
  border-top-color: var(--accent-primary);
  border-left-color: var(--accent-primary);
}

.bento-marker.bottom-right {
  bottom: 0;
  right: 0;
  border-bottom-color: var(--accent-primary);
  border-right-color: var(--accent-primary);
}

.bento-item:hover .bento-marker {
  width: 20px;
  height: 20px;
}

/* Link inside Bento */
.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-weight: 500;
  margin-top: 20px;
  border-bottom: 1px solid var(--accent-primary);
  padding-bottom: 2px;
}

.bento-link:hover {
  color: var(--accent-primary);
  gap: 10px;
}
/* --- CONTACT SECTION --- */
.contact {
  background-color: var(--bg-dark);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

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

.contact__details {
  margin-top: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--accent-primary);
}

.contact__note {
  display: flex;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.contact__status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
}

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

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

/* --- FORM STYLES --- */
.contact__form-wrapper {
  background: #0e0e0e;
  padding: 40px;
  border: 1px solid var(--border-color);
  position: relative;
}

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

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

.form-input {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 15px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.form-input.error {
  border-color: #ff3333;
}

.error-msg {
  color: #ff3333;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none; /* JS will show this */
}

.form-input.error + .error-msg {
  display: block;
}

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

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

.checkmark {
  height: 24px;
  width: 24px;
  background-color: #1a1a1a;
  border: 1px solid #333;
  position: relative;
  flex-shrink: 0;
  transition: 0.3s;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--accent-primary);
}

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

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

.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}

.custom-checkbox .checkmark:after {
  left: 8px;
  top: 4px;
  width: 6px;
  height: 12px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

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

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

.captcha-group {
  background: #151515;
  padding: 15px;
  border: 1px solid #333;
  width: fit-content;
}

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

.btn-loader {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.success-message {
  text-align: center;
  padding: 40px 20px;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: rgba(57, 255, 20, 0.1);
  color: var(--accent-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.success-icon svg {
  width: 30px;
  height: 30px;
}

.success-title {
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.5rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: #111;
  border-top: 1px solid var(--accent-primary);
  padding: 20px;
  z-index: 9999;
  transition: bottom 0.5s ease;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.btn--small {
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* --- POLICY PAGES STYLES (Fixed Structure) --- */
.pages {
  padding: 120px 0 60px;
  color: var(--text-main);
}

.pages h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: #fff;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 20px;
}

.pages h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--accent-primary);
  margin: 40px 0 20px;
}

.pages p {
  margin-bottom: 20px;
  line-height: 1.8;
}

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

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

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