/* --- VARIABLES --- */
:root {
  --bg-dark: #0a0a0f;
  --text-main: #ffffff;
  --text-muted: #a0a0b0;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #ff0055 100%);
  --gradient-glass: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  --glow-cyan: #00f0ff;
  --glow-pink: #ff0055;

  /* Fonts */
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Outfit", sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-lg: 32px;
  --radius-pill: 100px;
}

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

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

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

html,
body {
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

/* --- AMBIENT GLOW --- */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}
.ambient-glow--1 {
  background: var(--glow-cyan);
  top: -200px;
  left: -100px;
}
.ambient-glow--2 {
  background: var(--glow-pink);
  bottom: -200px;
  right: -100px;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  border: none;
}

.btn--glow {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.btn--glow:hover {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
  transform: translateY(-2px);
}

.icon-sm {
  width: 18px;
  height: 18px;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.header__glass {
  width: 100%;
  max-width: var(--container);
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  padding: 12px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  background: linear-gradient(to right, #fff, #a0a0b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

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

.nav__link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger__bar {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* --- MAIN --- */
.main {
  padding-top: 120px; /* Space for fixed header */
}

/* --- FOOTER --- */
.footer {
  padding: 60px 20px 40px;
  margin-top: 80px;
}

.footer__glass {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 60px;
  position: relative;
  overflow: hidden;
}

/* Декоративний блік на футері */
.footer__glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

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

.footer__logo-text {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 20px;
}

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

.footer__title {
  color: #fff;
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.footer__links li {
  margin-bottom: 12px;
}
.footer__links a {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer__links a:hover {
  color: var(--glow-cyan);
  padding-left: 5px;
}

.footer__contacts li {
  display: flex;
  gap: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.footer__contacts i {
  color: var(--glow-pink);
  width: 20px;
}

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

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    top: 10px;
    padding: 0 10px;
  }
  .header__glass {
    padding: 12px 20px;
  }

  .header__nav {
    position: fixed;
    top: 80px;
    left: 10px;
    right: 10px;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    flex-direction: column;
    padding: 40px 20px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    width: auto;
  }

  .header__nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
  }

  .nav__link {
    font-size: 1.2rem;
  }
  .burger {
    display: flex;
  }

  .footer__glass {
    padding: 30px 20px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh; /* На весь екран */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 20px 60px; /* Відступи під фіксований хедер */
}

/* Background Animation Container */
.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

/* Plasma Blobs */
.plasma-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 10s infinite ease-in-out alternate;
  transition: transform 0.1s linear; /* Для плавності JS паралаксу */
}

.blob--1 {
  width: 500px;
  height: 500px;
  background: var(--glow-cyan);
  top: -10%;
  left: -10%;
  animation-duration: 12s;
}

.blob--2 {
  width: 400px;
  height: 400px;
  background: var(--glow-pink);
  bottom: 10%;
  right: -5%;
  animation-duration: 15s;
  animation-delay: -2s;
}

.blob--3 {
  width: 300px;
  height: 300px;
  background: #7000ff; /* Додатковий фіолетовий */
  top: 40%;
  left: 40%;
  animation-duration: 18s;
  animation-delay: -5s;
}

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

/* Hero Content Layout */
.hero__container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

/* Text Content */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  color: var(--glow-cyan);
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.badge__dot {
  width: 6px;
  height: 6px;
  background-color: var(--glow-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--glow-cyan);
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

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

.btn--lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

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

.icon-accent {
  color: var(--glow-cyan);
  width: 18px;
  height: 18px;
}

/* Glass Visual Card */
.glass-card {
  background: var(--gradient-glass);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.glass-card:hover {
  transform: perspective(1000px) rotateY(0) rotateX(0);
}

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

.glass-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--glow-cyan);
}

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

.glass-card__value {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

.glass-card__chart {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  height: 150px;
  margin-bottom: 30px;
}

.chart-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.chart-bar.active {
  background: var(--gradient-primary);
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
}

.glass-card__footer {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 240, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}

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

  .hero__actions {
    align-items: center;
  }

  .glass-card {
    transform: none;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2.5rem;
  }
  .hero {
    padding-top: 100px;
  }
}

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

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

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

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

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

/* --- STEPS GRID (Methodology) --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
}

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

/* Велика цифра на фоні */
.step-card__number {
  position: absolute;
  top: -20px;
  right: -20px;
  font-family: var(--font-head);
  font-size: 8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.02);
  z-index: 0;
  pointer-events: none;
  transition: 0.4s ease;
}

.step-card:hover .step-card__number {
  color: rgba(0, 240, 255, 0.05);
  transform: scale(1.1);
}

.step-card__content {
  position: relative;
  z-index: 1;
}

.step-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.02)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--glow-cyan);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-card--highlight .step-card__icon {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 0, 85, 0.3);
}

.step-card__title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.step-card__desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- MENTORING SECTION --- */
.mentoring-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--glow-cyan);
  border-radius: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.text-white {
  color: #fff;
}

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

.feature-list {
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
}

.feature-icon {
  color: var(--glow-pink);
  min-width: 24px;
  margin-top: 4px;
}

.feature-item strong {
  display: block;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

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

/* Visual HUD Panel */
.hud-panel {
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  position: relative;
}

/* Декоративні лінії по кутах */
.hud-panel::before,
.hud-panel::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--glow-cyan);
  border-style: solid;
  transition: 0.3s;
}

.hud-panel::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
  border-radius: 6px 0 0 0;
}
.hud-panel::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 6px 0;
}

.hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hud-row--bottom {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
  justify-content: flex-start;
  gap: 15px;
}

.hud-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
}
.hud-value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}
.text-green {
  color: #00ff94;
}
.text-cyan {
  color: var(--glow-cyan);
}

