/* index.css — главная страница (дополнения к promovk style) */

.auth-error {
  background: rgba(90, 42, 42, 0.9);
  border: 1px solid #ffacac;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  margin-bottom: 16px;
  text-align: center;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.maintenance-box {
  background: rgba(74, 62, 44, 0.95);
  border-color: #ffdfa5;
}

.soc-announce {
  position: relative;
  z-index: 50;
  background: linear-gradient(90deg, rgba(118, 70, 225, 0.9), rgba(91, 33, 182, 0.85));
  color: #fff;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hero-lead {
  max-width: 520px;
  margin: 0 auto 20px;
  opacity: 0.9;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  margin: 20px auto 28px;
  max-width: 640px;
}

.trust-badges span {
  font-size: 0.82rem;
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-badges i {
  color: #c4b5fd;
}

/* ——— Общие секции (светлее фон promovk) ——— */
.soc-section {
  position: relative;
  z-index: 2;
  padding: 56px 0;
}

.soc-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}

.soc-section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(196, 181, 253, 0.35);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.soc-section-title,
.soc-section .h2 {
  color: #fff !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  margin-bottom: 10px !important;
}

.soc-section-desc {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

.soc-features {
  background: linear-gradient(180deg, rgba(30, 27, 75, 0.55) 0%, rgba(15, 12, 41, 0.4) 100%);
  border-top: 1px solid rgba(196, 181, 253, 0.12);
  border-bottom: 1px solid rgba(196, 181, 253, 0.08);
}

.soc-services-dynamic {
  background: linear-gradient(180deg, rgba(49, 46, 129, 0.35) 0%, rgba(30, 27, 75, 0.5) 100%);
}

.soc-faq {
  background: rgba(15, 12, 41, 0.45);
  padding-bottom: 64px;
}

.soc-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 24px;
}

/* ——— Карточки преимуществ ——— */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 28px 22px 24px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.feat-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.feat-violet .feat-icon-wrap { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.feat-cyan .feat-icon-wrap { background: linear-gradient(135deg, #22d3ee, #0891b2); }
.feat-amber .feat-icon-wrap { background: linear-gradient(135deg, #fbbf24, #d97706); }
.feat-green .feat-icon-wrap { background: linear-gradient(135deg, #4ade80, #16a34a); }
.feat-blue .feat-icon-wrap { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.feat-emerald .feat-icon-wrap { background: linear-gradient(135deg, #34d399, #059669); }

.feat-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff !important;
  margin-bottom: 10px;
}

.feat-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82) !important;
  line-height: 1.5;
  margin: 0;
}

/* ——— Платформы ——— */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}

.platform-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 24px 18px 20px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.platform-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.platform-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.platform-icon i {
  font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free", sans-serif !important;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  color: #fff !important;
}

.platform-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff !important;
  margin-bottom: 10px;
}

.platform-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.8rem;
}

.platform-badge {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  margin: 0 auto;
  width: fit-content;
}

.platform-price {
  color: #bbf7d0 !important;
  font-weight: 600;
  font-size: 0.85rem;
}

.platform-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 24px;
  background: linear-gradient(100deg, #7c3aed, #5b21b6);
  color: #fff !important;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.2s;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.45);
}

.platform-cta:hover {
  background: linear-gradient(100deg, #8b5cf6, #6d28d9);
  transform: scale(1.03);
  color: #fff !important;
}

.platform-cta i {
  font-size: 0.75rem;
  transition: transform 0.2s;
}

.platform-cta:hover i {
  transform: translateX(3px);
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #fff !important;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-item summary i {
  color: #c4b5fd;
  width: 20px;
  text-align: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item p {
  padding: 0 20px 16px 52px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.55;
  margin: 0;
}

/* ——— Футер ——— */
.footer-extended {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: inherit;
  opacity: 0.8;
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  opacity: 1;
  color: #c4b5fd;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .features-grid,
  .platforms-grid {
    grid-template-columns: 1fr;
  }

  .soc-section {
    padding: 40px 0;
  }
}
