/* ===== Hero ===== */
.heroBanner {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
  text-align: center;
  background: linear-gradient(160deg, #071525 0%, #0d2137 45%, #071525 100%);
  color: #fff;
}

.heroGrid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(6, 182, 212, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(6, 182, 212, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.heroGlow {
  position: absolute;
  top: -200px;
  left: 30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.16) 0%, transparent 65%);
  pointer-events: none;
}

.heroGlowRight {
  position: absolute;
  bottom: -150px;
  right: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.heroContent {
  position: relative;
  z-index: 1;
}

.heroLogo {
  height: 120px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 32px rgba(6, 182, 212, 0.5));
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.heroTitle {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, #38bdf8, #06b6d4, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.heroSubtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

/* Wave bottom of hero */
.heroWave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.heroWave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ===== Stats ===== */
.statsRow {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.statItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.07);
  min-width: 90px;
  transition: all 0.25s ease;
}

.statItem:hover {
  border-color: rgba(6, 182, 212, 0.55);
  background: rgba(6, 182, 212, 0.12);
  transform: translateY(-3px);
}

.statValue {
  font-size: 1.5rem;
  font-weight: 700;
  color: #38bdf8;
  line-height: 1.2;
}

.statLabel {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

/* ===== Buttons ===== */
.buttonGroup {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.22s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btnPrimary {
  background: #0891b2;
  color: #fff !important;
  border: 1px solid transparent;
}

.btnPrimary:hover {
  background: #0e7490;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 182, 212, 0.38);
  color: #fff !important;
}

.btnSecondary {
  background: rgba(255,255,255,0.05);
  color: #7dd3fc !important;
  border: 1px solid rgba(6, 182, 212, 0.32);
}

.btnSecondary:hover {
  background: rgba(6, 182, 212, 0.12);
  border-color: #06b6d4;
  color: #bae6fd !important;
  transform: translateY(-2px);
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.sectionAlt {
  background: var(--ifm-color-emphasis-100);
}

.sectionInner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.sectionReverse {
  flex-direction: row-reverse;
}

.sectionText {
  flex: 1;
}

.sectionImageWrap {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.imageGlow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  border-radius: 24px;
  pointer-events: none;
}

.sectionImg {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  z-index: 1;
}

.sectionImg:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.sectionBadge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(8, 145, 178, 0.1);
  color: #0891b2;
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

:global([data-theme='dark']) .sectionBadge {
  background: rgba(6, 182, 212, 0.12);
  color: #38bdf8;
  border-color: rgba(6, 182, 212, 0.28);
}

.sectionTitle {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.35;
}

.sectionDesc {
  color: var(--ifm-color-emphasis-700);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Tag cloud */
.tagCloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--ifm-color-emphasis-100);
  border: 1px solid var(--ifm-color-emphasis-300);
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--ifm-color-emphasis-700);
  transition: all 0.2s;
}

.tag:hover {
  border-color: #06b6d4;
  color: #0891b2;
  background: rgba(6, 182, 212, 0.06);
}

:global([data-theme='dark']) .tag:hover {
  color: #38bdf8;
}

/* Feature list */
.featureList {
  list-style: none;
  padding: 0;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.featureList li {
  padding: 0.45rem 0 0.45rem 1.5rem;
  position: relative;
  color: var(--ifm-color-emphasis-700);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--ifm-color-emphasis-200);
}

.featureList li:last-child {
  border-bottom: none;
}

.featureList li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #06b6d4;
  font-size: 0.9rem;
}

/* Quote */
.sectionQuote {
  margin: 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid #06b6d4;
  background: rgba(6, 182, 212, 0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--ifm-color-emphasis-600);
  font-size: 0.92rem;
  line-height: 1.7;
}

:global([data-theme='dark']) .sectionQuote {
  background: rgba(6, 182, 212, 0.08);
}

/* ===== Donate Section ===== */
.donateSection {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--ifm-color-emphasis-100) 0%, var(--ifm-background-color) 100%);
}

.donateTitleWrap {
  text-align: center;
  margin-bottom: 2.5rem;
}

.donateTitle {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.donateSubtitle {
  color: var(--ifm-color-emphasis-600);
  font-size: 0.95rem;
  margin: 0;
}

.donateRow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.donateCard {
  flex: 1;
  max-width: 320px;
  min-width: 260px;
  background: var(--ifm-background-color);
  border-radius: 16px;
  border: 1px solid var(--ifm-color-emphasis-200);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donateCard:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.13);
}

.donateCardAccent {
  height: 4px;
  width: 100%;
}

.donateCardBlue .donateCardAccent {
  background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

.donateCardCyan .donateCardAccent {
  background: linear-gradient(90deg, #06b6d4, #22d3ee);
}

.donateQrWrap {
  display: flex;
  justify-content: center;
  padding: 1.5rem 1.5rem 1rem;
  background: var(--ifm-color-emphasis-100);
}

.donateQr {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.donateCardBody {
  padding: 1.25rem 1.5rem 1.5rem;
}

.donateCardTitle {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--ifm-color-emphasis-900);
}

.donateCaption {
  font-size: 0.875rem;
  color: var(--ifm-color-emphasis-600);
  line-height: 1.75;
  margin: 0;
}

/* ===== Responsive ===== */
@media (max-width: 996px) {
  .sectionInner,
  .sectionReverse {
    flex-direction: column !important;
    gap: 2.5rem;
  }

  .sectionImageWrap {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .heroBanner {
    padding: 3.5rem 0 5rem;
  }

  .heroTitle {
    font-size: 2.2rem;
  }

  .heroLogo {
    height: 90px;
  }

  .heroSubtitle {
    font-size: 1rem;
  }

  .statsRow {
    gap: 0.75rem;
  }

  .statItem {
    padding: 0.6rem 1rem;
    min-width: 76px;
  }

  .statValue {
    font-size: 1.25rem;
  }

  .sectionTitle {
    font-size: 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .donateSection {
    padding: 3rem 0;
  }
}
