/* --- VARIABLES & RESET --- */
:root {
  --color-bg: #05060a; /* Deep Space Black */
  --color-bg-alt: #0b0d14;
  --color-primary: #00f0ff; /* Cyan Neon */
  --color-primary-dim: rgba(0, 240, 255, 0.1);
  --color-secondary: #5d3fd3; /* Deep Purple accent */
  --color-text: #e0e6ed;
  --color-text-muted: #94a3b8;
  --color-border: rgba(0, 240, 255, 0.2);

  --font-heading: "Rajdhani", sans-serif;
  --font-mono: "Share Tech Mono", monospace;

  --container-width: 1280px;
  --header-height: 80px;
  --gap-grid: 24px;
  --radius-hud: 2px; /* Sharp technical edges */

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-mono); /* Tech look by default */
  line-height: 1.6;
  overflow-x: hidden;
  /* HUD Grid Background Effect */
  background-image: linear-gradient(
      rgba(0, 240, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border: 1px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  position: relative;
  overflow: hidden;
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  transition: var(--transition);
}

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

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

.btn:hover {
  color: var(--color-bg);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(5, 6, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

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

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

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
}

.header__logo-highlight {
  color: var(--color-primary);
}

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

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

.header__link {
  font-size: 0.9rem;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
}

.header__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: var(--transition);
}

.header__link:hover {
  color: var(--color-primary);
  text-shadow: 0 0 8px var(--color-primary);
}

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

.header__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__burger-line {
  width: 30px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

/* --- MAIN --- */
.main {
  padding-top: var(--header-height); /* Offset for fixed header */
}

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

/* Tech decorations for footer */
.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 20%;
  width: 10px;
  height: 1px;
  background: #fff;
  box-shadow: 0 0 10px #fff;
}

.footer__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__title {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--color-primary);
  border-left: 2px solid var(--color-primary);
  padding-left: 10px;
}

.footer__desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 20px 0;
  max-width: 300px;
}

.footer__status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4ade80; /* Green status */
  font-size: 0.8rem;
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 8px 12px;
  display: inline-flex;
  background: rgba(74, 222, 128, 0.05);
}

.footer__list li {
  margin-bottom: 12px;
}

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

.footer__link:hover {
  color: #fff;
  padding-left: 10px;
}

.footer__link:hover::before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

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

.footer__contact-item i {
  color: var(--color-primary);
  min-width: 20px;
}

.footer__bottom {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

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

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1024px) {
  .header__nav {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-bg-alt);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--color-border);
  }

  .header__nav.active {
    right: 0;
  }

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

  .header__burger {
    display: flex;
  }

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

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

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
  overflow: hidden;
  /* Легкий градієнт знизу */
  background: radial-gradient(
    circle at 50% 100%,
    #1a202c 0%,
    var(--color-bg) 60%
  );
}

.hero__container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}

.hero__badge-icon {
  width: 16px;
  height: 16px;
}

/* Typography */
.hero__title {
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: 0.9;
  margin-bottom: 30px;
  color: #fff;
  text-transform: uppercase;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 500px;
  margin-bottom: 40px;
  border-left: 1px solid var(--color-primary);
  padding-left: 20px;
}

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

/* Actions */
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

.hero__info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.7;
}

.hero__info i {
  width: 14px;
  height: 14px;
}

/* HUD Elements */
.hero__hud-line {
  width: 100px;
  height: 1px;
  background: var(--color-primary);
  margin-top: 60px;
  position: relative;
}

.hero__hud-line::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -2px;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
}

.hero__hud-coords {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-primary);
  margin-top: 8px;
  opacity: 0.5;
}

/* Visual Side */
.hero__visual {
  position: relative;
}

.hero__visual-frame {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__img {
  width: 100%;
  height: auto;
  filter: grayscale(40%) contrast(120%) sepia(20%) hue-rotate(180deg); /* Tech look filter */
  mix-blend-mode: luminosity;
  opacity: 0.8;
}

/* Corners */
.corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-primary);
  transition: all 0.5s ease;
}

.corner--tl {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}
.corner--tr {
  top: -1px;
  right: -1px;
  border-left: none;
  border-bottom: none;
}
.corner--bl {
  bottom: -1px;
  left: -1px;
  border-right: none;
  border-top: none;
}
.corner--br {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.hero__visual:hover .corner {
  width: 40px;
  height: 40px;
}

/* Scan Line Animation */
.hero__scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
  opacity: 0.5;
  animation: scan 3s linear infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes scan {
  0% {
    top: 0%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* Floating Stat Card */
.hero__stat-card {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: rgba(5, 6, 10, 0.9);
  border: 1px solid var(--color-border);
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 200px;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hero__stat-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 5px;
}

/* Grid Floor Background */
.hero__grid-floor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: bottom;
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
}

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

  .hero__title {
    font-size: 3rem;
  }

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

  .hero__stat-card {
    right: 0;
    left: auto;
    bottom: -20px;
  }
}

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

.section-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 5px;
}

