/* =========================================================
   Главная страница
   ========================================================= */

/* -------- Hero -------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-on-dark);
  overflow: hidden;
  padding: clamp(60px, 10vw, 140px) 0 clamp(80px, 12vw, 180px);
  min-height: 92vh;
  display: flex;
  align-items: center;
}

/* Video background */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
}

/* Dark gradient overlay over video */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(13,15,18,0.88) 35%,
    rgba(13,15,18,0.60) 65%,
    rgba(13,15,18,0.35) 100%
  );
  z-index: 1;
}

/* Background grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, black 30%, transparent 80%);
  z-index: 2;
}

/* Amber glow */
.hero::after {
  content: "";
  position: absolute;
  top: 20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,106,46,0.18), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: block;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(40px, 5.6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  color: var(--amber);
  position: relative;
}
.hero-title em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: var(--amber);
  opacity: 0.15;
  z-index: -1;
}
.hero-lead {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-on-dark-dim);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

/* Hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-line);
  padding-top: 24px;
}
@media (max-width: 600px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px 0; }
}
.hero-stat {
  padding: 0 16px;
  border-left: 1px solid var(--ink-line);
}
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat-value {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 600;
  color: var(--text-on-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-stat-unit {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  margin-left: 4px;
}
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-dim);
  margin-top: 8px;
}

/* Hero visual — drone blueprint */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
}
@media (max-width: 1000px) {
  .hero-visual { margin: 0 auto; max-width: 400px; }
}
.hero-visual svg { width: 100%; height: 100%; }

/* Technical labels around drone */
.tech-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.tech-label::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--amber);
}
.tech-label.right::before { order: 2; }
.tech-label.right { flex-direction: row; }
.tech-label span {
  color: var(--text-on-dark);
  opacity: 0.6;
}

.tech-label-1 { top: 8%; left: -8%; }
.tech-label-2 { top: 30%; right: -12%; }
.tech-label-2::before { display: none; }
.tech-label-2::after {
  content: ""; width: 40px; height: 1px; background: var(--amber); margin-left: 8px;
}
.tech-label-3 { bottom: 20%; left: -6%; }
.tech-label-4 { bottom: 5%; right: -8%; }
.tech-label-4::before { display: none; }
.tech-label-4::after {
  content: ""; width: 40px; height: 1px; background: var(--amber); margin-left: 8px;
}

@media (max-width: 1200px) {
  .tech-label { display: none; }
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-dark-dim);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 32px;
  background: linear-gradient(180deg, var(--amber), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Marquee (running text under hero) */
.marquee {
  background: var(--paper);
  border-bottom: 1px solid var(--paper-line);
  padding: 20px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-on-light-dim);
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee-track span::after {
  content: "◆";
  color: var(--amber);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* -------- Product lineup -------- */
.lineup {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--paper-line);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}
@media (max-width: 1080px) { .lineup { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .lineup { grid-template-columns: 1fr; } }
.lineup-card {
  padding: clamp(22px, 2.2vw, 34px);
  position: relative;
  transition: background .3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  overflow: hidden;
  background: var(--paper);
}
.lineup-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-bottom: 22px;
  border: 1px solid var(--paper-line);
  background: var(--paper-2);
  overflow: hidden;
}
.lineup-card.locked .lineup-thumb {
  border-color: var(--ink-line);
  background: var(--ink-2);
}
.lineup-thumb svg {
  width: 72%;
  max-height: 118px;
  height: auto;
  color: var(--text-on-light);
}
.lineup-card.locked .lineup-thumb svg { color: var(--text-on-dark); }
.lineup-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lineup-card:hover {
  background: var(--paper-2);
}
.lineup-card.locked {
  background: var(--ink);
  color: var(--text-on-dark);
}
.lineup-card.locked:hover { background: var(--ink-2); }

.lineup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.lineup-code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-on-light-dim);
}
.lineup-card.locked .lineup-code { color: var(--text-on-dark-dim); }

.lineup-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.02;
}
.lineup-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-on-light-dim);
  margin-bottom: 18px;
}
.lineup-card.locked .lineup-subtitle { color: var(--text-on-dark-dim); }

.lineup-description {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 22px;
  color: var(--text-on-light-dim);
}
.lineup-card.locked .lineup-description { color: var(--text-on-dark-dim); }

.lineup-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--paper-line);
  margin-bottom: 22px;
}
.lineup-card.locked .lineup-specs { border-color: var(--ink-line); }

.spec {
  display: flex;
  flex-direction: column;
}
.spec-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-on-light-dim);
  margin-bottom: 5px;
}
.lineup-card.locked .spec-label { color: var(--text-on-dark-dim); }
.spec-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.lineup-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s ease;
}
.lineup-card:hover .lineup-link {
  border-bottom-color: var(--amber);
}
.lineup-link .arrow {
  transition: transform .2s ease;
}
.lineup-card:hover .lineup-link .arrow {
  transform: translateX(6px);
}

/* Locked badge on military card */
.locked-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--danger);
  padding: 6px 10px;
  border: 1px solid var(--danger);
}
.locked-badge::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--danger);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* -------- Features / Capabilities — see shared styles.css -------- */

/* -------- Applications -------- */
.applications {
  background: var(--ink);
  color: var(--text-on-dark);
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .app-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .app-grid { grid-template-columns: 1fr; } }

.app-card {
  padding: 28px 24px;
  background: var(--ink-2);
  border: 1px solid var(--ink-line);
  position: relative;
  transition: all .25s ease;
}
.app-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px);
}
.app-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--amber);
  display: grid; place-items: center;
  margin-bottom: 24px;
  color: var(--amber);
}
.app-icon svg { width: 22px; height: 22px; }
.app-card h3 {
  font-size: 18px;
  color: var(--text-on-dark);
  margin-bottom: 8px;
}
.app-card p {
  font-size: 13px;
  color: var(--text-on-dark-dim);
  margin: 0;
  line-height: 1.55;
}
.app-num {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-on-dark-dim);
  letter-spacing: 0.1em;
}

/* -------- CTA strip -------- */
.cta-strip {
  background: var(--amber);
  color: var(--ink);
  padding: clamp(48px, 6vw, 80px) 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.cta-strip h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  max-width: 720px;
  margin: 0;
}
.cta-strip .btn {
  background: var(--ink);
  color: var(--paper);
}
.cta-strip .btn:hover {
  background: var(--text-on-light);
  transform: translateY(-2px);
}
