/* --- Variables & Reset --- */
:root {
  --bg-color: #0a0a0a;
  --surface-color: #141414;
  --text-primary: #f2f2f2;
  --text-secondary: #999999;
  --accent-color: #ccff00; /* Neon Lime */
  --accent-hover: #b3e000;
  --border-color: #333333;

  --font-main: "Inter", sans-serif;
  --font-display: "Space Grotesk", sans-serif;

  --container-width: 1440px;
  --padding-side: 20px;

  --header-height: 80px;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn--outline {
  border-color: var(--text-primary);
  color: var(--text-primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--bg-color);
  transform: translateY(-2px);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo__icon {
  color: var(--accent-color);
}

.nav {
  display: flex;
}

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

.nav__link {
  font-family: var(--font-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  position: relative;
}

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

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

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

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

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.burger__line {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

/* Mobile Nav Styles */
@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 999;
  }

  .nav.is-active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .nav__link {
    font-size: 24px;
    color: var(--text-primary);
  }

  .burger {
    display: flex;
  }

  /* Burger animation when active */
  .burger.is-active .burger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .burger.is-active .burger__line:nth-child(2) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* --- Footer --- */
.footer {
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  padding-top: 80px;
  font-size: 14px;
}

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

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

.footer__title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

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

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

.footer__link:hover {
  color: var(--accent-color);
  padding-left: 5px; /* Slight shift animation */
}

.footer__desc {
  color: var(--text-secondary);
  max-width: 300px;
}

.footer__note {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  font-size: 10px;
  text-transform: uppercase;
  margin-top: 10px;
  align-self: flex-start;
}

.footer__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--text-secondary);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer__contact-item i {
  width: 18px;
  height: 18px;
  color: var(--accent-color);
  flex-shrink: 0;
}

.footer__subtext {
  font-size: 12px;
  color: #555;
  margin-top: 10px;
}

.footer__bottom {
  border-top: 1px solid var(--border-color);
  padding: 20px var(--padding-side);
  text-align: center;
  color: #555;
  font-size: 12px;
}

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

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

/* --- Hero Section --- */
.hero {
  min-height: calc(100vh - var(--header-height));
  margin-top: var(--header-height);
  display: flex;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
}

/* Left Content */
.hero__main {
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border-color);
  position: relative;
}

.hero__label {
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-color);
  border-radius: 50%; /* Исключение для точки */
  box-shadow: 0 0 10px var(--accent-color);
  animation: pulse 2s infinite;
}

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

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 7rem); /* Адаптивный размер */
  line-height: 0.9;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 40px;
  color: var(--text-primary);
}

/* Эффект обводки текста */
.text-outline {
  -webkit-text-stroke: 1px var(--text-primary);
  color: transparent;
  transition: all 0.5s ease;
}

.hero__title:hover .text-outline {
  color: var(--accent-color);
  -webkit-text-stroke: 0px;
}

.hero__footer {
  margin-top: auto;
}

.hero__lead {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 30px;
  border-left: 2px solid var(--accent-color);
  padding-left: 20px;
}

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

.btn--solid {
  background-color: var(--text-primary);
  color: var(--bg-color);
  border: 1px solid var(--text-primary);
}

.btn--solid:hover {
  background-color: transparent;
  color: var(--text-primary);
}

.hero__note {
  font-size: 12px;
  color: var(--text-secondary);
  font-style: italic;
}

/* Right Visual */
.hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__image-wrapper {
  height: 100%;
  width: 100%;
  position: relative;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Фильтр для создания стиля "Swiss Tech" */
  filter: grayscale(100%) contrast(120%) brightness(80%);
  transition: filter 0.5s ease;
}

.hero__visual:hover .hero__img {
  filter: grayscale(0%) contrast(100%);
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.2),
    var(--bg-color)
  );
}

.hero__metrics {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  gap: 40px;
  z-index: 2;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent-color);
}

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

  .hero__main {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 40px 20px;
  }

  .hero__visual {
    min-height: 400px;
  }
}

/* --- Sections Common --- */
.section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.section-title {
  font-family: var(--font-display);
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::before {
  content: "//";
  color: var(--accent-color);
  margin-right: 10px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}

/* --- Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, minmax(280px, auto));
  gap: 20px;
}

/* Bento Item Base */
.bento-item {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 30px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bento-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
  z-index: 2;
}

/* Grid Spans (Layout) */
.bento-item--large {
  grid-column: span 2;
  grid-row: span 1;
}

.bento-item--wide {
  grid-column: span 2;
  grid-row: span 1;
  display: flex;
  align-items: center;
  background: var(--bg-color);
  padding: 0; /* Remove padding for ticker */
}

/* Styles Variations */
.bento-item--dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}

.bento-item--accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

/* Content Styling */
.bento-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-content.centered {
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 15px;
}

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

