/* ============================================================
   Support · 聯絡客服頁面（v3）
   NX AI 客服中心 — LINE 僅作為聯繫工具
   - 品牌主體為 NX AI（非 LINE）
   - Hero 加份量（標題放大 + 副標）
   - 內文字體整體放大 1–2 級，提升可讀性
   - CTA 按鈕縮小約 15%，比例更符合版面
   ============================================================ */

.sp-content {
  padding: 32px 32px 60px;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

/* ---------- Hero（加份量：大標題 + 副標） ---------- */
.sp-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #EFF6FF 0%, #F0F7FF 55%, #DBEAFE 100%);
  border: 1px solid rgba(37, 99, 235, 0.10);
  padding: 36px 40px 40px;
  margin-bottom: 26px;
  isolation: isolate;
}
.sp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 260px at 92% 25%, rgba(96, 165, 250, 0.26), transparent 60%),
    radial-gradient(360px 200px at 6% 95%, rgba(147, 197, 253, 0.20), transparent 60%);
  z-index: -1;
}
.sp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.55), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.55), transparent 70%);
  z-index: -1;
  opacity: 0.55;
}
.sp-hero-body {
  position: relative;
  z-index: 1;
  padding-left: 16px;
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, #2563EB 0%, #06B6D4 100%) 1;
}
.sp-hero-title {
  margin: 0 0 8px;
  font-family: var(--nx-font-sans);
  font-size: 34px;
  font-weight: 700;
  color: var(--nx-ink-900);
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.sp-hero-sub {
  margin: 0;
  font-family: var(--nx-font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--nx-ink-600);
  line-height: 1.6;
  letter-spacing: 0.005em;
}

/* ---------- 主客服卡（整合 NX AI 客服 + 服務時間 + 提醒） ---------- */
.sp-card {
  background: #fff;
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  box-shadow:
    0 18px 40px -20px rgba(15, 23, 42, 0.10),
    0 2px 6px rgba(15, 23, 42, 0.04);
  padding: 32px 36px 34px;
  position: relative;
  overflow: hidden;
}
.sp-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB 0%, #06B6D4 100%);
}

/* ----- 卡片標題（NX 品牌 mark + NX AI 客服） ----- */
.sp-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.sp-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #fff;
  box-shadow:
    0 10px 20px -6px rgba(37, 99, 235, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  flex-shrink: 0;
}
.sp-card-icon-mark {
  font-family: var(--nx-font-sans);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
}
.sp-card-title {
  margin: 0;
  font-family: var(--nx-font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--nx-ink-900);
  letter-spacing: -0.01em;
  line-height: 1.22;
}
.sp-card-desc {
  margin: 0;
  font-family: var(--nx-font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--nx-ink-700, #334155);
  line-height: 1.75;
  letter-spacing: 0.005em;
}

/* ----- 分隔線 ----- */
.sp-divider {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(37, 99, 235, 0.10) 20%,
    rgba(37, 99, 235, 0.14) 50%,
    rgba(37, 99, 235, 0.10) 80%,
    transparent 100%);
  margin: 24px 0 22px;
}

/* ----- 服務時間 meta 區塊（字體放大） ----- */
.sp-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.sp-meta-label {
  font-family: var(--nx-font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--nx-ink-500);
  letter-spacing: 0.01em;
}
.sp-meta-value {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.sp-meta-days {
  font-family: var(--nx-font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--nx-ink-900);
  letter-spacing: 0.005em;
}
.sp-meta-time {
  font-family: var(--nx-font-mono);
  font-size: 19px;
  font-weight: 600;
  color: #2563EB;
  letter-spacing: 0.02em;
}
.sp-meta-note {
  margin: 6px 0 0;
  font-family: var(--nx-font-sans);
  font-size: 14.5px;
  font-weight: 400;
  color: var(--nx-ink-500);
  line-height: 1.7;
}

/* ---------- CTA 按鈕（縮小約 15%） ---------- */
.sp-cta-wrap {
  display: flex;
  justify-content: center;
  padding: 2px 0 0;
}
.sp-cta {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  min-height: 44px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2563EB 0%, #1D4ED8 100%);
  color: #fff;
  font-family: var(--nx-font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow:
    0 10px 24px -10px rgba(37, 99, 235, 0.50),
    0 2px 5px rgba(37, 99, 235, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.sp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), transparent 40%);
  pointer-events: none;
}
.sp-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 28px -10px rgba(37, 99, 235, 0.60),
    0 3px 8px rgba(37, 99, 235, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.sp-cta:active {
  transform: translateY(0);
}
.sp-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  opacity: 0.95;
}
.sp-cta-icon svg { width: 100%; height: 100%; }
.sp-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  opacity: 0.85;
  transition: transform 0.22s;
}
.sp-cta:hover .sp-cta-arrow { transform: translateX(3px); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .sp-content { padding: 24px 20px 48px; max-width: 100%; }
  .sp-hero { padding: 30px 26px 32px; margin-bottom: 22px; }
  .sp-hero-title { font-size: 28px; }
  .sp-hero-sub { font-size: 15px; }
  .sp-card { padding: 26px 24px 28px; }
  .sp-card-title { font-size: 20px; }
  .sp-card-desc { font-size: 15px; }
  .sp-meta-days { font-size: 17px; }
  .sp-meta-time { font-size: 18px; }
  .sp-meta-label,
  .sp-meta-note { font-size: 14px; }
}
@media (max-width: 560px) {
  .sp-hero { padding: 26px 22px 28px; border-radius: 16px; }
  .sp-hero-body { padding-left: 14px; }
  .sp-hero-title { font-size: 24px; }
  .sp-hero-sub { font-size: 14.5px; }
  .sp-card { padding: 24px 20px 26px; border-radius: 16px; }
  .sp-card-head { gap: 12px; margin-bottom: 12px; }
  .sp-card-icon { width: 40px; height: 40px; border-radius: 11px; }
  .sp-card-icon-mark { font-size: 14px; }
  .sp-card-title { font-size: 18px; }
  .sp-card-desc { font-size: 14.5px; }
  .sp-divider { margin: 20px 0 18px; }
  .sp-meta { margin-bottom: 22px; gap: 8px; }
  .sp-meta-value { gap: 10px; }
  .sp-cta { width: 100%; padding: 12px 20px; }
  .sp-cta-wrap { padding: 0; }
}
