/* Modern landing page - Satu Data Muhammadiyah */
.landing-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 22px;
  display: grid;
  gap: 20px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(8px);
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #dce5df;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 6px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  border-radius: 28px;
  padding: 30px;
  color: #fff;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(147, 217, 255, 0.3), transparent 30%),
    radial-gradient(circle at 20% 100%, rgba(117, 255, 187, 0.25), transparent 40%),
    linear-gradient(132deg, #042f2e 0%, #0f766e 42%, #1d4f76 100%);
  box-shadow: 0 25px 60px rgba(6, 37, 71, 0.3);
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.hero-main {
  display: grid;
  align-content: center;
  gap: 12px;
}

.hero-eyebrow {
  color: #d8fff5;
}

.hero h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.hero-desc {
  margin: 0;
  max-width: 65ch;
  color: rgba(239, 252, 255, 0.95);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 4px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-actions a {
  text-decoration: none;
}

.hero-actions .cta {
  background: #ffffff;
  color: #0f766e;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.16);
}

.hero-actions .sub {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.hero-actions button {
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.hero-actions button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(7, 25, 43, 0.22);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-row span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 6px 10px;
  color: rgba(240, 253, 250, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.hero-proof {
  margin-top: 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.proof-chip {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 8px 10px;
  display: grid;
  gap: 2px;
}

.proof-chip span {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.proof-chip small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.logo-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  padding: 24px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  min-height: 300px;
}

.logo-card img {
  width: min(260px, 95%);
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.28));
}

.logo-caption {
  margin: 0;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.ecosystem-section {
  display: grid;
  gap: 12px;
}

.ecosystem-head {
  display: grid;
  gap: 3px;
}

.section-title {
  margin: 0;
  font-size: clamp(26px, 2vw, 34px);
}

.ecosystem-head p {
  margin: 0;
  color: #64748b;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.story-card {
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 16px;
  padding: 14px;
  position: relative;
  overflow: hidden;
}
.story-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #2d5d88, #1f8f72);
  opacity: 0.6;
}

.story-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
}

.story-card p {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 10px;
}

.ecosystem-card {
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 16px;
  padding: 12px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: grid;
  gap: 6px;
}

.ecosystem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(38, 77, 142, 0.12);
}

.ecosystem-card.active {
  border-color: #2d5d88;
  background: linear-gradient(180deg, #f5faff, #ffffff);
}

.ecosystem-card-key {
  width: fit-content;
  border-radius: 999px;
  background: #ecf3ff;
  color: #2d5d88;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 3px 8px;
}

.ecosystem-card h5 {
  margin: 0;
  min-height: 38px;
  font-size: 14px;
}

.ecosystem-card strong {
  font-size: 30px;
  line-height: 1;
}

.ecosystem-card small {
  color: #64748b;
  font-size: 12px;
}

.ecosystem-card-progress {
  height: 6px;
  border-radius: 999px;
  background: #e6edf7;
  overflow: hidden;
}

.ecosystem-card-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, #2d5d88, #1f8f72);
}

.ecosystem-chart-card {
  background: #fff;
  border: 1px solid #dce5df;
  border-radius: 18px;
  padding: 16px;
}

.ecosystem-chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.ecosystem-chart-head h4 {
  margin: 0;
  font-size: 19px;
}

.chart-toggle {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid #cfd9e3;
  overflow: hidden;
}

.chart-toggle-btn {
  border: 0;
  background: #fff;
  color: #475569;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

.chart-toggle-btn.active {
  color: #fff;
  background: linear-gradient(135deg, #2d5d88, #1f8f72);
}

.ecosystem-info {
  margin: 10px 0 12px;
  color: #475569;
  line-height: 1.45;
}

.ecosystem-bars {
  display: grid;
  gap: 8px;
}

.ecosystem-bar {
  border: 0;
  background: #f8fafc;
  border-radius: 12px;
  padding: 9px 10px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 10px;
}

.ecosystem-bar.active {
  background: #eef6ff;
}

.ecosystem-bar-label {
  font-weight: 800;
  color: #334155;
}

.ecosystem-bar-track {
  height: 10px;
  border-radius: 999px;
  background: #dbe7f3;
  position: relative;
  overflow: hidden;
}

.ecosystem-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2d5d88, #1f8f72);
}

.ecosystem-bar-value {
  font-weight: 800;
  color: #0f172a;
}

.landing-cta {
  border-radius: 20px;
  border: 1px solid #dce5df;
  background: #fff;
  padding: 20px;
  display: grid;
  gap: 8px;
}

.landing-cta h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 32px);
}

.landing-cta p {
  margin: 0;
  color: #64748b;
  max-width: 70ch;
}

.status-box {
  margin-top: 0;
}

.hero,
.story-card,
.ecosystem-card,
.ecosystem-chart-card,
.landing-cta {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.46s ease, transform 0.46s ease;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 860px) {
  .landing-wrap {
    padding: 14px;
  }

  .hero {
    padding: 20px;
    border-radius: 20px;
  }

  .hero h2 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .hero-desc {
    font-size: 15px;
  }

  .ecosystem-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .ecosystem-bar {
    grid-template-columns: 64px 1fr auto;
  }
}

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

  .ecosystem-card strong {
    font-size: 24px;
  }

  .proof-chip span {
    font-size: 20px;
  }
}
