/* ================================================
   接码 API 控制台 — site.css
   方向：白底 / 橙色主色 / 简洁扁平 / 中文运营工具风
   参考：api.cc 实际视觉
   ================================================ */

/* ---- CSS 变量 ---- */
:root {
  /* 背景 */
  --bg-page:    #f5f7fa;
  --bg-card:    #ffffff;
  --bg-soft:    #f8fafc;
  --bg-muted:   #f1f5f9;

  /* 主色（橙色，匹配当前站点方向） */
  --primary:        #f97316;
  --primary-hover:  #ea580c;
  --primary-light:  #fff7ed;
  --primary-border: #fed7aa;

  /* 功能色 */
  --green:      #22c55e;
  --green-hover:#16a34a;
  --green-light:#f0fdf4;
  --blue:       #3b82f6;
  --blue-light: #eff6ff;
  --red:        #ef4444;
  --red-light:  #fef2f2;
  --yellow:     #f59e0b;
  --yellow-light:#fffbeb;

  /* 文字 */
  --text:       #111827;
  --text-soft:  #4b5563;
  --text-weak:  #6b7280;
  --text-input-hint: #9ca3af;

  /* 边框 */
  --border:     #e5e7eb;
  --border-strong: #d1d5db;
  --border-focus:  #f97316;

  /* 圆角 */
  --radius-xl:  12px;
  --radius-lg:  10px;
  --radius-md:  8px;
  --radius-sm:  6px;
  --radius-pill:999px;

  /* 阴影 */
  --shadow-sm:  0 1px 3px rgba(15,23,42,0.08);
  --shadow-md:  0 4px 12px rgba(15,23,42,0.10);
  --shadow-lg:  0 8px 24px rgba(15,23,42,0.10);

  /* 布局 */
  --nav-height: 64px;
}

/* ---- 基础重置 ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--bg-page);
  font-family: "IBM Plex Sans", "Noto Sans SC", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---- 辅助类 ---- */
.font-display { font-family: "Sora", "IBM Plex Sans", sans-serif; }
.text-muted-soft { color: var(--text-weak) !important; }

.app-shell { position: relative; }
.landing-shell { position: relative; }

/* ================================================
   导航栏
   ================================================ */
.site-nav,
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.nav-shell,
.landing-nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 1rem;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  color: var(--text);
}

/* 品牌名替换：保留 class，覆盖文字为"接码 API 控制台" */
.landing-brand > span:last-child > span:first-child,
.landing-brand > span:last-child > span:last-child {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}
.landing-brand > span:last-child > span:first-child::after {
  content: "接码 API 控制台";
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 600;
}
.landing-brand > span:last-child > span:last-child::after {
  content: "号码资源转售平台";
  display: block;
  color: var(--text-weak);
  font-size: 0.72rem;
  line-height: 1.3;
  font-weight: 400;
}

.landing-nav-links,
.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link-soft {
  color: var(--text-soft);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  transition: color 0.15s, background 0.15s;
}
.nav-link-soft:hover,
.nav-link-soft:focus {
  color: var(--primary);
  background: var(--primary-light);
}

.landing-mobile-nav {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  margin-top: 0.5rem;
}
.landing-mobile-nav .nav-link-soft { display: block; margin-bottom: 2px; }

/* ================================================
   按钮系统
   ================================================ */
.btn-primary-glow {
  color: #ffffff !important;
  background: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  box-shadow: 0 2px 8px rgba(249,115,22,0.28) !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600;
  transition: background 0.15s, box-shadow 0.15s;
}
.btn-primary-glow:hover,
.btn-primary-glow:focus {
  background: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
  box-shadow: 0 4px 12px rgba(249,115,22,0.32) !important;
}

.btn-outline-tech {
  color: var(--text) !important;
  background: #ffffff !important;
  border: 1px solid var(--border-strong) !important;
  border-radius: var(--radius-md) !important;
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s;
}
.btn-outline-tech:hover,
.btn-outline-tech:focus {
  color: var(--primary) !important;
  border-color: var(--primary) !important;
  background: var(--primary-light) !important;
}

/* ================================================
   卡片（保留旧 class 名，样式改为白底扁平）
   ================================================ */
