/**
 * CoCLinks - About Us Page Styles
 * Scope: #about
 */

#about {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

#about .about-header {
  margin-bottom: 32px;
}

#about p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

#about p:last-child {
  margin-bottom: 0;
}

#about p strong {
  color: var(--text-primary);
}

#about a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

#about a:hover {
  text-decoration: underline;
}

/* Logical Section Panels */
#about .about-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 32px;
  margin-bottom: 24px;
}



/* Value Props (Mint Badges) */
#about .mission-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

#about .mission-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

#about .mission-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--badge-green-bg);
  color: var(--badge-green-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#about .mission-feature-content {
  flex: 1;
  min-width: 0;
}

#about .mission-feature-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

#about .mission-feature-content p {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Author Section with Gaming Badges */
#about .author-body {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

#about .author-avatar-wrap {
  position: relative;
  width: 84px;
  height: 84px;
  flex-shrink: 0;
}

#about .author-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  background: var(--bg-subtle);
  display: block;
}

#about .author-info {
  flex: 1;
  min-width: 0;
}

#about .author-headline {
  margin-bottom: 6px;
}

#about .author-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

#about .author-meta {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}

#about .author-bio {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

#about .author-links {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 14px;
}

#about .author-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary) !important;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#about .author-chip svg {
  flex-shrink: 0;
}

/* Personal Website Chip */
#about .author-chip-site {
  background: rgba(139, 92, 246, 0.06);
  border: 1px solid rgba(139, 92, 246, 0.22);
}

#about .author-chip-site svg {
  color: #8b5cf6;
}

#about .author-chip-site:hover {
  background: rgba(139, 92, 246, 0.14);
  border-color: #8b5cf6;
  color: #7c3aed !important;
}

/* Email Chip */
#about .author-chip-email {
  background: rgba(0, 102, 204, 0.06);
  border: 1px solid rgba(0, 102, 204, 0.22);
}

#about .author-chip-email svg {
  color: #0066cc;
}

#about .author-chip-email:hover {
  background: rgba(0, 102, 204, 0.12);
  border-color: #0066cc;
  color: #0066cc !important;
}

/* WhatsApp Chip */
#about .author-chip-wa {
  background: rgba(37, 211, 102, 0.08);
  border: 1px solid rgba(37, 211, 102, 0.28);
}

#about .author-chip-wa svg {
  color: #25d366;
}

#about .author-chip-wa:hover {
  background: rgba(37, 211, 102, 0.16);
  border-color: #25d366;
  color: #128c7e !important;
}

/* Facebook Chip */
#about .author-chip-fb {
  background: rgba(24, 119, 242, 0.06);
  border: 1px solid rgba(24, 119, 242, 0.22);
}

#about .author-chip-fb svg {
  color: #1877f2;
}

#about .author-chip-fb:hover {
  background: rgba(24, 119, 242, 0.14);
  border-color: #1877f2;
  color: #1877f2 !important;
}

/* Dark Mode Overrides */
html.dark #about .author-chip-site {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.28);
}

html.dark #about .author-chip-site svg {
  color: #c084fc;
}

html.dark #about .author-chip-site:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: #c084fc;
  color: #c084fc !important;
}

html.dark #about .author-chip-email {
  background: rgba(41, 151, 255, 0.1);
  border-color: rgba(41, 151, 255, 0.28);
}

html.dark #about .author-chip-email svg {
  color: #47a3ff;
}

html.dark #about .author-chip-email:hover {
  background: rgba(41, 151, 255, 0.18);
  border-color: #47a3ff;
  color: #47a3ff !important;
}

html.dark #about .author-chip-wa {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.32);
}

html.dark #about .author-chip-wa svg {
  color: #25d366;
}

html.dark #about .author-chip-wa:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25d366;
  color: #25d366 !important;
}

html.dark #about .author-chip-fb {
  background: rgba(24, 119, 242, 0.1);
  border-color: rgba(24, 119, 242, 0.28);
}

html.dark #about .author-chip-fb svg {
  color: #3b82f6;
}

html.dark #about .author-chip-fb:hover {
  background: rgba(24, 119, 242, 0.18);
  border-color: #3b82f6;
  color: #3b82f6 !important;
}

/* Workflow Steps Cards (Visual 3-Step Process Flow) */
#about .workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 20px;
  position: relative;
}

#about .workflow-step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

