* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
  transition: background .25s ease, color .25s ease;
}

body, button, a { -webkit-tap-highlight-color: transparent; }

button, input, textarea, select { font: inherit; }

button { cursor: pointer; }

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

img { display: block; max-width: 100%; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -.04em;
}

.brand img { width: 38px; height: 38px; object-fit: contain; }
.brand > span > span { color: var(--green); }

.desktop-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.desktop-nav a, .login-link { color: var(--text-soft); font-size: .92rem; font-weight: 600; }
.desktop-nav a:hover, .login-link:hover { color: var(--green); }

.header-actions { display: flex; align-items: center; gap: 15px; }

.icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-soft);
}

.icon-btn:hover { color: var(--green); border-color: var(--green); }

.menu-toggle, .mobile-menu { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 19px;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.btn-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 8px 20px rgba(22, 163, 74, .2);
}

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

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-light { background: white; color: #102117; }
.btn-small { padding: 10px 16px; font-size: .88rem; }
.btn-large { padding: 14px 22px; }

.hero { padding: 78px 0 70px; overflow: hidden; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 70px;
}

.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-weight: 800;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--orange-soft);
}

.hero h1 {
  margin: 18px 0;
  max-width: 700px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3rem, 5.8vw, 5.2rem);
  line-height: .98;
  letter-spacing: -.065em;
}

.hero h1 em { color: var(--green); font-style: normal; }

.hero-text {
  max-width: 600px;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.hero-trust strong, .hero-trust small { display: block; }
.hero-trust strong { font-size: .88rem; }
.hero-trust small { color: var(--text-soft); margin-top: 2px; font-size: .78rem; }

.avatar-stack { display: flex; }
.avatar-stack span {
  width: 34px; height: 34px; display: grid; place-items: center;
  margin-left: -7px; border: 2px solid var(--bg); border-radius: 50%;
  background: var(--green); color: white; font-size: .62rem; font-weight: 800;
}
.avatar-stack span:first-child { margin-left: 0; background: #f97316; }
.avatar-stack span:nth-child(2) { background: #15803d; }
.avatar-stack span:nth-child(3) { background: #eab308; color: #332500; }
.avatar-stack span:nth-child(4) { background: var(--surface-2); color: var(--text-soft); }

.hero-visual { position: relative; min-height: 530px; display: grid; place-items: center; }

.hero-visual::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,163,74,.18), transparent 68%);
  filter: blur(5px);
}

.hero-card {
  position: relative;
  width: min(390px, 100%);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(20, 53, 31, .15);
  transform: rotate(2deg);
}

.hero-card-top {
  position: absolute;
  inset: 15px 15px auto;
  z-index: 2;
  display: flex;
  justify-content: space-between;
}

.live-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.92); color: #1f2937;
  font-size: .68rem; font-weight: 800;
}
.live-pill i { color: var(--green); font-size: .45rem; }

.heart-btn {
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.92); color: #1f2937;
}