.glass-card,
.hero-panel,
.faq-item,
.feature-card,
.stat-card,
.auth-card,
.notice-card,
.section-card,
.empty-card,
.contact-card,
.maintenance-card,
.state-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.glass-card,
.feature-card,
.notice-card { padding: 1.25rem; }
.auth-card   { padding: 1.5rem; }
.stat-card   { padding: 1rem 1.1rem; }
.state-card  { max-width: 46rem; padding: 2rem; text-align: center; }

/* ================================================
   首页 Hero
   ================================================ */
.landing-hero {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
}

.landing-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.hero-copy-block { position: relative; }

.landing-hero-title,
.hero-title,
.section-title {
  color: var(--text);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.landing-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
}

.landing-hero-subtitle,
.hero-copy,
.section-copy,
.page-desc {
  color: var(--text-soft) !important;
  font-size: 1rem;
  line-height: 1.7;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* ---- 首页指标卡 ---- */
.landing-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.landing-metric-card,
.delivery-stat-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.metric-label,
.delivery-feed-label {
  color: var(--text-weak);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.metric-value {
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.metric-note {
  color: var(--text-weak);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ---- Hero 右侧展示区 ---- */
.landing-delivery-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: 100%;
}

.delivery-console-card,
.delivery-feed-card,
.coverage-card,
.project-preview-card,
.advantage-card,
.landing-footer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.delivery-console-card { padding: 1.25rem; }
.delivery-feed-card    { padding: 1rem 1.15rem; }
.advantage-card        { padding: 1.25rem; }
.landing-footer-card   { padding: 1.5rem; }

.delivery-console-header,
.coverage-top,
.project-price-row,
.delivery-feed-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.delivery-feed-row + .delivery-feed-row {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.delivery-feed-value { font-weight: 600; color: var(--text); }

/* ---- 代码窗口 ---- */
.delivery-code-window {
  margin-top: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #1e293b;
  overflow: hidden;
}

.delivery-code-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.delivery-code-bar span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}
.delivery-code-bar span:nth-child(1) { background: #ff5f56; }
.delivery-code-bar span:nth-child(2) { background: #ffbd2e; }
.delivery-code-bar span:nth-child(3) { background: #27c93f; }

.delivery-code-block {
  margin: 0;
  padding: 0.9rem 1rem;
  color: #94d8b5;
  font-size: 0.82rem;
  line-height: 1.7;
  font-family: "IBM Plex Mono", "SFMono-Regular", monospace;
  white-space: pre-wrap;
}

.delivery-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

/* ================================================
   内容区段
   ================================================ */
.section-pad { padding: 4rem 0; }

.landing-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.coverage-card {
  padding: 1.25rem;
  min-height: 100%;
}

.coverage-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.project-price {
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 700;
}

.advantage-icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 1.1rem;
}

/* ================================================
   FAQ
   ================================================ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.faq-item { padding: 1.1rem 1.2rem; }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text);
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  color: var(--text-soft);
  line-height: 1.7;
}

/* ================================================
   Eyebrow / Badge / Chip 组件
   ================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 500;
}

.region-badge,
.tiny-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-soft);
  font-size: 0.8rem;
}

.flag-icon {
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.kpi-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.kpi-chip {
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.82rem;
}

/* ---- 状态标签 ---- */
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 500;
}

.status-chip.success {
  background: var(--green-light);
  color: #16a34a;
  border: 1px solid #bbf7d0;
}
.status-chip.warning {
  background: var(--yellow-light);
  color: #d97706;
  border: 1px solid #fde68a;
}
.status-chip.info {
  background: var(--blue-light);
  color: #1d4ed8;
  border: 1px solid #fed7aa;
}
.status-chip.danger {
  background: var(--red-light);
  color: #dc2626;
  border: 1px solid #fecaca;
}
.status-chip.neutral {
  background: var(--bg-muted);
  color: var(--text-soft);
  border: 1px solid var(--border);
}

/* ================================================
   流程步骤
   ================================================ */
.process-step {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-card);
  height: 100%;
}

.step-index {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

/* ================================================
   指标卡（Hero 统计区）
   ================================================ */
.hero-metrics { gap: 0.75rem; }

.stat-kicker {
  color: var(--text-weak);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-value {
  font-family: "Sora", sans-serif;
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 700;
}

.hero-stage {
  position: relative;
  height: 100%;
  min-height: 24rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
}

.stage-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
}

.stage-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.stage-card + .stage-card { margin-top: 0.75rem; }

.stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  background: var(--green-light);
  color: var(--green-hover);
  border: 1px solid #bbf7d0;
}

/* ================================================
   登录 / 注册 认证页
   ================================================ */
.auth-shell {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5.75rem 0 3rem;
  background:
    linear-gradient(180deg, #f8fafc 0%, #f5f7fa 58%, #eef2f7 100%);
}

.auth-side {
  padding: 1.6rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  border: 1px solid var(--primary-border);
  box-shadow: var(--shadow-md);
  height: 100%;
}

.auth-page-shell .container {
  max-width: 1180px;
}

.auth-grid {
  align-items: stretch;
}

.auth-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  padding: 1.65rem;
}

.auth-card-compact {
  max-width: 560px;
  margin: 0 auto;
}

.auth-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.auth-back-link,
.auth-text-link {
  color: var(--text-soft);
  font-size: 0.92rem;
  text-decoration: none;
}

.auth-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.auth-back-link:hover,
.auth-text-link:hover {
  color: var(--primary);
}

.auth-title {
  font-size: clamp(1.9rem, 4vw, 2.35rem);
  line-height: 1.15;
}

.auth-subtitle {
  max-width: 44ch;
}

.auth-side-title {
  font-size: clamp(1.95rem, 3.4vw, 2.55rem);
  line-height: 1.18;
}

.auth-side-stack {
  display: grid;
  gap: 0.9rem;
}

.auth-info-card {
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.auth-info-title {
  margin-bottom: 0.45rem;
  color: var(--text);
  font-weight: 600;
}

.auth-form-grid {
  display: block;
}

.auth-captcha-wrap {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  padding: 0.35rem;
}

.auth-captcha-image {
  display: block;
  width: 100%;
  max-width: 152px;
  height: auto;
  border-radius: 8px;
}

.auth-inline-actions {
  display: flex;
  justify-content: flex-start;
}

.auth-inline-btn {
  padding-inline: 1rem !important;
}

.auth-submit-btn {
  min-height: 48px;
  border-radius: 10px !important;
  font-weight: 600 !important;
}

.auth-policy-note {
  display: grid;
  gap: 0.45rem;
  padding: 0.95rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.auth-summary-card {
  padding: 0.95rem 1rem;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.auth-summary-title {
  margin-bottom: 0.55rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}

.auth-summary-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.auth-summary-list li {
  position: relative;
  padding-left: 1rem;
}

.auth-summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 999px;
  background: var(--primary);
}

.auth-referral-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.95rem 1rem;
  border-radius: 12px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
}

.auth-referral-card.is-valid {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.auth-referral-card.is-warning {
  border-color: #fde68a;
  background: #fffbeb;
}

.auth-referral-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #ffffff;
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.22);
}

.auth-referral-card.is-valid .auth-referral-icon {
  color: #16a34a;
  border-color: #bbf7d0;
}

.auth-referral-title {
  color: #111827;
  font-weight: 700;
  font-size: 0.92rem;
}

.auth-referral-text {
  margin-top: 0.25rem;
  color: #4b5563;
  font-size: 0.88rem;
  line-height: 1.55;
}

.auth-debug-token {
  word-break: break-all;
  color: var(--text);
  font-weight: 600;
}

/* ================================================
   表单
   ================================================ */
.form-control,
.form-select {
  background-color: #ffffff !important;
  border-color: var(--border-strong) !important;
  color: var(--text) !important;
  border-radius: var(--radius-md) !important;
  padding: 0.7rem 0.9rem !important;
  font-size: 0.92rem;
}

.form-control::placeholder { color: var(--text-input-hint) !important; }

.form-control:focus,
.form-select:focus {
  color: var(--text) !important;
  background-color: #ffffff !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12) !important;
}

.form-label {
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

/* ================================================
   法律 / 条款页
   ================================================ */
.legal-block {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.page-hero {
  padding-top: 5rem;
  padding-bottom: 2rem;
}

/* ================================================
   系统状态页 (404 / 500 / 维护)
   ================================================ */
.system-state {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  background: var(--bg-page);
}

.state-code {
  font-family: "Sora", sans-serif;
  font-size: clamp(4rem, 18vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--primary);
}

/* ================================================
   联系页
   ================================================ */
.contact-card { min-height: 100%; padding: 1.5rem; }

/* ================================================
   辅助工具
   ================================================ */
.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-clean li + li { margin-top: 0.65rem; }

.divider-soft {
  height: 1px;
  background: var(--border);
}

/* ================================================
   Footer
   ================================================ */
.site-footer,
.landing-footer {
  border-top: 1px solid var(--border);
  background: #ffffff;
  padding: 2.5rem 0;
}

.footer-link { color: var(--text-weak); transition: color 0.15s; }
.footer-link:hover,
.footer-link:focus { color: var(--primary); }

.footer-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.footer-links { display: grid; gap: 0.5rem; }
.footer-links a { color: var(--text-weak); font-size: 0.88rem; }
.footer-links a:hover { color: var(--primary); }

.landing-footer-card { padding: 1.5rem; }

.footer-status { gap: 0.6rem; }
.footer-status span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-weak);
  font-size: 0.85rem;
}

/* ================================================
   Bootstrap 覆盖 — Alert
   ================================================ */
.alert {
  border-radius: var(--radius-lg) !important;
  border: 1px solid var(--border) !important;
  font-size: 0.9rem;
}
.alert-danger {
  background: var(--red-light) !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
}
.alert-success {
  background: var(--green-light) !important;
  border-color: #bbf7d0 !important;
  color: #16a34a !important;
}
.alert-warning {
  background: var(--yellow-light) !important;
  border-color: #fde68a !important;
  color: #d97706 !important;
}
.alert-info {
  background: var(--blue-light) !important;
  border-color: #fed7aa !important;
  color: #1d4ed8 !important;
}

/* ================================================
   Bootstrap 覆盖 — Table
   ================================================ */
.table {
  color: var(--text) !important;
}
.table > thead > tr > th {
  background: var(--bg-soft) !important;
  color: var(--text-weak) !important;
  border-color: var(--border) !important;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  padding: 0.85rem 0.9rem;
}
.table > tbody > tr > td {
  border-color: var(--border) !important;
  padding: 0.85rem 0.9rem;
  vertical-align: middle;
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background: var(--bg-soft) !important;
}

/* ================================================
   Bootstrap 覆盖 — Pagination
   ================================================ */
.pagination .page-link {
  color: var(--text-soft);
  border-color: var(--border);
  border-radius: var(--radius-sm);
}
.pagination .page-item.active .page-link {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination .page-link:hover {
  color: var(--primary);
  background: var(--primary-light);
  border-color: var(--primary-border);
}

/* ================================================
   Bootstrap 覆盖 — Modal
   ================================================ */
.modal-content {
  border-radius: var(--radius-xl) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-lg) !important;
}
.modal-header {
  border-bottom: 1px solid var(--border) !important;
}
.modal-footer {
  border-top: 1px solid var(--border) !important;
}

/* ================================================
   响应式
   ================================================ */
@media (max-width: 820px) {
  .landing-section-head { flex-direction: column; align-items: flex-start; }
  .landing-hero-metrics,
  .delivery-stat-grid,
  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
  .landing-hero { padding-top: 2.5rem; }
  .landing-hero-card { padding: 1.25rem; }
}

@media (max-width: 767.98px) {
  .section-pad { padding: 3rem 0; }
  .landing-hero { padding-top: 2rem; }
  .landing-hero-actions,
  .landing-hero-metrics,
  .delivery-stat-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .landing-hero-actions .btn { width: 100%; }
  .landing-hero-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .landing-footer-card { padding: 1.1rem; }
  .auth-shell { padding: 3.6rem 0 2rem; }
  .auth-card,
  .auth-side { padding: 1.15rem; }
  .auth-card-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  .auth-title {
    font-size: 1.7rem;
  }
}

/* ================================================
   首页重制批次 2：接码运营平台首页
   ================================================ */
.landing-page {
  background: linear-gradient(180deg, #f7f8fb 0%, #f5f7fa 36%, #eef2f7 100%);
}

.landing-page .container {
  max-width: 1220px;
}

.hero-reset {
  padding: 2rem 0 0;
}

.hero-surface {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf5 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 2rem;
}

.hero-copy-block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
}

.hero-side-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.mini-kicker {
  font-size: 0.78rem;
  color: var(--text-weak);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-live-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 1.35rem;
}

.hero-live-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.hero-live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-live-item {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  min-width: 0;
}

.hero-live-label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text-weak);
  font-size: 0.82rem;
}

.hero-live-divider {
  height: 1px;
  background: var(--border);
}

.hero-live-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-live-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.9rem;
  align-items: start;
}

