/* docs/css/docs.css - Professional minimal */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #6C63FF;
  --primary-dark: #5a52d4;
  --primary-light: #8f88ff;
  --secondary: #FF6584;
  --secondary-dark: #e05572;
  --accent: #2ecc71;
  
  --dark: #0f0f1a;
  --darker: #080812;
  --light: #f8faff;
  --lighter: #ffffff;
  --text: #1a1a2e;
  --text-light: #4a4a6a;
  --gray: #e1e5f0;
  --border: #eaeef5;
}

.dark-mode {
  --primary: #8f88ff;
  --secondary: #ff8fa3;
  --light: #12121a;
  --lighter: #1a1a26;
  --text: #f0f0f5;
  --text-light: #b0b0c0;
  --gray: #2a2a3a;
  --border: #2d2d3a;
}

body {
  font-family: "Inter", -apple-system, system-ui, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.5;
  font-size: 15px;
  padding: 3rem 2rem;
}

/* Navigation bar - minimal */
.docs-nav {
  max-width: 900px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.back-link {
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.back-link:hover {
  color: var(--secondary);
}

.quick-links {
  display: flex;
  gap: 1rem;
}

.quick-link {
  color: var(--text-light);
  text-decoration: none;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.quick-link:hover {
  color: var(--primary);
  background: var(--gray);
}

/* Main content - no container, no shadow */
.docs-content {
  max-width: 900px;
  margin: 0 auto;
  background: var(--lighter);
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 16px;
}

/* Typography */
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

ul, ol {
  margin: 0.75rem 0 1.5rem 1.2rem;
  color: var(--text-light);
}

li {
  margin-bottom: 0.25rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

a:hover {
  border-bottom-color: var(--primary);
}

strong {
  color: var(--text);
  font-weight: 500;
}

/* Info boxes - minimal */
.info-box, .tip-box, .warning-box {
  padding: 1.25rem;
  margin: 1.5rem 0;
  border-radius: 8px;
  font-size: 0.95rem;
  border-left: 3px solid;
}

.info-box {
  background: rgba(108, 99, 255, 0.03);
  border-left-color: var(--primary);
}

.tip-box {
  background: rgba(46, 204, 113, 0.03);
  border-left-color: var(--accent);
}

.warning-box {
  background: rgba(255, 101, 132, 0.03);
  border-left-color: var(--secondary);
}

/* ID badges */
.id-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: 'SF Mono', Monaco, monospace;
  font-weight: 500;
  background: var(--gray);
  color: var(--text);
}

.id-badge.buyer {
  background: rgba(78, 205, 196, 0.1);
  color: #4ECDC4;
}

.id-badge.seller {
  background: rgba(255, 138, 92, 0.1);
  color: #FF8A5C;
}

/* Steps */
.step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.step-num {
  width: 24px;
  height: 24px;
  background: var(--gray);
  color: var(--text);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 500;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

/* Timeline */
.timeline-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.timeline-icon {
  width: 28px;
  height: 28px;
  background: var(--gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--text);
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
}

.timeline-content h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

/* Fee cards */
.fee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.fee-card {
  background: var(--gray);
  padding: 1.25rem;
  border-radius: 8px;
}

.fee-card .value {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.fee-card .label {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* FAQ */
.faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.faq-a {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Table */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

th {
  background: var(--gray);
  padding: 0.75rem;
  text-align: left;
  font-weight: 500;
}

td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}

/* Status badges */
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  background: var(--gray);
  color: var(--text);
}

.status-badge.paid { background: rgba(78, 205, 196, 0.1); color: #4ECDC4; }
.status-badge.shipped { background: rgba(108, 99, 255, 0.1); color: var(--primary); }
.status-badge.delivered { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }
.status-badge.dispute { background: rgba(255, 101, 132, 0.1); color: #FF6584; }

/* Mobile */
@media (max-width: 640px) {
  body { padding: 1.5rem 1rem; }
  .docs-nav { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .quick-links { flex-wrap: wrap; }
  .docs-content { padding: 1.5rem; }
  h1 { font-size: 1.8rem; }
  .fee-grid { grid-template-columns: 1fr; }
}