/* ============================================
   Sponsors Landing Page
   ============================================ */

.sponsors-page-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

/* Hero Section */
.sponsor-hero {
  text-align: center;
  padding: 60px 20px;
  background: var(--color-base-offset);
  border: 1px solid var(--color-base-offset-2);
  border-radius: 8px;
  margin-bottom: 40px;
}

.sponsor-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-base-text);
}

.sponsor-hero .subtitle {
  font-size: 1.1rem;
  color: var(--color-base-text);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Mismo estilo que el botón "Get it on Leanpub" (button button-primary) */
.sponsor-hero .button {
  margin-top: 20px;
  padding: 12px 24px;
  font-size: 1.05rem;
}

/* Intro / Why sponsor */
.sponsor-intro {
  margin-bottom: 40px;
}

.sponsor-intro-greeting {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.sponsor-intro-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.sponsor-intro-belief {
  margin-bottom: 1rem;
  line-height: 1.5;
  color: var(--color-base-text);
}

.sponsor-intro-resources {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

.sponsor-intro-resources li {
  padding: 0.25rem 0;
}

.sponsor-intro-resources a {
  color: var(--color-primary);
  text-decoration: none;
}

.sponsor-intro-resources a:hover {
  text-decoration: underline;
}

.sponsor-intro-support {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.sponsor-intro-benefits {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.sponsor-intro-benefits li {
  padding: 0.25rem 0;
  margin-bottom: 0;
}

.sponsor-intro-note {
  font-size: 0.9rem;
  color: var(--color-base-text-offset);
  font-style: italic;
  margin-bottom: 1rem;
}

.sponsor-intro-close {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.sponsors-intro-thanks {
  font-weight: 600;
  margin: 0;
}

/* Goal bar (shared) */
.goal-bar-container {
  margin-top: 1.5rem;
}

.goal-bar-container p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.progress-bar {
  height: 12px;
  background: #e1e4e8;
  border-radius: 6px;
  overflow: hidden;
}

.progress-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, #2ea44f, #56d364);
  border-radius: 6px;
  transition: width 0.4s ease;
}

/* Pricing Cards */
.sponsor-tiers {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.tier-card {
  flex: 1 1 220px;
  max-width: 320px;
  min-width: 0;
  border: 1px solid #e1e4e8;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.tier-card.featured {
  border: 2px solid #0366d6;
  position: relative;
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.badge-rec {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #0366d6;
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.tier-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.tier-card .price {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #0366d6;
}

.tier-tagline {
  font-size: 0.9rem;
  color: var(--color-base-text-offset);
  margin-bottom: 0.75rem;
  text-align: left;
  line-height: 1.4;
}

.tier-ecosystem-heading,
.tier-includes-heading {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.75rem 0 0.35rem;
  text-align: left;
}

.tier-ecosystem {
  list-style: none;
  padding: 0;
  margin: 0 0 0.5rem;
  text-align: left;
}

.tier-ecosystem li::before {
  display: none;
}

.tier-visibility {
  font-size: 0.9rem;
  color: var(--color-base-text);
  margin-bottom: 0.5rem;
  text-align: left;
  line-height: 1.4;
}

.tier-note {
  font-size: 0.8rem;
  color: var(--color-base-text-offset);
  font-style: italic;
  margin-top: 0.75rem;
  margin-bottom: 0;
  text-align: left;
}

.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.tier-card ul li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.tier-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2ea44f;
  font-weight: bold;
}

/* Wall of Fame */
.wall-of-fame {
  margin: 40px 0;
}

.partners-section,
.community-section {
  margin-bottom: 2.5rem;
}

.partners-section h2,
.community-section h3 {
  margin-bottom: 0.75rem;
}

.community-section p {
  margin-bottom: 1rem;
  color: var(--color-base-text-offset);
}

.grid-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  min-height: 80px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
  border-color: #0366d6;
  box-shadow: 0 4px 12px rgba(3, 102, 214, 0.15);
}

.partner-card img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.partner-card span {
  font-weight: 600;
  font-size: 0.95rem;
}

.placeholder-text {
  color: var(--color-base-text-offset);
  font-style: italic;
}

.grid-avatars {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.avatar-circle {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.avatar-circle:hover {
  transform: scale(1.1);
}

.avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */
.sponsor-faq {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e1e4e8;
}

.sponsor-faq h2 {
  margin-bottom: 1.25rem;
}

.sponsor-faq details {
  margin-bottom: 1rem;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  padding: 0 1rem;
}

.sponsor-faq summary {
  cursor: pointer;
  padding: 0.75rem 0;
  font-weight: 600;
  list-style: none;
}

.sponsor-faq summary::-webkit-details-marker {
  display: none;
}

.sponsor-faq summary::after {
  content: " ▼";
  font-size: 0.75rem;
  color: var(--color-base-text-offset);
}

.sponsor-faq details[open] summary::after {
  content: " ▲";
}

.sponsor-faq details p {
  padding-bottom: 1rem;
  margin: 0;
  color: var(--color-base-text);
}

@media (max-width: 768px) {
  .sponsor-tiers {
    flex-direction: column;
    align-items: center;
  }

  .tier-card {
    width: 100%;
    max-width: 320px;
  }

  .tier-card.featured {
    transform: none;
  }
}
