/* ===== Philanthropic Campaign Page Styles ===== */

/* Hero */
.phil-hero {
  background: linear-gradient(135deg, #1a7a4a 0%, #28a745 50%, #20c997 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.phil-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.phil-company-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.phil-company-icon {
  font-size: 2.5rem;
}

.phil-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin: 0;
}

.phil-subtitle {
  font-size: 1.1rem;
  opacity: 0.92;
  margin: 0.75rem 0 1rem;
  line-height: 1.5;
}

.phil-scope-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 30px;
  padding: 0.4rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Progress Tracker */
.phil-progress-tracker {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  margin-top: 1rem;
}

.phil-progress-stat {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.phil-progress-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.phil-progress-label {
  font-size: 1rem;
  opacity: 0.85;
  font-weight: 600;
}

.phil-progress-target {
  font-size: 0.88rem;
  opacity: 0.8;
  margin: 0.5rem 0;
}

.phil-progress-message {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-top: 0.5rem;
  line-height: 1.5;
}

.momentum-dashboard-phil {
  margin-top: 1.25rem;
  background: rgba(255,255,255,0.14);
  border: 1.5px solid rgba(255,255,255,0.25);
}

/* Geographic momentum ladder */
.phil-scope-section {
  padding: 3.5rem 0;
  background: #ffffff;
}
.phil-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.phil-scope-card {
  background: linear-gradient(135deg, #f8fffb 0%, #eefaf3 100%);
  border: 1.5px solid #d9efe0;
  border-radius: 16px;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 4px 14px rgba(32, 72, 52, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.phil-scope-card:hover,
.phil-scope-card.active-scope {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(40,167,69,0.12);
  border-color: #28a745;
}
.phil-scope-icon {
  font-size: 1.8rem;
  margin-bottom: 0.45rem;
}
.phil-scope-label {
  font-size: 0.9rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.3rem;
}
.phil-scope-value {
  font-size: 1rem;
  color: #28a745;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.phil-scope-meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #8aa092;
  margin-bottom: 0.35rem;
}
.phil-scope-count {
  font-size: 0.84rem;
  color: #555;
  margin-bottom: 0.55rem;
}
.phil-scope-count span {
  font-size: 1.2rem;
  font-weight: 900;
  color: #1a7a4a;
  margin-right: 0.2rem;
}
.phil-scope-desc {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.45;
  margin-bottom: 0.55rem;
}
.phil-scope-cta {
  font-size: 0.8rem;
  font-weight: 700;
  color: #667eea;
}

.phil-scope-section.momentum-view-only .phil-scope-card {
  cursor: default;
  transform: none;
}

.phil-scope-section.momentum-view-only .phil-scope-card:hover {
  transform: none;
  box-shadow: 0 4px 14px rgba(32, 72, 52, 0.06);
  border-color: #d9efe0;
}

.phil-scope-section.momentum-view-only .phil-scope-desc,
.phil-scope-section.momentum-view-only .phil-scope-cta,
.phil-scope-section.momentum-view-only .phil-scope-meta {
  display: none;
}


.phil-scope-section.momentum-view-only .phil-scope-count {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Explainer Section */
.phil-explainer {
  padding: 3.5rem 0;
  background: white;
}

.phil-explainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.phil-explainer-card {
  background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e9 100%);
  border: 1.5px solid #a5d6a7;
  border-radius: 14px;
  padding: 1.75rem;
  text-align: center;
}

.phil-explainer-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.phil-explainer-card h3 {
  font-size: 1.05rem;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.phil-explainer-card p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .phil-scope-grid {
    grid-template-columns: 1fr;
  }
}

/* Projection Section */
.phil-projection {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 100%);
}

.phil-projection h2 {
  font-size: 2rem;
  text-align: center;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.phil-section-sub {
  text-align: center;
  color: #666;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.phil-calc-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.phil-calc-inputs {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.phil-calc-inputs h3 {
  font-size: 1.2rem;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #28a745;
}

/* Sliders */
.phil-slider-group {
  margin-bottom: 1.5rem;
}

.phil-slider-group label {
  display: block;
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.phil-slider-group label strong {
  color: #28a745;
  font-size: 1rem;
}

.phil-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e0e0e0;
  outline: none;
  cursor: pointer;
  accent-color: #28a745;
  margin-bottom: 0.4rem;
}

.phil-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #999;
}

/* Multi-company scenario box */
.phil-scenario-box {
  background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
  border: 1.5px solid #ffc107;
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 0.5rem;
}

.phil-scenario-box h4 {
  font-size: 0.95rem;
  color: #856404;
  margin-bottom: 0.4rem;
}

.phil-scenario-box > p {
  font-size: 0.85rem;
  color: #856404;
  margin-bottom: 1rem;
}

.phil-scenario-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}

.phil-scenario-card {
  background: white;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.9rem 0.5rem;
  text-align: center;
}

.phil-scenario-card.highlight {
  border-color: #28a745;
  background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e9 100%);
}

.phil-scenario-card.highlight-gold {
  border-color: #ffc107;
  background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
}

.phil-scenario-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.phil-scenario-amount {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a2e;
}

.phil-scenario-sub {
  font-size: 0.7rem;
  color: #888;
  margin: 0.2rem 0;
}

.phil-scenario-grown {
  font-size: 0.78rem;
  font-weight: 700;
  color: #28a745;
}

/* Projection Cards */
.phil-calc-results {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.phil-calc-results h3 {
  font-size: 1.2rem;
  color: #1a1a2e;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #667eea;
}

.phil-projection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.phil-proj-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf8 100%);
  border: 1.5px solid #e0e4f0;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.phil-proj-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.15);
}