.mock-image {
  height: 245px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.9);
  font-size: 4rem;
}
.business-image { background: linear-gradient(135deg, #176b3a, #f97316); }

.mock-project-copy { padding: 22px; }
.category-label {
  display: inline-block; color: var(--green); font-size: .72rem;
  font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
}
.mock-project-copy h3 {
  margin: 8px 0 18px; font-family: "Manrope"; font-size: 1.35rem; line-height: 1.2;
}
.funding-line { display: flex; align-items: baseline; gap: 6px; }
.funding-line strong { font-size: 1.25rem; }
.funding-line span, .funding-meta { color: var(--text-soft); font-size: .78rem; }

.progress { height: 8px; margin: 10px 0 8px; background: var(--surface-2); border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #6bd88f); border-radius: inherit; }
.funding-meta { display: flex; justify-content: space-between; }

.floating-stat {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 15px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 15px;
  box-shadow: var(--shadow);
}
.floating-stat strong, .floating-stat small { display: block; }
.floating-stat strong { font-size: .82rem; }
.floating-stat small { color: var(--text-soft); font-size: .65rem; }
.stat-one { left: 0; top: 95px; }
.stat-two { right: -10px; bottom: 100px; }
.stat-icon, .mini-check {
  width: 35px; height: 35px; display: grid; place-items: center;
  border-radius: 11px; background: var(--green-soft); color: var(--green);
}
.mini-check { background: var(--orange-soft); color: var(--orange); }

.stats-strip { border-block: 1px solid var(--border); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { padding: 28px 20px; text-align: center; border-right: 1px solid var(--border); }
.stats-grid > div:last-child { border-right: 0; }
.stats-grid strong, .stats-grid span { display: block; }
.stats-grid strong { font-family: "Manrope"; font-size: 1.5rem; }
.stats-grid span { margin-top: 2px; color: var(--text-soft); font-size: .78rem; }

.section { padding: 95px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.section-heading h2 {
  margin: 7px 0 5px; font-family: "Manrope"; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.05em;
}
.section-heading p { margin: 0; color: var(--text-soft); }
.section-heading.centered { display: block; text-align: center; max-width: 650px; margin: 0 auto 42px; }
.text-link { color: var(--green); font-size: .88rem; font-weight: 800; }

.category-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 7px; margin-bottom: 28px; scrollbar-width: none; }
.category-pills::-webkit-scrollbar { display: none; }
.category-pill {
  flex: 0 0 auto; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-soft); padding: 10px 15px; border-radius: 999px; font-size: .78rem; font-weight: 700;
}
.category-pill.active, .category-pill:hover { border-color: var(--green); background: var(--green); color: white; }

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

.project-card {
  overflow: hidden; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); transition: transform .2s ease, box-shadow .2s ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.project-thumb {
  height: 190px; display: grid; place-items: center; color: white; font-size: 2.5rem;
  position: relative;
}
.project-thumb.business { background: linear-gradient(135deg, #126333, #43a85f); }
.project-thumb.education { background: linear-gradient(135deg, #ef8a23, #f9c46b); }
.project-thumb.community { background: linear-gradient(135deg, #216c55, #73b7a0); }
.project-thumb.medical { background: linear-gradient(135deg, #b94c3e, #ed8b78); }
.project-thumb.creative { background: linear-gradient(135deg, #7743a8, #d59ce8); }
.project-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.18)); }
.project-thumb i { position: relative; z-index: 1; }
.project-body { padding: 18px; }
.project-body h3 { margin: 7px 0 14px; font-family: "Manrope"; font-size: 1.08rem; line-height: 1.3; }
.project-body .category-label { font-size: .65rem; }
.project-footer { display: flex; justify-content: space-between; margin-top: 10px; color: var(--text-soft); font-size: .73rem; }
.project-footer strong { color: var(--text); }

.how-section { background: var(--surface); border-block: 1px solid var(--border); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { position: relative; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); }
.step-number { position: absolute; top: 22px; right: 25px; color: var(--border); font-family: "Manrope"; font-size: 2rem; font-weight: 800; }
.step-icon {
  width: 52px; height: 52px; display: grid; place-items: center;
  border-radius: 15px; background: var(--green-soft); color: var(--green); font-size: 1.1rem;
}
.step-card h3 { margin: 22px 0 7px; font-family: "Manrope"; }
.step-card p { margin: 0; color: var(--text-soft); font-size: .9rem; line-height: 1.65; }

.cta-section { padding: 70px 0; }
.cta-card {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 55px; border-radius: 32px; color: white;
  background: linear-gradient(120deg, #116b37, #16a34a 55%, #ef761d);
}
.cta-card .section-kicker { color: #c7f7d5; }
.cta-card h2 { margin: 8px 0; font-family: "Manrope"; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.05em; }
.cta-card p { max-width: 600px; margin: 0; color: rgba(255,255,255,.78); }

.site-footer { background: #0b1510; color: white; }
.footer-main { display: flex; justify-content: space-between; gap: 50px; padding: 55px 0; }
.footer-brand p { color: #8fa095; font-size: .82rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 130px); gap: 35px; }
.footer-links div { display: flex; flex-direction: column; gap: 9px; }
.footer-links strong { font-size: .8rem; margin-bottom: 5px; }
.footer-links a { color: #8fa095; font-size: .75rem; }
.footer-links a:hover { color: white; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08); color: #718178; font-size: .68rem;
}
.footer-bottom i { color: #f97316; }