.hero-live-note {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hero-inline-notice {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}

.hero-inline-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-weight: 600;
}

.coverage-card,
.project-preview-card,
.process-step,
.advantage-card {
  height: 100%;
}

.coverage-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.55rem;
}

.coverage-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.project-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.landing-footer .footer-links a {
  color: var(--text-soft);
}

.landing-footer .footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .hero-surface {
    padding: 1.35rem;
  }

  .hero-live-head,
  .coverage-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .hero-reset {
    padding-top: 1rem;
  }

  .hero-surface {
    padding: 1rem;
    border-radius: 16px;
  }

  .hero-live-grid {
    grid-template-columns: 1fr;
  }

  .hero-live-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .coverage-title-row {
    align-items: flex-start;
  }
}

/* ================================================
   首页服务商介绍版：Twilio/Vonage/Sinch 类 API 平台风
   仅作用于 public/index.php 的 .service-home
   ================================================ */
.service-home {
  --svc-orange: #f97316;
  --svc-orange-dark: #ea580c;
  --svc-text: #101828;
  --svc-muted: #667085;
  --svc-line: #e6eaf0;
  --svc-soft: #f7f8fb;
  --svc-green: #22c55e;
  background:
    radial-gradient(circle at 50% 10%, rgba(249, 115, 22, 0.055), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 42%, #ffffff 100%);
  color: var(--svc-text);
  font-family: "IBM Plex Sans", "Noto Sans SC", system-ui, sans-serif;
}

.service-container {
  width: min(100% - 72px, 1280px);
  margin: 0 auto;
}

.service-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 66px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--svc-line);
  backdrop-filter: blur(10px);
}

