:root {
  --green: #00D26A;
  --black: #0B0B0E;
  --white: #FFFFFF;
  --gray:  #F2F3F5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Arial, sans-serif;
  color: var(--white);
  background: var(--black);
  line-height: 1.5;
}

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

header {
  position: sticky;
  top: 0;
  background: rgba(11, 11, 14, 0.9);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid #111;
  z-index: 10;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.brand .logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.menu {
  display: flex;
  gap: 20px;
  align-items: center;
}
.menu a {
  display: flex;
  align-items: center;
  height: 40px;
}

.btn {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--green);
  color: var(--white);
  border-radius: 10px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: none;
  font: inherit;
  font-size: 14px;
}

.btn:hover {
  background: var(--green);
  color: var(--black);
}

.btn.primary {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
  font-weight: 600;
}

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

.btn.small {
  padding: 8px 12px;
  font-size: 13px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background-color: #05060b;
}

.hero-dotgrid {
  background:
    radial-gradient(900px 350px at 80% -10%, rgba(0, 210, 106, 0.22), transparent 65%),
    radial-gradient(800px 300px at 10% 110%, rgba(82, 39, 255, 0.18), transparent 60%);
}

.hero-single.hero-inner {
  grid-template-columns: minmax(0, 1.1fr);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

#dotGrid {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.9;
  filter: blur(0.25px);
}

.hero-single.hero-inner {
  grid-template-columns: minmax(0, 1.1fr);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

#dotGrid {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.9;
  filter: blur(0.25px);
}

}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero h1 {
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero p {
  max-width: 720px;
  margin: 0 0 28px;
  color: #cfd3d8;
}

.hero-media img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid #222;
  display: block;
  object-fit: cover;
  max-height: 360px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #0f1115;
  border: 1px solid #151820;
  border-radius: 16px;
  padding: 22px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(0, 210, 106, 0.25);
}

.card h3 {
  margin: 0 0 10px;
}

.card img {
  width: 100%;
  max-height: 220px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid #1f222a;
  object-fit: contain;
  background: #05060b;
}

.badge {
  display: inline-block;
  background: rgba(0, 210, 106, 0.12);
  color: var(--green);
  border: 1px solid rgba(0, 210, 106, 0.35);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  margin-bottom: 16px;
}

.section-intro {
  max-width: 800px;
  color: #cfd3d8;
  margin-top: 8px;
}

.section-intro-light {
  max-width: 900px;
  margin-top: 8px;
  color: #333;
}

.cards-products {
  margin-top: 20px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.loader {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

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

.form-submitting .loader {
  display: block;
}

.form-submitting button[type="submit"] {
  opacity: 0.7;
  pointer-events: none;
}

section {
  padding: 64px 0;
}

.section-light {
  background: var(--gray);
  color: #0c1118;
}

.section-light .card {
  background: #fff;
  border-color: #e6e8ec;
  color: #0c1118;
}

.section-light .btn {
  color: #0c1118;
}

.section-light .btn:hover {
  background: var(--green);
  color: var(--white);
}

.about {
  background: #05060b;
  color: var(--white);
}

.about p {
  max-width: 900px;
  color: #f3f5fa;
}

.note {
  font-size: 13px;
  color: #666;
  margin-top: 12px;
}

footer {
  padding: 40px 0;
  border-top: 1px solid #111;
}
.footer-contact {
  color: #cfd3d8;
  font-size: 13px;
  margin-top: 8px;
}

.footer-contact a {
  color: #cfd3d8;
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--green);
}

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

.legal {
  color: #9aa0a6;
  font-size: 12px;
  margin-top: 18px;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--black);
  border-top: 1px solid #111;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #222;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--green);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-toggle:hover {
  color: var(--green);
}

.form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.full-width {
  width: 100%;
}

.top-margin {
  margin-top: 12px;
}

/* Zgoda RODO – wyrównanie w Safari i Chrome */

.checkbox-row {
  display: grid;
  grid-template-columns: 18px 1fr; /* левая колонка под чекбокс, правая – под текст */
  column-gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  max-width: 100%;
}

.checkbox-row input {
  margin: 3px 0 0 0;
  flex-shrink: 0;
}

.checkbox-row span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  color: #666; /* можешь заменить на #cfd3d8 если хочешь светлее */
}

input,
textarea {
  background: #0f1115;
  border: 1px solid #151820;
  color: var(--white);
  padding: 12px;
  border-radius: 8px;
  width: 100%;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--green);
}

button[type="submit"] {
  width: 100%;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

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

  .menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

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