/* styles.css — Cyberpunk / High-tech стиль для GVBS MEDIA LED */

:root {
  --neon-cyan:   #00f3ff;
  --neon-purple: #bc13fe;
  --neon-green:  #0aff0a;
  --dark-bg:     #050509;
  --dark-alt:    #0c0f18;
  --glass:       rgba(20, 25, 35, 0.75);
  --border-soft: rgba(255, 255, 255, 0.08);

  --font-main: 'Rajdhani', sans-serif;
  --font-head: 'Orbitron', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #101525 0, #050509 45%, #000 100%);
  color: #ffffff;
  font-family: var(--font-main);
  overflow-x: hidden;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ---------- НАВИГАЦИЯ ---------- */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 8%;
  background: rgba(5, 5, 10, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-soft);
}

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

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 14px rgba(0, 243, 255, 0.9);
}

.logo-text {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 1px;
}
.logo-text span {
  color: var(--neon-cyan);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
}
.nav-links a {
  color: #c7c7d6;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1.5px;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  transition: width 0.2s ease-out;
}
.nav-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 6px var(--neon-cyan);
}
.nav-links a:hover::after {
  width: 100%;
}

.lang-switcher {
  display: flex;
  gap: 6px;
}
.lang-switcher button {
  background: transparent;
  border-radius: 999px;
  border: 1px solid #333849;
  color: #b0b7c9;
  padding: 6px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.2s ease-out;
}
.lang-switcher button:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

/* ---------- HERO ---------- */

.hero {
  min-height: 90vh;
  padding: 110px 8% 80px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top, rgba(0, 243, 255, 0.12), transparent 60%),
    radial-gradient(circle at bottom, rgba(188, 19, 254, 0.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 80px);
  text-shadow: 0 0 24px rgba(0, 243, 255, 0.65);
  margin-bottom: 16px;
}

.hero p {
  font-size: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #a9adc0;
  margin-bottom: 32px;
}

.hero-subinfo {
  margin-top: 20px;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #757b93;
  opacity: 0.9;
}

.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  max-width: 320px;
  width: 100%;
  border-radius: 50%;
  box-shadow:
    0 0 40px rgba(0, 243, 255, 0.65),
    0 0 80px rgba(188, 19, 254, 0.55);
}

/* Кнопка CTA */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 999px;
  border: 1px solid var(--neon-cyan);
  background: transparent;
  color: var(--neon-cyan);
  font-family: var(--font-head);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.22s ease-out;
  box-shadow: 0 0 0 rgba(0, 243, 255, 0);
}
.btn-primary:hover {
  background: var(--neon-cyan);
  color: #050509;
  box-shadow: 0 0 19px rgba(0, 243, 255, 0.9);
}

/* ---------- СЕКЦИИ ---------- */

.section {
  padding: 80px 8%;
  position: relative;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(0, 243, 255, 0.04), rgba(0, 0, 0, 0.95));
}

.section-contact {
  background: radial-gradient(circle at center, rgba(188, 19, 254, 0.09), #050509);
}

.section-title {
  font-family: var(--font-head);
  font-size: 30px;
  margin-bottom: 40px;
  padding-left: 18px;
  border-left: 4px solid var(--neon-purple);
  text-shadow: 0 0 10px rgba(188, 19, 254, 0.6);
}

/* ---------- КАРТОЧКИ РЕШЕНИЙ ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.card {
  background: var(--glass);
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  padding: 24px 24px 26px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
  transition: 0.28s ease-out;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left, rgba(0, 243, 255, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.28s ease-out;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-6px) translateZ(0);
  border-color: rgba(0, 243, 255, 0.65);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.95),
    0 0 28px rgba(0, 243, 255, 0.45);
}
.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  margin-bottom: 12px;
}

.card p {
  font-size: 14px;
  color: #cfd3e4;
  margin-bottom: 16px;
}

.card-specs {
  list-style: none;
  font-size: 13px;
  color: #9ca1b8;
}
.card-specs li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 6px;
}
.card-specs li::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--neon-cyan);
  font-size: 12px;
}

/* ---------- КАЛЬКУЛЯТОР ---------- */

.calc-wrapper {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(260px, 1fr);
  gap: 32px;
  align-items: flex-start;
  background: rgba(8, 10, 18, 0.95);
  border-radius: 22px;
  padding: 28px 28px 32px;
  border: 1px solid rgba(0, 243, 255, 0.15);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.95);
}