/* Desktop Connector Arrows between Steps */
@media (min-width: 860px) {
  #about .workflow-step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -14px;
    top: 40px;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--border);
    border-right: 2px solid var(--border);
    transform: rotate(45deg);
    z-index: 2;
    pointer-events: none;
  }
}

#about .step-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

#about .step-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#about .step-card-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* Step 1 Colors (Blue) */
#about .step-card-1 .step-icon-wrap {
  background: rgba(0, 102, 204, 0.08);
  color: var(--brand-blue);
  border: 1px solid rgba(0, 102, 204, 0.18);
}

#about .step-card-1 .step-card-num {
  color: var(--brand-blue);
  background: rgba(0, 102, 204, 0.08);
}

/* Step 2 Colors (Emerald / Supercell Speed) */
#about .step-card-2 .step-icon-wrap {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.18);
}

#about .step-card-2 .step-card-num {
  color: #059669;
  background: rgba(16, 185, 129, 0.08);
}

/* Step 3 Colors (Amber / Village Auto-Build) */
#about .step-card-3 .step-icon-wrap {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.18);
}

#about .step-card-3 .step-card-num {
  color: #d97706;
  background: rgba(245, 158, 11, 0.08);
}

/* Dark Mode Overrides for Step Badges & Icons */
html.dark #about .step-card-1 .step-icon-wrap {
  background: rgba(41, 151, 255, 0.14);
  color: #60a5fa;
  border-color: rgba(41, 151, 255, 0.25);
}

html.dark #about .step-card-1 .step-card-num {
  color: #60a5fa;
  background: rgba(41, 151, 255, 0.14);
}

html.dark #about .step-card-2 .step-icon-wrap {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}

html.dark #about .step-card-2 .step-card-num {
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
}

html.dark #about .step-card-3 .step-icon-wrap {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.25);
}

html.dark #about .step-card-3 .step-card-num {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
}

#about .workflow-step-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px;
  line-height: 1.4;
}

#about .workflow-step-card p {
  font-size: 0.885rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Informative Note Box */
#about .workflow-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  margin-top: 20px;
}

#about .workflow-note-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  margin-top: 1px;
}

#about .workflow-note-text {
  font-size: 0.895rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

#about .workflow-note-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* CTA Card */
#about .about-cta-card {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(139, 92, 246, 0.05) 100%);
  border: 1px solid rgba(0, 102, 204, 0.25);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  margin-top: 32px;
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.06);
}

html.dark #about .about-cta-card {
  background: linear-gradient(135deg, rgba(41, 151, 255, 0.12) 0%, rgba(168, 85, 247, 0.08) 100%);
  border-color: rgba(41, 151, 255, 0.3);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

#about .about-cta-card p {
  max-width: 600px;
  margin: 0 auto 20px;
  font-size: 0.975rem;
}

#about .about-cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

#about .about-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  background: var(--brand-blue);
  color: #ffffff !important;
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: opacity 0.15s ease;
}

#about .about-btn-primary:hover {
  opacity: 0.9;
}

#about .about-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: var(--bg-card);
  color: var(--text-primary) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#about .about-btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--border);
}

/* Footer Compliance & Contact Note */
#about .about-footer-note {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin-top: 32px;
}

#about .footer-notice-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

#about .footer-notice-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(0, 102, 204, 0.08);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

html.dark #about .footer-notice-icon {
  background: rgba(41, 151, 255, 0.12);
  color: #60a5fa;
}

#about .footer-notice-header h2 {
  margin: 0 !important;
}

#about .footer-disclaimer-text {
  font-size: 0.885rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

#about .footer-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

#about .footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--brand-blue) !important;
  text-decoration: none !important;
  transition: opacity 0.15s ease;
}

#about .footer-contact-link:hover {
  text-decoration: underline !important;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  #about {
    padding: 8px 0 32px;
  }

  #about .about-lead {
    font-size: 1.05rem;
  }


  #about .about-panel {
    padding: 20px;
    margin-bottom: 20px;
  }

  #about .author-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  #about .author-avatar-wrap {
    width: 72px;
    height: 72px;
  }

  #about .mission-features {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 20px;
    margin-top: 20px;
  }

  #about .workflow-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }


  #about .about-cta-card {
    padding: 24px 16px;
  }

  #about .about-cta-actions {
    flex-direction: column;
  }

  #about .about-btn-primary,
  #about .about-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  #about .about-footer-note {
    padding: 20px;
  }

  #about .footer-contact-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}