/* --- Variables & Reset --- */
:root {
  --bg-dark: #0a0a0f;
  --bg-gradient: radial-gradient(circle at 10% 20%, #1a1a2e 0%, #0a0a0f 90%);

  --color-primary: #ccff00; /* Electric Lime */
  --color-secondary: #a855f7; /* Soft Lilac */
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-white: #ffffff;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: blur(12px);

  --font-head: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;

  --container-width: 1280px;
  --section-gap: 120px;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-dark);
  background-image: var(--bg-gradient);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

ul {
  list-style: none;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
}

.btn--glow {
  background: var(--color-primary);
  color: var(--bg-dark);
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
}

.btn--glow:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 25px rgba(204, 255, 0, 0.6);
}

/* --- Header --- */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  max-width: var(--container-width);
  z-index: 1000;
  padding: 16px 32px;
  border-radius: 100px;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--color-white);
}

.header__logo-icon {
  width: 32px;
  height: 32px;
  /* Placeholder fallback style if SVG fails */
  background: var(--color-primary);
  border-radius: 50%;
}

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

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}

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

.nav__link:hover {
  color: var(--color-white);
}

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

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

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

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

.mobile-menu__content {
  text-align: center;
}

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

.mobile-menu__link {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--color-white);
}

.mobile-menu__link:hover {
  color: var(--color-primary);
}

.mobile-menu__close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
}

.mobile-menu__link--cta {
  margin-top: 20px;
  color: var(--color-primary);
  text-decoration: underline;
}

/* --- Footer --- */
.footer {
  background: #050508;
  padding: 100px 0 40px;
  margin-top: 100px; /* Temporary spacing */
  border-top: 1px solid var(--glass-border);
}

.footer__container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
}

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

.footer__logo {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 800;
  color: var(--color-white);
  display: block;
  margin-bottom: 24px;
}

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

.footer__title {
  font-family: var(--font-head);
  font-size: 16px;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

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

.footer__link {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer__link:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

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

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

.footer__socials {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: var(--color-primary);
  color: var(--bg-dark);
  transform: translateY(-3px) rotate(10deg);
}

.footer__bottom {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
  .header__nav {
    display: none;
  }
  .header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .header__cta {
    display: none; /* Hide CTA on smaller tablets to prefer burger */
  }
  .header__burger {
    display: block;
  }

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

@media (max-width: 600px) {
  .header {
    top: 10px;
    padding: 12px 20px;
  }
  .footer__container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__col--brand {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer__contact-item {
    justify-content: center;
  }
  .footer__socials {
    justify-content: center;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  /* Padding top to offset fixed header + spacing */
  padding: 180px 0 100px;
  overflow: hidden;
  /* Define section specific colors based on root */
  --hero-glow-1: rgba(204, 255, 0, 0.15); /* Primary low opacity */
  --hero-glow-2: rgba(168, 85, 247, 0.15); /* Secondary low opacity */
}

/* Background abstract neon glows */
.hero__bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.hero__bg-glow--1 {
  top: -10%;
  left: -5%;
  width: 50vw;
  height: 50vw;
  background: var(--hero-glow-1);
}

.hero__bg-glow--2 {
  bottom: 0%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: var(--hero-glow-2);
}

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

/* Hero Content */
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive giant font */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--color-white);
}

.hero__highlight {
  color: var(--color-primary);
  display: block; /* Makes it break to a new line for emphasis */
  position: relative;
}

/* Subtle underline glow effect for highlight */
.hero__highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: var(--color-primary);
  filter: blur(25px);
  opacity: 0.3;
  z-index: -1;
}

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

.text-accent {
  color: var(--color-secondary);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero__note {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: italic;
  opacity: 0.7;
}

/* Hero Visual (Asymmetric & Neon) */
.hero__visual {
  position: relative;
  /* Shift it slightly to break the grid visually */
  transform: translateY(20px) translateX(10px);
}

.hero__img-wrapper {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  /* Cyberpunk style border */
  padding: 4px;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}

.hero__img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 4px);
  object-fit: cover;
  /* Darken the placeholder slightly to fit the theme */
  filter: brightness(0.8) contrast(1.2);
}

/* Abstract decoration behind image */
.hero__abstract-decoration {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.4;
  /* Asymmetric placement */
  transform: rotate(-5deg);
}

/* Responsive Hero */
@media (max-width: 992px) {
  .hero {
    padding-top: 140px;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__description {
    margin: 0 auto 32px auto;
  }

  .hero__actions {
    align-items: center;
  }

  .hero__visual {
    transform: none;
    max-width: 500px;
    margin: 0 auto;
  }

  .hero__bg-glow {
    opacity: 0.5; /* Tone down on mobile */
  }
}

/* --- Global Section Styles (Reusable) --- */
.section-padding {
  padding: 120px 0;
}

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

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 24px;
  line-height: 1.2;
}

.text-neon {
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(204, 255, 0, 0.3);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  border-left: 3px solid var(--color-secondary);
  padding-left: 20px;
}

/* --- Methodology Section --- */
.methodology {
  position: relative;
  background-color: #08080c; /* Slightly darker than main bg */
}

/* Asymmetric Grid Layout */
.methodology__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  position: relative;
}