.section-subtitle {
  font-family: var(--font-mono);
  color: var(--color-primary);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 40px;
  opacity: 0.8;
}

/* --- MARQUEE LINE --- */
.marquee-line {
  background: var(--color-primary);
  color: var(--color-bg);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--color-primary);
}

.marquee-line__content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.marquee-line__content span {
  margin-right: 40px;
}

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

/* --- ABOUT SECTION --- */
.about__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

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

.about__desc strong {
  color: #fff;
  font-weight: 600;
}

.tech-list {
  margin-top: 30px;
}

.tech-list__item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
}

.tech-list__item i {
  color: var(--color-primary);
  width: 20px;
  height: 20px;
}

/* About Visual - Hologram */
.about__visual-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.about__visual-block::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  width: 20px;
  height: 20px;
  border-top: 2px solid var(--color-primary);
  border-left: 2px solid var(--color-primary);
}

.about__visual-block::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
}

.hologram-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px dashed var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 30px;
  animation: rotate 10s linear infinite;
}

.hologram-circle__inner {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.3);
  transform: scale(0.8);
}

.hologram-icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  animation: pulse 2s ease-in-out infinite;
}

.tech-stat {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
}

.tech-stat__label {
  color: var(--color-text-muted);
}
.tech-stat__value {
  color: var(--color-primary);
}

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

/* Base Bento Card Style */
.bento-card {
  background: rgba(11, 13, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: var(--radius-hud);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  border-color: rgba(0, 240, 255, 0.5);
  background: rgba(11, 13, 20, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.15);
}

/* Grid Spans */
.bento-card--large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 300px;
  background: linear-gradient(
    135deg,
    rgba(11, 13, 20, 0.8) 0%,
    rgba(0, 240, 255, 0.05) 100%
  );
}

.bento-card--medium {
  grid-column: span 1;
  grid-row: span 1;
}

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

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

.bento-card--accent {
  border: 1px solid var(--color-primary);
}

/* Card Content Styles */
.bento-card__icon-box {
  width: 50px;
  height: 50px;
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.bento-card__title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #fff;
}

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

.bento-link {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Specific Card Elements */
.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: auto;
}

.progress-bar__fill {
  height: 100%;
  background: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary);
}

.chart-visual {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin-top: auto;
  margin-bottom: 15px;
}

.chart-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  transition: height 0.3s;
}

.chart-bar.highlight {
  background: var(--color-primary);
}

.bento-card:hover .chart-bar {
  background: rgba(255, 255, 255, 0.2);
}

.bento-card:hover .chart-bar.highlight {
  background: var(--color-primary);
}

.bento-card__tag {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 0.7rem;
  color: #4ade80;
  border: 1px solid #4ade80;
  padding: 2px 6px;
  font-family: var(--font-mono);
}

.bento-big-icon {
  font-size: 3rem;
  width: 48px;
  height: 48px;
  opacity: 0.2;
  color: var(--color-primary);
}

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

.btn--sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

/* Keyframes */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

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

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

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

  .bento-card--tall {
    min-height: 250px;
  }
}

/* --- TIMELINE SECTION --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline__line-container {
  position: absolute;
  top: 0;
  left: 24px; /* Center of marker */
  height: 100%;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.timeline__line {
  width: 100%;
  height: 50%; /* Animated later if needed, now static */
  background: linear-gradient(to bottom, var(--color-primary), transparent);
}

.timeline__item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 60px;
  z-index: 1;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: var(--color-bg);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.timeline__marker::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border: 1px dashed rgba(0, 240, 255, 0.3);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

.timeline__content {
  background: rgba(11, 13, 20, 0.4);
  border-left: 2px solid var(--color-primary);
  padding: 20px 30px;
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.timeline__item:hover .timeline__content {
  background: rgba(11, 13, 20, 0.8);
  transform: translateX(10px);
  box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.5);
}

.timeline__title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}

.timeline__desc {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

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

.timeline__btn {
  margin-top: 20px;
}

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

.review-card {
  background: var(--color-bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  position: relative;
  transition: var(--transition);
}

/* Tech corners for review card */
.review-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-primary);
  border-left: 2px solid var(--color-primary);
  opacity: 0.5;
}