.bento-title {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.bento-text {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.bento-text-sm {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.text-dark {
  color: var(--bg-color) !important;
}

.icon-large {
  width: 48px;
  height: 48px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: auto;
}

.btn--outline-dark {
  border: 1px solid var(--bg-color);
  color: var(--bg-color);
  margin-top: auto;
  align-self: flex-start;
}

.btn--outline-dark:hover {
  background: var(--bg-color);
  color: var(--accent-color);
}

/* Chart Animation (CSS Only) */
.chart-line {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 60px;
  margin-top: 20px;
}

.chart-bar {
  width: 10px;
  background-color: #333;
  border-radius: 2px 2px 0 0;
  transition: height 1s ease;
}

.chart-bar.active {
  background-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.3);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--text-primary);
  display: block;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
}

/* Ticker / Marquee */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

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

.ticker__item {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.05);
  margin-right: 40px;
  text-transform: uppercase;
}

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

/* Responsive Bento */
@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

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

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

  .bento-item--large,
  .bento-item--wide {
    grid-column: span 1;
  }

  .section-title {
    font-size: 32px;
  }
}
/* --- Technology Section --- */
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr; /* Левая колонка шире */
  gap: 80px;
  align-items: start;
}

/* Timeline Styles */
.timeline {
  position: relative;
  padding-left: 20px;
  border-left: 1px solid var(--border-color);
}

.timeline-item {
  position: relative;
  padding-left: 40px;
  padding-bottom: 60px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* Marker (Circle with Number) */
.timeline-marker {
  position: absolute;
  left: -21px; /* Center on border line */
  top: 0;
  width: 40px;
  height: 40px;
  background-color: var(--bg-color);
  border: 1px solid var(--text-secondary);
  color: var(--text-secondary);
  border-radius: 50%; /* Круглые маркеры для контраста с квадратным дизайном */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  border-color: var(--accent-color);
  color: var(--bg-color);
  background-color: var(--accent-color);
  transform: scale(1.1);
}

.timeline-content {
  padding-top: 5px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  max-width: 500px;
}

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

.timeline-btn {
  margin-top: 20px;
}

/* Terminal / Trends Styles */
.tech-col-trends {
  position: sticky;
  top: 100px; /* Липкий эффект при скролле */
}

.terminal-box {
  background-color: #0f0f0f;
  border: 1px solid var(--border-color);
  padding: 0;
  font-family: "Space Mono", monospace; /* Моноширинный шрифт если есть, или fallback */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.terminal-header {
  background-color: var(--surface-color);
  padding: 10px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.terminal-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.terminal-title {
  font-size: 12px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.terminal-body {
  padding: 30px;
}

.trend-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.trend-val {
  display: flex;
  align-items: center;
  gap: 5px;
}

.trend-val.up {
  color: var(--accent-color);
}
.trend-val.down {
  color: #ff3333;
}

.trend-bar {
  width: 100%;
  height: 4px;
  background-color: #333;
  margin-bottom: 25px;
}

.trend-bar .fill {
  height: 100%;
  background-color: var(--accent-color);
}

.trend-bar .fill.down {
  background-color: #ff3333;
}

.terminal-divider {
  border: 0;
  border-top: 1px dashed #333;
  margin: 20px 0;
}

.terminal-msg {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.code-line {
  display: block;
}

.neon-text {
  color: var(--accent-color);
  text-shadow: 0 0 5px rgba(204, 255, 0, 0.5);
}

.terminal-note {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #888;
}

.terminal-note i {
  width: 14px;
  height: 14px;
}

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

  .tech-col-trends {
    position: static;
    order: -1; /* Показываем тренды выше на мобильном, или убери это свойство если хочешь ниже */
  }
}

/* --- Reviews Section --- */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 30px;
}

.reviews-stats {
  display: flex;
  gap: 40px;
}

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

.stat-big {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}

.stat-desc {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 5px;
}

/* Grid Layout */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

/* Hover Effect: "Glitch" border or Glow */
.review-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

.review-card--large {
  grid-column: span 2;
  background: linear-gradient(to right, var(--surface-color), #1a1a1a);
}

.review-card--accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-family: monospace;
  font-size: 12px;
  color: var(--text-secondary);
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-color);
  text-transform: uppercase;
  font-size: 10px;
  border: 1px solid var(--accent-color);
  padding: 2px 6px;
}

.verified-badge i {
  width: 12px;
  height: 12px;
}

.review-author {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 20px;
  font-style: italic;
}

.review-card--accent .review-text {
  color: var(--bg-color);
  font-weight: 500;
}

.review-card--accent .review-author {
  color: var(--bg-color);
  margin-bottom: 0;
  margin-top: auto;
}

.review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  margin-top: auto;
}

.review-date {
  font-size: 12px;
  color: var(--text-secondary);
}

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

.review-icon {
  margin-bottom: 15px;
  color: var(--bg-color);
}

/* Bottom CTA */
.reviews-cta {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

.reviews-cta-text {
  color: var(--text-secondary);
  font-size: 14px;
}

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

  .review-card--large {
    grid-column: span 1;
  }

  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Contact Section --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

/* Form Styling */
.contact-form-box {
  background-color: var(--surface-color);
  padding: 40px;
  border: 1px solid var(--border-color);
  position: relative;
}

.main-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.input-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
}

.input-field {
  width: 100%;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 15px;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.input-field:focus {
  border-color: var(--accent-color);
  background-color: rgba(204, 255, 0, 0.02);
}

/* Fake Captcha */
.captcha-container {
  margin: 10px 0;
}

.fake-captcha-wrapper {
  background-color: #f9f9f9; /* Светлый фон как у реальной капчи */
  border: 1px solid #d3d3d3;
  border-radius: 3px;
  padding: 0 12px;
  width: 300px; /* Фиксированная ширина */
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.08);
}

.fake-captcha-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.fake-captcha-label input {
  display: none; /* Скрываем реальный чекбокс */
}

/* Checkbox box design */
.checkmark-box {
  width: 24px;
  height: 24px;
  border: 2px solid #c1c1c1;
  border-radius: 2px;
  background-color: #fff;
  position: relative;
  transition: all 0.2s;
}

.fake-captcha-label:hover .checkmark-box {
  border-color: #b2b2b2;
}

/* Checkmark logic */
.fake-captcha-label input:checked + .checkmark-box {
  border-color: transparent;
}

/* Создаем галочку на CSS */
.fake-captcha-label input:checked + .checkmark-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0px;
  width: 10px;
  height: 18px;
  border: solid #009688; /* Цвет Google Green */
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  animation: checkAnim 0.2s ease-in-out forwards;
}