.method-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

/* Stagger effect: Push the second column down */
.methodology__grid .method-card:nth-child(even) {
  transform: translateY(60px);
}

/* Hover Effects */
.method-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--color-primary);
  box-shadow: 0 0 30px rgba(204, 255, 0, 0.1);
  transform: translateY(-10px); /* Lift up slightly */
}

.methodology__grid .method-card:nth-child(even):hover {
  transform: translateY(50px); /* Adjust for the inherent offset */
}

/* Card Content Styling */
.method-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.method-card__num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

.method-card__icon {
  width: 40px;
  height: 40px;
  color: var(--color-secondary);
  transition: transform 0.4s ease;
}

.method-card:hover .method-card__icon {
  transform: scale(1.2) rotate(15deg);
  color: var(--color-primary);
}

.method-card__title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

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

.highlight-text {
  color: var(--color-white);
  border-bottom: 1px dashed var(--color-secondary);
}

/* Decorative corner for cyber feel */
.method-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 40px 40px 0;
  border-color: transparent var(--color-secondary) transparent transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.method-card:hover::before {
  opacity: 1;
}

/* Animation Classes (used by JS) */
.reveal-anim {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.methodology__grid .method-card:nth-child(even).reveal-anim {
  transform: translateY(110px); /* 50px anim + 60px offset */
}

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

.methodology__grid .method-card:nth-child(even).reveal-anim.active {
  transform: translateY(60px); /* Rest at offset */
}

/* Responsive */
@media (max-width: 768px) {
  .methodology__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .methodology__grid .method-card:nth-child(even) {
    transform: translateY(0);
  }

  .methodology__grid .method-card:nth-child(even):hover {
    transform: translateY(-5px);
  }

  .methodology__grid .method-card:nth-child(even).reveal-anim {
    transform: translateY(30px);
  }

  .methodology__grid .method-card:nth-child(even).reveal-anim.active {
    transform: translateY(0);
  }
}

/* --- Blog / Terminal Section --- */
.terminal-window {
  background: #0e0e14;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  overflow: hidden;
  font-family: "Courier New", Courier, monospace; /* Terminal font vibe */
}

/* Terminal Title Bar */
.terminal-bar {
  background: #1a1a23;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
}

.terminal-dots {
  display: flex;
  gap: 8px;
  margin-right: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot--red {
  background: #ff5f56;
}
.dot--yellow {
  background: #ffbd2e;
}
.dot--green {
  background: #27c93f;
}

.terminal-user {
  font-family: monospace;
  font-size: 14px;
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* Terminal Content Area */
.terminal-content {
  padding: 40px;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.06),
      rgba(0, 255, 0, 0.02),
      rgba(0, 0, 255, 0.06)
    );
  background-size: 100% 2px, 3px 100%; /* Old CRT Monitor effect */
}

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

/* Log Entry (Article) */
.log-entry {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid transparent;
  border-left: 2px solid var(--glass-border);
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.01);
}

.log-entry:hover {
  background: rgba(255, 255, 255, 0.03);
  border-left-color: var(--color-primary);
  transform: translateX(5px);
}

.log-entry__meta {
  font-family: monospace;
  font-size: 12px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.log-date {
  color: var(--color-secondary);
}

.log-tag {
  color: var(--color-primary);
  background: rgba(204, 255, 0, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.log-entry__title {
  font-family: var(--font-body); /* Keep readable font for title */
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.4;
}

.log-entry__excerpt {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  flex-grow: 1; /* Pushes the link to bottom */
}

.highlight-text-sm {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-secondary);
}

/* Link as Command */
.log-entry__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-top: auto;
}

.log-entry__link i {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.log-entry__link:hover i {
  transform: translateX(5px);
}

.log-entry__link::before {
  content: ">";
  color: var(--color-secondary);
  margin-right: 4px;
}

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

  .log-entry {
    border-left: none;
    border-top: 2px solid var(--glass-border);
    padding: 20px 0;
  }

  .log-entry:hover {
    transform: translateY(-5px);
    border-top-color: var(--color-primary);
    background: transparent;
  }
}

/* --- Cases / Dossier Section --- */
.cases {
  position: relative;
  /* Optional: subtle grid background pattern */
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.dossier-card {
  position: relative;
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 30px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.dossier-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

/* "Stamp" in the corner */
.dossier-status {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 1px;
  border: 1px solid;
}

.status--success {
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.2);
}

.status--pending {
  color: var(--color-secondary);
  border-color: var(--color-secondary);
}

/* Header with Avatar */
.dossier-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.dossier-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--glass-border);
}

