/* ── Section base ── */
section { padding: 4rem 0; }
@media (max-width: 767px) { section { padding: 2.5rem 0; } }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.featured-snippet {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  border-left: 3px solid var(--color-accent);
  padding: 0.75rem 1rem;
  margin: 1.25rem 0 2rem;
  background: rgba(0, 198, 94, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(14, 124, 58, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(0, 198, 94, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 1.25rem;
}

.hero .sub {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
}

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-muted);
}

.trust-item svg { color: var(--color-accent); flex-shrink: 0; }

/* ── Rate + Converter ── */
.rate-section { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

.rate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 767px) { .rate-grid { grid-template-columns: 1fr; } }

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
}

.card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.rate-display {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.5rem;
  word-break: break-all;
}

.rate-unit {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.rate-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rate-meta svg { color: var(--color-accent); }

.rate-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.rate-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.rate-badge svg { color: var(--color-accent); flex-shrink: 0; }
.rate-badge strong { color: var(--color-text); }

.rate-disclaimer {
  font-size: 0.75rem;
  color: var(--color-muted);
  font-style: italic;
  border-top: 1px solid var(--color-border);
  padding-top: 0.75rem;
}

/* Converter */
.converter-fields {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.input-wrap {
  position: relative;
}

.input-currency {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  pointer-events: none;
}

.converter-input {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 3.5rem 0.875rem 1rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition);
}

.converter-input:focus { border-color: var(--color-primary); }
.converter-input[readonly] { color: var(--color-accent); background: rgba(0, 198, 94, 0.05); }
.converter-input::placeholder { color: var(--color-muted); font-weight: 400; }

.swap-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swap-btn {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-muted);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.swap-btn:hover { background: var(--color-surface-2); color: var(--color-accent); }
.swap-btn.swapped svg { transform: rotate(180deg); }
.swap-btn svg { transition: transform var(--transition); }

.converter-note {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  width: 100%;
  box-shadow: 0 4px 20px rgba(14, 124, 58, 0.25);
}

.btn-primary:hover {
  background: var(--color-primary-dk);
  color: #fff;
  box-shadow: 0 4px 28px rgba(14, 124, 58, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 0.875rem;
}

.btn-outline:hover { border-color: var(--color-accent); color: var(--color-accent); background: rgba(0,198,94,0.05); }

/* ── Exchanges section ── */
.exchange-section { padding-top: 0; }

.table-wrap { overflow-x: auto; margin: 0 -1.5rem 2rem; padding: 0 1.5rem; }
@media (min-width: 768px) { .table-wrap { margin: 0; padding: 0; margin-bottom: 2rem; } }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;
}

.data-table th {
  background: var(--color-surface-2);
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.data-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.data-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.data-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
  vertical-align: middle;
}

.data-table tr:nth-child(odd) td { background: var(--color-surface); }
.data-table tr:nth-child(even) td { background: var(--color-surface-2); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:last-child td:first-child { border-radius: 0 0 0 var(--radius-sm); }
.data-table tr:last-child td:last-child { border-radius: 0 0 var(--radius-sm) 0; }

.data-table .rate-cell { font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--color-accent); }
.data-table .fee-cell { color: var(--color-muted); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-gold { background: rgba(245, 166, 35, 0.15); color: var(--color-gold); border: 1px solid rgba(245, 166, 35, 0.3); }
.badge-green { background: rgba(0, 198, 94, 0.12); color: var(--color-accent); border: 1px solid rgba(0, 198, 94, 0.25); }

.table-note { font-size: 0.78rem; color: var(--color-muted); font-style: italic; margin-top: -1rem; margin-bottom: 2rem; }

/* Platform cards */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 767px) { .platform-grid { grid-template-columns: 1fr; } }
@media (min-width: 768px) and (max-width: 1023px) { .platform-grid { grid-template-columns: 1fr 1fr; } }

.platform-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}

.platform-card:hover { border-color: var(--color-primary); }
.platform-card.best { border-color: rgba(245, 166, 35, 0.4); }

.platform-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.platform-name { font-size: 1rem; font-weight: 700; color: var(--color-text); }

.platform-desc {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.platform-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
  flex: 1;
}

.platform-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}

.platform-features li svg { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }

/* ── Rate context / history ── */
.history-section { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

/* ── How-to ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.step-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.step-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(0, 198, 94, 0.15);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.875rem; color: var(--color-muted); margin: 0; }

/* Callout boxes */
.callout {
  display: flex;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.callout svg { flex-shrink: 0; margin-top: 1px; }
.callout p, .callout div { margin: 0; }

.callout-info { background: rgba(0, 198, 94, 0.06); border: 1px solid rgba(0, 198, 94, 0.2); color: var(--color-muted); }
.callout-info svg { color: var(--color-accent); }

.callout-warning { background: rgba(232, 64, 64, 0.06); border: 1px solid rgba(232, 64, 64, 0.25); color: var(--color-muted); }
.callout-warning svg { color: var(--color-danger); }

.callout-legal { background: rgba(122, 154, 135, 0.06); border: 1px solid var(--color-border); color: var(--color-muted); }
.callout-legal svg { color: var(--color-muted); }

.callout-shield { background: rgba(14, 124, 58, 0.08); border: 1px solid rgba(14, 124, 58, 0.3); color: var(--color-muted); }
.callout-shield svg { color: var(--color-primary); }

.callout strong { color: var(--color-text); }

/* Mistake list */
.mistake-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.mistake-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.mistake-list li:last-child { border-bottom: none; }
.mistake-list li svg { color: var(--color-danger); flex-shrink: 0; margin-top: 2px; }

/* Withdrawal sub-section */
.bank-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.bank-tag {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-muted);
}

/* ── Tips ── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (max-width: 767px) { .tips-grid { grid-template-columns: 1fr; } }

.tip-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
}

.tip-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.75rem;
  font-weight: 700;
  color: rgba(0, 198, 94, 0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}

.tip-card h3 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.tip-card p { font-size: 0.85rem; color: var(--color-muted); margin: 0; }

/* ── Case study ── */
.case-study {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 2rem;
}

.case-study h3 { font-size: 1.05rem; margin-bottom: 0.75rem; color: var(--color-accent); }
.case-study p { font-size: 0.9rem; color: var(--color-muted); }
.case-study ol { color: var(--color-muted); font-size: 0.9rem; padding-left: 1.25rem; margin: 0.75rem 0; }
.case-study ol li { margin-bottom: 0.25rem; }

.case-result {
  background: rgba(0, 198, 94, 0.06);
  border: 1px solid rgba(0, 198, 94, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.case-result strong { color: var(--color-accent); }

/* ── FAQ ── */
.faq-list { margin-top: 1.5rem; }

details.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color var(--transition);
}

details.faq-item[open] { border-color: var(--color-primary); }

details.faq-item summary {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  background: var(--color-surface);
  color: var(--color-text);
  user-select: none;
  gap: 1rem;
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary .faq-chevron {
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-muted);
}

details.faq-item[open] summary .faq-chevron { transform: rotate(180deg); }

.faq-body {
  padding: 1rem 1.25rem 1.25rem;
  background: var(--color-bg);
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ── Page footer disclaimer ── */
.page-disclaimer {
  margin-top: 3rem;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.6;
}
