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

:root {
  --bg: #08080a;
  --bg-2: #0c0c10;
  --bg-3: #101015;
  --card: #121216;
  --card-hi: #181820;
  --border: #1e1e26;
  --border-hi: #2e2e3a;
  --text: #f2f2f3;
  --text-dim: #a8a9b2;
  --muted: #74757e;
  --gold: #c9a961;
  --gold-bright: #e2c884;
  --gold-dim: #8e7a45;
  --gold-bg: rgba(201, 169, 97, 0.08);
  --gold-border: rgba(201, 169, 97, 0.35);
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow: 0 4px 16px rgba(0,0,0,0.3);
  --shadow-lg: 0 24px 64px rgba(0,0,0,0.5);
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
}

::selection { background: var(--gold); color: #000; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #242430; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #333340; }

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-bright); }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.lucide { width: 1em; height: 1em; display: inline-block; vertical-align: middle; stroke-width: 1.75; flex-shrink: 0; }
.inline-icon { width: 1.05em; height: 1.05em; margin-right: 0.45em; color: var(--gold); }
.tiny-icon { width: 0.95em; height: 0.95em; margin-right: 0.35em; color: var(--gold); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.center { text-align: center; margin-top: 2.5rem; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.stack > * + * { margin-top: 1rem; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.gap-lg { gap: 2rem; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.9rem; border-radius: 100px;
  background: var(--gold-bg); border: 1px solid var(--gold-border);
  color: var(--gold); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.eyebrow .lucide { width: 0.95em; height: 0.95em; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.9rem;
}
.section-sub { color: var(--text-dim); font-size: 1.02rem; }

.gradient-text {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.75rem 1.35rem; border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600; font-size: 0.92rem; letter-spacing: -0.005em;
  transition: all var(--transition); white-space: nowrap; line-height: 1.2;
}
.btn .lucide { width: 1.05em; height: 1.05em; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #0a0a0a;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.3) inset,
    0 -1px 0 rgba(0,0,0,0.15) inset,
    0 6px 20px rgba(201,169,97,0.25);
}
.btn-gold:hover {
  background: linear-gradient(180deg, #f0d594, var(--gold-bright));
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 -1px 0 rgba(0,0,0,0.15) inset,
    0 10px 28px rgba(201,169,97,0.35);
}
.btn-gold:active { transform: translateY(0); }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border-hi); }
.btn-outline:hover { border-color: var(--gold-border); color: var(--gold); background: var(--gold-bg); }

.btn-ghost { background: transparent; color: var(--text-dim); }
.btn-ghost:hover { color: var(--gold); background: rgba(255,255,255,0.03); }

.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 0.98rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  opacity: 0.7;
  flex-shrink: 0;
}

.preloader {
  position: fixed; inset: 0; background: var(--bg); z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-ring {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2px solid var(--border); border-top-color: var(--gold);
  animation: spin 0.9s linear infinite;
}
.preloader p { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.05em; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright));
  width: 0%; z-index: 1000; transition: width 0.1s linear;
}

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all var(--transition);
  background: rgba(8,8,10,0.6);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled { background: rgba(8,8,10,0.92); border-bottom-color: var(--border); }
.nav-inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; color: var(--text); }
.brand-icon { width: 24px; height: 24px; color: var(--gold); filter: drop-shadow(0 0 12px rgba(201,169,97,0.35)); }
.brand-name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; letter-spacing: -0.02em; }

.nav-links { display: flex; gap: 0.2rem; }
.nav-link {
  color: var(--text-dim); font-size: 0.88rem; font-weight: 500;
  padding: 0.55rem 0.85rem; border-radius: 8px;
  transition: all var(--transition); letter-spacing: -0.005em;
}
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,0.04); }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-auth { display: flex; align-items: center; gap: 0.35rem; }