@keyframes checkAnim {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0.5);
  }
  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

.captcha-text {
  color: #222; /* Темный текст для светлого фона */
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.captcha-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.captcha-logo img {
  width: 32px;
  height: 32px;
  opacity: 0.7;
}

.captcha-logo span {
  font-size: 10px;
  color: #555;
  margin-top: 2px;
}

.captcha-logo small {
  font-size: 8px;
  color: #999;
}

/* Privacy Checkbox */
.privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text-secondary);
}

.privacy-checkbox input {
  display: none;
}

.custom-check {
  width: 16px;
  height: 16px;
  border: 1px solid var(--text-secondary);
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
}

.privacy-checkbox input:checked + .custom-check {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.privacy-checkbox input:checked + .custom-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid var(--bg-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

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

/* Button & Badge */
.btn--full {
  width: 100%;
  justify-content: center;
}

.secure-badge {
  text-align: center;
  font-size: 12px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.secure-badge i {
  width: 14px;
  height: 14px;
}

/* Success Message */
.success-message {
  display: none; /* Hidden by default */
  text-align: center;
  padding: 40px 20px;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-color);
  margin-bottom: 20px;
}

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

.success-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

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

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

/* Visual Side */
.contact-visual {
  height: 100%;
}

.contact-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-card-title {
  padding: 20px;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--border-color);
}

.contact-details {
  padding: 20px;
  font-style: normal;
  color: var(--text-secondary);
}

.map-placeholder {
  flex-grow: 1;
  background: #111;
  position: relative;
  overflow: hidden;
  min-height: 200px;
}

.map-grid {
  width: 200%;
  height: 200%;
  background-image: linear-gradient(rgba(50, 50, 50, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 50, 50, 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
  transform: perspective(500px) rotateX(60deg) translateY(-100px)
    translateZ(-100px);
  opacity: 0.5;
}

.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--accent-color);
}

.pin-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.5;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%,
  100% {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}

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

/* --- Cookie Pop-up --- */
.cookie-popup {
  position: fixed;
  bottom: -100px; /* Сховано за замовчуванням */
  left: 20px;
  right: 20px;
  max-width: 500px;
  background-color: rgba(20, 20, 20, 0.95);
  border: 1px solid var(--accent-color);
  padding: 20px;
  z-index: 9999;
  backdrop-filter: blur(10px);
  transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-popup.is-visible {
  bottom: 20px;
}

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

.cookie-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

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

.btn--sm {
  padding: 8px 16px;
  font-size: 12px;
  white-space: nowrap;
}

/* --- Стилі для сторінок політик (privacy.html і т.д.) --- */
.pages {
  padding: 120px 0 80px; /* Відступ для фіксованого хедера */
  min-height: 80vh;
}

.pages .container {
  max-width: 800px; /* Вужчий контейнер для тексту */
}

.pages h1 {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--text-primary);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.pages h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 20px;
}

.pages p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
}

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

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

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

/* Адаптив для попапа */
@media (max-width: 576px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn--sm {
    width: 100%;
    justify-content: center;
  }
}
