* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0b141a;
  --bg-card: #111b21;
  --bg-card-alt: #1f2c34;
  --border-color: #222e35;
  --text-main: #e9edef;
  --text-muted: #8696a0;
  --brand-green: #25D366;
  --brand-green-hover: #1da851;
  --brand-teal: #128C7E;
  --accent-pink: #e83e8c;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 20, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.4);
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-donate {
  color: #ff6b9d !important;
  font-weight: 600 !important;
}

.nav-github {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--bg-card);
}
.nav-github:hover {
  background: var(--bg-card-alt);
}

/* Hero Section */
.hero {
  padding: 80px 24px 60px;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(37, 211, 102, 0.12) 0%, transparent 60%);
}

.hero-container {
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(37, 211, 102, 0.15);
  color: var(--brand-green);
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, #25D366 0%, #34B7F1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-text strong {
  font-size: 15px;
  line-height: 1.2;
}

.btn-text span {
  font-size: 11px;
  opacity: 0.85;
}

.btn-download-primary {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-download-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-download-secondary {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-download-secondary:hover {
  background: var(--bg-card-alt);
  transform: translateY(-2px);
}

.hero-info {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

/* Features */
.features {
  padding: 80px 24px;
  border-top: 1px solid var(--border-color);
}

.section-container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 211, 102, 0.4);
}

.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Donation / Pix */
.donation-section {
  padding: 80px 24px;
  background: radial-gradient(circle at 50% 50%, rgba(232, 62, 140, 0.08) 0%, transparent 70%);
  border-top: 1px solid var(--border-color);
}

.donation-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.donation-badge {
  display: inline-block;
  background: rgba(232, 62, 140, 0.15);
  color: #ff6b9d;
  border: 1px solid rgba(232, 62, 140, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.donation-card h2 {
  font-size: 28px;
  margin-bottom: 16px;
}

.donation-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.pix-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  background: #0b141a;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  text-align: left;
  flex-wrap: wrap;
}

.pix-qrcode-wrapper {
  background: white;
  padding: 12px;
  border-radius: 12px;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.pix-qrcode {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pix-details {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pix-title {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pix-input-group {
  display: flex;
  gap: 8px;
  width: 100%;
}

#pix-key-val {
  flex: 1;
  background: #111b21;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-main);
  font-family: monospace;
  outline: none;
}

.btn-copy {
  background: var(--brand-green);
  color: white;
  padding: 10px 18px;
  font-size: 13px;
  border-radius: 8px;
  white-space: nowrap;
}

.btn-copy:hover {
  background: var(--brand-green-hover);
}

.btn-copy.copied {
  background: #1da851;
}

.pix-beneficiary {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.contact-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--text-muted);
}

.contact-email {
  color: var(--brand-green);
  text-decoration: none;
  font-weight: 600;
}
.contact-email:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border-color);
  background: #080d10;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover {
  color: var(--text-main);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  .pix-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .pix-details {
    align-items: center;
  }
  .pix-input-group {
    flex-direction: column;
  }
}
