:root {
  --bg: #f4f7ff;
  --bg-alt: #ffffff;
  --ink: #0b1437;
  --muted: #5b6b90;
  --accent: #2f6bff;
  --accent-2: #20c997;
  --accent-3: #ffb347;
  --card: #ffffff;
  --stroke: rgba(12, 20, 55, 0.08);
  --shadow: 0 20px 60px rgba(14, 33, 89, 0.12);
  --radius: 20px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 20%, #eef4ff 0%, #f7f9ff 45%, #fdfcff 100%);
  min-height: 100vh;
}

.hero-grid > div:first-child {
  animation: fadeUp 0.7s ease;
}

.progress-card {
  animation: rise 0.8s ease;
}

.hero-grid > div:first-child::after {
  content: "";
  display: block;
  margin-top: 18px;
  height: 3px;
  width: 80px;
  background: linear-gradient(90deg, #2f6bff, #20c997);
  border-radius: 999px;
}

.page {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 64px 0 80px;
  position: relative;
  z-index: 2;
}

.ambient {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(0px);
  opacity: 0.35;
  animation: float 10s ease-in-out infinite;
}

.orb-a {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.35), transparent 70%);
  top: -80px;
  left: -40px;
}

.orb-b {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(32, 201, 151, 0.35), transparent 70%);
  right: -60px;
  top: 120px;
  animation-delay: 1.4s;
}

.orb-c {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 179, 71, 0.25), transparent 70%);
  left: 20%;
  bottom: -120px;
  animation-delay: 2.4s;
}

.hero {
  display: grid;
  gap: 28px;
  margin-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e9f0ff;
  color: #274fcf;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2px;
  width: fit-content;
  box-shadow: inset 0 0 0 1px rgba(47, 107, 255, 0.15);
  animation: fadeUp 0.8s ease forwards;
}

.hero-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin: 0 0 16px;
  line-height: 1.15;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.subtle {
  color: #7a88aa;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.copy-toast {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
  background: #0b1437;
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  box-shadow: 0 10px 24px rgba(11, 20, 55, 0.2);
  pointer-events: none;
}

.copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}

.btn.primary {
  background: linear-gradient(135deg, #2f6bff, #5c8dff);
  color: white;
  box-shadow: 0 12px 30px rgba(47, 107, 255, 0.25);
}

.btn.primary:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  background: #ffffff;
  color: #2f6bff;
  box-shadow: inset 0 0 0 1px rgba(47, 107, 255, 0.2);
}

.btn.ghost:hover {
  background: #f0f5ff;
}

.micro {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}

.progress-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.progress-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(47, 107, 255, 0.08), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--muted);
}

.progress-meta strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.progress-rail {
  height: 12px;
  border-radius: 999px;
  background: #eef2ff;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f6bff, #20c997);
  transition: width 0.6s ease;
}

.progress-chart {
  display: grid;
  grid-auto-flow: column;
  gap: 8px;
  align-items: flex-end;
  height: 70px;
}

.progress-chart .bar {
  width: 18px;
  border-radius: 999px;
  height: var(--h);
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.2), rgba(47, 107, 255, 0.8));
  animation: pulse 2.8s ease-in-out infinite;
}

.section {
  margin-top: 38px;
}

.section-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--stroke);
  box-shadow: 0 14px 40px rgba(20, 33, 78, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card {
  background: linear-gradient(135deg, #f5f9ff, #ffffff);
  border: 1px solid rgba(47, 107, 255, 0.15);
}

.impact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.impact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.impact-list li::before {
  content: "•";
  color: #2f6bff;
  font-weight: 700;
  line-height: 1.2;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20, 33, 78, 0.12);
}

.card h2,
.card h3 {
  margin-top: 0;
}

.card ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.card.highlight {
  background: linear-gradient(135deg, #fff8ec, #ffffff);
  border: 1px solid rgba(255, 179, 71, 0.25);
}

.supporters {
  display: grid;
  gap: 14px;
}

.supporter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid var(--stroke);
  box-shadow: 0 10px 28px rgba(21, 31, 67, 0.08);
  animation: fadeUp 0.6s ease;
}

.supporter strong {
  font-size: 0.95rem;
}

.supporter span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  max-width: 240px;
}

.supporter .amount {
  font-weight: 700;
  color: #2f6bff;
}

.supporter.empty {
  justify-content: center;
  text-align: center;
  color: var(--muted);
}

.admin-card {
  position: relative;
}

.admin-login input,
.admin-panel input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  margin-bottom: 10px;
  font-family: inherit;
}

.field-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.admin-error {
  color: #d63939;
  font-size: 0.85rem;
}

.admin-success {
  color: #1b8f5a;
  font-size: 0.85rem;
}

.hidden {
  display: none;
}

.footer {
  text-align: center;
  color: var(--muted);
  margin-top: 40px;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 20, 55, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 5;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: white;
  padding: 24px;
  border-radius: 20px;
  width: min(420px, 90vw);
  box-shadow: var(--shadow);
  animation: fadeUp 0.5s ease;
}

.timeline-section {
  margin-top: 50px;
}

.journey {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  padding: 24px;
  box-shadow: 0 14px 40px rgba(20, 33, 78, 0.1);
  display: grid;
  gap: 18px;
}

.journey-track {
  height: 12px;
  background: #e6ebff;
  border-radius: 999px;
  overflow: hidden;
}

.journey-progress {
  height: 100%;
  background: linear-gradient(90deg, #2f6bff, #20c997);
  border-radius: 999px;
  animation: grow 1.2s ease;
}

.journey-labels {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  font-size: 0.85rem;
  text-align: center;
}

.journey-label {
  padding: 8px 10px;
  border-radius: 999px;
  background: #f1f4ff;
  color: #6b79a5;
  font-weight: 600;
}

.journey-label.active {
  background: #e6efff;
  color: #1f4fd6;
}

.journey-label.current {
  background: #fff1dd;
  color: #9b5c00;
}

.small {
  font-size: 0.85rem;
  color: var(--muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(16px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes grow {
  from { width: 0%; }
  to { width: var(--progress); }
}

@media (max-width: 680px) {
  .page {
    padding: 40px 0 60px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .progress-chart {
    display: none;
  }
}