.dossier-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%); /* Tech feel */
  transition: filter 0.3s ease;
}

.dossier-card:hover .dossier-avatar img {
  filter: grayscale(0%);
}

.dossier-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--color-white);
  line-height: 1.2;
}

.dossier-role {
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.dossier-location {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dossier-location i {
  width: 12px;
  height: 12px;
}

/* Stats Row */
.dossier-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 24px;
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.stat-value {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
}

.text-secondary {
  color: var(--color-secondary);
}

/* Body Text */
.dossier-body {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.6;
}

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

/* --- Mentorship Section --- */
.mentorship {
  position: relative;
  overflow: hidden;
}

/* Central ambient glow */
.mentorship__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.1) 0%,
    transparent 70%
  );
  z-index: -1;
  pointer-events: none;
}

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

/* List Styling */
.mentorship__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mentorship__item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  color: var(--color-white);
}

.mentorship__icon {
  color: var(--color-primary);
  min-width: 24px;
}

/* CTA Card Styling */
.cta-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  text-align: center;
  /* Pulsing border effect */
  box-shadow: 0 0 0 0 rgba(204, 255, 0, 0);
  animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(204, 255, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(204, 255, 0, 0);
  }
}

.cta-card__badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-secondary);
  color: var(--color-white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-card__title {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-card__desc {
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.cta-card__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--color-primary);
  margin-bottom: 30px;
  font-weight: 600;
}

.cta-card__timer i {
  width: 16px;
  height: 16px;
  animation: spin 10s linear infinite;
}

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

.cta-card__btn {
  width: 100%;
  gap: 10px;
}

.cta-card__footer {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.text-link {
  color: var(--color-white);
  text-decoration: underline;
  transition: color 0.3s;
}

.text-link:hover {
  color: var(--color-primary);
}

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

  .mentorship__action {
    order: -1; /* Show CTA first on mobile if desired, or keep as is */
  }
}

/* --- Contact Section --- */
.contact {
  padding-bottom: 150px;
}

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

.contact__form-box {
  background: rgba(20, 20, 30, 0.8);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

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

.input-wrapper {
  position: relative;
}

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

.form__input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 16px 14px 48px; /* space for icon */
  color: var(--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);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.1);
}

.form__input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--color-primary);
}

/* Validation Styles */
.form__group.error .form__input {
  border-color: #ff5f56;
}

.error-msg {
  display: none;
  color: #ff5f56;
  font-size: 0.75rem;
  margin-top: 6px;
  margin-left: 10px;
}

.form__group.error .error-msg {
  display: block;
}

/* Custom Checkboxes & Captcha */
.form__checkbox-group {
  margin-bottom: 20px;
}

.custom-checkbox {
  display: flex;
  align-items: center; /* Center items vertically */
  position: relative;
  padding-left: 35px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  user-select: none;
}

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

.checkmark {
  position: absolute;
  top: 0; /* Aligned to top for multi-line text, or use 50% for single line */
  left: 0;
  height: 22px;
  width: 22px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  transition: all 0.3s;
}

/* Adjust checkmark position for text alignment */
.custom-checkbox .checkmark {
  top: 50%;
  transform: translateY(-50%);
}

.custom-checkbox:hover input ~ .checkmark {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

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

.custom-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid var(--bg-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

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

/* Captcha Specific */
.captcha-box {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px 15px 15px 45px; /* Adjust padding-left to account for absolute checkmark */
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  width: fit-content;
  min-width: 200px;
}
.captcha-box .checkmark {
  left: 12px; /* Position inside the box */
}

.captcha-icon {
  margin-left: auto;
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
}

.form__btn {
  width: 100%;
  margin-top: 10px;
  gap: 10px;
}

/* Form Success Message */
.form__success-message {
  display: none;
  text-align: center;
  padding: 40px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-dark); /* Cover the form */
  border-radius: var(--radius-lg);
  z-index: 10;
}

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

.form__success-message h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 10px;
}

.form__success-message p {
  color: var(--color-text-muted);
}

/* --- Cookie Pop-up --- */
.cookie-popup {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 350px;
  background: rgba(15, 15, 20, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-primary); /* Neon border highlight */
  border-radius: var(--radius-md);
  padding: 24px;
  z-index: 2000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: none; /* Hidden by default */
  flex-direction: column;
  gap: 16px;
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.4;
}

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

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

.cookie-btn {
  width: 100%;
  padding: 10px;
  font-size: 0.9rem;
}

/* --- Legal Pages Styling (Етап 5) --- */
.pages {
  padding: 180px 0 100px;
  min-height: 80vh;
}

.pages h1 {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--color-white);
  margin-bottom: 40px;
  text-align: center;
}

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

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

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

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

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

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

  .cookie-popup {
    left: 20px;
    right: 20px;
    width: auto;
    bottom: 20px;
  }
}
