:root {
  --accent: #15E2E0;
  --accent-soft: rgba(21, 226, 224, 0.2);
  --bg-main: #030815;
  --bg-alt: #061123;
  --text: #E4F8F8;
  --muted: rgba(228, 248, 248, 0.78);
  --border-soft: rgba(21, 226, 224, 0.25);
  --radius-lg: 32px;
  --radius-md: 20px;
  --radius-sm: 999px;
  --header-side-padding: 32px;
}

/* base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, #041a30 0%, #02020a 40%, #010108 100%);
  color: var(--text);
  line-height: 1.5;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 72px;
  z-index: 100;
  display: flex;
  align-items: center;
  transition:
    background 0.25s ease,
    backdrop-filter 0.25s ease,
    border-bottom 0.25s ease,
    box-shadow 0.25s ease;
  background: transparent;
}

.site-header.scrolled {
  background: rgba(2, 8, 18, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 0 24px rgba(4, 189, 255, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 14px;
  text-transform: uppercase;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav a:hover::after {
  width: 100%;
}

.header-cta {
  font-size: 13px;
  padding-inline: 16px;
  white-space: nowrap;
}

/* buttons */

.btn {
  border-radius: 999px;
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease,
    color 0.16s ease,
    border-color 0.16s ease;
}

.btn-accent {
  background: radial-gradient(circle at top left, #35f0ff, #15E2E0);
  color: #020410;
  box-shadow: 0 0 18px rgba(21, 226, 224, 0.65);
}

.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(21, 226, 224, 0.9);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(11, 27, 53, 0.9);
  box-shadow: 0 0 20px rgba(21, 226, 224, 0.4);
}

.btn-ghost {
  background: rgba(10, 24, 48, 0.8);
  border: 1px solid transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  border-color: var(--border-soft);
  box-shadow: 0 0 18px rgba(21, 226, 224, 0.35);
}

.btn-full {
  width: 100%;
}

/* burger */

.burger {
  display: none;
  width: 38px;
  height: 32px;
  border-radius: 999px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 10, 25, 0.9);
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.burger span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition:
    transform 0.16s ease,
    opacity 0.16s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* sections */

.section {
  padding: 104px 0;
  position: relative;
}

.section-alt {
  background: radial-gradient(circle at top, #07162b 0%, #020812 55%, #010109 100%);
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0, rgba(21, 226, 224, 0.07) 0, transparent 45%),
    radial-gradient(circle at 90% 100%, rgba(135, 106, 255, 0.09) 0, transparent 45%);
  opacity: 0.7;
  pointer-events: none;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 640px;
}

.section-heading.center {
  text-align: center;
  margin: 0 auto 40px;
}

.section-heading h2 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 28px;
  margin: 6px 0 12px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.8;
}

/* hero */

.hero {
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0 0, rgba(21, 226, 224, 0.2) 0, transparent 55%),
    radial-gradient(circle at 100% 0, rgba(114, 95, 255, 0.2) 0, transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-left h1 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 32px;
  line-height: 1.2;
  margin: 10px 0 14px;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(4, 13, 33, 0.9);
  border: 1px solid rgba(21, 226, 224, 0.3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.hero-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4cff88;
  box-shadow: 0 0 12px rgba(76, 255, 136, 0.8);
}

.hero-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.hero-bullets li {
  position: relative;
  padding-left: 14px;
}

.hero-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-meta-label {
  color: var(--muted);
}

.hero-meta-value {
  font-weight: 600;
}

/* hero right / orbit */

.hero-right {
  display: flex;
  justify-content: center;
}

.orbit-card {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  padding: 20px;
  background: radial-gradient(circle at top, rgba(21, 226, 224, 0.25), rgba(3, 7, 23, 0.98));
  border: 1px solid rgba(21, 226, 224, 0.35);
  box-shadow: 0 0 40px rgba(21, 226, 224, 0.5);
  overflow: hidden;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(186, 225, 255, 0.22);
}

.orbit-1 {
  inset: 16% 10%;
}

.orbit-2 {
  inset: 30% 18%;
}

.orbit-3 {
  inset: 44% 26%;
}

.planet {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 12px;
}

.main-planet {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 20% 10%, #f5ffff, #4af4ff 30%, #1414ff 75%);
  box-shadow: 0 0 40px rgba(21, 226, 224, 0.9);
  flex-direction: column;
  gap: 6px;
}

.planet-core {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(2, 2, 18, 0.8);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.7);
}

.main-planet span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.planet.pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(2, 6, 20, 0.9);
  border: 1px solid rgba(234, 249, 255, 0.22);
}

.planet-seo {
  top: 18%;
  left: 10%;
}

.planet-ads {
  bottom: 20%;
  left: 8%;
}

.planet-ui {
  top: 20%;
  right: 12%;
}

.hero-kpi {
  position: absolute;
  inset: auto 12px 12px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(2, 8, 20, 0.86);
  border: 1px solid rgba(187, 229, 255, 0.3);
  font-size: 11px;
}

.hero-kpi .label {
  color: var(--muted);
}

.hero-kpi .value {
  font-weight: 600;
}

/* two-cols */

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

/* about */

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  font-size: 14px;
}

.about-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(4, 12, 32, 0.95);
  border: 1px solid rgba(21, 226, 224, 0.18);
}

.about-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

/* cards */

.cards-grid {
  display: grid;
  gap: 22px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: var(--radius-md);
  background: rgba(3, 10, 28, 0.96);
  border: 1px solid rgba(21, 226, 224, 0.22);
  box-shadow:
    0 0 24px rgba(5, 18, 49, 0.9),
    0 0 35px rgba(21, 226, 224, 0.18);
  overflow: hidden;
  transform-origin: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 28px rgba(5, 18, 49, 0.9),
    0 0 40px rgba(21, 226, 224, 0.45);
  border-color: rgba(21, 226, 224, 0.4);
}

