/* NextGuard — дополнения к style.css для концепта «VPN для команд» (01.12.2026) */

/* Блок фактов вместо «живой статистики» */
.team-facts .lb-header { justify-content: center; }
.team-facts .lb-prefix { font-size: 18px; margin-right: 4px; }

/* Статус в карточках «Для кого» — спокойный, без мигания */
.svc-status.team { color: var(--gold); border-color: rgba(201,168,76,0.25); background: rgba(201,168,76,0.06); }
.svc-status.team .svc-status-dot { animation: none; }

/* Кнопка и блок списка игр */
.games-btn-wrap { text-align: center; margin-top: 43px; padding-bottom: 77px; transition: padding-bottom .4s ease; }
.games-btn {
  font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); background: transparent; border: 1px solid var(--gold-dim);
  padding: 16px 38px; cursor: pointer; transition: all .3s;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  display: inline-flex; align-items: center; gap: 10px;
}
.games-btn:hover, .games-btn[aria-expanded="true"] { border-color: var(--gold); color: var(--gold-light); }
.games-btn-icon { display: inline-block; transition: transform .3s; }
.games-btn[aria-expanded="true"] .games-btn-icon { transform: rotate(180deg); }
.games-block { overflow: hidden; max-height: 0; opacity: 0; transition: max-height .6s cubic-bezier(0.16,1,0.3,1), opacity .5s ease, padding-bottom .4s ease; }
.games-block.open { opacity: 1; padding-bottom: 120px; }
.games-note { text-align: center; font-style: italic; color: var(--text); font-size: 15px; margin: 22px auto 0; max-width: 720px; padding: 0 20px; }

/* Переключатель периода над тарифами */
.team-period { display: flex; justify-content: center; margin: 0 auto 48px; padding: 0 20px; }
.team-period .plan-period-selector { max-width: 520px; width: 100%; margin: 0; }
.team-period .plan-period-btn { font-size: 0.95rem; }

/* Четыре тарифа */
.pricing-grid.team-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1640px; }
.team-grid .plan { padding: 54px 30px 36px; }
.team-grid .price-main { font-size: 50px; white-space: nowrap; }
.team-grid .plan-features li { font-size: 15px; justify-content: flex-start; }
.team-grid .plan-badge { letter-spacing: 3px; }
@media (max-width: 1280px) and (min-width: 901px) {
  .pricing-grid.team-grid { grid-template-columns: repeat(2, 1fr); max-width: 980px; }
}
.team-price-note { text-align: center; margin-top: 36px; padding: 0 20px; font-size: 14px; font-style: italic; color: rgba(201,168,76,0.55); }

/* «Как подключаем» */
.team-how { position: relative; }
.team-how .anchor { position: absolute; top: -90px; }
.team-how .sup-icon { font-family: 'Cinzel', serif; font-size: 22px; color: var(--gold); }
.team-how .btn-gold { border: none; cursor: pointer; }

/* Протоколы: четыре карточки 2×2 */
.tech-grid.team-tech { grid-template-columns: repeat(2, 1fr); max-width: 1000px; }
@media (max-width: 700px) { .tech-grid.team-tech { grid-template-columns: 1fr; } }

/* Финальный блок: кнопка-button выглядит как ссылка-кнопка */
#cta-final button.btn-gold { border: none; cursor: pointer; }

/* Подвал */
.footer-links a { color: var(--gold); text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }

/* Заявка */
.modal-hint { font-size: 12px; font-style: italic; color: rgba(138,155,176,0.5); margin-top: 8px; line-height: 1.6; }
#step6 .modal-input-wrap { margin-bottom: 14px; }
#step3 .dev-opt .dev-label { font-size: 12px; }
.success-plan { color: var(--silver); font-size: 16px; line-height: 1.6; margin: -18px 0 28px; }
.success-plan strong { color: var(--gold-light); font-weight: 600; }
.success-proxy { margin-top: 18px; font-size: 13px; color: var(--text); }
.success-proxy a { color: var(--gold); }

/* Документы */
#about-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.78); z-index: 9999; overflow-y: auto; padding: 40px 16px; }
#about-overlay.open { display: block; }
#about-overlay * { box-sizing: border-box; }
.ab-box { max-width: 820px; margin: 0 auto; background: #0d0d0f; border: 1px solid #3a2e10; border-radius: 12px; padding: 40px 36px; position: relative; color: #d4b87a; }
.ab-close { position: absolute; top: 16px; right: 20px; background: none; border: none; font-size: 24px; cursor: pointer; color: #a08840; line-height: 1; }
#about-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; border-bottom: 1px solid #2a2010; padding-bottom: 16px; padding-right: 30px; }
.ab-tab { background: none; border: 1px solid #3a2e10; border-radius: 6px; padding: 7px 14px; color: #8a8070; cursor: pointer; font-size: .85rem; transition: all .2s; font-family: inherit; }
.ab-tab.active, .ab-tab:hover { background: #2a1e05; border-color: #c9a84c; color: #d4b87a; }
.ab-content h2 { font-size: 1.25rem; margin-bottom: 4px; }
.ab-content .ab-date { color: #8a8070; font-size: .82rem; margin-bottom: 20px; }
.ab-content h3 { margin: 22px 0 7px; font-size: .97rem; color: #c9a84c; font-weight: 600; }
.ab-content h4 { margin: 14px 0 5px; font-size: .9rem; color: #b09060; }
.ab-content p { margin: 0 0 10px; line-height: 1.65; color: #a09070; font-size: .9rem; }
.ab-content ul, .ab-content ol { margin: 0 0 12px 18px; padding: 0; color: #a09070; font-size: .9rem; line-height: 1.65; }
.ab-content li { margin-bottom: 4px; }
.ab-content a { color: #d4b87a; }
.ab-content code { color: #d4b87a; font-size: .85em; }
.ab-content table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: .85rem; display: block; overflow-x: auto; }
.ab-content td, .ab-content th { border: 1px solid #2a2010; padding: 7px 10px; color: #a09070; text-align: left; }
.ab-content th { background: #1a1508; color: #c9a84c; }
.ab-contacts-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.ab-contact-card { background: #1a1508; border: 1px solid #2e2208; border-radius: 8px; padding: 18px 20px; }
.ab-contact-card .ab-card-title { font-size: 1.05rem; margin-bottom: 10px; color: #d4b87a; }
.ab-contact-card p { margin: 3px 0; }
.ab-muted { color: #8a8070 !important; margin-top: 8px !important; }
@media (max-width: 560px) { .ab-box { padding: 32px 18px; } }

/* Меньше движения — для тех, кто это попросил в системе */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  #particles { display: none; }
}

/* Пункты меню в одну строку */
.nav-main-row ul a { white-space: nowrap; }
