/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
header {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1a1a2e;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #e8f5e9;
  border-radius: 8px;
  padding: 4px;
}

nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #444;
  transition: color 0.2s;
}

nav a:hover { color: #2e7d32; }

/* ========== BUTTONS ========== */
button.btn-primary,
button.btn-secondary {
  font: inherit;
  cursor: pointer;
}

button.btn-primary {
  border: none;
}

button.btn-primary:disabled,
button.btn-secondary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-primary {
  background: #2e7d32;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
  display: inline-block;
}

.btn-primary:hover { background: #1b5e20; }

.btn-secondary {
  background: transparent;
  color: #2e7d32;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #2e7d32;
  transition: all 0.2s;
  display: inline-block;
}

.btn-secondary:hover { background: #2e7d32; color: #fff; }

.btn-donate {
  background: #2e7d32;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.2s;
}

.btn-donate:hover { background: #1b5e20 !important; }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2e7d32 100%);
  color: #fff;
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  max-width: 750px;
  margin: 0 auto 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero .btn-secondary {
  color: #fff;
  border-color: #fff;
}

.hero .btn-secondary:hover {
  background: #fff;
  color: #2e7d32;
}

/* ========== STATS BAR ========== */
.stats-bar {
  background: #f9f9f9;
  border-bottom: 1px solid #e5e5e5;
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #2e7d32;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

/* ========== PLATFORMS ========== */
.platforms {
  padding: 80px 0;
}

.platforms h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.platform-card {
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 28px;
  transition: box-shadow 0.2s;
}

.platform-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }

.platform-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.platform-card p {
  color: #555;
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.platform-card.coming-soon {
  background: #f5f5f5;
  opacity: 0.75;
}

.audience-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.audience-links a {
  font-size: 0.8rem;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  transition: background 0.2s;
}

.audience-links a:hover { background: #c8e6c9; }

.badge {
  display: inline-block;
  background: #e0e0e0;
  color: #777;
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* ========== MISSION ========== */
.mission {
  background: #f0f7f0;
  padding: 80px 0;
}

.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.mission-text h2 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.mission-text p {
  color: #444;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.mission-model h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a1a2e;
}

.model-bar {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  height: 44px;
  font-size: 0.78rem;
  font-weight: 700;
}

.bar-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 0 8px;
  text-align: center;
}

.community { background: #2e7d32; }
.education { background: #1565c0; }
.infra { background: #6a1b9a; }

.model-caption {
  font-size: 0.82rem;
  color: #666;
  margin-top: 10px;
}

/* ========== TRANSPARENCY STRIP ========== */
.transparency-strip {
  background: #1a1a2e;
  color: #ccc;
  text-align: center;
  padding: 20px 0;
  font-size: 0.88rem;
}

.transparency-strip a {
  color: #81c784;
  font-weight: 600;
}

.transparency-strip a:hover { text-decoration: underline; }

/* ========== FOOTER ========== */
footer {
  background: #111;
  color: #888;
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-inner { display: flex; flex-direction: column; gap: 8px; }

footer a { color: #81c784; }
footer a:hover { text-decoration: underline; }

/* ========== INTERNAL PAGES ========== */
.page-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #244c34 100%);
  color: #fff;
  padding: 88px 0 72px;
}

.page-hero.light {
  background: linear-gradient(135deg, #f0f7f0 0%, #ffffff 100%);
  color: #1a1a2e;
}

.page-hero h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 12ch;
}

.page-hero p {
  font-size: 1.05rem;
  max-width: 62ch;
  opacity: 0.92;
}

.eyebrow-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.page-hero.light .eyebrow-tag {
  background: #e8f5e9;
  color: #1b5e20;
}

.page-main {
  padding: 64px 0 80px;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.page-card,
.page-sidebar,
.page-stat-grid .stat-card,
.info-grid .info-card,
.contact-panel,
.timeline-card {
  background: #fff;
  border: 1px solid #e7ece8;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.06);
}

.page-card,
.page-sidebar,
.contact-panel,
.timeline-card {
  padding: 28px;
}

.page-card + .page-card,
.timeline-card + .timeline-card {
  margin-top: 22px;
}

.page-card h2,
.page-sidebar h2,
.timeline-card h2,
.contact-panel h2 {
  font-size: 1.45rem;
  margin-bottom: 14px;
  color: #1a1a2e;
}

.page-card h3,
.contact-panel h3 {
  font-size: 1rem;
  margin: 18px 0 10px;
  color: #1a1a2e;
}

.page-card p,
.page-card li,
.page-sidebar p,
.page-sidebar li,
.timeline-card p,
.contact-panel p,
.contact-panel li {
  color: #46505a;
}

.page-card ul,
.page-sidebar ul,
.contact-panel ul {
  padding-left: 18px;
}

.page-card li + li,
.page-sidebar li + li,
.contact-panel li + li {
  margin-top: 8px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.page-stat-grid,
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.page-stat-grid .stat-card,
.info-grid .info-card {
  padding: 22px;
}

.stat-card strong,
.info-card strong,
.sidebar-label,
.timeline-step {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2e7d32;
  margin-bottom: 8px;
}

.stat-card span {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.page-sidebar {
  position: sticky;
  top: 96px;
}

.quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links li + li {
  margin-top: 12px;
}

.quick-links a {
  color: #2e7d32;
  font-weight: 600;
}

.quick-links a:hover {
  text-decoration: underline;
}

.timeline-step {
  margin-bottom: 6px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li + li {
  margin-top: 14px;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: #1a1a2e;
}

.note-strip {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 4px solid #2e7d32;
  background: #f5faf5;
  color: #46505a;
  border-radius: 10px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.info-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #e7ece8;
}

.info-table th {
  background: #f7faf7;
  color: #3b4954;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-grid { grid-template-columns: 1fr; }
  .mission-inner { grid-template-columns: 1fr; }
  nav { gap: 12px; }
  .page-layout { grid-template-columns: 1fr; }
  .page-stat-grid, .info-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 2rem; }
  .page-sidebar { position: static; }
}