/* ── HolyAxiom Fund Page — Specific Styles ───────────────────────────────── */

/* ── FUND HERO ────────────────────────────────────────────────────────────── */

.fund-hero {
  background: var(--bg);
  padding: 140px 32px 100px;
  position: relative; overflow: hidden;
}
.fund-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,170,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,170,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.fund-hero-inner {
  max-width: 760px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 32px;
  align-items: center; text-align: center;
  position: relative; z-index: 1;
}
.fund-hero h1 {
  font-size: clamp(40px, 6vw, 64px); font-weight: 800;
  color: #fff; line-height: 1.05; letter-spacing: -0.025em;
}
.fund-hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.fund-sub {
  font-size: 18px; color: var(--text-muted); max-width: 560px; line-height: 1.75;
}
.fund-hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}

/* ── STATS BAR ────────────────────────────────────────────────────────────── */

.fund-stats-bar {
  background: var(--bg2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
}
.fund-stats-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  padding: 40px 0 32px;
}
.fund-stat {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 0 48px;
}
.fund-stat-num {
  font-family: var(--mono); font-size: 38px; font-weight: 800;
  color: #fff; line-height: 1;
}
.fund-stat-num.accent { color: var(--accent); }
.fund-stat-label {
  font-size: 12px; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted);
}
.fund-stat-divider {
  width: 1px; height: 48px; background: var(--border); flex-shrink: 0;
}
.fund-progress-track {
  max-width: 900px; margin: 0 auto; width: 100%;
  height: 4px; background: var(--bg3); overflow: hidden;
  border-radius: 0;
}
.fund-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 1.2s ease;
}

/* ── TIERS GRID ───────────────────────────────────────────────────────────── */

.tiers-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px; margin-top: 56px;
}
.tier-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative; transition: all 0.2s;
}
.tier-card:hover { border-color: rgba(0,212,170,0.4); transform: translateY(-2px); }
.tier-card--popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 60px rgba(0,212,170,0.1);
}
.tier-card--dark { background: var(--bg3); }

.tier-popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #000;
  font-size: 11px; font-weight: 700; padding: 4px 14px;
  border-radius: 999px; text-transform: uppercase;
  letter-spacing: 0.06em; white-space: nowrap;
}
.tier-header { display: flex; flex-direction: column; gap: 10px; }
.tier-name {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--text-muted);
}
.tier-price {
  font-family: var(--mono); font-size: 44px; font-weight: 800;
  color: #fff; line-height: 1;
}
.tier-tagline { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.tier-perks {
  list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.tier-perks li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text); line-height: 1.5;
}
.tier-perks li::before {
  content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0;
  font-size: 13px; margin-top: 1px;
}

