* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: Inter, system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px;
}

.hero {
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.hero .gold {
  color: var(--gold);
}

.hero-text {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
}

.btn-primary {
  background: var(--gold);
  color: #000;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
}

.btn-outline {
  border: 1px solid var(--neon);
  color: var(--neon);
  padding: 12px 20px;
  border-radius: 12px;
}

.hero-visual img {
  width: 100%;
}

.hero-visual img {
  filter: drop-shadow(0 0 24px rgba(0,240,255,0.15));
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 22px rgba(0,240,255,0.12));
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--neon);
}

.btn-small {
  padding: 10px 14px;
  border-radius: 12px;
}

/* Sections */
.section {
  padding: 70px 0;
  border-top: 1px solid var(--border-soft);
}

.section-title {
  margin: 0 0 10px;
  font-size: 1.8rem;
}

.section-lead {
  margin: 0 0 28px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 720px;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 18px;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: radial-gradient(600px 120px at 20% 0%,
    rgba(201,162,77,0.10),
    rgba(0,240,255,0.05),
    rgba(0,0,0,0)
  );
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(0,240,255,0.25);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--neon);
  border: 1px solid rgba(0,240,255,0.22);
  background: rgba(0,240,255,0.06);
  margin-bottom: 12px;
  font-size: 1rem;
}

.feature-card h3 {
  margin: 0 0 8px;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

.lang-switch {
  display: flex;
  gap: 6px;
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--neon);
  border-color: rgba(0,240,255,0.35);
}

.section-dark {
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.0),
    rgba(0,240,255,0.03),
    rgba(0,0,0,0.0)
  );
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.how-step {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 22px;
}

.how-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -18px;
  width: 36px;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0,240,255,0.0),
    rgba(0,240,255,0.6),
    rgba(0,240,255,0.0)
  );
}

.how-step:last-child::after {
  display: none;
}

.how-index {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--neon);
  margin-bottom: 10px;
}

.how-step h3 {
  margin: 0 0 8px;
}

.how-step p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

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

  .how-step::after {
    display: none;
  }
}
.how-step::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: radial-gradient(500px 140px at 30% 0%,
    rgba(201,162,77,0.08),
    rgba(0,240,255,0.04),
    rgba(0,0,0,0)
  );
  pointer-events: none;
}
.gold {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(201,162,77,0.15);
}

.section-title {
  letter-spacing: 0.02em;
}

.btn-primary,
.btn-outline {
  min-width: 180px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

/* фиксируем ширину верхней кнопки */
.header-actions .btn-primary {
  width: 190px;          /* можно 200px, если хочешь больше воздуха */
  justify-content: center;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.benefit-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  background: radial-gradient(600px 120px at 20% 0%,
    rgba(201,162,77,0.12),
    rgba(0,240,255,0.06),
    rgba(0,0,0,0)
  );
  pointer-events: none;
}

.benefit-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.benefit-card h3 {
  margin: 0 0 8px;
}

.benefit-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.trust-strip {
  margin-top: 18px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-muted);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.015);
  border-radius: 999px;
  padding: 10px 14px;
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 16px rgba(0,240,255,0.25);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.contact-left {
  padding-top: 6px;
}

.contact-right {
  padding: 18px;
}

.contact-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-card-title {
  font-weight: 700;
}

.contact-card-sub {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-list {
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.015);
  border-bottom: 1px solid var(--border-soft);
}

.contact-row:last-child { border-bottom: none; }

.contact-label {
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  min-width: 90px;
}

.contact-value:hover { color: var(--neon); }