.service-nav-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.service-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--svc-text);
  font-weight: 800;
  font-size: 1.34rem;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.service-brand-mark {
  display: inline-flex;
  width: 2.05rem;
  height: 2.05rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  color: var(--svc-orange);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  font-size: 1.25rem;
}

.service-nav-links {
  display: flex;
  align-items: center;
  gap: 2.55rem;
  color: #344054;
  font-size: 0.98rem;
  font-weight: 600;
}

.service-nav-links a {
  transition: color 0.15s ease;
}

.service-nav-links a:hover {
  color: var(--svc-orange);
}

.service-nav-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-weight: 600;
}

.service-login-link {
  color: #1d2939;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 8.95rem;
  min-height: 3.2rem;
  border-radius: 0.42rem;
  padding: 0 1.55rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.service-btn:hover {
  transform: translateY(-1px);
}

.service-btn-sm {
  min-width: 6.9rem;
  min-height: 2.65rem;
  padding: 0 1.1rem;
  font-size: 0.95rem;
}

.service-btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #ff6b1a 0%, var(--svc-orange-dark) 100%);
  border: 1px solid var(--svc-orange-dark);
  box-shadow: 0 12px 22px rgba(249, 115, 22, 0.22);
}

.service-btn-primary:hover {
  color: #ffffff;
  background: var(--svc-orange-dark);
  box-shadow: 0 16px 26px rgba(249, 115, 22, 0.26);
}

