.page-content {
  min-height: 100vh;
  padding-top: clamp(70px, 15vw, 80px);
}

.page-header {
  background: var(--gradient);
  color: white;
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 3vw, 1.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: clamp(0.8rem, 2vw, 1rem);
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.page-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

.section-white {
  background: white;
}

.section-light {
  background: var(--light);
}

.section-padding-lg {
  padding: 4rem 0;
}

.section-title-space-lg {
  margin-bottom: 2rem;
}

.section-title-space-md {
  margin-bottom: 1.5rem;
}

.section-title-space-sm {
  margin-bottom: 0.5rem;
}

.section-lead {
  max-width: 800px;
  margin: 0 auto 3rem auto;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
}

.section-lead-wide {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 2rem auto;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.6;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  font-weight: 400;
  color: var(--text-light);
}

.alert {
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  border-left: 4px solid;
}

.alert-warning {
  background: #fef3c7;
  border-color: var(--warning);
  color: #92400e;
}

.alert-info {
  background: #dbeafe;
  border-color: var(--primary);
  color: #1e40af;
}

.alert-margin-lg {
  margin-top: 3rem;
}

.alert-margin-md {
  margin-top: 1.5rem;
}

.alert-margin-bottom-lg {
  margin-bottom: 2rem;
}

.link-primary-underline {
  color: var(--primary);
  text-decoration: underline;
}

.link-primary {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.centered-block {
  text-align: center;
  margin-top: 3rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist i {
  color: var(--success);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 15px;
  height: 15px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.btn-primary {
  background: var(--gradient);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.smart-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.smart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  background: white;
  min-width: 700px;
}

.smart-table-head-row {
  background: var(--gradient);
  color: white;
}

.smart-table-th {
  padding: 1.5rem;
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
}

.smart-table-row {
  border-bottom: 1px solid var(--border);
}

.smart-table-row-alt {
  background: #f8fafc;
}

.smart-table-letter {
  padding: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
}

.smart-table-title {
  padding: 1.5rem;
  font-weight: 600;
}

.smart-table-desc {
  padding: 1.5rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.example-good {
  background: #dcfce7;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.example-bad {
  background: #fee2e2;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.smart-cards-mobile {
  display: none;
}

.smart-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--primary);
}

.smart-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.smart-card-letter {
  width: 50px;
  height: 50px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.smart-card-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.smart-card-subtitle {
  color: var(--text-light);
  font-size: 0.9rem;
}

.smart-card-text {
  margin: 0 0 0.8rem 0;
  line-height: 1.6;
  color: var(--text-dark);
}

.smart-card-example {
  background: #f0f9ff;
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.smart-card-example-title {
  color: var(--primary);
  font-size: 0.9rem;
}

.smart-card-example-text {
  margin: 0.5rem 0 0 0;
  font-size: 0.95rem;
}

.contributor-banner {
  padding: clamp(3rem, 6vw, 4rem) 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  position: relative;
}

.contributor-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
}

.contributor-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
  overflow: hidden;
}

.contributor-label {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.contributor-label i {
  font-size: 1rem;
}

.contributor-content {
  padding: clamp(2rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: center;
}

.contributor-logo-box {
  width: 100px;
  height: 100px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  flex-shrink: 0;
}

.contributor-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contributor-info {
  flex: 1;
  min-width: 0;
}

.contributor-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.25rem 0;
}

.contributor-role {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.75rem 0;
}

.contributor-description {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.contributor-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contributor-contact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.contributor-contact i {
  color: var(--primary);
  font-size: 0.85rem;
}

.contributor-contact:hover {
  color: var(--primary);
}

.contributor-cta-box {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid rgba(9, 123, 192, 0.2);
  text-align: center;
  min-width: 220px;
  flex-shrink: 0;
}

.contributor-cta-text {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
}

.contributor-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  margin-bottom: 0.75rem;
}

.contributor-cta-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(9, 123, 192, 0.3);
}

.contributor-benefit {
  display: block;
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 600;
}

.contributor-benefit i {
  font-size: 0.75rem;
}

.contributor-footer {
  background: var(--light);
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

.contributor-footer p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.contributor-footer i {
  color: var(--primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.donation-banner {
  background: var(--light);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.donation-title {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.donation-subtitle {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.bank-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: left;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.bank-title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.bank-details {
  margin: 0;
}

.bank-cta {
  margin-top: 1rem;
}

.donation-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

@media (max-width: 1024px) {
  .contributor-content {
    grid-template-columns: auto 1fr;
  }

  .contributor-cta-box {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

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

  .smart-table-desktop {
    display: none !important;
  }

  .smart-cards-mobile {
    display: block !important;
  }

  .contributor-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contributor-logo-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }

  .contributor-contacts {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .contributor-cta-box {
    padding: 1.25rem;
  }

  .contributor-label {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    justify-content: center;
    text-align: center;
  }
}

@media (min-width: 769px) {
  .smart-cards-mobile {
    display: none !important;
  }
}
