:root {
  --bg-primary: #070a13;
  --bg-secondary: #0d121f;
  --bg-card: #121929;
  --bg-card-hover: #172238;
  --border-color: #1e2c45;
  --border-highlight: #2f4368;
  --accent-cyan: #00f0ff;
  --accent-emerald: #10b981;
  --accent-purple: #8b5cf6;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 24px rgba(0, 240, 255, 0.15);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  padding: 20px 16px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

input, select, textarea {
  min-width: 0;
  font-family: inherit;
}

.app-container {
  max-width: 1240px;
  margin: 0 auto;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, #00f0ff 0%, #3b82f6 50%, #8b5cf6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070a13;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
}

.brand-title {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  font-size: 0.8rem;
  color: #34d399;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.vip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: 8px;
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.vip-btn:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(139, 92, 246, 0.35));
  border-color: #f59e0b;
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.lang-switcher {
  display: flex;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active {
  background: #1e293b;
  color: #fff;
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(180deg, rgba(13, 18, 31, 0.9) 0%, rgba(10, 15, 26, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 26px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(0, 240, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.banner-top {
  margin-bottom: 12px;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

.banner-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.banner-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 960px;
  margin-bottom: 22px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  background: rgba(18, 25, 41, 0.6);
  border: 1px solid rgba(30, 44, 69, 0.6);
  border-radius: 10px;
  padding: 12px 16px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Controls Bar */
.controls-bar {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 280px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  font-size: 1rem;
  pointer-events: none;
  opacity: 0.7;
}

.search-box input {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 12px 14px 12px 42px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.2);
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.sort-box select {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.sort-box select option {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

/* Filter Pills */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.pill {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.pill:hover {
  background-color: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--border-highlight);
}

.pill.active {
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Providers Grid */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.provider-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.provider-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.provider-header-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.provider-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
}

.provider-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.provider-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quota-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
}

.quota-badge.purple {
  background: rgba(139, 92, 246, 0.12);
  color: #c084fc;
  border-color: rgba(139, 92, 246, 0.3);
}

.quota-badge.cyan {
  background: rgba(0, 240, 255, 0.12);
  color: var(--accent-cyan);
  border-color: rgba(0, 240, 255, 0.3);
}

.quota-badge.amber {
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}

/* Feature tags */
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tag-badge {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(30, 44, 69, 0.6);
  color: var(--text-secondary);
  border: 1px solid rgba(47, 67, 104, 0.5);
  font-weight: 500;
}

.tag-badge.highlight-nocard {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.25);
}

.tag-badge.highlight-openai {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.25);
}

/* Metrics row */
.metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background-color: var(--bg-secondary);
  border-radius: 8px;
  margin-bottom: 14px;
  border: 1px solid var(--border-color);
}

.metric-col {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Model highlights */
.model-chips {
  margin-bottom: 14px;
}

.model-chips-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.models-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.model-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: #172033;
  color: #93c5fd;
  border: 1px solid #243552;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Actions */
.card-actions {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #3b82f6 100%);
  color: #070a13;
  font-weight: 700;
  border: none;
}

.btn-primary:hover {
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.4);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background-color: var(--bg-hover);
  border-color: var(--border-highlight);
}

.btn-link {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
  padding: 8px 10px;
}

.btn-link:hover {
  color: var(--accent-cyan);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.78rem;
}

.btn-featured {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #000;
  font-weight: 800;
}

.btn-featured:hover {
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

/* Modal Overlays */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: 16px;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  display: flex;
  flex-direction: column;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  background-color: var(--bg-card);
  z-index: 10;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.modal-icon {
  font-size: 1.6rem;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}

.modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
}

/* Code Generator Modal Specifics */
.code-modal-card {
  max-width: 860px;
}

.generator-config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.config-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.config-field-full {
  grid-column: 1 / -1;
}

.config-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.config-field select, .config-field input {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--text-primary);
  font-size: 0.88rem;
}

.config-field select:focus, .config-field input:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

.code-tabs {
  display: flex;
  gap: 6px;
  background-color: var(--bg-secondary);
  padding: 6px;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow-x: auto;
}

.code-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.code-tab:hover {
  color: var(--text-primary);
}

.code-tab.active {
  background-color: #1e293b;
  color: var(--accent-cyan);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.code-container {
  background-color: #050811;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}

.code-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background-color: #0b101c;
  border-bottom: 1px solid var(--border-color);
}

.code-lang-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.copy-code-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--accent-cyan);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.copy-code-btn:hover {
  background: rgba(0, 240, 255, 0.2);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.code-block {
  padding: 16px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  line-height: 1.5;
  color: #e2e8f0;
  overflow-x: auto;
  max-height: 340px;
  white-space: pre;
}

.endpoint-info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  flex-wrap: wrap;
}

.info-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}

.info-label {
  color: var(--text-muted);
}

.info-val {
  font-family: var(--font-mono);
  color: var(--text-primary);
  font-weight: 600;
}

.limit-val {
  color: #34d399;
}

/* Provider Details Guide Specifics */
.guide-section {
  margin-bottom: 20px;
}

.guide-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guide-step-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.guide-step-list li {
  padding: 10px 14px;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.guide-step-list li strong {
  color: #fff;
}

/* VIP Modal Styles */
.vip-card {
  max-width: 820px;
}

.vip-body {
  padding: 24px;
}

.vip-highlight-box {
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.highlight-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #c084fc;
  margin-bottom: 6px;
}

.highlight-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.highlight-desc code {
  font-family: var(--font-mono);
  background: #1e1b4b;
  color: #e9d5ff;
  padding: 2px 6px;
  border-radius: 4px;
}

.pricing-tier-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.pricing-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.featured {
  border-color: rgba(245, 158, 11, 0.5);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.05) 0%, var(--bg-secondary) 100%);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.tier-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: #f59e0b;
  color: #000;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  letter-spacing: 0.04em;
}

.tier-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.tier-price {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.usd-equiv {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.tier-features {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.tier-btn {
  width: 100%;
  padding: 12px;
}

/* Direct TON section */
.ton-pay-box {
  background: #090e1a;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
}

.ton-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.ton-badge {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0098ea;
}

.ton-hint {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.ton-address-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.ton-address-input {
  flex: 1;
  background: #04060c;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 8px 12px;
  color: #7dd3fc;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.copy-ton-btn {
  background: #0098ea;
  border: none;
  border-radius: 6px;
  color: #fff;
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.copy-ton-btn:hover {
  opacity: 0.9;
}

.ton-footer-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Footer & Disclaimer */
.portal-footer {
  text-align: center;
  padding: 24px 0 36px 0;
  border-top: 1px solid var(--border-color);
  margin-top: 20px;
}

.portal-backlink {
  display: inline-block;
  color: var(--accent-cyan);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.portal-backlink:hover {
  color: #fff;
  text-decoration: underline;
}

.portal-disclaimer {
  max-width: 900px;
  margin: 16px auto 0 auto;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.6;
  text-align: center;
  padding: 14px 18px;
  background: rgba(13, 18, 31, 0.7);
  border: 1px solid #1e2c45;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: stretch;
  }
  
  .header-right {
    justify-content: space-between;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .providers-grid {
    grid-template-columns: 1fr;
  }

  .pricing-tier-row {
    grid-template-columns: 1fr;
  }

  .generator-config-grid {
    grid-template-columns: 1fr;
  }

  .endpoint-info-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}
