:root {
  --bg-main: #0B0E11;
  --bg-card: #181A20;
  --bg-elevated: #1E2329;
  --bg-input: #2B3139;
  --border-subtle: #2B3139;
  --border-highlight: #474D57;

  --gold-primary: #FCD535;
  --gold-hover: #F0B90B;
  --gold-soft: rgba(252, 213, 53, 0.12);

  --green-buy: #0ECB81;
  --green-soft: rgba(14, 203, 129, 0.12);
  --red-sell: #F6465D;
  --red-soft: rgba(246, 70, 93, 0.12);
  --amber-warn: #F0B90B;
  --amber-soft: rgba(240, 185, 11, 0.12);
  --blue-info: #3B82F6;
  --blue-soft: rgba(59, 130, 246, 0.12);

  --text-primary: #EAECEF;
  --text-secondary: #B7BDC6;
  --text-muted: #848E9C;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Wrapper (Alert Bar + Header) */
.sticky-top-wrapper {
  position: static;
}

/* Top Security Alert Bar */
.top-alert-bar {
  background: linear-gradient(90deg, rgba(246, 70, 93, 0.22), rgba(252, 213, 53, 0.18), rgba(246, 70, 93, 0.22)), #14171c;
  border-bottom: 1px solid rgba(246, 70, 93, 0.35);
  padding: 10px 0;
  font-size: 0.86rem;
}

.top-alert-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  color: #FFE4E8;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  background-color: var(--red-sell);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(246, 70, 93, 0.7);
  animation: pulseRed 1.8s infinite;
}

@keyframes pulseRed {
  0% {
    box-shadow: 0 0 0 0 rgba(246, 70, 93, 0.7);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(246, 70, 93, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(246, 70, 93, 0);
  }
}

/* Header */
.site-header {
  background-color: rgba(24, 26, 32, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid rgba(252, 213, 53, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.shield-icon {
  width: 28px;
  height: 28px;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-title-row h1 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #FFFFFF;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gold-soft);
  color: var(--gold-primary);
  border: 1px solid rgba(252, 213, 53, 0.4);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

.verified-badge svg {
  width: 14px;
  height: 14px;
}

.brand-subtitle {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-hover));
  color: #0B0E11;
  box-shadow: 0 4px 14px rgba(252, 213, 53, 0.22);
}

.btn-gold:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(252, 213, 53, 0.35);
}

.btn-gold:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-outline {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-highlight);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.btn-large {
  padding: 14px 26px;
  font-size: 1rem;
}

/* Main Content */
.main-content {
  padding-top: 32px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold-primary);
  margin-bottom: 6px;
}

.gold-text {
  color: var(--gold-primary);
}

/* Hero Section */
.hero-card {
  background: radial-gradient(circle at top right, rgba(252, 213, 53, 0.08), transparent 45%), var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-card);
}

.hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.hero-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
}

.hero-desc {
  color: var(--text-secondary);
  max-width: 740px;
  font-size: 0.98rem;
}

.country-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-highlight);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.country-pill .flag {
  font-size: 1.8rem;
}

.country-pill strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.country-pill span {
  font-size: 0.78rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.golden-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.rule-box {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 14px;
  border-left: 4px solid var(--border-highlight);
}

.rule-box.danger {
  border-left-color: var(--red-sell);
  background: linear-gradient(180deg, rgba(246, 70, 93, 0.07), var(--bg-elevated));
}

.rule-box.warning {
  border-left-color: var(--amber-warn);
  background: linear-gradient(180deg, rgba(240, 185, 11, 0.07), var(--bg-elevated));
}

.rule-box.info {
  border-left-color: var(--blue-info);
}

.rule-box.success {
  border-left-color: var(--green-buy);
}

.rule-icon {
  font-size: 1.55rem;
  line-height: 1;
  flex-shrink: 0;
}

.rule-box h3 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.rule-box p {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* Tabs Navigation */
.tabs-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.tabs-header h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  color: var(--text-secondary);
}

.tabs-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
}

.tab-btn {
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.tab-btn:hover {
  border-color: var(--border-highlight);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--gold-soft);
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}

.tab-btn.tab-buy.active {
  background: var(--green-soft);
  color: var(--green-buy);
  border-color: var(--green-buy);
}

.tab-btn.tab-sell.active {
  background: var(--red-soft);
  color: var(--red-sell);
  border-color: var(--red-sell);
}

.tab-panel {
  display: none;
  animation: fadeIn 0.25s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dual Comparison Grid */
.dual-comparison {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.comparison-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.comparison-card.card-sell-crypto {
  border-top: 4px solid var(--green-buy);
}

.comparison-card.card-buy-crypto {
  border-top: 4px solid var(--red-sell);
}

.comp-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.comp-badge.green {
  background: var(--green-soft);
  color: var(--green-buy);
}

.comp-badge.red {
  background: var(--red-soft);
  color: var(--red-sell);
}

.comparison-card h4 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  color: #FFFFFF;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  flex: 1;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.check-list li strong {
  color: var(--text-primary);
}

.check-list code {
  font-family: 'JetBrains Mono', monospace;
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--gold-primary);
}