/* Mobile-only auth links (hidden on desktop) */
.nav-auth-mobile { display: none; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

@media (max-width: 1000px) {
  .nav-links {
    display: none; position: fixed; top: 60px; left: 0; right: 0;
    flex-direction: column; gap: 0.15rem;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.25rem; box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link { padding: 0.8rem 1rem; font-size: 0.95rem; }
  .nav-auth-mobile {
    display: flex; flex-direction: column; gap: 0.15rem;
    margin-top: 0.75rem; padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }
  .nav-auth-mobile[style*="display: none"],
  .nav-auth-mobile[style*="display:none"] { display: none; }
  .nav-auth-mobile-link {
    padding: 0.8rem 1rem; font-size: 0.95rem;
    color: var(--gold) !important; font-weight: 600;
  }
  .hamburger { display: flex; }
  .nav-actions .btn-ghost,
  .nav-actions .btn-outline { display: none; }
}

.page { display: none; padding-top: 76px; min-height: 100vh; }
.page.active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.page-header { padding: clamp(3rem, 6vw, 5rem) 0 1rem; text-align: center; }
.page-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 1rem;
}
.page-sub { color: var(--text-dim); font-size: 1.05rem; max-width: 620px; margin: 0 auto; }

.hero {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 10vw, 7.5rem) 1.5rem clamp(3.5rem, 8vw, 5.5rem);
  text-align: center;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.22; }
.orb-1 { width: 520px; height: 520px; background: var(--gold); top: -220px; left: -140px; animation: float 14s ease-in-out infinite; }
.orb-2 { width: 420px; height: 420px; background: #a06c1a; bottom: -180px; right: -120px; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(24px, -18px); } }

.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.hero-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }
.hero-title {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(2.6rem, 8.5vw, 5.4rem);
  letter-spacing: -0.035em; line-height: 1; margin: 1rem 0 1.4rem;
}
.hero-sub { color: var(--text-dim); font-size: clamp(1rem, 1.8vw, 1.18rem); max-width: 620px; margin: 0 auto 2.25rem; line-height: 1.6; }
.hero-cta { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-badges { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.badge-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.9rem; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  font-size: 0.78rem; color: var(--text-dim);
}
.badge-chip .lucide { width: 0.95em; height: 0.95em; color: var(--gold); }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem;
  transition: all var(--transition);
}
.card:hover { border-color: var(--border-hi); }
.card h3 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; margin-bottom: 0.75rem; }
.card h4 { font-size: 1rem; margin-bottom: 0.5rem; font-weight: 600; }
.card p { color: var(--text-dim); font-size: 0.94rem; line-height: 1.65; }
.card-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--gold-bg); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 1rem;
}
.card-icon .lucide { width: 18px; height: 18px; }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: -2.5rem; position: relative; z-index: 2; }
@media (max-width: 768px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }

.stat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1rem; text-align: center;
  transition: all var(--transition);
}
.stat-card:hover { border-color: var(--gold-border); transform: translateY(-2px); }
.stat-icon {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--gold-bg); border: 1px solid var(--gold-border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 0.75rem;
}
.stat-icon .lucide { width: 15px; height: 15px; }
.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 400;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 0.35rem; letter-spacing: -0.02em; line-height: 1.1;
}
.stat-label { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.01em; }
.stat-card-lg { padding: 1.75rem 1.25rem; }

.step-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem 1.75rem; position: relative;
  transition: all var(--transition); overflow: hidden;
}
.step-card:hover { border-color: var(--gold-border); transform: translateY(-3px); }
.step-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--gold-bg); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 1.25rem;
}
.step-icon .lucide { width: 20px; height: 20px; }
.step-num {
  position: absolute; top: 1rem; right: 1.35rem;
  font-family: var(--font-serif); font-size: 3.4rem; line-height: 1;
  color: rgba(201,169,97,0.1); font-style: italic;
}
.step-card h3 { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 400; margin-bottom: 0.5rem; }
.step-card p { color: var(--text-dim); font-size: 0.92rem; line-height: 1.6; }