.hud-graph {
  margin: 20px 0;
  height: 100px;
  width: 100%;
}

.graph-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.graph-svg path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawGraph 3s ease forwards;
}

@keyframes drawGraph {
  to {
    stroke-dashoffset: 0;
  }
}

.hud-avatar {
  width: 40px;
  height: 40px;
  background: #333;
  border-radius: 50%;
  border: 2px solid var(--glow-pink);
}

.hud-name {
  font-weight: 700;
  font-size: 0.95rem;
}
.hud-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Glow Spot background */
.glow-spot {
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(112, 0, 255, 0.2) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  z-index: -1;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .mentoring-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .mentoring-visual {
    max-width: 500px;
    margin: 0 auto;
  }
}

/* --- BLOG SECTION --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  transition: 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.blog-card__image {
  height: 200px;
  width: 100%;
  overflow: hidden;
}

/* Імітація картинок градієнтами (щоб не бились посилання) */
.img-placeholder {
  width: 100%;
  height: 100%;
  transition: 0.5s ease;
}

.img--1 {
  background: linear-gradient(45deg, #1a1a2e, #16213e);
}
.img--2 {
  background: linear-gradient(45deg, #0f3460, #533483);
}
.img--3 {
  background: linear-gradient(45deg, #1a1a2e, #e94560);
}

.blog-card:hover .img-placeholder {
  transform: scale(1.1);
}

.blog-card__content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-dot {
  width: 4px;
  height: 4px;
  background: var(--glow-cyan);
  border-radius: 50%;
}

.blog-card__title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.3;
  color: #fff;
  transition: 0.3s;
}

.blog-card:hover .blog-card__title {
  color: var(--glow-cyan);
}

.blog-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-top: auto;
}

.blog-card__link i {
  width: 16px;
  transition: 0.3s;
}

.blog-card__link:hover i {
  transform: translateX(5px);
  color: var(--glow-cyan);
}

/* --- CTA SECTION --- */
.cta-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  text-align: center;
}

/* Яскравий фон для CTA */
.cta-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container);
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 240, 255, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  z-index: -1;
  border-radius: var(--radius-lg);
}

.cta-title {
  font-size: 3.5rem;
  margin-bottom: 24px;
  background: linear-gradient(to right, #fff, #a0a0b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .cta-title {
    font-size: 2.5rem;
  }
}

/* --- CONTACT SECTION --- */
.section--contact {
  padding-bottom: 120px;
  position: relative;
  overflow: hidden;
}

/* Background Glow */
.contact-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

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

/* Left Side Info */
.contact-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 450px;
}

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

.c-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
  font-weight: 500;
}

.c-feature i {
  color: var(--glow-cyan);
}

/* Terminal (Form) Styling */
.contact-terminal {
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  position: relative;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}

.terminal-title {
  margin-left: auto;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.contact-form {
  padding: 40px;
}

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

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

.input-wrapper {
  position: relative;
}

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

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 14px 14px 45px; /* Padding left for icon */
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: 0.3s;
  outline: none;
}

.form-input:focus {
  border-color: var(--glow-cyan);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.form-input:focus + .input-icon,
.input-wrapper:focus-within .input-icon {
  color: var(--glow-cyan);
}

/* Error State */
.form-group.error .form-input {
  border-color: var(--glow-pink);
}
.error-msg {
  display: none;
  color: var(--glow-pink);
  font-size: 0.8rem;
  margin-top: 5px;
  margin-left: 10px;
}
.form-group.error .error-msg {
  display: block;
}

/* Checkboxes */
.custom-checkbox {
  display: flex;
  align-items: flex-start; /* Align top for multiline text */
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-muted);
  user-select: none;
}

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

.checkmark {
  height: 20px;
  width: 20px;
  min-width: 20px; /* Prevent shrink */
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  position: relative;
  transition: 0.2s;
  margin-top: 2px;
}

.custom-checkbox:hover .checkmark {
  border-color: var(--glow-cyan);
}

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

/* Checkmark icon */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

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

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

/* Captcha Box Style */
.captcha-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
}

/* Submit Button Loading */
.btn--full {
  width: 100%;
  justify-content: center;
  margin-top: 10px;
}

.loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.btn.loading .btn-text {
  display: none;
}
.btn.loading .loader {
  display: block;
}

/* Success Message */
.success-message {
  display: none; /* JS toggles this */
  padding: 60px 40px;
  text-align: center;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.95);
  z-index: 10;
}

.success-message.active {
  display: flex;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(39, 201, 63, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #27c93f;
  margin-bottom: 20px;
}

.success-message h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff;
}

.success-message p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-info {
    text-align: center;
    margin-bottom: 20px;
  }
  .contact-features {
    align-items: center;
  }
  .contact-desc {
    margin: 0 auto 30px;
  }
}

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

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

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

.cookie-icon {
  font-size: 24px;
  color: var(--glow-pink);
  min-width: 24px;
}

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

.cookie-text a {
  color: #fff;
  text-decoration: underline;
}

.btn--sm {
  padding: 8px 20px;
  font-size: 0.85rem;
  background: #fff;
  color: #000;
  border-radius: 20px;
  white-space: nowrap;
}

.btn--sm:hover {
  background: var(--glow-cyan);
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  .btn--sm {
    width: 100%;
    justify-content: center;
  }
}

/* --- POLICY PAGES STYLES (privacy.html etc) --- */
/* Цей клас .pages-wrapper обгортає контент на окремих сторінках */
.pages-section {
  padding: 140px 0 80px; /* Більший відступ зверху через фіксований хедер */
  min-height: 80vh;
}

.pages {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pages h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.pages strong {
  color: #fff;
}

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