.btn-link-tab {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid rgba(252, 213, 53, 0.35);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-link-tab:hover {
  background: var(--gold-soft);
}

/* Clauses Detailed View */
.clause-banner {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}

.green-banner {
  background: linear-gradient(90deg, rgba(14, 203, 129, 0.16), rgba(30, 35, 41, 0.9));
  border-left: 5px solid var(--green-buy);
}

.red-banner {
  background: linear-gradient(90deg, rgba(246, 70, 93, 0.16), rgba(30, 35, 41, 0.9));
  border-left: 5px solid var(--red-sell);
}

.clause-tag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.clause-banner h3 {
  font-size: 1.35rem;
  margin: 4px 0;
}

.clause-banner p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.clauses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 18px;
}

.clause-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.clause-item.highlight-danger {
  border-color: rgba(246, 70, 93, 0.55);
  background: linear-gradient(180deg, rgba(246, 70, 93, 0.08), var(--bg-elevated));
  grid-column: 1 / -1;
}

.clause-num {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-primary);
  background: var(--gold-soft);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.clause-item h4 {
  font-size: 1.06rem;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.clause-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.clause-steps {
  margin-top: 12px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.clause-steps strong {
  color: #FFFFFF;
}

.inline-alert {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(246, 70, 93, 0.14);
  border: 1px solid rgba(246, 70, 93, 0.4);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: #FFD8DF;
}

/* KYC & Handwritten Note Mockup */
.kyc-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: start;
}

.kyc-info h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.kyc-info > p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 22px;
}

.kyc-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.kyc-step {
  display: flex;
  gap: 14px;
  background: var(--bg-elevated);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #0B0E11;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kyc-step h4 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.kyc-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.kyc-mockup-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 20px;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.badge-live {
  background: var(--green-soft);
  color: var(--green-buy);
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
}

.paper-note {
  background: #FFFDF7;
  color: #1E293B;
  border-radius: 10px;
  padding: 22px;
  box-shadow: inset 0 0 0 1px #E2E8F0, 0 8px 20px rgba(0, 0, 0, 0.35);
  background-image: repeating-linear-gradient(transparent, transparent 27px, #E2E8F0 28px);
}

.handwriting-title {
  font-weight: 800;
  font-size: 0.92rem;
  text-align: center;
  color: #0F172A;
  margin-bottom: 12px;
  text-decoration: underline;
}

.handwriting-body {
  font-size: 0.9rem;
  line-height: 1.75;
  margin-bottom: 12px;
  color: #1E293B;
}

.id-card-placeholder {
  margin-top: 14px;
  border: 2px dashed #94A3B8;
  background: #F8FAFC;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.id-avatar {
  width: 42px;
  height: 48px;
  background: #E2E8F0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.id-lines {
  display: flex;
  flex-direction: column;
  font-size: 0.75rem;
  color: #475569;
}

.id-lines strong {
  color: #0F172A;
  font-size: 0.76rem;
}

.mockup-caption {
  margin-top: 12px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Acceptance Generator Section */
.acceptance-card {
  background: linear-gradient(145deg, #181A20, #1E2329);
  border: 2px solid rgba(252, 213, 53, 0.45);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.acceptance-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.acceptance-header h2 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.acceptance-header p {
  color: var(--text-secondary);
  max-width: 720px;
  font-size: 0.95rem;
}

.security-seal {
  background: var(--gold-soft);
  border: 1px solid rgba(252, 213, 53, 0.35);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-primary);
  font-weight: 700;
}

.form-row-inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 22px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.input-group input,
.input-group select {
  background: var(--bg-input);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.92rem;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.checkboxes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s;
}

.custom-checkbox:hover {
  border-color: var(--border-highlight);
}

.custom-checkbox input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--gold-primary);
  cursor: pointer;
  flex-shrink: 0;
}

.check-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.generator-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.copy-status {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-buy);
}

.generated-preview {
  margin-top: 20px;
  background: var(--bg-main);
  border: 1px solid var(--green-buy);
  border-radius: var(--radius-md);
  padding: 16px;
}

.hidden {
  display: none !important;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.84rem;
  color: var(--green-buy);
  font-weight: 700;
}

.btn-mini {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-highlight);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-mini:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

#generatedTextOutput {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.84rem;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  border-radius: 6px;
}

/* FAQ Section */
.section-title-box {
  margin-bottom: 20px;
}

.section-title-box h2 {
  font-size: 1.5rem;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.faq-item summary {
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold-primary);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-body {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
  padding: 28px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
}

.footer-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Modal for Binance Templates */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.modal-close {
  background: var(--bg-elevated);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.template-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
}

.template-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.template-top h4 {
  font-size: 0.95rem;
}

.btn-copy-template {
  background: var(--gold-primary);
  color: #0B0E11;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

.template-block textarea {
  width: 100%;
  background: var(--bg-main);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  resize: vertical;
}

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

@media (max-width: 640px) {
  .hero-card,
  .tabs-section,
  .acceptance-card {
    padding: 20px;
  }
  .hero-header h2 {
    font-size: 1.45rem;
  }
}