.card-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.card h3 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: 18px;
  margin: 8px 0 8px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
}

.card ul {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}

.card-footer {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(21, 226, 224, 0.3);
  font-size: 12px;
  color: var(--text);
  background: rgba(4, 13, 33, 0.9);
}

.tag-soft {
  border-style: dashed;
  color: var(--muted);
}

/* timeline */

.timeline {
  margin-top: 28px;
  border-left: 1px dashed rgba(166, 214, 255, 0.35);
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -29px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(21, 226, 224, 0.9);
}

.timeline-content h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-family: "Montserrat", system-ui, sans-serif;
}

.timeline-content p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* cases */

.case-badge {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.case-metrics {
  list-style: none;
  padding: 0;
  margin: 10px 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.case-metrics li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.case-metrics strong {
  font-weight: 600;
}

.case-note {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.8;
}

/* pricing */

.pricing-grid {
  margin-top: 20px;
}

.pricing-card {
  padding-top: 18px;
}

.pricing-card-featured {
  border-color: rgba(250, 255, 255, 0.75);
  box-shadow:
    0 0 32px rgba(21, 226, 224, 0.55),
    0 0 40px rgba(77, 171, 255, 0.4);
  position: relative;
}

.pricing-card-featured::before {
  content: "Рекомендуем";
  position: absolute;
  top: 14px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.pricing-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.pricing-price {
  font-size: 20px;
  font-weight: 600;
  margin: 6px 0 12px;
}

.pricing-list {
  margin: 0 0 16px;
  padding-left: 18px;
  font-size: 14px;
  color: var(--muted);
}

/* reviews */

.review-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-text {
  font-size: 14px;
  color: var(--muted);
}

.review-author {
  font-size: 13px;
  color: var(--text);
  opacity: 0.85;
}

/* contacts */

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.contacts-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 16px;
  font-size: 14px;
}

.contacts-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.contacts-list .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  opacity: 0.9;
}

.contacts-list a {
  margin-top: 2px;
}

.contacts-note {
  font-size: 13px;
  color: var(--muted);
}

.contact-form-wrapper {
  max-width: 420px;
  margin-left: auto;
}

.form-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-family: "Montserrat", system-ui, sans-serif;
}

.form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-row label {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.form-row input,
.form-row textarea,
.form-row select {
  margin-top: 4px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(162, 211, 255, 0.26);
  background: rgba(3, 10, 28, 0.9);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
}

.form-row textarea {
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(21, 226, 224, 0.6);
}

.form-row-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.form-footnote {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--muted);
}

/* footer */

.site-footer {
  padding: 28px 0 32px;
  border-top: 1px solid rgba(21, 226, 224, 0.2);
  background: #020511;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.footer-caption {
  opacity: 0.85;
}

/* reveal animations */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.reveal-up.reveal-visible,
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.96);
}

.reveal-zoom.reveal-visible {
  opacity: 1;
  transform: scale(1);
}

/* responsive */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-cols,
  .contacts-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-wrapper {
    max-width: 100%;
    margin: 0;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }

  .header-inner {
    gap: 10px;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    background: rgba(2, 8, 18, 0.98);
    padding: 14px 20px 18px;
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .burger {
    display: inline-flex;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 80px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    order: -1;
  }

  .hero-left h1 {
    font-size: 24px;
  }

  .hero-label {
    font-size: 10px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-bullets {
    font-size: 13px;
  }

  .cards-3,
  .cards-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 80px 0;
  }

  .contacts-layout {
    gap: 24px;
  }

  .form-row-inline {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-inner {
    gap: 26px;
  }

  .orbit-card {
    max-width: 280px;
  }
}

/* ==== КРАСИВАЯ ОРБИТА ДЛЯ SEO / PERFORMANCE / UI/UX ==== */

/* Чтоб всё внутри было в одном слое */
.orbit-card {
  position: relative;
}

/* Общий вид таблеток-спутников */
.planet.pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(1, 9, 25, 0.95);
  border: 1px solid rgba(214, 246, 255, 0.7);
  box-shadow: 0 0 14px rgba(21, 226, 224, 0.7);
  z-index: 2; /* чтобы не терялись под нижней плашкой */
}

/* KPI-плашка чуть ниже по слою */
.hero-kpi {
  z-index: 1;
}

/* Три отдельных орбиты с разным радиусом и скоростью */

/* SEO — внешний круг */
@keyframes orbit-seo {
  from {
    transform: translate(-50%, -50%)
               rotate(0deg)
               translateX(105px)
               rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%)
               rotate(360deg)
               translateX(105px)
               rotate(-360deg);
  }
}

/* Performance — поближе к центру */
@keyframes orbit-ads {
  from {
    transform: translate(-50%, -50%)
               rotate(0deg)
               translateX(90px)
               rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%)
               rotate(360deg)
               translateX(90px)
               rotate(-360deg);
  }
}

/* UI/UX — между ними */
@keyframes orbit-ui {
  from {
    transform: translate(-50%, -50%)
               rotate(0deg)
               translateX(98px)
               rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%)
               rotate(360deg)
               translateX(98px)
               rotate(-360deg);
  }
}

/* Привязываем анимации к конкретным спутникам + разные скорости/фазы */

.planet-seo {
  animation: orbit-seo 28s linear infinite;
}

.planet-ads {
  animation: orbit-ads 22s linear infinite;
  animation-delay: -5s;
}

.planet-ui {
  animation: orbit-ui 24s linear infinite;
  animation-delay: -11s;
}