.phil-proj-icon {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.phil-proj-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #667eea;
  margin-bottom: 0.2rem;
}

.phil-proj-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #555;
}

.phil-proj-sub {
  font-size: 0.72rem;
  color: #999;
  margin-bottom: 0.4rem;
}

.phil-proj-personas {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.phil-proj-persona {
  background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e9 100%);
  border: 1px solid #a5d6a7;
  border-radius: 8px;
  padding: 0.6rem 0.35rem;
  text-align: center;
}

.persona-emoji {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.persona-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: #1a7a4a;
  margin-bottom: 0.15rem;
}

.persona-amount {
  font-size: 0.8rem;
  font-weight: 700;
  color: #667eea;
}

.phil-proj-growth {
  font-size: 0.78rem;
  font-weight: 700;
  color: #28a745;
}

.phil-proj-note {
  font-size: 0.75rem;
  color: #999;
  line-height: 1.5;
  margin-top: 0.5rem;
}

/* Industry Hint Section */
.phil-industry-hint {
  padding: 3rem 0;
  background: white;
}

.phil-hint-banner {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
  border: 2px solid #ffc107;
  border-radius: 16px;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.phil-hint-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.phil-hint-content h3 {
  font-size: 1.2rem;
  color: #856404;
  margin-bottom: 0.5rem;
}

.phil-hint-content > p {
  font-size: 0.9rem;
  color: #856404;
  margin-bottom: 1rem;
}

.phil-hint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.phil-hint-item {
  font-size: 0.85rem;
  color: #555;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.7);
  border-radius: 8px;
  line-height: 1.4;
}

/* Scope Section */
.phil-scope-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 100%);
}

.phil-scope-section h2 {
  font-size: 1.8rem;
  text-align: center;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.phil-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 800px;
  margin: 1.5rem auto 0;
}

.phil-scope-card {
  background: white;
  border: 2px solid #e0e4f0;
  border-radius: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.phil-scope-card:hover {
  transform: translateY(-3px);
  border-color: #28a745;
  box-shadow: 0 6px 16px rgba(40, 167, 69, 0.15);
}

.phil-scope-card.active-scope {
  border-color: #28a745;
  background: linear-gradient(135deg, #f0f9f4 0%, #e8f5e9 100%);
}

.phil-scope-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.phil-scope-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.3rem;
}

.phil-scope-value {
  font-size: 1rem;
  font-weight: 700;
  color: #28a745;
  margin-bottom: 0.3rem;
}

.phil-scope-count {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.75rem;
}

.phil-scope-desc {
  font-size: 0.75rem;
  color: #777;
  line-height: 1.4;
}

.phil-scope-cta {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #28a745;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
  display: inline-block;
  transition: background 0.2s ease, color 0.2s ease;
}

.phil-scope-card:hover .phil-scope-cta {
  background: #28a745;
  color: white;
}

.phil-scope-card.active-scope .phil-scope-cta {
  background: #28a745;
  color: white;
}

/* Campaign Signup Section */
.campaign-signup {
  padding: 3.5rem 0;
  background: linear-gradient(135deg, #f5f0ff 0%, #e8ecf8 100%);
}

.campaign-signup h2 {
  font-size: 1.8rem;
  text-align: center;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.campaign-signup > .container > p {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Share Section */
.canvas-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 1.5rem auto;
}

.canvas-card {
  background: #f8f9ff;
  border: 1.5px solid #e0e4f0;
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
}

.canvas-card canvas {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.canvas-label {
  font-size: 0.82rem;
  color: #888;
  font-weight: 600;
}

.share-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.share-btn {
  padding: 0.8rem 1.75rem;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.share-download {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.share-native {
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  color: white;
}

/* Share Tips */
.phil-share-tips {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border: 1.5px solid #e0e4f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.phil-share-tips h4 {
  font-size: 0.95rem;
  color: #1a1a2e;
  margin-bottom: 0.75rem;
}

.phil-share-tips ul {
  list-style: none;
  padding: 0;
}

.phil-share-tips ul li {
  font-size: 0.88rem;
  color: #555;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.4;
}

.phil-share-tips ul li:last-child {
  border-bottom: none;
}

/* Responsive */
@media (max-width: 900px) {
  .phil-calc-wrapper {
    grid-template-columns: 1fr;
  }
  .phil-hint-grid {
    grid-template-columns: 1fr;
  }
  .canvas-preview-grid {
    grid-template-columns: 1fr;
  }
  .phil-proj-personas {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .phil-hero h1 {
    font-size: 1.8rem;
  }
  .phil-scope-grid {
    grid-template-columns: 1fr;
  }
  .phil-projection-grid {
    grid-template-columns: 1fr;
  }
  .phil-scenario-grid {
    grid-template-columns: 1fr;
  }
  .phil-hint-banner {
    flex-direction: column;
  }
  .phil-explainer-grid {
    grid-template-columns: 1fr;
  }
  .phil-proj-personas {
    grid-template-columns: 1fr;
  }
}
