/* ============================================
   MenUp365 — Black & Gold Premium Design System
   Mobile-first | Supporter Donation Page
   ============================================ */

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

:root {
  --bg-primary: #09090B;
  --bg-card: #131316;
  --bg-elevated: #1A1A1F;
  --bg-gold-subtle: rgba(212, 168, 67, 0.06);
  --bg-gold-wash: rgba(212, 168, 67, 0.03);
  --gold: #D4A843;
  --gold-light: #E8C668;
  --gold-dark: #B8922E;
  --gold-glow: rgba(212, 168, 67, 0.2);
  --gold-glow-strong: rgba(212, 168, 67, 0.35);
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #52525B;
  --border: #27272A;
  --border-gold: rgba(212, 168, 67, 0.15);
  --success: #22C55E;
  --error: #EF4444;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --transition: 0.2s ease;
  --transition-slow: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-primary);
  line-height: 1.15;
  font-weight: 700;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--gold-light); }

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

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 60px 0;
}

/* --- Utility --- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(9, 9, 11, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.topbar__logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.topbar__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__badge svg {
  width: 14px;
  height: 14px;
  fill: var(--gold);
}

.hero__logo {
  width: 110px;
  height: 110px;
  margin: 0 auto 28px;
  object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(212, 168, 67, 0.15));
}

.hero__title {
  font-size: 2.25rem;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.hero__title span {
  color: var(--gold);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  font-weight: 400;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.hero__minimum {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 24px;
  margin-bottom: 28px;
}

.hero__minimum-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.hero__minimum-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
}

.hero__minimum-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 2px;
}

/* --- Primary CTA --- */
.btn-primary {
  display: block;
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #09090B;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 24px var(--gold-glow), 0 1px 3px rgba(0,0,0,0.3);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  box-shadow: 0 6px 32px var(--gold-glow-strong), 0 2px 6px rgba(0,0,0,0.3);
  transform: translateY(-2px);
  color: #09090B;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px var(--gold-glow);
}

.hero__trust {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero__trust svg {
  width: 13px;
  height: 13px;
  fill: var(--text-muted);
}

/* --- Impact List --- */
.hero__impact {
  list-style: none;
  text-align: left;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero__impact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 10px 14px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.hero__impact li:hover {
  border-color: var(--border-gold);
}

.hero__impact li .check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__impact li .check svg {
  width: 12px;
  height: 12px;
  stroke: #09090B;
  fill: none;
  stroke-width: 3;
}

.hero__scroll {
  margin-top: 28px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero__scroll a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(212, 168, 67, 0.4);
}

.hero__scroll a:hover {
  text-decoration-color: var(--gold);
}

/* ============================================
   IMPACT SECTION
   ============================================ */
.impact {
  background: var(--bg-primary);
}

.section-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.7rem;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.5;
}

.impact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.impact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.impact-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
}

.impact-card__icon {
  width: 44px;
  height: 44px;
  background: var(--bg-gold-subtle);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.impact-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
}

.impact-card__title {
  font-size: 1.05rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.impact-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================
   MISSION SECTION
   ============================================ */
.mission {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mission__text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

.mission__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mission__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 16px 18px;
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}

.mission__list li:hover {
  border-color: var(--border-gold);
}

.mission__list li .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission__list li .icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

/* ============================================
   CTA BLOCK
   ============================================ */
.cta-block {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, var(--bg-gold-wash) 0%, transparent 40%, transparent 60%, var(--bg-gold-wash) 100%);
  pointer-events: none;
}

.cta-block .container {
  position: relative;
  z-index: 1;
}

.cta-block__title {
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.cta-block__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cta-block__minimum {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.cta-block__minimum strong {
  color: var(--gold);
  font-weight: 600;
}

.cta-block__trust {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cta-block__trust svg {
  width: 13px;
  height: 13px;
  fill: var(--text-muted);
}

/* ============================================
   LEAD CAPTURE
   ============================================ */
.lead-capture {
  background: var(--bg-primary);
}

.lead-capture__box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
}

.lead-capture__title {
  font-size: 1.3rem;
  margin-bottom: 8px;
  text-align: center;
}

.lead-capture__subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-group input.error {
  border-color: var(--error);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-secondary {
  display: block;
  width: 100%;
  padding: 16px 32px;
  background: transparent;
  color: var(--gold);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
  margin-top: 8px;
}

.btn-secondary:hover {
  background: var(--bg-gold-subtle);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-secondary:active { transform: scale(0.98); }
.btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }

.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Form States */
.form-success {
  display: none;
  text-align: center;
  padding: 32px 16px;
}

.form-success.show { display: block; }

.form-success__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success__icon svg {
  width: 28px;
  height: 28px;
  stroke: white;
  fill: none;
}

.form-success__title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.form-success__text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-error {
  display: none;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--error);
  text-align: center;
}

.form-error.show { display: block; }

.ohnohoney {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0; width: 0;
  overflow: hidden;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.faq-question:hover { color: var(--gold); }

.faq-question__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-question__icon svg {
  width: 14px; height: 14px;
  stroke: var(--text-muted);
  fill: none;
  stroke-width: 2.5;
}

.faq-item.open .faq-question__icon {
  transform: rotate(45deg);
}

.faq-item.open .faq-question__icon svg {
  stroke: var(--gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer__inner {
  padding: 0 0 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 48px 0 40px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer__logo {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  object-fit: contain;
  opacity: 0.5;
}

.footer__tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.footer__copy {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ============================================
   WELCOME PAGE
   ============================================ */
.welcome {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  text-align: center;
}

.welcome__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 40px var(--gold-glow-strong);
}

.welcome__icon svg {
  width: 40px;
  height: 40px;
  stroke: #09090B;
  fill: none;
  stroke-width: 3;
}

.welcome__title {
  font-size: 2rem;
  margin-bottom: 8px;
}

.welcome__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.welcome__steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  margin-bottom: 40px;
}

.welcome__step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color var(--transition);
}

.welcome__step:hover {
  border-color: var(--border-gold);
}

.welcome__step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #09090B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}

.welcome__step-content h3 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.welcome__step-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.welcome__step-content a {
  color: var(--gold);
  font-weight: 600;
}

.btn-community {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #09090B;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 24px var(--gold-glow);
}

.btn-community:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  color: #09090B;
}

.welcome__note {
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 640px) {
  .container {
    max-width: 560px;
    padding: 0 32px;
  }

  section { padding: 80px 0; }
  .hero { padding: 72px 0 56px; }

  .hero__title { font-size: 2.75rem; }
  .hero__logo { width: 130px; height: 130px; }
  .section-title { font-size: 2rem; }

  .btn-primary, .btn-secondary {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .lead-capture__box { padding: 44px 36px; }
  .welcome__title { font-size: 2.5rem; }
}

@media (min-width: 1024px) {
  .container { max-width: 640px; }

  .impact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.45s ease forwards;
  opacity: 0;
}

.btn-secondary.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn-secondary.loading::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--gold);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