.service-btn-outline {
  color: #172033;
  background: #ffffff;
  border: 1px solid #fb923c;
}

.service-btn-outline:hover {
  color: var(--svc-orange-dark);
  background: #fff7ed;
}

.service-hero {
  padding: 3rem 0 2rem;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 245, 0.6)),
    radial-gradient(circle at 73% 36%, rgba(249, 115, 22, 0.08), transparent 24rem);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(460px, 0.98fr) minmax(280px, 0.72fr);
  gap: 1.55rem;
  align-items: center;
}

.service-hero-copy h1 {
  margin: 0;
  color: #0f172a;
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  font-size: clamp(2.6rem, 3.55vw, 3.82rem);
  line-height: 1.15;
  letter-spacing: -0.075em;
  font-weight: 800;
}

.service-hero-copy h1 .hero-title-line {
  display: block;
  color: #0f172a;
  white-space: nowrap;
}

.service-hero-copy h1 em {
  color: var(--svc-orange);
  font-style: normal;
}

.service-hero-kpis {
  margin: 1.75rem 0 0.55rem;
  color: #475467;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.015em;
}

.service-hero-support {
  margin: 0;
  color: #475467;
  font-size: 1.08rem;
  font-weight: 500;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  margin-top: 2rem;
}

.service-hero-art {
  position: relative;
  min-height: 252px;
  transform: scale(0.74);
  transform-origin: center center;
}

