:root {
  --accent-green: #19B562;
  --accent-light: #F9F9F9;
  --bg-dark: #252A43;
  --bg-soft: #2f3554;
  --text-main: #f4f6ff;
  --text-muted: #cfd6f2;
  --line-soft: rgba(249, 249, 249, 0.12);
  --shadow-main: 0 18px 45px rgba(8, 11, 27, 0.42);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", Arial, sans-serif;
  background: radial-gradient(circle at 10% 0%, #33406e 0%, var(--bg-dark) 45%, #20253e 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 82px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(37, 42, 67, 0.8);
  border-bottom: 1px solid var(--line-soft);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 0 6px rgba(25, 181, 98, 0.2);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-light);
  background: rgba(25, 181, 98, 0.15);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 40px;
  height: 32px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  border-radius: 999px;
  background: var(--text-main);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 38px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(25, 181, 98, 0.2);
}

h1,
h2,
h3 {
  margin: 0 0 14px;
  line-height: 1.18;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.7rem);
}

h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.3rem);
}

p {
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.68;
}

.subtitle {
  margin-top: -4px;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 1.12rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-primary {
  color: #123225;
  background: var(--accent-green);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.btn-ghost {
  border-color: rgba(249, 249, 249, 0.35);
  color: var(--accent-light);
}

.btn-ghost:hover {
  background: rgba(249, 249, 249, 0.08);
}

.mini-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mini-stats li {
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: rgba(249, 249, 249, 0.03);
}

.mini-stats strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-light);
  font-size: 0.92rem;
}

.mini-stats span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.hero-orbit {
  position: relative;
  padding: 20px;
}

.hero-orbit svg {
  width: min(100%, 400px);
  margin: 0 auto;
  display: block;
}

.orbit-line {
  fill: none;
  stroke: rgba(249, 249, 249, 0.2);
  stroke-width: 1.6;
  stroke-dasharray: 5 8;
}

.orbit-a {
  animation: orbitSpin 20s linear infinite;
  transform-origin: 50% 50%;
}

.orbit-b {
  animation: orbitSpinReverse 16s linear infinite;
  transform-origin: 50% 50%;
}

.orbit-c {
  animation: orbitSpin 12s linear infinite;
  transform-origin: 50% 50%;
}

.ball-stitch {
  fill: none;
  stroke: var(--accent-light);
  stroke-width: 4;
  stroke-linecap: round;
  opacity: 0.85;
}

.floating-tag {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--accent-light);
  background: rgba(37, 42, 67, 0.92);
  border: 1px solid rgba(25, 181, 98, 0.48);
  white-space: nowrap;
}

.floating-tag-a {
  top: 14%;
  left: -2%;
}

.floating-tag-b {
  right: 0;
  top: 47%;
}

.floating-tag-c {
  left: 20%;
  bottom: 6%;
}

.section-head {
  max-width: 670px;
  margin-bottom: 28px;
}

.panel-section {
  position: relative;
}

.panel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent, rgba(249, 249, 249, 0.02)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 57px,
      rgba(249, 249, 249, 0.03) 58px,
      rgba(249, 249, 249, 0.03) 59px
    );
  pointer-events: none;
}

.screen-row {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.phone-shot {
  margin: 0;
  padding: 12px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(249, 249, 249, 0.14);
  background: rgba(249, 249, 249, 0.03);
  box-shadow: var(--shadow-main);
}

.phone-shot img {
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(249, 249, 249, 0.14);
  background: linear-gradient(145deg, #313c66, #242942);
}

.phone-shot figcaption {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.timeline {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline article {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(249, 249, 249, 0.04);
  border: 1px solid rgba(249, 249, 249, 0.1);
}

.timeline h3 {
  color: var(--accent-light);
}

.glow-section {
  background: linear-gradient(120deg, rgba(25, 181, 98, 0.14), rgba(249, 249, 249, 0.02));
}

.glow-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  align-items: start;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.feature-list li {
  padding: 17px;
  border-radius: 12px;
  border-left: 3px solid var(--accent-green);
  background: rgba(37, 42, 67, 0.65);
}

.feature-list h3 {
  margin-bottom: 8px;
}

.legal-shell,
.contacts-shell {
  min-height: calc(100vh - 74px);
}

.legal-card,
.contact-card {
  border: 1px solid rgba(249, 249, 249, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(249, 249, 249, 0.04);
  padding: clamp(20px, 3.5vw, 34px);
  box-shadow: var(--shadow-main);
}

.legal-card h2,
.contact-card h2 {
  margin-top: 20px;
}

.legal-list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}

.legal-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-item {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(249, 249, 249, 0.14);
  background: rgba(249, 249, 249, 0.02);
}

.contact-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-light);
}

.feedback-form {
  margin-top: 20px;
  display: grid;
  gap: 11px;
}

.feedback-form label {
  font-size: 0.95rem;
  color: var(--accent-light);
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border: 1px solid rgba(249, 249, 249, 0.24);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--text-main);
  background: rgba(249, 249, 249, 0.03);
  font: inherit;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 110px;
}

.feedback-note {
  margin: 0;
  font-size: 0.84rem;
}

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 26px 0 34px;
  background: rgba(18, 21, 35, 0.52);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--accent-light);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.small-note {
  font-size: 0.84rem;
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitSpinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .glow-grid {
    grid-template-columns: 1fr;
  }

  .hero-orbit {
    max-width: 430px;
    margin: 0 auto;
  }

  .timeline,
  .screen-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section {
    padding: 66px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 4%;
    right: 4%;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(37, 42, 67, 0.97);
    border: 1px solid rgba(249, 249, 249, 0.13);
    border-radius: 14px;
    padding: 12px;
  }

  .site-nav.open {
    display: flex;
  }

  .mini-stats {
    grid-template-columns: 1fr;
  }

  .floating-tag {
    display: none;
  }

  .timeline,
  .screen-row,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}