.project-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition);
}
.project-card:hover { border-color: var(--gold-border); transform: translateY(-3px); }
.project-cover { height: 150px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.project-cover::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, transparent 20%, rgba(0,0,0,0.4) 100%); }
.project-icon { width: 44px; height: 44px; color: #fff; stroke-width: 1.5; position: relative; z-index: 1; }
.cover-water { background: linear-gradient(135deg, #0e2a4a, #1a5f8a); }
.cover-food { background: linear-gradient(135deg, #4a2a1a, #8a5a2a); }
.cover-medical { background: linear-gradient(135deg, #4a1a1a, #8a2a2a); }
.cover-edu { background: linear-gradient(135deg, #2a3a1a, #5a7a2a); }
.cover-tree { background: linear-gradient(135deg, #1a3a2a, #2a6a4a); }
.project-body { padding: 1.35rem; }
.project-body h3 { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; margin: 0.55rem 0 0.35rem; }
.project-body p { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 1.1rem; line-height: 1.55; }

.tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.65rem; border-radius: 100px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em;
  text-transform: uppercase;
}
.tag .lucide { width: 0.85em; height: 0.85em; }
.tag-water { background: rgba(56,189,248,0.1); color: #7dd3fc; }
.tag-food { background: rgba(245,158,11,0.1); color: #fbbf24; }
.tag-medical { background: rgba(239,68,68,0.1); color: #fca5a5; }
.tag-edu { background: rgba(132,204,22,0.1); color: #a3e635; }
.tag-tree { background: rgba(34,197,94,0.1); color: #4ade80; }

.progress { height: 5px; background: rgba(255,255,255,0.05); border-radius: 100px; overflow: hidden; margin-bottom: 0.55rem; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright)); border-radius: 100px; }
.progress-meta { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); }
.progress-meta span:first-child { color: var(--text-dim); }

.quote-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.85rem; position: relative;
  transition: all var(--transition);
}
.quote-card:hover { border-color: var(--border-hi); }
.quote-icon { width: 26px; height: 26px; color: var(--gold); opacity: 0.5; margin-bottom: 1rem; stroke-width: 1.5; }
.quote-card p { color: var(--text); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.35rem; }
.quote-card footer { display: flex; flex-direction: column; font-size: 0.82rem; gap: 0.15rem; }
.quote-card footer strong { color: var(--gold); font-weight: 600; }
.quote-card footer span { color: var(--muted); }

.cta-banner {
  background: linear-gradient(135deg, rgba(201,169,97,0.1), rgba(201,169,97,0.02));
  border: 1px solid var(--gold-border); border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem); text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(201,169,97,0.15), transparent 50%);
  pointer-events: none;
}
.cta-banner h2 { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 400; margin-bottom: 0.6rem; position: relative; }
.cta-banner p { color: var(--text-dim); margin-bottom: 1.75rem; position: relative; }
.cta-banner .btn { position: relative; }

.value-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.65rem; transition: all var(--transition); }
.value-card:hover { border-color: var(--gold-border); transform: translateY(-2px); }
.value-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--gold-bg); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 1rem;
}
.value-icon .lucide { width: 18px; height: 18px; }
.value-card h4 { font-size: 1rem; margin-bottom: 0.4rem; font-weight: 600; }
.value-card p { color: var(--text-dim); font-size: 0.86rem; line-height: 1.55; }

.timeline { position: relative; padding-left: 1.5rem; max-width: 720px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(to bottom, var(--gold-border), transparent); }
.timeline-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; position: relative; }
.timeline-item::before {
  content: ''; position: absolute; left: -1.5rem; top: 0.5rem;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--gold-bg);
}
.tl-year { font-family: var(--font-serif); font-weight: 400; color: var(--gold); font-size: 1.15rem; min-width: 60px; }
.timeline-item h4 { font-size: 0.98rem; margin-bottom: 0.25rem; font-weight: 600; }
.timeline-item p { color: var(--text-dim); font-size: 0.9rem; }

.cat-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.9rem; font-size: 0.94rem; gap: 0.5rem; }
.cat-row strong { color: var(--gold); font-size: 0.86rem; font-weight: 600; }

.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; justify-content: center; }
.filter {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--card); color: var(--text-dim); border: 1px solid var(--border);
  padding: 0.55rem 1.05rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 500; transition: all var(--transition);
}
.filter .lucide { width: 0.9em; height: 0.9em; }
.filter:hover { border-color: var(--border-hi); color: var(--text); }
.filter.active { background: var(--gold); color: #0a0a0a; border-color: var(--gold); font-weight: 600; }

.preset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 1rem 0 1.5rem; }
.preset {
  padding: 1rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  color: var(--text); font-weight: 600; font-size: 1rem;
  transition: all var(--transition);
}
.preset:hover { border-color: var(--gold-border); color: var(--gold); }
.preset.active { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }

.impact-calc { background: var(--gold-bg); border: 1px solid var(--gold-border); border-radius: var(--radius-sm); padding: 0.25rem 1rem; margin-top: 0.5rem; }
.impact-row { display: flex; justify-content: space-between; align-items: center; padding: 0.85rem 0; font-size: 0.9rem; gap: 0.5rem; }
.impact-row span { display: flex; align-items: center; color: var(--text-dim); }
.impact-row + .impact-row { border-top: 1px solid var(--gold-border); }
.impact-row strong { color: var(--gold); font-weight: 600; }

.form-stack { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 1rem; }
.form-label { font-size: 0.8rem; font-weight: 600; color: var(--text-dim); margin-top: 0.5rem; letter-spacing: 0.02em; }
.input {
  width: 100%; padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.025); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text); font-size: 0.94rem;
  transition: all var(--transition); font-family: inherit;
}
.input:focus { outline: none; border-color: var(--gold-border); background: rgba(201,169,97,0.03); box-shadow: 0 0 0 3px rgba(201,169,97,0.1); }
.input::placeholder { color: #4a4a55; }
textarea.input { resize: vertical; min-height: 110px; }
select.input { cursor: pointer; }
select.input option { background: var(--bg-2); color: var(--text); }

.input-with-icon { position: relative; }
.input-with-icon > .lucide:first-child {
  position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--muted); pointer-events: none;
}
.input-with-icon .input { padding-left: 2.5rem; }