.calc-left,
.calc-right {
  width: 100%;
}

.calc-label {
  display: block;
  font-size: 13px;
  color: #c2c7dc;
  margin-bottom: 8px;
}

#distVal {
  color: var(--neon-cyan);
  font-weight: 700;
}

input[type="range"] {
  width: 100%;
  margin: 12px 0 24px;
  appearance: none;
  background: transparent;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 999px;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--neon-cyan);
  margin-top: -6px;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.9);
}
input[type="range"]::-moz-range-track {
  height: 4px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
  border-radius: 999px;
}
input[type="range"]::-moz-range-thumb {
  height: 16px;
  width: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.9);
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.calc-right {
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  padding-left: 24px;
}

.calc-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-size: 14px;
  color: #c4c8da;
}
.calc-line strong {
  font-size: 18px;
  color: var(--neon-green);
  text-shadow: 0 0 12px rgba(10, 255, 10, 0.5);
}

.calc-note {
  font-size: 11px;
  color: #7b8094;
  margin: 12px 0 16px;
}

/* ---------- ВИДЕО ---------- */

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.95);
}

.promo-video {
  width: 100%;
  display: block;
  border-radius: 20px;
  background: #000;
}

/* ---------- ПРОЕКТЫ / ГАЛЕРЕЯ ---------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.project-item {
  background: #05060d;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
}

.project-item img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.project-item figcaption {
  padding: 10px 14px 12px;
  font-size: 13px;
  color: #d7dbed;
}

/* ---------- ОТЗЫВЫ ---------- */

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

.review {
  background: #0b0f18;
  border-radius: 16px;
  border-left: 4px solid var(--neon-green);
  padding: 18px 20px 20px;
  font-size: 14px;
  color: #dde1f3;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
}

.review strong {
  display: block;
  margin-bottom: 4px;
  color: #ffffff;
}

/* ---------- FAQ ---------- */

.faq-item {
  background: rgba(9, 12, 22, 0.9);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px 16px;
  margin-bottom: 10px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 14px;
  color: #e1e4f3;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "+";
  margin-right: 8px;
  color: var(--neon-cyan);
}

.faq-item[open] summary::before {
  content: "–";
}

.faq-item p {
  margin-top: 8px;
  font-size: 13px;
  color: #b9bed1;
}

/* ---------- ФОРМА ---------- */

#contactForm {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

input,
textarea {
  width: 100%;
  border-radius: 999px;
  border: 1px solid #32374a;
  background: #050711;
  color: #f5f7ff;
  font-family: var(--font-main);
  font-size: 15px;
  padding: 14px 18px;
  transition: 0.2s ease-out;
}

textarea {
  border-radius: 18px;
  resize: vertical;
  min-height: 110px;
}

input::placeholder,
textarea::placeholder {
  color: #585f76;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 1px rgba(0, 243, 255, 0.35);
}

.privacy-note {
  font-size: 11px;
  color: #858aa0;
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}

/* ---------- ФУТЕР ---------- */

footer {
  padding: 32px 8% 40px;
  text-align: center;
  color: #777d92;
  background: #020307;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

footer a {
  color: var(--neon-cyan);
}
footer a:hover {
  text-decoration: underline;
}

/* ---------- ПЛАВАЮЩИЙ «ЧАТ» (TG) ---------- */

.floating-chat {
  position: fixed;
  bottom: 20px;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at top, var(--neon-cyan), #007b91);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #020307;
  font-family: var(--font-head);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 0 18px rgba(0, 243, 255, 0.8),
    0 18px 45px rgba(0, 0, 0, 0.9);
  z-index: 1200;
  transition: 0.2s ease-out;
}
.floating-chat:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 26px rgba(0, 243, 255, 1),
    0 22px 60px rgba(0, 0, 0, 1);
}

/* ---------- АДАПТИВ ---------- */

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

  .calc-right {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-left: 0;
    padding-top: 18px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 100px;
  }

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

  .hero-logo-wrap {
    order: -1;
    margin-bottom: 24px;
  }

  .section {
    padding: 60px 6%;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 34px;
  }

  .btn-primary {
    width: 100%;
  }

  .floating-chat {
    width: 46px;
    height: 46px;
    bottom: 14px;
    right: 12px;
    font-size: 13px;
  }
}