.contact-note {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-cta-row {
  margin-top: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* чтобы CTA были одинаковые */
.contact-cta-row .btn-outline,
.contact-cta-row .btn-primary {
  min-width: 160px;
  justify-content: center;
  text-align: center;
}
.contact-simple {
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.section-glow {
  position: relative;
}

.section-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 240px at 20% 0%,
      rgba(201,162,77,0.12),
      rgba(0,240,255,0.06),
      rgba(0,0,0,0)
    );
  pointer-events: none;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(0,240,255,0.06), transparent 60%),
    radial-gradient(900px 420px at 80% 0%, rgba(201,162,77,0.06), transparent 55%),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  opacity: 0.55;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(600px 400px at 75% 40%,
      rgba(0,240,255,0.14),
      rgba(0,240,255,0.05),
      transparent 70%
    ),
    radial-gradient(500px 300px at 65% 55%,
      rgba(201,162,77,0.12),
      transparent 70%
    );

  animation:
    heroGlow 8s ease-in-out infinite,
    heroDrift 14s ease-in-out infinite;
  transform-origin: 70% 40%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  right: 12%;
  top: 18%;
  width: 420px;
  height: 420px;
  border-radius: 24px;
  border: 1px solid rgba(0,240,255,0.28);
  box-shadow:
    0 0 70px rgba(0,240,255,0.18),
    inset 0 0 45px rgba(201,162,77,0.12);
  transform: rotate(12deg);

  animation: perimeterPulse 6s ease-in-out infinite;
}

.feature-card,
.how-step,
.benefit-card {
  transition: transform 160ms ease, border-color 160ms ease;
}

.feature-card:hover,
.how-step:hover,
.benefit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0,240,255,0.28);
}

.btn-primary,
.btn-outline {
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 0 0 3px rgba(201,162,77,0.10), 0 10px 30px rgba(0,0,0,0.35);
}

.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 0 3px rgba(0,240,255,0.08), 0 10px 30px rgba(0,0,0,0.35);
}

.nav a {
  position: relative;
  padding: 6px 2px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,240,255,0.7), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

html { scroll-behavior: smooth; }

section { scroll-margin-top: 90px; } /* чтобы якоря не прятались под sticky header */

h1, h2, h3 {
  letter-spacing: 0.01em;
}

.section-title {
  line-height: 1.15;
}

.gold {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(201,162,77,0.16);
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.55; transform: scale(1) translateY(0); }
  50%      { opacity: 0.85; transform: scale(1.05) translateY(-10px); }
}

@keyframes perimeterPulse {
  0%, 100% {
    box-shadow:
      0 0 50px rgba(0,240,255,0.14),
      inset 0 0 30px rgba(201,162,77,0.10);
  }
  50% {
    box-shadow:
      0 0 110px rgba(0,240,255,0.28),
      inset 0 0 60px rgba(201,162,77,0.18);
  }
}

@keyframes heroDrift {
  0%, 100% { background-position: 70% 40%, 60% 55%; }
  50%      { background-position: 76% 46%, 66% 50%; }
}

@media (max-width: 900px) {
  .header-row {
    flex-wrap: wrap;
  }

  .lang-switch {
    margin-left: auto;
    margin-top: 8px;
  }
}

.feedback-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.feedback-form {
  margin-top: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-field input,
.form-field textarea {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text-main);
  font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(0,240,255,0.35);
}

.form-field textarea {
  resize: vertical;
}

.form-actions {
  margin-top: 18px;
}

.form-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(6px);
}

.modal-panel {
  position: relative;
  width: min(720px, 92vw);
  margin: 10vh auto;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: rgba(12,12,14,0.92);
  box-shadow: 0 20px 80px rgba(0,0,0,0.55);
  overflow: hidden;
}

.modal-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(700px 240px at 20% 0%,
    rgba(201,162,77,0.12),
    rgba(0,240,255,0.06),
    rgba(0,0,0,0)
  );
  pointer-events: none;
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.03);
  color: var(--text-main);
  cursor: pointer;
}

.modal-title { margin: 0 0 6px; }
.modal-lead {
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 62ch;
}

.modal-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.modal-form .field {
  display: grid;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.modal-form input,
.modal-form textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.02);
  color: var(--text-main);
  outline: none;
  font-family: inherit;
}

.modal-form input:focus,
.modal-form textarea:focus {
  border-color: rgba(0,240,255,0.35);
  box-shadow: 0 0 0 3px rgba(0,240,255,0.06);
}

.modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-note {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.modal-success-title {
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.modal-success-text {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .modal-panel { margin: 8vh auto; }
  .modal-form .form-grid { grid-template-columns: 1fr; }
}

.contact-click { cursor: pointer; }
.contact-click:hover { color: var(--neon); }