/* Payment methods */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.payment-option {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.4rem; padding: 1rem 0.5rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  position: relative; transition: all var(--transition);
  cursor: pointer; text-align: center;
}
.payment-option:disabled,
.payment-option[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.payment-option:not([disabled]):hover {
  border-color: var(--gold-border);
  background: var(--gold-bg);
}
.payment-option.active {
  border-color: var(--gold);
  background: var(--gold-bg);
  opacity: 1;
  box-shadow: 0 0 0 1px var(--gold) inset;
}
.payment-icon {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.payment-icon .lucide { width: 22px; height: 22px; }
.payment-name { font-size: 0.82rem; font-weight: 500; }
.payment-badge {
  font-size: 0.62rem; padding: 0.15rem 0.5rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.payment-badge.available {
  background: rgba(34,197,94,0.15);
  color: #4ade80;
}

.hint {
  font-size: 0.76rem; color: var(--muted); text-align: center;
  margin-top: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.form-message { font-size: 0.86rem; min-height: 1.2em; margin-top: 0.5rem; }
.form-message.error { color: var(--danger); }
.form-message.success { color: var(--success); }

.bar-breakdown { margin-top: 1.25rem; }
.bar-row { display: grid; grid-template-columns: 130px 1fr 50px; align-items: center; gap: 0.9rem; margin-bottom: 1rem; font-size: 0.86rem; }
.bar-row span { color: var(--text-dim); }
.bar { height: 6px; background: rgba(255,255,255,0.05); border-radius: 100px; overflow: hidden; }
.bar div { height: 100%; background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright)); border-radius: 100px; }
.bar-row strong { color: var(--gold); text-align: right; font-weight: 600; }

.report-list { list-style: none; margin-top: 1rem; }
.report-list li { padding: 0.8rem 0; border-bottom: 1px solid var(--border); }
.report-list li:last-child { border: none; }
.report-list a { color: var(--text); font-size: 0.92rem; display: inline-flex; align-items: center; }
.report-list a:hover { color: var(--gold); }

.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.1rem 1.35rem; margin-bottom: 0.65rem; transition: all var(--transition); }
.faq-item[open] { border-color: var(--gold-border); background: rgba(201,169,97,0.02); }
.faq-item summary { cursor: pointer; font-weight: 500; font-size: 0.98rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; color: var(--gold); line-height: 1; transition: transform var(--transition); font-weight: 300; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.85rem; color: var(--text-dim); font-size: 0.9rem; line-height: 1.65; }

.auth-wrap { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - 76px); padding: 2rem 1.5rem; }
.auth-card { width: 100%; max-width: 420px; padding: 2.5rem 2rem; }
.auth-card h2 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 400; margin-bottom: 0.4rem; }
.auth-sub { color: var(--text-dim); font-size: 0.9rem; margin-bottom: 1.75rem; }
.auth-foot { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 1.5rem; }

