/* ========================================
   DOCS STYLES — Web2Phone
   No inline styles. Consistent with blue/green brand.
   ======================================== */

:root {
  --w2p-blue: #2563eb;
  --w2p-navy: #1e3a8a;
  --w2p-green: #22c55e;

  --ink: #0f172a;
  --muted: #475569;
  --muted-2: #64748b;

  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e5e7eb;

  --shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  --radius: 16px;
}

.docs-section {
  padding: 56px 0;
  background: #ffffff;
}

.docs-section-alt {
  background: var(--bg);
}

.docs-section-borders {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.docs-section-title {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.docs-h2 {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.docs-h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 10px;
}

.docs-h4 {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
}

.docs-muted {
  color: var(--muted);
  line-height: 1.75;
}

.docs-small {
  font-size: 0.95rem;
}

/* HERO */
.docs-hero {
  padding: 76px 0 62px;
  background: linear-gradient(135deg, var(--w2p-navy) 0%, var(--w2p-blue) 60%, var(--w2p-green) 140%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.docs-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.4px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  margin-bottom: 14px;
}

.docs-hero-title {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}

.docs-hero-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 760px;
  margin: 0 0 10px;
  color: rgba(255,255,255,0.92);
}

.docs-hero-text {
  max-width: 760px;
  margin: 0 0 10px;
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
}

.docs-hero a {
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.docs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.docs-btn-outline-on-hero {
  border-color: rgba(255,255,255,0.55) !important;
  color: #fff !important;
}

.docs-btn-outline-on-hero:hover {
  background: rgba(255,255,255,0.14) !important;
  border-color: rgba(255,255,255,0.75) !important;
}

/* STEP ROW */
.docs-steps-row {
  margin-top: 12px;
}

.docs-step-pill {
  text-align: center;
  padding: 10px 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  height: 100%;
}

.docs-step-circle {
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #fff;
  background: var(--w2p-blue);
}

.docs-step-circle-success {
  background: var(--w2p-green);
}

.docs-step-label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--muted);
  margin: 0;
}

/* Step badge */
.docs-step-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  background: var(--w2p-blue);
  color: #fff;
  margin-bottom: 14px;
}

.docs-step-badge-success {
  background: var(--w2p-green);
}

.docs-step-badge-invert {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
}

/* Cards */
.docs-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.docs-card-soft {
  background: var(--bg);
  border: 2px solid var(--border);
  box-shadow: none;
}

.docs-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.docs-emoji {
  font-size: 1.6rem;
}

/* Lists */
.docs-ul {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.docs-ol {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.docs-ol li,
.docs-ul li {
  margin-bottom: 10px;
}

/* Callouts */
.docs-callout {
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.docs-callout-title {
  margin-bottom: 8px;
}

.docs-callout-text {
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.7;
}

.docs-callout-icon {
  font-size: 1.4rem;
  line-height: 1;
  margin-right: 12px;
}

.docs-callout-info {
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(37, 99, 235, 0.06);
}

.docs-callout-success {
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.08);
}

.docs-callout-warn {
  border-color: rgba(245, 158, 11, 0.30);
  background: rgba(245, 158, 11, 0.10);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.docs-callout-danger {
  border-color: rgba(239, 68, 68, 0.30);
  background: rgba(239, 68, 68, 0.08);
}

/* Code blocks */
.docs-code-block {
  background: #0b1220;
  color: #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  white-space: pre;
}

.docs-code-lg {
  padding: 16px 18px;
}

.docs-example {
  margin-bottom: 14px;
}

/* Brand section */
.docs-section-brand {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--w2p-navy) 0%, var(--w2p-blue) 60%, var(--w2p-green) 140%);
  color: #fff;
}

.docs-h2-invert,
.docs-h3-invert {
  color: #fff;
}

.docs-muted-invert {
  color: rgba(255,255,255,0.86);
}

.docs-dark-card {
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 18px;
}

.docs-dark-text {
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Brand footnote */
.docs-brand-footnote {
  margin: 18px 0 0;
  color: rgba(255,255,255,0.78);
  text-align: center;
  font-size: 0.95rem;
}

.docs-brand-footnote a {
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Mini card inside callouts */
.docs-mini-card {
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 12px 14px;
}

.docs-mini-pre {
  margin: 0;
  white-space: pre-wrap;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* CTA lead */
.docs-cta-lead {
  max-width: 600px;
  margin: 0 auto 18px;
}

/* Next icons */
.docs-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  font-size: 1.7rem;
}

.docs-icon-circle-blue {
  background: rgba(37, 99, 235, 0.10);
  border-color: rgba(37, 99, 235, 0.25);
}

.docs-icon-circle-green {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.25);
}

.docs-icon-circle-amber {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
}

.docs-big-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .docs-hero-title {
    font-size: 2.1rem;
  }
}

