/* ══════════════════════════════════════════════════════════════
   Finhanced Inc. — Digital Asset / Token Page Styles
   ══════════════════════════════════════════════════════════════ */

/* ── TOKEN STATS ROW ── */
.token-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(125,219,192,0.15);
}
.token-stat {
  text-align: center;
}
.token-stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.token-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── HOW IT WORKS STEPS ── */
.steps-section {
  padding: 80px 0;
  background: var(--gray-100);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.step-card {
  background: var(--white);
  border-radius: 10px;
  padding: 36px 28px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── TOKEN SPEC TABLE ── */
.token-specs {
  padding: 80px 0;
  background: var(--white);
}
.token-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.token-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.token-info p {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 24px;
}
.token-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--gold-dim);
  border: 1px solid rgba(125,219,192,0.2);
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
  margin-right: 8px;
}

/* ── WHY FCU CARDS ── */
.why-section {
  padding: 80px 0;
  background: var(--navy);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.why-card {
  background: #2d2d2d;
  border-radius: 10px;
  padding: 36px 28px;
  border: 1px solid rgba(125,219,192,0.12);
  transition: border-color 0.3s;
}
.why-card:hover {
  border-color: var(--gold);
}
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(125,219,192,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.why-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ── PROCESS TIMELINE ── */
.process-section {
  padding: 80px 0;
  background: var(--white);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.process-step {
  text-align: center;
  padding: 32px 20px;
}
.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.process-step h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── FAQ ACCORDION ── */
.faq-section {
  padding: 80px 0;
  background: var(--gray-100);
}
.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
}
.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.3s;
}
.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── RESERVES SECTION ── */
.reserves-section {
  padding: 80px 0;
  background: var(--white);
}
.reserves-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.reserve-card {
  background: var(--gray-100);
  border-radius: 10px;
  padding: 32px;
  border: 1px solid var(--gray-200);
}
.reserve-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.reserve-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}
.reserve-row:last-child {
  border-bottom: none;
}
.reserve-label {
  color: var(--gray-600);
}
.reserve-value {
  font-weight: 600;
  color: var(--text-dark);
}
.reserve-value.gold {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1rem;
}
.live-supply {
  background: var(--navy);
  border-radius: 10px;
  padding: 32px;
  text-align: center;
  margin-top: 48px;
}
.live-supply-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.live-supply-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: var(--white);
}
.live-supply-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

/* ── KEY TERMS TABLE ── */
.terms-section {
  padding: 80px 0;
  background: var(--navy);
}
.terms-table-wrap {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: 10px;
  border: 1px solid rgba(125,219,192,0.15);
}
.terms-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
}
.terms-table th {
  background: rgba(125,219,192,0.1);
  color: var(--gold);
  padding: 14px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
}
.terms-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}
.terms-table td:first-child {
  font-weight: 600;
  color: var(--white);
  width: 40%;
}

/* ── DOCS CARDS ── */
.docs-section {
  padding: 80px 0;
  background: var(--gray-100);
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.doc-card {
  background: var(--white);
  border-radius: 10px;
  padding: 28px;
  border-left: 4px solid var(--gold);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.doc-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.doc-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 12px;
}
.doc-status {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}
.doc-status.verified {
  background: rgba(125,219,192,0.15);
  color: var(--gold);
}
.doc-status.pending {
  background: rgba(255,193,7,0.15);
  color: #e6a817;
}

/* ── LIGHT MODE OVERRIDES ── */
[data-theme="light"] .steps-section { background: #f0f7f4; }
[data-theme="light"] .step-card { background: #fff; }
[data-theme="light"] .faq-section { background: #f0f7f4; }
[data-theme="light"] .faq-item { background: #fff; border-color: #dce4e1; }
[data-theme="light"] .reserve-card { background: #f0f7f4; border-color: #dce4e1; }
[data-theme="light"] .docs-section { background: #f0f7f4; }
[data-theme="light"] .doc-card { background: #fff; }
[data-theme="light"] .process-section { background: #f8faf9; }
/* Why section — keep dark bg for cards */
[data-theme="light"] .why-section { background: #1a1a1a; }
[data-theme="light"] .why-section .section-title { color: #ffffff; }
[data-theme="light"] .why-card h3 { color: #ffffff; }
[data-theme="light"] .why-card p { color: rgba(255,255,255,0.55); }
/* Live supply — keep dark bg */
[data-theme="light"] .live-supply { background: #1a1a1a; }
/* Terms table — keep dark bg */
[data-theme="light"] .terms-section { background: #1a1a1a; }
[data-theme="light"] .terms-section .section-title { color: #ffffff; }
/* Token stat labels in hero (hero stays dark) */
[data-theme="light"] .token-stat-label { color: rgba(255,255,255,0.5); }
/* Spec table on light bg */
[data-theme="light"] .spec-table { border-color: #dce4e1; }
[data-theme="light"] .spec-table th { color: var(--text-dark); background: #f0f7f4; }
[data-theme="light"] .spec-table td { color: var(--text-body); border-color: #dce4e1; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .token-stats { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .token-specs-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .reserves-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .token-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .process-steps { grid-template-columns: 1fr; }
}
