/* ===== HEADER ===== */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.nav a {
  margin-left: 1rem;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

/* ===== HERO ===== */
.hero-container {
  text-align: center;
  padding: 4rem 0 3rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-subtitle {
  max-width: 640px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.hero-trust {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== QR TOOL ===== */
.qr-tool-container {
  padding: 3rem 0;
}

.qr-tool-header {
  text-align: center;
  margin-bottom: 2rem;
}

.qr-tool-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* ===== SEO & FOOTER ===== */
#seo-content,
#how-it-works {
  padding: 3rem 0;
}

footer {
  padding: 0;
  text-align: left;
  opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .qr-tool-body {
    grid-template-columns: 1fr;
  }

  .hero-trust {
    flex-direction: column;
    gap: 0.5rem;
  }
}

.how-container { text-align: center; }
.how-sub { opacity: .85; margin: .5rem 0 1.5rem; }
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.how-card {
  background: #020617;
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: left;
}
.how-card h3 { margin-bottom: .35rem; }
.how-card p { opacity: .85; }

@media (max-width: 768px) {
  .how-steps { grid-template-columns: 1fr; }
}

/* ===== Footer Layout ===== */
.footer-wrap {
  padding: 2.5rem 0 2rem;
  max-width: 1050px;     /* bikin konten ga terlalu melebar */
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 420px; /* kanan fixed biar konsisten */
  gap: 1.75rem;                     /* rapetin */
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.footer-logo {
  width: 34px;
  height: 34px;
}

.footer-brand-name {
  font-weight: 800;
  font-size: 1.05rem;
}

.footer-note {
  opacity: 0.75;
  margin-bottom: 1rem;
  max-width: 460px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  opacity: 0.85;
}

.footer-links a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* Donate box */
.footer-donate {
  background: #020617;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 0.9rem;
  padding: 1.25rem;
}

.footer-donate h3 {
  margin-bottom: 0.35rem;
}

.footer-donate p {
  opacity: 0.85;
  margin-bottom: 1rem;
}

.donate-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.donate-hint {
  display: block;
  margin-top: 0.85rem;
  opacity: 0.7;
}

.footer-col { min-width: 0; }

.footer-donate {
  max-width: 420px;
  justify-self: start;   /* jangan nempel kanan */
}

@media (max-width: 768px) {
  .footer-donate {
    max-width: 100%;
    justify-self: stretch;
  }
}

/* Bottom bar */
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  opacity: 0.7;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-wrap { max-width: 900px; }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .footer-donate {
    max-width: 100%;
    justify-self: stretch;
  }
}

/* ===== Footer Clean (Unified) ===== */
.footer-clean {
  padding: 3rem 0 2.5rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.footer-clean .footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.footer-clean .footer-logo {
  width: 150px;
  height: 150px;
}

.footer-clean .footer-brand-name {
  font-weight: 800;
  font-size: 1.15rem;
}

.footer-clean .footer-note {
  opacity: 0.75;
  margin: 0 auto 1.25rem;
  max-width: 420px;
  text-align: center;
  line-height: 1.5;
}

.footer-clean .footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0.85;
  margin-bottom: 2rem;
}

.footer-clean .footer-links a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* Donate box */
.footer-donate-box {
  background: #020617;
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 420px;
  margin: 0 auto 2.25rem;
}

.footer-donate-box h3 {
  margin-bottom: 0.35rem;
}

.footer-donate-box p {
  opacity: 0.85;
  margin-bottom: 1.25rem;
}

.footer-donate-box .donate-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.footer-donate-box .donate-hint {
  display: block;
  margin-top: 1rem;
  opacity: 0.7;
}

/* Bottom */
.footer-clean .footer-bottom {
  opacity: 0.65;
}

/* ===== Hamburger Menu ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-toggle {
    display: block;
    margin-right: 0.50rem;
    padding: 0.35rem 0.5rem;
  }

  .nav {
    display: none;
    width: 100%;
    margin-top: 0.75rem;
    flex-direction: column;
    gap: 0.75rem;
    background: #020617;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
  }

  .nav.active {
    display: flex;
  }

  .nav a {
    margin: 0;
    padding: 0.4rem 0;
  }
}