.hero-map-grid {
  position: absolute;
  inset: 2.6rem 6.1rem 3.2rem 0.65rem;
  opacity: 0.36;
  background-image: radial-gradient(#c8d0dc 1.2px, transparent 1.2px);
  background-size: 12px 12px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
}

.hero-api-core {
  position: absolute;
  top: 8.55rem;
  left: 10.85rem;
  width: 9.7rem;
  height: 9.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--svc-orange);
  background: #ffffff;
  border: 1px solid #e5eaf1;
  border-radius: 1.7rem;
  box-shadow: 0 20px 45px rgba(16, 24, 40, 0.11);
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
}

.hero-api-core span {
  color: #fdba74;
  font-weight: 500;
}

.hero-node,
.hero-shield,
.hero-globe,
.hero-lock,
.country-pill {
  position: absolute;
  background: #ffffff;
  border: 1px solid #dfe5ee;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.hero-node-message {
  top: 1.05rem;
  left: 4.45rem;
  width: 8.65rem;
  height: 6.05rem;
  border-radius: 1.1rem;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-node-message::after {
  content: "";
  position: absolute;
  right: 1.1rem;
  bottom: -0.95rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #ffffff;
  border-right: 1px solid #dfe5ee;
  border-bottom: 1px solid #dfe5ee;
  transform: rotate(45deg);
}

.hero-node-message span {
  color: #667085;
  font-size: 0.9rem;
}

.hero-node-message strong {
  color: #667085;
  font-size: 1.18rem;
  font-weight: 600;
}

.hero-shield {
  top: 7.75rem;
  left: 1.7rem;
  width: 4.75rem;
  height: 5.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(50% 0, 94% 18%, 88% 70%, 50% 100%, 12% 70%, 6% 18%);
  color: var(--svc-orange);
  font-size: 1.95rem;
}

.hero-globe {
  top: 17rem;
  left: 6.05rem;
  width: 5.55rem;
  height: 5.55rem;
  border-radius: 1.25rem;
  display: grid;
  place-items: center;
  color: #98a2b3;
  font-size: 2.9rem;
}

.hero-lock {
  top: 17.9rem;
  left: 0.1rem;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #ffffff;
}

.hero-lock i {
  width: 2.05rem;
  height: 2.05rem;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--svc-orange);
  border-radius: 999px;
}

.hero-dash {
  position: absolute;
  border: 2px dashed #fb923c;
  opacity: 0.72;
}

.dash-1 {
  top: 3.5rem;
  left: 17.3rem;
  width: 4.45rem;
  height: 7.65rem;
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 1.5rem 0 0;
}

