/* ========================================================
   OPENAZIS — О ПРОГРАММЕ, СПРАВКА И ПОЛЕЗНАЯ ИНФОРМАЦИЯ
   ======================================================== */

.openazis-about-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 17, 23, 0.72);
  backdrop-filter: blur(5px);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: aboutFadeIn 0.15s ease-out;
}

.openazis-about-overlay.hidden {
  display: none !important;
}

@keyframes aboutFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.openazis-about-window {
  width: 900px;
  max-width: 96vw;
  height: 84vh;
  max-height: 800px;
  background: #161b22;
  border: 1px solid rgba(56, 139, 253, 0.4);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: #c9d1d9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Header */
.openazis-about-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #0d1117;
  border-bottom: 1px solid #30363d;
  flex-shrink: 0;
}

.openazis-about-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.openazis-about-title {
  font-size: 15px;
  font-weight: 600;
  color: #f0f6fc;
  display: flex;
  align-items: center;
  gap: 8px;
}

.openazis-about-tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(56, 139, 253, 0.15);
  color: #58a6ff;
  border: 1px solid rgba(56, 139, 253, 0.35);
}

.openazis-about-close {
  background: transparent;
  border: none;
  color: #8b949e;
  font-size: 20px;
  line-height: 1;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.openazis-about-close:hover {
  background: rgba(248, 81, 73, 0.15);
  color: #f85149;
}

/* Tabs */
.openazis-about-tabs {
  display: flex;
  gap: 6px;
  padding: 8px 16px;
  background: #161b22;
  border-bottom: 1px solid #30363d;
  flex-shrink: 0;
  overflow-x: auto;
}

.openazis-about-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #8b949e;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.openazis-about-tab-btn:hover {
  color: #c9d1d9;
  background: rgba(255, 255, 255, 0.05);
}

.openazis-about-tab-btn.active {
  color: #f0f6fc;
  background: #21262d;
  border-color: rgba(56, 139, 253, 0.4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Body */
.openazis-about-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.openazis-about-tab-pane {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.openazis-about-tab-pane.hidden {
  display: none !important;
}

/* Hero Card (Tab 1) */
.about-hero-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.12), rgba(13, 17, 23, 0.95));
  border: 1px solid rgba(56, 139, 253, 0.3);
  border-radius: 10px;
}

.about-hero-logo {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background: #21262d;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}

.about-hero-text h2 {
  margin: 0 0 4px 0;
  font-size: 20px;
  font-weight: 600;
  color: #f0f6fc;
  letter-spacing: -0.3px;
}

.about-hero-text p {
  margin: 0;
  font-size: 13px;
  color: #8b949e;
  line-height: 1.4;
}

/* Columns in Tab 1 */
.about-columns-grid {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 16px;
}

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

.about-info-card {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-card-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #58a6ff;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.about-info-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #c9d1d9;
  margin: 0;
}

.about-info-text b {
  color: #f0f6fc;
}

.about-bullet-list {
  margin: 0;
  padding-left: 18px;
  font-size: 12.5px;
  color: #8b949e;
  line-height: 1.6;
}

.about-bullet-list li b {
  color: #c9d1d9;
}

/* Links & Actions */
.about-links-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.about-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.about-action-btn.primary {
  background: #1f6feb;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-action-btn.primary:hover {
  background: #388bfd;
  box-shadow: 0 2px 8px rgba(31, 111, 235, 0.4);
}

.about-action-btn.secondary {
  background: #21262d;
  color: #c9d1d9;
  border: 1px solid #30363d;
}

.about-action-btn.secondary:hover {
  background: #30363d;
  color: #f0f6fc;
}

/* QR Code Card */
.about-qr-card {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.about-qr-box {
  background: #ffffff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-qr-desc {
  font-size: 11.5px;
  color: #8b949e;
  line-height: 1.4;
  margin: 0;
}

.about-qr-badge {
  font-size: 11px;
  font-weight: 600;
  color: #58a6ff;
  letter-spacing: 0.5px;
}

/* Feature Cards Grid (Tabs 2 & 3) */
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.about-feature-item {
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 8px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.about-feature-item:hover {
  border-color: rgba(56, 139, 253, 0.4);
  transform: translateY(-1px);
}

.about-tag-pill {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 700;
  color: #58a6ff;
  background: rgba(56, 139, 253, 0.15);
  border: 1px solid rgba(88, 166, 255, 0.3);
  padding: 1px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.about-tag-pill.green {
  color: #3fb950;
  background: rgba(46, 160, 67, 0.15);
  border-color: rgba(46, 160, 67, 0.35);
}

.about-tag-pill.orange {
  color: #ffa657;
  background: rgba(210, 153, 34, 0.15);
  border-color: rgba(210, 153, 34, 0.35);
}

.about-feature-how {
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid #58a6ff;
  border-radius: 0 6px 6px 0;
  font-size: 11.5px;
  color: #8b949e;
  line-height: 1.5;
}

.about-feature-how b {
  color: #79c0ff;
}

.about-feature-how code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 3px;
  color: #f0f6fc;
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, monospace;
  font-size: 11px;
}

.about-feature-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #f0f6fc;
}

.about-feature-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.about-feature-text {
  font-size: 12px;
  line-height: 1.5;
  color: #8b949e;
  margin: 0;
}

.about-feature-text b {
  color: #c9d1d9;
}

/* Section Dividers in Tab 2 */
.about-section-heading {
  font-size: 14px;
  font-weight: 600;
  color: #f0f6fc;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0 0;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-section-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(46, 160, 67, 0.15);
  color: #3fb950;
  border: 1px solid rgba(46, 160, 67, 0.35);
}

.about-section-badge.blue {
  background: rgba(56, 139, 253, 0.15);
  color: #58a6ff;
  border-color: rgba(56, 139, 253, 0.35);
}

/* Callout Box (Insights) */
.about-callout-box {
  background: rgba(56, 139, 253, 0.08);
  border-left: 3px solid #1f6feb;
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-callout-title {
  font-size: 13px;
  font-weight: 600;
  color: #58a6ff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-callout-text {
  font-size: 12px;
  line-height: 1.5;
  color: #c9d1d9;
  margin: 0;
}

/* Footer */
.openazis-about-footer {
  padding: 10px 18px;
  background: #0d1117;
  border-top: 1px solid #30363d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: #8b949e;
  flex-shrink: 0;
}

