.data-api-body {
  background: #f9fafb;
  color: #333;
  font-family: 'Urbanist', sans-serif;
  min-height: 100vh;
}

.data-api-header {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.data-api-header img {
  height: 40px;
  cursor: pointer;
}

.data-api-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.data-api-hero {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.data-api-eyebrow {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E85A6C;
}

.data-api-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 0;
}

.data-api-hero p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

.data-api-highlight {
  font-size: 15px;
  color: #0b4b8d;
  background: #eef5ff;
  padding: 8px 12px;
  border-radius: 10px;
  display: inline-block;
}

.data-api-token {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  align-items: center;
}

.token-panel {
  background: #f6f7fb;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.token-line {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: 'Poppins SemiBold', 'Urbanist', sans-serif;
  font-size: 16px;
  word-break: break-all;
}

.token-btn,
.primary-btn {
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
}

.token-btn {
  background: #ececec;
}

.token-btn:hover:not([disabled]) {
  background: #e0e0e0;
}

.primary-btn {
  background: #E85A6C;
  color: #fff;
}

.primary-btn[disabled],
.token-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.token-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.token-hint {
  font-size: 13px;
  color: #555;
}

.token-feedback {
  font-size: 13px;
  color: #0b4b8d;
}

.data-api-note {
  font-size: 14px;
  color: #0b4b8d;
  background: #eef4ff;
  padding: 12px;
  border-radius: 10px;
}

.data-api-section {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.data-api-section h2, .data-api-section h3 {
  margin: 0;
  color: #1f1f1f;
}

.code-block {
  background: #0f172a;
  color: #e2e8f0;
  padding: 16px;
  border-radius: 12px;
  overflow: auto;
  font-size: 14px;
  line-height: 1.4;
}

.params-grid,
.fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.params-grid article,
.fields-grid ul {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px;
}

.params-grid ul,
.fields-grid ul {
  margin: 0;
  padding-left: 18px;
  color: #444;
  font-size: 14px;
}

.fields-grid li {
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.5;
}

.tips-list {
  margin: 0;
  padding-left: 20px;
  color: #444;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .token-line {
    flex-direction: column;
    align-items: flex-start;
  }
}