.pw-wrap { position: relative; }
.pw-toggle {
  position: absolute; right: 0.65rem; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); border-radius: 6px; transition: all var(--transition);
}
.pw-toggle:hover { color: var(--gold); background: rgba(255,255,255,0.03); }
.pw-toggle .lucide { width: 15px; height: 15px; }

.pw-strength { height: 3px; background: rgba(255,255,255,0.06); border-radius: 100px; overflow: hidden; margin-top: -0.2rem; }
.pw-strength > div { height: 100%; width: 0%; transition: all var(--transition); border-radius: 100px; }

.cause-breakdown .cause-row { margin-bottom: 1.1rem; }
.cause-row .cause-top { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 0.45rem; }
.cause-row .cause-top span { color: var(--text-dim); }
.cause-row .cause-top strong { color: var(--gold); font-weight: 600; }

.mini-stat {
  text-align: center; padding: 1.25rem 0.5rem;
  background: rgba(255,255,255,0.02); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.mini-stat .lucide { width: 22px; height: 22px; color: var(--gold); margin-bottom: 0.6rem; display: block; margin-left: auto; margin-right: auto; }
.mini-stat strong { display: block; font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold-bright); font-weight: 400; }
.mini-stat small { color: var(--muted); font-size: 0.75rem; }

.history-list { margin-top: 1rem; }
.history-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.history-row:last-child { border: none; }
.history-row .h-left { display: flex; flex-direction: column; gap: 0.15rem; }
.history-row .h-cause { font-weight: 500; font-size: 0.92rem; }
.history-row .h-date { color: var(--muted); font-size: 0.76rem; }
.history-row .h-amount { color: var(--gold); font-weight: 600; font-size: 1rem; }

.contact-card { padding: 1.5rem; }
.social-links { display: flex; gap: 0.6rem; margin-top: 0.5rem; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); transition: all var(--transition);
}
.social-links a:hover { border-color: var(--gold-border); color: var(--gold); background: var(--gold-bg); }
.social-links .lucide { width: 15px; height: 15px; }

.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; margin-bottom: 2.5rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 1.1rem; font-weight: 600; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 0.6rem; }
.footer ul a { color: var(--text-dim); font-size: 0.9rem; }
.footer ul a:hover { color: var(--gold); }
.footer-bottom { padding-top: 1.75rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.82rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--gold); }
.newsletter { display: flex; gap: 0.4rem; }
.newsletter .input { flex: 1; }
.newsletter .btn { padding: 0.75rem 0.9rem; }

.back-top {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: #0a0a0a;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(201,169,97,0.3);
  opacity: 0; visibility: hidden; transition: all var(--transition);
  z-index: 90;
}
.back-top .lucide { width: 18px; height: 18px; stroke-width: 2.2; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-2px); }

.toast {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(150%);
  background: var(--card-hi); color: var(--text);
  border: 1px solid var(--border-hi);
  padding: 0.85rem 1.25rem; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); font-size: 0.88rem;
  z-index: 200; max-width: 90vw;
  display: flex; align-items: center; gap: 0.6rem;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast .lucide { width: 16px; height: 16px; }
.toast.success { border-color: rgba(34,197,94,0.4); }
.toast.success .lucide { color: var(--success); }
.toast.error { border-color: rgba(239,68,68,0.4); }
.toast.error .lucide { color: var(--danger); }

.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem; z-index: 300;
  opacity: 0; visibility: hidden; transition: all var(--transition);
}
.modal.show { opacity: 1; visibility: visible; }
.modal-card {
  background: var(--card); border: 1px solid var(--border-hi);
  border-radius: var(--radius); padding: 2.5rem 2rem;
  max-width: 400px; width: 100%; text-align: center;
  transform: translateY(20px); transition: all var(--transition);
}
.modal.show .modal-card { transform: none; }
.modal-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold-bg); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin: 0 auto 1.25rem;
}
.modal-icon .lucide { width: 30px; height: 30px; }
.modal-card h2 { font-family: var(--font-serif); font-weight: 400; font-size: 1.75rem; margin-bottom: 0.5rem; }
.modal-card p { color: var(--text-dim); margin-bottom: 1.75rem; font-size: 0.94rem; }