.dash-2 {
  top: 11.9rem;
  left: 5.85rem;
  width: 12.75rem;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

.dash-3 {
  top: 12.45rem;
  left: 20.55rem;
  width: 7rem;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 5.15rem;
  height: 2.6rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  color: #475467;
  font-weight: 700;
}

.country-pill i {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  color: #ffffff;
  background: var(--svc-orange);
  border-radius: 999px;
}

.country-us { top: 2rem; right: 5.1rem; }
.country-gb { top: 5.85rem; right: 0.75rem; }
.country-hk { top: 10.05rem; right: 0.1rem; }
.country-ca { top: 14.45rem; right: 1.85rem; }
.country-id { top: 18.8rem; right: 4.35rem; }
.country-vn { top: 22.85rem; right: 9.2rem; }

.service-section {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(230, 234, 240, 0.72);
}

.service-section-compact {
  padding: 1.15rem 0;
}

.service-section-title {
  text-align: center;
  margin-bottom: 0.72rem;
}

.service-section-title h2,
.service-final-cta h2 {
  margin: 0;
  color: #101828;
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  font-size: clamp(1.6rem, 2.25vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.service-section-title p,
.service-final-cta p {
  margin: 0.35rem 0 0;
  color: var(--svc-muted);
  font-size: 1rem;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.service-feature-card,
.flow-card,
.developer-card,
.code-card,
.faq-service-grid details {
  background: #ffffff;
  border: 1px solid var(--svc-line);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.045);
}

.service-feature-card {
  min-height: 7.75rem;
  padding: 1rem 0.65rem 0.75rem;
  border-radius: 0.75rem;
  text-align: center;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  margin: 0 auto 0.65rem;
  border-radius: 999px;
  font-size: 1.45rem;
}

.feature-icon.orange,
.feature-icon.orange-soft { color: var(--svc-orange); background: #fff3ea; }
.feature-icon.green,
.feature-icon.green-soft { color: #16a34a; background: #eafaf2; }

.service-feature-card h3,
.flow-card h3 {
  margin: 0 0 0.55rem;
  color: #101828;
  font-size: 1.05rem;
  font-weight: 800;
}

.service-feature-card p,
.flow-card p {
  margin: 0;
  color: #667085;
  font-size: 0.84rem;
  line-height: 1.42;
}

.coverage-chip-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
}

.coverage-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0 0.85rem;
  background: #ffffff;
  border: 1px solid var(--svc-line);
  border-radius: 0.65rem;
  color: #344054;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(16, 24, 40, 0.035);
}

.coverage-chip .fi {
  width: 2rem;
  height: 1.35rem;
  border-radius: 0.16rem;
  box-shadow: 0 0 0 1px rgba(16, 24, 40, 0.08);
}

.flow-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.2rem minmax(0, 1fr) 3.2rem minmax(0, 1fr) 3.2rem minmax(0, 1fr);
  align-items: center;
  gap: 1.05rem;
}

.flow-card {
  position: relative;
  min-height: 7.35rem;
  padding: 1.05rem 0.82rem 0.75rem;
  border-radius: 0.65rem;
  text-align: center;
}

.flow-index {
  position: absolute;
  top: 1rem;
  left: 1.45rem;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  color: #ffffff;
  background: var(--svc-orange);
  border-radius: 999px;
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
}

.flow-card > i {
  display: block;
  margin: 0.8rem 0 0.52rem;
  color: var(--svc-orange);
  font-size: 2rem;
}

.flow-arrow {
  height: 1px;
  border-top: 2px dashed #fb923c;
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: -0.15rem;
  top: -0.32rem;
  width: 0.6rem;
  height: 0.6rem;
  border-top: 2px solid #fb923c;
  border-right: 2px solid #fb923c;
  transform: rotate(45deg);
}

.developer-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1.45rem;
  align-items: stretch;
}

.developer-card,
.code-card {
  border-radius: 0.85rem;
}

.developer-card {
  padding: 1.15rem 1.15rem;
}

.developer-checks {
  display: grid;
  gap: 0.58rem;
  padding: 0;
  margin: 0 0 0.85rem;
  list-style: none;
}

.developer-checks li {
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.developer-checks i {
  color: var(--svc-orange);
  font-size: 1.25rem;
}

.developer-checks strong,
.developer-checks small {
  display: block;
}

.developer-checks strong {
  margin-bottom: 0.22rem;
  color: #101828;
  font-weight: 800;
}

.developer-checks small {
  color: #667085;
  font-size: 0.76rem;
}

.developer-doc-btn {
  min-width: 11rem;
  min-height: 2.75rem;
}

.code-card {
  position: relative;
  padding: 0.8rem;
}

.code-tabs {
  display: flex;
  gap: 2.2rem;
  padding: 0 0.45rem 0.75rem;
  color: #667085;
  font-size: 0.86rem;
  font-weight: 700;
}

.code-tabs .active {
  color: var(--svc-orange);
  text-decoration: underline;
  text-underline-offset: 0.55rem;
  text-decoration-thickness: 2px;
}

.copy-code {
  position: absolute;
  top: 3.05rem;
  right: 1.25rem;
  border: 1px solid #fed7aa;
  border-radius: 0.55rem;
  background: #fff7ed;
  color: var(--svc-orange);
  padding: 0.45rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.code-card pre {
  min-height: 10.8rem;
  margin: 0;
  padding: 1.05rem 1rem;
  border: 1px solid var(--svc-line);
  border-radius: 0.65rem;
  background: #fbfcff;
  color: #344054;
  white-space: pre-wrap;
  line-height: 1.38;
  font-size: 0.72rem;
}

.code-card code {
  color: #59427a;
  font-family: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
}

.faq-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.75rem;
}

.faq-service-grid details {
  border-radius: 0;
  border-width: 0 0 1px;
  box-shadow: none;
  background: #ffffff;
}

.faq-service-grid summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.25rem;
  cursor: pointer;
  color: #344054;
  font-weight: 700;
  list-style: none;
}

.faq-service-grid summary::-webkit-details-marker {
  display: none;
}

.faq-service-grid summary::after {
  content: "⌄";
  color: #101828;
  font-size: 1.05rem;
}

.faq-service-grid details[open] summary::after {
  transform: rotate(180deg);
}

.faq-service-grid p {
  margin: 0 0 1.25rem;
  color: #667085;
  line-height: 1.75;
}

.service-final-cta {
  padding: 2.35rem 0 2.1rem;
  border-top: 1px solid var(--svc-line);
  background: #ffffff;
}

.service-final-cta .service-hero-actions {
  margin-top: 1.5rem;
}

.service-footer {
  padding: 1.55rem 0 0.8rem;
  border-top: 1px solid var(--svc-line);
  background: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.footer-brand-block p {
  margin: 0.75rem 0 0.9rem;
  max-width: 22rem;
  color: #667085;
  line-height: 1.75;
}

.footer-socials {
  display: flex;
  gap: 0.8rem;
}

.footer-socials span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #f2f4f7;
  color: #667085;
}

.service-footer h3 {
  margin: 0 0 1rem;
  color: #101828;
  font-size: 0.98rem;
  font-weight: 800;
}

.service-footer a {
  display: block;
  margin: 0.5rem 0;
  color: #667085;
  font-size: 0.92rem;
}

.service-footer a:hover {
  color: var(--svc-orange);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--svc-line);
  color: #667085;
  font-size: 0.88rem;
}