.tier-btn {
  display: block; width: 100%; text-align: center; padding: 13px;
  border-radius: 10px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid var(--border); transition: all 0.15s;
  text-decoration: none; font-family: var(--sans);
  background: transparent; color: var(--text);
}
.tier-btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.tier-btn--primary { background: var(--accent); color: #000; border-color: var(--accent); }
.tier-btn--primary:hover { background: #00bfa0; color: #000; }
.tier-btn--gold { background: var(--gold); color: #000; border-color: var(--gold); }
.tier-btn--gold:hover { opacity: 0.9; color: #000; }

/* ── CONTRIBUTE SECTION ───────────────────────────────────────────────────── */

.contribute-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; margin-top: 56px; align-items: start;
}

/* Left column: crypto */
.contribute-crypto { display: flex; flex-direction: column; gap: 28px; }
.contribute-crypto h3 { color: #fff; font-size: 20px; font-weight: 700; }
.contribute-desc { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

.btn--contrib-connect { width: 100%; font-size: 16px; padding: 16px; }

/* Amount picker */
.amount-picker { display: flex; flex-direction: column; gap: 18px; }
.amount-header {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-muted); font-weight: 600;
}
.amount-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
}
.amount-btn {
  padding: 14px 8px; border-radius: 8px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all 0.15s; font-family: var(--mono); text-align: center;
}
.amount-btn:hover { border-color: var(--accent); color: var(--accent); }
.amount-btn.selected {
  border-color: var(--accent); color: var(--accent);
  background: rgba(0,212,170,0.08);
}
.amount-btn--featured { border-color: rgba(0,212,170,0.4); color: var(--accent); }
.amount-actions { display: flex; gap: 10px; }
.btn--half { flex: 1; justify-content: center; }

/* Treasury box */
.treasury-box {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.treasury-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); font-weight: 600;
}
.treasury-addr {
  font-family: var(--mono); font-size: 13px; color: var(--text);
  word-break: break-all; line-height: 1.6;
}

/* Alternative payment methods */
.alt-pays { display: flex; flex-direction: column; gap: 14px; }
.alt-pay {
  display: flex; align-items: baseline; gap: 12px; font-size: 14px;
  padding: 14px 18px; border-radius: 8px;
  background: var(--bg3); border: 1px solid var(--border);
}
.alt-pay-label {
  font-weight: 700; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); min-width: 32px;
}
.alt-pay-desc { color: var(--text-muted); flex: 1; }
.alt-pay a { color: var(--accent); }
.text-btn {
  background: none; border: none; color: var(--accent);
  cursor: pointer; font-size: 14px; padding: 0; font-family: var(--sans);
}
.text-btn:hover { text-decoration: underline; }

/* Right column: register form */
.contribute-register { display: flex; flex-direction: column; gap: 20px; }
.contribute-register h3 { color: #fff; font-size: 20px; font-weight: 700; }
.register-desc { font-size: 15px; color: var(--text-muted); line-height: 1.65; }
.register-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.input-field {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 14px;
  font-size: 15px; color: var(--text); font-family: var(--sans);
  width: 100%; transition: border-color 0.15s;
}
.input-field:focus { border-color: var(--accent); outline: none; }

.checkbox-group { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-group input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.checkbox-group label { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

.form-success {
  display: none; flex-direction: column; align-items: center;
  text-align: center; color: var(--accent); padding: 40px; gap: 12px;
}
.success-icon { font-size: 48px; }
.form-success h3 { color: #fff; font-size: 20px; }
.form-success p  { color: var(--text-muted); font-size: 15px; }

/* ── ROADMAP GRID ─────────────────────────────────────────────────────────── */

.roadmap-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; margin-top: 56px;
}
.roadmap-phase {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.phase-tag {
  font-size: 11px; font-weight: 700; padding: 5px 12px;
  border-radius: 999px; text-transform: uppercase;
  letter-spacing: 0.06em; display: inline-flex; width: fit-content;
}
.funded  { background: rgba(63,185,80,0.12);  color: var(--green);  border: 1px solid rgba(63,185,80,0.25); }
.raising { background: rgba(0,212,170,0.12);  color: var(--accent); border: 1px solid rgba(0,212,170,0.25); }
.future  { background: rgba(107,118,137,0.12); color: var(--text-muted); border: 1px solid rgba(107,118,137,0.2); }

.roadmap-phase h3 { color: #fff; font-size: 18px; }
.phase-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.phase-list li {
  font-size: 14px; color: var(--text-muted);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.phase-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }

/* ── TRUST STATS ──────────────────────────────────────────────────────────── */

.trust-section {
  display: flex; gap: 0; justify-content: center;
  flex-wrap: wrap; align-items: center;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center; padding: 0 56px;
}
.trust-item + .trust-item { border-left: 1px solid var(--border); }
.trust-num  { font-family: var(--mono); font-size: 36px; font-weight: 800; color: #fff; }
.trust-label {
  font-size: 12px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.faq-list { display: flex; flex-direction: column; margin-top: 40px; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  color: #fff; font-size: 16px; font-weight: 500;
  padding: 24px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after  { content: "+"; color: var(--accent); font-size: 22px; font-weight: 300; flex-shrink: 0; margin-left: 16px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--text-muted); font-size: 15px; line-height: 1.75; padding-bottom: 24px; max-width: 680px; }

/* ── TOKEN DISCLAIMER ─────────────────────────────────────────────────────── */

.token-disclaimer {
  background: rgba(240,180,41,0.07); border: 1px solid rgba(240,180,41,0.18);
  border-radius: 8px; padding: 20px 24px; margin-top: 32px;
  font-size: 13px; color: var(--text-muted); line-height: 1.65; text-align: center;
}

/* ── COPY BUTTON ──────────────────────────────────────────────────────────── */

.copy-btn {
  background: transparent; border: 1px solid var(--border);
  color: var(--text-muted); padding: 7px 16px;
  border-radius: 6px; font-size: 12px; cursor: pointer;
  transition: all 0.15s; font-family: var(--sans);
  align-self: flex-start;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── WAITLIST FORM ────────────────────────────────────────────────────────── */

.waitlist-form {
  display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap;
}
.waitlist-form .input-field { flex: 1; min-width: 180px; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .contribute-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .fund-hero        { padding: 100px 20px 72px; }
  .fund-stats-inner { gap: 0; padding: 32px 0 24px; }
  .fund-stat        { padding: 0 20px; }
  .fund-stat-num    { font-size: 28px; }
  .fund-stat-divider { height: 32px; }
  .tiers-grid       { grid-template-columns: 1fr; }
  .roadmap-grid     { grid-template-columns: 1fr; }
  .amount-grid      { grid-template-columns: repeat(2, 1fr); }
  .trust-section    { gap: 32px; }
  .trust-item       { padding: 0; border-left: none !important; }
  .trust-num        { font-size: 28px; }
}