.review-card::after {
  content: "";
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
  opacity: 0.5;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  position: relative;
}

.review-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Circle avatar */
  filter: grayscale(100%);
}

.status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: #4ade80;
  border: 2px solid var(--color-bg-alt);
  border-radius: 50%;
}

.review-card__meta {
  flex-grow: 1;
}

.review-card__name {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 2px;
}

.review-card__id {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-primary);
  opacity: 0.8;
}

.review-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #facc15; /* Yellow star */
  font-family: var(--font-mono);
  font-weight: 700;
}

.review-card__rating i {
  width: 16px;
  height: 16px;
  fill: #facc15;
}

.review-card__body {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 20px;
  min-height: 80px;
}

.review-card__body strong {
  color: #fff;
  font-style: normal;
}

.review-card__footer {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  opacity: 0.5;
  text-transform: uppercase;
}

/* Mobile fix */
@media (max-width: 600px) {
  .timeline__line-container {
    left: 20px;
  }

  .timeline__marker {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .timeline__item {
    padding-left: 60px;
  }
}

/* --- CONTACT SECTION --- */
.contact__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

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

.contact__desc strong {
  color: #fff;
}

.contact__status-box {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  padding: 20px;
  font-family: var(--font-mono);
  max-width: 300px;
}

.contact__status-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.contact__status-row:last-child {
  margin-bottom: 0;
}

.status-label {
  color: var(--color-text-muted);
}

.status-val {
  color: #fff;
  font-weight: 700;
}

.text-green {
  color: #4ade80;
  text-shadow: 0 0 5px rgba(74, 222, 128, 0.5);
}

/* Form Wrapper (HUD Style) */
.contact__form-wrapper {
  position: relative;
  padding: 40px;
  background: rgba(11, 13, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.input-wrapper {
  position: relative;
}

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

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

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

.form-input:focus + .input-icon, /* This selector logic needs icon before input or JS, fixing via focus-within */
.input-wrapper:focus-within .input-icon {
  color: var(--color-primary);
}

/* Validation Styles */
.form-input.error {
  border-color: #ef4444;
}

.error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 5px;
  font-family: var(--font-mono);
}

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

/* Custom Checkbox */
.form-check {
  margin-bottom: 20px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  user-select: none;
}

.custom-checkbox input {
  display: none;
}

.checkmark {
  min-width: 20px;
  height: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  transition: var(--transition);
}

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

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

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

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

/* Custom Captcha */
.captcha-container {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px;
  margin-bottom: 24px;
  border-radius: 4px;
}

.custom-captcha {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  user-select: none;
}

.custom-captcha input {
  display: none;
}

.captcha-box {
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 2px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-captcha input:checked ~ .captcha-box {
  border-color: #4ade80;
}

.custom-captcha input:checked ~ .captcha-box::after {
  content: "";
  width: 14px;
  height: 14px;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
}

.captcha-text {
  flex-grow: 1;
  font-family: var(--font-heading);
  font-weight: 500;
}

.captcha-icon {
  color: var(--color-text-muted);
  width: 32px;
  height: 32px;
}

.custom-captcha input:checked ~ .captcha-icon {
  color: #4ade80;
}

/* Button Full */
.btn--full {
  width: 100%;
}

/* Success Message Overlay */
.success-message {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 6, 10, 0.95);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

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

.success-content {
  text-align: center;
  padding: 40px;
  border: 1px solid var(--color-primary);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.success-message.active .success-content {
  transform: scale(1);
}

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

.success-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

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

/* Mobile */
@media (max-width: 900px) {
  .contact__container {
    grid-template-columns: 1fr;
  }
  .contact__form-wrapper {
    padding: 20px;
  }
}

/* --- COOKIE POPUP --- */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 400px;
  background: rgba(5, 6, 10, 0.95);
  border: 1px solid var(--color-primary);
  padding: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cookie-popup::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

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

.cookie-popup__content {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

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

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

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

/* --- POLICY PAGES STYLES (privacy.html, terms.html etc.) --- */
/* Клас .pages огортає контент на окремих сторінках */
.pages {
  padding: 120px 0 80px; /* Відступ під фіксований хедер */
  min-height: 80vh;
}

.pages h1 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--color-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.pages h2 {
  font-size: 1.5rem;
  margin: 40px 0 20px;
  color: #fff;
}

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

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

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

.pages strong {
  color: #fff;
}

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

/* Адаптив для сторінок */
@media (max-width: 768px) {
  .cookie-popup {
    left: 20px;
    right: 20px;
    max-width: none;
  }
  .pages h1 {
    font-size: 2rem;
  }
}
