/* Landing-специфичные стили */

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(7, 9, 20, 0.7);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--text-0); background: rgba(255, 255, 255, 0.04); }
.nav-link-active { color: var(--text-0); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--text-1);
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.05); }

.nav-mobile {
  display: none;
  padding: 12px 24px 20px;
  background: rgba(7, 9, 20, 0.95);
  border-top: 1px solid var(--border);
}
.nav-link-mobile {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-1);
  border-bottom: 1px solid var(--border);
}

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-ghost { display: none; }
  .nav-mobile { display: block; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  font-size: 13px;
  color: var(--text-1);
  margin-bottom: 24px;
}
.hero-eyebrow-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: #fff;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-2);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-meta {
  display: flex; gap: 28px; flex-wrap: wrap;
  color: var(--text-2);
  font-size: 14px;
}
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hero-meta-check {
  color: var(--green);
  display: inline-flex;
}

/* Hero — космическая сцена со спутником */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 520px;
  margin: 0 auto;
}
.hero-scene {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 80%, rgba(59, 130, 246, 0.25), transparent 55%),
    radial-gradient(ellipse at 70% 20%, rgba(139, 92, 246, 0.18), transparent 55%),
    linear-gradient(180deg, #05070f 0%, #0a0e1e 100%);
  border: 1px solid rgba(139, 92, 246, 0.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 30px 80px rgba(0, 0, 0, 0.5);
}
.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 15%, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 45% 35%, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 78% 22%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 15% 65%, rgba(167,139,250,0.7), transparent),
    radial-gradient(1px 1px at 85% 75%, rgba(96,165,250,0.8), transparent),
    radial-gradient(1px 1px at 60% 50%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 92% 45%, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 35% 88%, rgba(255,255,255,0.6), transparent);
  animation: star-drift 60s linear infinite;
}
.hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.earth-layer, .sputnik-layer {
  transition: transform 0.1s linear;
  will-change: transform;
  transform-origin: center;
  transform-box: fill-box;
}
.signal-layer {
  /* fixed — does not move with parallax */
}
.sat-float {
  animation: sat-float 6s ease-in-out infinite;
  transform-origin: center;
}
.signal-pulse {
  animation: signal-pulse 2.4s ease-out infinite;
  transform-origin: 180px 320px;
}
.signal-path {
  stroke-dasharray: 3 5;
  animation: dash-flow 3s linear infinite;
}
.led {
  animation: led-blink 1.6s ease-in-out infinite;
}
.twinkle { animation: twinkle 3s ease-in-out infinite; }
.twinkle-2 { animation-duration: 4.2s; animation-delay: 0.5s; }
.twinkle-3 { animation-duration: 5s; animation-delay: 1.1s; }

@keyframes sat-float {
  0%, 100% { transform: translate(310px, 175px) rotate(0deg); }
  50% { transform: translate(308px, 168px) rotate(-1.5deg); }
}
@keyframes signal-pulse {
  0% { r: 4; opacity: 0.8; }
  100% { r: 26; opacity: 0; }
}
@keyframes dash-flow {
  to { stroke-dashoffset: -16; }
}
@keyframes led-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}
@keyframes star-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(-20px, -10px); }
}

.hero-badge {
  position: absolute;
  background: rgba(7, 9, 20, 0.85);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.hero-badge-1 { left: -4%; top: 20%; }
.hero-badge-2 { right: -6%; bottom: 22%; }
.hero-badge-3 { left: 8%; bottom: 10%; }

.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 340px; }
  .hero-badge { font-size: 11px; padding: 8px 12px; }
}

/* ===== Общие секции ===== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-head .pill {
  margin-bottom: 20px;
}
.section-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.feature-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad-brand-soft);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet-2);
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 19px;
  margin-bottom: 8px;
}
.feature-card p {
  color: var(--text-2);
  font-size: 15px;
}

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

/* ===== Pricing ===== */
.pricing-wrap {
  max-width: 520px;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  padding: 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.25), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(96, 165, 250, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border-strong);
  overflow: hidden;
}
.pricing-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), transparent 50%, rgba(96, 165, 250, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 24px 0 8px;
}
.price-big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-unit { font-size: 20px; color: var(--text-2); }
.price-hint { font-size: 14px; color: var(--text-3); margin-bottom: 28px; }

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--text-1);
}
.price-list svg { flex-shrink: 0; color: var(--green); margin-top: 2px; }

.price-note {
  display: flex;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--text-1);
  font-size: 14px;
  margin-bottom: 24px;
}
.price-note svg { flex-shrink: 0; color: var(--cyan); margin-top: 2px; }

/* ===== Locations ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.loc-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: transform 0.2s, border-color 0.2s;
}
.loc-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.loc-flag {
  width: 56px; height: 40px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.loc-name { font-weight: 600; color: var(--text-0); font-size: 15px; }
.loc-ping { font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 4px; }

.loc-card-locked {
  opacity: 0.65;
  border-style: dashed;
}
.loc-card-locked .loc-name { color: var(--text-2); }

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

/* ===== Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-quote {
  color: var(--text-1);
  font-size: 16px;
  line-height: 1.55;
  flex: 1;
}
.review-stars { display: flex; gap: 2px; color: #fbbf24; }
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-brand-soft);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--violet-2);
}
.review-name { font-weight: 600; color: var(--text-0); font-size: 14px; }
.review-date { font-size: 12px; color: var(--text-3); }

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

/* ===== Setup / Steps ===== */
.steps-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step-card {
  padding: 28px;
  position: relative;
}
.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.step-card h3 { font-size: 19px; margin-bottom: 8px; }
.step-card p { color: var(--text-2); font-size: 15px; }

@media (max-width: 800px) { .steps-wrap { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
}
.faq-item.open { border-color: rgba(139, 92, 246, 0.3); background: rgba(139, 92, 246, 0.05); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-0);
  width: 100%;
  text-align: left;
}
.faq-chevron {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--grad-brand); color: #fff; }
.faq-a {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
}

/* ===== CTA (финальный призыв) ===== */
.cta-section {
  padding: 100px 0;
}
.cta-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.3), transparent 70%),
    radial-gradient(ellipse at 50% 100%, rgba(96, 165, 250, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(139, 92, 246, 0.08), rgba(96, 165, 250, 0.04));
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.cta-wrap::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  left: -100px; top: -100px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-wrap::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  right: -150px; bottom: -150px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.3), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.cta-wrap h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  position: relative;
}
.cta-wrap p {
  font-size: 18px;
  color: var(--text-2);
  margin: 0 auto 36px;
  max-width: 540px;
  position: relative;
}
.cta-wrap .btn { position: relative; }

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: rgba(7, 9, 20, 0.6);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-brand { gap: 0; }
.footer-link {
  color: var(--text-2);
  font-size: 14px;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--text-0); }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-2);
  transition: color 0.15s, background 0.15s;
}
.social-btn:hover { color: var(--violet-2); background: rgba(139, 92, 246, 0.1); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }
}
