/* ================================================
   MANIFESTO PAGE STYLES
   Стили для страницы /manifesto/
   ================================================ */

/* Reset */
.manifesto * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.manifesto {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  font-family: 'Arial', sans-serif;
  min-height: 100vh;
  padding: 20px;
}

.manifesto .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ================================================
   HEADER
   ================================================ */
.manifesto .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(59, 130, 246, 0.3);
}

.manifesto .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(51, 65, 85, 0.6);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  font-weight: 600;
}

.manifesto .back-link:hover {
  background: rgba(71, 85, 105, 0.8);
  transform: translateX(-5px);
}

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

.manifesto .lang-btn {
  padding: 8px 16px;
  background: rgba(51, 65, 85, 0.6);
  color: #fff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
}

.manifesto .lang-btn:hover {
  background: rgba(71, 85, 105, 0.8);
  border-color: rgba(148, 163, 184, 0.5);
}

.manifesto .lang-btn.active {
  background: #3b82f6;
  border-color: #60a5fa;
}

/* ================================================
   TITLE & SUBTITLE
   ================================================ */
.manifesto h1 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeIn 0.8s ease-in;
}

.manifesto .subtitle {
  text-align: center;
  color: #94a3b8;
  font-size: 1.2rem;
  margin-bottom: 50px;
}

/* ================================================
   SECTIONS
   ================================================ */
.manifesto .section {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
  animation: slideIn 0.6s ease-out;
}

.manifesto .section:hover {
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.manifesto .section:nth-child(2) {
  animation-delay: 0.1s;
}

.manifesto .section:nth-child(3) {
  animation-delay: 0.2s;
}

.manifesto .section-title {
  font-size: 1.8rem;
  color: #3b82f6;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.manifesto .section-icon {
  font-size: 2rem;
}

/* ================================================
   DOCUMENTS GRID
   ================================================ */
.manifesto .docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.manifesto .doc-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.manifesto .doc-card:hover {
  border-color: #3b82f6;
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.2);
}

.manifesto .doc-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  text-align: center;
}

.manifesto .doc-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #e2e8f0;
  margin-bottom: 8px;
  text-align: center;
}

.manifesto .doc-meta {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
}

.manifesto .doc-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 12px;
  font-size: 0.75rem;
  color: #60a5fa;
  margin-top: 10px;
}

/* ================================================
   PDF PREVIEW
   ================================================ */
.manifesto .pdf-preview {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
}

.manifesto .pdf-preview summary {
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #3b82f6;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s;
}

.manifesto .pdf-preview summary:hover {
  background: rgba(59, 130, 246, 0.1);
}

.manifesto .pdf-preview iframe {
  margin-top: 20px;
  border: none;
  border-radius: 8px;
}

/* ================================================
   CONTENT SECTIONS
   ================================================ */
.manifesto .content section {
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(30, 41, 59, 0.4);
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
}

.manifesto .content h1 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: left;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.manifesto .content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #cbd5e1;
}

/* ================================================
   EMPTY STATE
   ================================================ */
.manifesto .empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
}

.manifesto .empty-state-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  opacity: 0.5;
}

/* ================================================
   FOOTER
   ================================================ */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.manifesto .footer {
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: #64748b;
}

.manifesto .footer p {
  margin: 10px 0;
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
  .manifesto h1 {
    font-size: 2rem;
  }

  .manifesto .header {
    flex-direction: column;
    gap: 15px;
  }

  .manifesto .docs-grid {
    grid-template-columns: 1fr;
  }

  .manifesto .section {
    padding: 20px;
  }

  .manifesto .content section {
    padding: 20px;
  }

  .manifesto .content h1 {
    font-size: 1.5rem;
  }

  .manifesto .content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .manifesto {
    padding: 10px;
  }

  .manifesto h1 {
    font-size: 1.5rem;
  }

  .manifesto .subtitle {
    font-size: 1rem;
  }

  .manifesto .section-title {
    font-size: 1.4rem;
  }
}