@media (max-width: 820px) {
  .service-hero-grid,
  .developer-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-art {
    min-height: 420px;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
  }

  .service-feature-grid,
  .coverage-chip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-arrow {
    display: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .service-container {
    width: min(100% - 32px, 1280px);
  }

  .service-nav-inner {
    min-height: 68px;
  }

  .service-nav-links,
  .service-login-link {
    display: none;
  }

  .service-brand {
    font-size: 1.12rem;
  }

  .service-brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .service-btn-sm {
    min-width: 5.9rem;
  }

  .service-hero {
    padding: 3.8rem 0 3rem;
  }

  .service-hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 3.2rem);
  }

  .service-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .service-btn {
    width: 100%;
  }

  .service-hero-art {
    min-height: 340px;
    transform: scale(0.74);
    transform-origin: top left;
    width: 135%;
  }

  .service-feature-grid,
  .coverage-chip-grid,
  .flow-steps,
  .faq-service-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-feature-card {
    min-height: auto;
  }

  .code-card pre {
    font-size: 0.78rem;
    overflow-x: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* ================================================
   前台字号对齐：保持介绍页清晰，不低于运营平台常用字号
   ================================================ */
.service-home {
  font-size: 15px;
}

.service-home .service-nav-links,
.service-home .service-login-link,
.service-home .service-btn,
.service-home .service-hero-kpis,
.service-home .service-hero-support,
.service-home .coverage-chip,
.service-home .faq-service-grid summary,
.service-home .service-footer a {
  font-size: 14px;
}

.service-home .service-feature-card p,
.service-home .flow-card p,
.service-home .developer-checks small,
.service-home .service-section-title p,
.service-home .service-final-cta p,
.service-home .footer-bottom {
  font-size: 13px;
}

.service-home .code-card pre {
  font-size: 13px;
}
