:root {
  --bg: #070b14;
  --card: rgba(18, 24, 38, .72);
  --card-2: rgba(26, 34, 52, .72);
  --card-solid: #121826;
  --line: rgba(94, 129, 180, .22);
  --line-strong: rgba(120, 170, 235, .38);
  --text: #e8eefc;
  --muted: #8b9ab5;
  --accent: #22d3ee;      /* 青色主调 */
  --accent-2: #0ea5e9;
  --accent-3: #6366f1;    /* 靛蓝 */
  --green: #34d399;       /* 成功/号码绿 */
  --blue: #60a5fa;
  --red: #fb7185;
  --amber: #fbbf24;
  --glow: 0 0 24px rgba(34, 211, 238, .18);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(99, 102, 241, .16), transparent 62%),
    radial-gradient(900px 460px at -5% 2%, rgba(34, 211, 238, .12), transparent 58%),
    radial-gradient(700px 500px at 50% 120%, rgba(14, 165, 233, .10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  touch-action: manipulation; /* 防止页面级手势缩放 */
  overscroll-behavior: none; /* 防止滚动链导致的缩放 */
}

/* 科技网格背景层 */
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(94, 129, 180, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 129, 180, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 78%);
}

/* ==================== 全局导航栏 ==================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 13, 23, .8);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 26px rgba(4, 8, 18, .48);
}

/* 底部流光描边 */
.nav::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .5), rgba(99, 102, 241, .42), transparent);
  pointer-events: none;
}

.nav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* 品牌区（点击回首页） */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text);
  transition: opacity .2s;
}
.nav-brand:hover { opacity: .85; }

.nav-logo {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #05131b;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 16px rgba(34, 211, 238, .34), inset 0 1px 0 rgba(255, 255, 255, .42);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

.nav-link:hover { color: var(--text); background: rgba(34, 211, 238, .08); }

.nav-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* 选中态：青色文字 + 底部辉光指示条 */
.nav-link.active { color: #bff3ff; background: rgba(34, 211, 238, .08); }

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 8px rgba(34, 211, 238, .6);
}

/* 移动端汉堡按钮 */
.nav-burger {
  display: none;
  margin-left: auto;
  width: 38px; height: 34px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(18, 26, 42, .7);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.nav-burger:hover { border-color: var(--accent); background: rgba(34, 211, 238, .1); }
.nav-burger:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nav-burger span {
  display: block;
  width: 16px; height: 1.6px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform .22s ease, opacity .22s ease;
}

.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

/* ==================== 模块分区 ==================== */
.view {
  scroll-margin-top: 76px;   /* 锚点跳转时避开吸顶导航 */
  animation: viewIn .26s ease both;
}

@keyframes viewIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}

/* 占位模块（商品 / 客服 / 关于我们） */
.ph-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.ph-ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(99, 102, 241, .12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}

.ph-ico svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ph-title { margin: 0; font-size: 18px; font-weight: 750; letter-spacing: .01em; }

.ph-desc { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }

.ph-body { min-height: 90px; }

.ph-empty {
  margin: 0;
  padding: 26px 18px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: rgba(6, 11, 20, .4);
}

.wrap { max-width: 960px; margin: 0 auto; padding: 32px 24px 48px; }

/* 业务联系横幅 */
.banner {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 22px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, .12), rgba(99, 102, 241, .12) 55%, rgba(14, 165, 233, .08));
  box-shadow: 0 10px 40px rgba(6, 12, 24, .5), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.banner-glow {
  position: absolute; top: -60%; right: -10%;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .28), transparent 70%);
  filter: blur(20px); pointer-events: none;
}
.banner-head {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 12px;
}
.banner-badge {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  padding: 4px 11px; border-radius: 20px;
  color: #04222b;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 2px 12px rgba(34, 211, 238, .4);
}
.banner-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--green); letter-spacing: .5px;
}
.banner-live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
  animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

.banner-title {
  position: relative; margin: 0 0 14px;
  font-size: 16px; font-weight: 650; line-height: 1.5; letter-spacing: .3px;
  color: #f2f7ff;
}
.banner-contact {
  position: relative;
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 11px 14px;
  background: rgba(6, 12, 24, .42);
  border: 1px solid var(--line);
  border-radius: 11px;
  backdrop-filter: blur(6px);
}
.banner-label { font-size: 12.5px; color: var(--muted); }
.banner-wechat { display: inline-flex; align-items: center; gap: 9px; }
.wechat-id {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 17px; font-weight: 700; letter-spacing: 1.2px;
  color: var(--accent);
  text-shadow: 0 0 14px rgba(34, 211, 238, .45);
}
.wechat-copy {
  border: 1px solid var(--line-strong);
  background: rgba(34, 211, 238, .1);
  color: var(--accent);
  border-radius: 7px; padding: 3px 11px;
  font-size: 11.5px; font-weight: 600; cursor: pointer;
  transition: background .15s, transform .08s;
}
.wechat-copy:hover { background: rgba(34, 211, 238, .22); }
.wechat-copy:active { transform: translateY(1px); }


/* ==================== 英雄区大屏 ==================== */
.hero {
  position: relative;
  text-align: center;
  padding: 72px 32px 56px;
  margin-bottom: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(18, 24, 38, .55), rgba(10, 14, 24, .85));
}
.hero-glow {
  position: absolute;
  top: -120px; left: 30%; transform: translateX(-50%);
  width: 600px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .22), rgba(99, 102, 241, .12) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -100px; right: 10%;
  width: 480px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, .16), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.hero-badge {
  position: relative;
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--accent);
  padding: 7px 24px;
  border: 1px solid rgba(34, 211, 238, .35);
  border-radius: 24px;
  background: rgba(34, 211, 238, .06);
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(34, 211, 238, .08);
}
.hero-sub {
  position: relative;
  margin: 0 0 36px;
  font-size: 15.5px;
  color: var(--muted);
  letter-spacing: 1.5px;
  line-height: 1.6;
}

/* 大屏服务项 */
.hero-services {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
}
.hs-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  background: rgba(6, 11, 20, .55);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  cursor: pointer;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
}
.hs-item:hover {
  border-color: rgba(34, 211, 238, .5);
  background: rgba(34, 211, 238, .07);
  box-shadow: 0 0 28px rgba(34, 211, 238, .14), 0 4px 20px rgba(4, 8, 18, .3);
  transform: translateY(-2px);
}
.hs-item:active { transform: translateY(0); }
.hs-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(34, 211, 238, .6);
  flex-shrink: 0;
}
.hs-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.hs-arrow {
  font-size: 14px;
  color: var(--muted);
  transition: color .2s, transform .2s;
}
.hs-item:hover .hs-arrow { color: var(--accent); transform: translateX(3px); }

/* 特性标签 */
.hero-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.ht-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(6, 11, 20, .35);
  letter-spacing: .5px;
  transition: border-color .2s, color .2s;
}
.ht-tag:hover { border-color: var(--line-strong); color: var(--text); }

/* ==================== 服务卡片网格 ==================== */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.service-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 18px;
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(34, 211, 238, .07), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.service-card:hover {
  border-color: rgba(34, 211, 238, .4);
  box-shadow: 0 0 32px rgba(34, 211, 238, .1), 0 12px 36px rgba(4, 8, 18, .4);
  transform: translateY(-2px);
}
.service-card:hover::before { opacity: 1; }
.service-card:active { transform: translateY(0); }
.service-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.service-card.active {
  border-color: rgba(34, 211, 238, .55);
  background: linear-gradient(135deg, rgba(34, 211, 238, .12), rgba(99, 102, 241, .08));
  box-shadow: 0 0 30px rgba(34, 211, 238, .14), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.sc-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(34, 211, 238, .12), rgba(99, 102, 241, .10));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.sc-icon svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sc-body { position: relative; flex: 1; min-width: 0; }
.sc-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .3px;
}
.service-card.active .sc-title { color: var(--accent); }
.sc-desc {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.sc-arrow {
  position: relative;
  font-size: 18px;
  color: var(--muted);
  transition: color .2s, transform .2s;
  flex-shrink: 0;
}
.service-card:hover .sc-arrow { color: var(--accent); transform: translateX(3px); }

/* 短信工具容器入场动画 */
.sms-tool {
  animation: toolIn .3s ease both;
}
@keyframes toolIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* 头部 */
.head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.logo {
  width: 48px; height: 48px; flex: 0 0 48px;
  display: grid; place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  font-weight: 800; font-size: 13px; letter-spacing: 1px; color: #04121a;
  box-shadow: 0 6px 22px rgba(34, 211, 238, .38), inset 0 1px 0 rgba(255,255,255,.4);
}
.head h1 {
  margin: 0; font-size: 22px; font-weight: 700; letter-spacing: .5px;
  background: linear-gradient(90deg, #f2f7ff, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sub { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

/* 会员价格（横幅内） */
.pricing {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.price-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  background: rgba(6, 11, 20, .55);
  border: 1px solid rgba(34, 211, 238, .2);
  border-radius: 10px;
  padding: 12px 8px;
}
.price-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--accent);
  text-transform: uppercase;
}
.price-value {
  font-size: 20px; font-weight: 800; color: #f2f7ff;
  font-variant-numeric: tabular-nums;
}
.price-unit { font-size: 11px; font-weight: 500; color: var(--muted); margin-left: 2px; }

/* ==================== 短信接码：左侧服务导航 + 右侧内容 ==================== */
.sms-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

/* 左侧服务导航栏 */
.sms-sidebar {
  flex: 0 0 200px;
  position: sticky;
  top: 76px;
}
.sms-sidebar-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sms-logo {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(99, 102, 241, .12));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
.sms-logo svg {
  width: 20px; height: 20px;
  stroke: var(--accent);
}
.sms-sidebar-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: .3px;
}
.sms-sidebar-sub {
  margin: 2px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}

/* 服务列表 */
.sms-service-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sms-service {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  color: var(--muted);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all .2s cubic-bezier(.4, 0, .2, 1);
  font-family: inherit;
  font-size: 14px;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.sms-service:hover { border-color: var(--line-strong); color: var(--text); }
.sms-service:active { transform: translateY(1px); }
.sms-service.active {
  border-color: rgba(34, 211, 238, .55);
  background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(99, 102, 241, .10));
  box-shadow: 0 0 20px rgba(34, 211, 238, .12), inset 0 1px 0 rgba(255,255,255,.06);
  color: var(--accent);
}
.ss-icon {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  flex-shrink: 0;
}
.ss-icon svg {
  width: 18px; height: 18px;
  stroke: currentColor;
}
.ss-name { font-weight: 600; letter-spacing: .3px; }

/* 右侧内容区 */
.sms-content {
  flex: 1;
  min-width: 0;
}

/* 旧 app-tabs 样式已移除，由 sms-sidebar 替代 */
.region-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}
.region-tab {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 13px;
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .18s, box-shadow .18s, transform .08s, background .18s;
  touch-action: manipulation; /* 禁用双击缩放等手势 */
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  min-height: 72px; /* 统一高度，防止内容差异导致布局跳动 */
}
.region-tab:hover { border-color: var(--line-strong); }
.region-tab:active { transform: translateY(1px); }
.region-tab.active {
  border-color: rgba(34, 211, 238, .55);
  background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(99, 102, 241, .10));
  box-shadow: 0 0 22px rgba(34, 211, 238, .14), inset 0 1px 0 rgba(255,255,255,.06);
}
.rt-flag { font-size: 22px; line-height: 1; flex: 0 0 auto; }
.rt-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rt-name { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: .5px; }
.rt-tag {
  display: inline-block;
  font-size: 10px; font-weight: 600; line-height: 1;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(34, 211, 238, .12); color: var(--accent);
  border: 1px solid rgba(34, 211, 238, .25);
  white-space: nowrap; width: fit-content;
}
.rt-desc {
  font-size: 11px; color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.region-tab.active .rt-name { color: var(--accent); }

.region-notice {
  margin: 0 0 12px;
  padding: 10px 13px;
  font-size: 12.5px; line-height: 1.6;
  color: #ffb4c0;
  background: rgba(251, 113, 133, .09);
  border: 1px solid rgba(251, 113, 133, .3);
  border-left: 3px solid var(--red);
  border-radius: 9px;
  min-height: 60px;
}

/* 分区特性提示：选中分区即显示（成功率 / 稳定性） */
.region-tip {
  display: flex; align-items: center; gap: 9px;
  margin: 0 0 12px;
  padding: 11px 14px;
  font-size: 13px; line-height: 1.6; font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(6, 11, 20, .5);
  color: var(--text);
  min-height: 64px; /* 固定最小高度容纳两行文字，防止切换分区时布局跳动触发 iOS 缩放 */
}
.region-tip::before { font-size: 15px; line-height: 1; flex: 0 0 auto; }

/* 正向：稳定接码、成功率高 → 绿色 */
.region-tip.ok {
  color: #9df3cd;
  background: rgba(52, 211, 153, .10);
  border-color: rgba(52, 211, 153, .32);
  border-left: 3px solid var(--green);
}
.region-tip.ok::before { content: '✓'; color: var(--green); font-weight: 700; }

/* 警示：成功率不稳定 → 琥珀色 */
.region-tip.warn {
  color: #ffe0a3;
  background: rgba(251, 191, 36, .09);
  border-color: rgba(251, 191, 36, .30);
  border-left: 3px solid var(--amber);
}
.region-tip.warn::before { content: '!'; color: var(--amber); font-weight: 800; }

/* 错误态：红色 */
.region-tip.err {
  color: #ffb4c0;
  background: rgba(251, 113, 133, .09);
  border-color: rgba(251, 113, 133, .3);
  border-left: 3px solid var(--red);
}
.region-tip.err::before { content: '✕'; color: var(--red); font-weight: 700; }

/* 卡片：玻璃拟态 */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(4, 8, 18, .4), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 10px; letter-spacing: .5px; }

.row { display: flex; gap: 10px; }

.input {
  flex: 1; min-width: 0;
  background: rgba(6, 11, 20, .7);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.input:focus {
  border-color: var(--accent);
  background: rgba(6, 11, 20, .9);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .14), 0 0 18px rgba(34, 211, 238, .12);
}
.code-input { letter-spacing: 3px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; text-transform: uppercase; }
.input::placeholder { color: #55637d; letter-spacing: normal; font-family: inherit; }

/* 按钮 */
.btn {
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 26px;
  font-size: 15px; font-weight: 650;
  cursor: pointer;
  transition: transform .08s, filter .15s, background .15s, box-shadow .18s, border-color .15s;
  white-space: nowrap;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04121a;
  box-shadow: 0 4px 18px rgba(34, 211, 238, .35), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn.primary:hover:not(:disabled) { filter: brightness(1.12); box-shadow: 0 6px 24px rgba(34, 211, 238, .5); }
.btn.ghost { background: rgba(94, 129, 180, .08); border-color: var(--line); color: var(--muted); }
.btn.ghost:hover:not(:disabled) { color: var(--text); border-color: var(--line-strong); background: rgba(94, 129, 180, .14); }
.btn.small { padding: 6px 12px; font-size: 12px; border-radius: 8px; }

/* 提示 */
.msg { margin: 12px 0 0; font-size: 13px; min-height: 18px; line-height: 1.5; }
.msg.err { color: var(--red); }
.msg.ok { color: var(--accent); }
.msg.load { color: var(--blue); }
.hint { margin: 12px 0 0; font-size: 12px; color: var(--muted); line-height: 1.6; }

/* 结果 */
.result { border-color: rgba(34, 211, 238, .32); box-shadow: 0 8px 34px rgba(4, 8, 18, .45), 0 0 30px rgba(34, 211, 238, .06); }
.result-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.result-head .label { margin-bottom: 0; }

/* 勿刷新提醒条：等待验证码时高度醒目，拿到后转为平静状态 */
.no-refresh {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 15px;
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nr-icon {
  flex: 0 0 auto;
  font-size: 19px; line-height: 1.35;
  font-weight: 700;
}
.nr-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nr-text strong { font-size: 14.5px; font-weight: 700; line-height: 1.45; letter-spacing: .2px; }
.nr-text span { font-size: 12px; line-height: 1.55; opacity: .85; }

/* 危险态：红橙警示 + 呼吸辉光，第一眼就能注意到 */
.no-refresh.waiting {
  background: linear-gradient(135deg, rgba(251, 113, 133, .16), rgba(251, 191, 36, .10));
  border-color: rgba(251, 113, 133, .55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  animation: nrGlow 2s ease-in-out infinite;
}
.no-refresh.waiting .nr-icon { color: var(--red); animation: nrShake 2.4s ease-in-out infinite; }
.no-refresh.waiting .nr-text strong { color: #ffc2cb; }
.no-refresh.waiting .nr-text span { color: #f7b6c0; }

@keyframes nrGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(251, 113, 133, 0), inset 0 1px 0 rgba(255,255,255,.06); }
  50%      { box-shadow: 0 0 22px rgba(251, 113, 133, .30), inset 0 1px 0 rgba(255,255,255,.06); }
}
/* 图标轻微摆动，强化「注意」但不刺眼 */
@keyframes nrShake {
  0%, 86%, 100% { transform: rotate(0deg); }
  88% { transform: rotate(-9deg); }
  91% { transform: rotate(9deg); }
  94% { transform: rotate(-6deg); }
  97% { transform: rotate(0deg); }
}

/* 安全态：验证码已到手，转为绿色平静提示 */
.no-refresh.safe {
  background: rgba(52, 211, 153, .08);
  border-color: rgba(52, 211, 153, .30);
}
.no-refresh.safe .nr-icon { color: var(--green); }
.no-refresh.safe .nr-text strong { color: var(--green); }
.no-refresh.safe .nr-text span { color: var(--muted); }

/* 尊重用户的「减少动态效果」系统设置 */
@media (prefers-reduced-motion: reduce) {
  .no-refresh.waiting, .no-refresh.waiting .nr-icon { animation: none; }
}

.phone-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.phone-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(6, 11, 20, .62);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px 16px;
  transition: border-color .18s, box-shadow .18s;
}
.phone-item.main {
  border-color: rgba(34, 211, 238, .42);
  background: linear-gradient(135deg, rgba(34, 211, 238, .08), rgba(99, 102, 241, .06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 0 20px rgba(34, 211, 238, .07);
}
.phone-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 26px; font-weight: 700; letter-spacing: 1.5px; color: var(--accent);
  word-break: break-all;
  text-shadow: 0 0 16px rgba(34, 211, 238, .4);
}
.phone-item:not(.main) .phone-num { font-size: 18px; color: var(--text); text-shadow: none; }
.phone-sub { font-size: 12px; color: var(--muted); margin-top: 4px; font-family: inherit; letter-spacing: 0; }
/* 美国分区重复发放号码的风险提示 */
.phone-warn {
  font-size: 12px; color: var(--amber); margin-top: 6px;
  line-height: 1.5; font-family: inherit; letter-spacing: 0;
}

/* 号码下方的操作引导提示 */
.phone-guide {
  margin: 12px 0 0;
  padding: 12px 15px;
  font-size: 13px;
  line-height: 1.7;
  color: #ffe3a3;
  background: linear-gradient(135deg, rgba(251, 191, 36, .10), rgba(251, 191, 36, .04));
  border: 1px solid rgba(251, 191, 36, .28);
  border-left: 3px solid var(--amber);
  border-radius: 10px;
}
.phone-guide::before {
  content: '💡';
  margin-right: 7px;
}

.countdown { font-size: 12px; color: var(--amber); font-variant-numeric: tabular-nums; }
.countdown.expired { color: var(--red); }

.meta { margin-top: 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.meta div { background: rgba(6, 11, 20, .62); border: 1px solid var(--line); border-radius: 9px; padding: 9px 11px; }
.meta span { display: block; font-size: 11px; color: var(--muted); letter-spacing: .3px; }
.meta strong { font-size: 13px; font-weight: 650; word-break: break-all; color: var(--text); }

/* 验证码 */
.otp-box { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.otp-state { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.otp-state.waiting { color: var(--amber); }
.otp-state.done { color: var(--accent); }
.otp-state.err { color: var(--red); }

.otp-list { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.otp-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(6, 11, 20, .62);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 14px 16px;
  transition: border-color .18s, box-shadow .18s;
}
.otp-item.filled {
  border-color: rgba(52, 211, 153, .45);
  background: linear-gradient(135deg, rgba(52, 211, 153, .10), rgba(34, 211, 238, .05));
  box-shadow: 0 0 20px rgba(52, 211, 153, .08);
}
.otp-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 30px; font-weight: 750; letter-spacing: 5px; color: var(--green);
  word-break: break-all; line-height: 1.2;
  text-shadow: 0 0 18px rgba(52, 211, 153, .45);
}
.otp-empty {
  font-size: 14px; color: var(--muted); font-family: inherit; letter-spacing: 0; font-weight: 400;
}
.otp-sub { font-size: 12px; color: var(--muted); margin-top: 5px; line-height: 1.5; word-break: break-all; }
/* 等待期间透传的上游轻提示（如「未收到短信」） */
.otp-notice { font-size: 12px; color: var(--muted); }

.otp-waiting {
  display: flex; align-items: center; gap: 9px;
  margin-top: 14px; padding: 13px 16px;
  background: rgba(6, 11, 20, .55); border: 1px dashed var(--line-strong); border-radius: 11px;
  color: var(--muted); font-size: 13px;
}
.dot-pulse { display: inline-flex; gap: 4px; }
.dot-pulse i {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 8px rgba(34, 211, 238, .6);
  animation: pulse 1.2s ease-in-out infinite;
}
.dot-pulse i:nth-child(2) { animation-delay: .2s; }
.dot-pulse i:nth-child(3) { animation-delay: .4s; }
@keyframes pulse { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }

/* 参数面板 */
.toggle {
  width: 100%; background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 12px; letter-spacing: .4px;
}
.toggle:hover { color: var(--text); }
.chev { transition: transform .2s; }
.toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }

.adv { margin-top: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.field input[type="text"], .field input[type="number"], .field select {
  width: 100%; background: rgba(6, 11, 20, .7); border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 10px; color: var(--text); font-size: 14px; outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 238, .12); }
.field.check { display: flex; align-items: flex-end; }
.field.check label { display: flex; align-items: center; gap: 8px; margin: 0 0 9px; cursor: pointer; color: var(--text); font-size: 14px; }
.field.check input { width: 16px; height: 16px; accent-color: var(--accent); }

/* 历史 */
.hist { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; max-height: 240px; overflow-y: auto; }
.empty { margin: 0; color: var(--muted); font-size: 13px; text-align: center; padding: 8px 0; }
.hrow {
  display: flex; align-items: center; gap: 10px;
  background: rgba(6, 11, 20, .55); border: 1px solid var(--line);
  border-radius: 9px; padding: 8px 12px; font-size: 13px;
  transition: border-color .18s;
}
.hrow:hover { border-color: var(--line-strong); }
.hrow time { color: var(--muted); font-size: 12px; flex: 0 0 auto; }
.hrow .hphone {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--accent); flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hrow .htag { color: var(--muted); font-size: 12px; flex: 0 0 auto; }

.foot {
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(14, 20, 34, .6), rgba(8, 12, 22, .8));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 28px 24px;
}
.foot-brand { max-width: 260px; }
.foot-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.foot-tagline {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}
.foot-cols {
  display: flex;
  gap: 48px;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col-title {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 650;
  color: var(--text);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.foot-col-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease;
}
.foot-col-link:hover { color: var(--accent); }
.foot-bottom {
  padding: 14px 28px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: #55637d;
  text-align: center;
  letter-spacing: .3px;
}

.hidden { display: none !important; }

.spin {
  display: inline-block; width: 13px; height: 13px; vertical-align: -2px; margin-right: 7px;
  border: 2px solid rgba(34, 211, 238, .3); border-top-color: var(--accent);
  border-radius: 50%; animation: sp .7s linear infinite;
}
@keyframes sp { to { transform: rotate(360deg); } }

@media (max-width: 520px) {
  .wrap { padding: 22px 14px 36px; }
  .hero { padding: 44px 18px 36px; margin-bottom: 26px; border-radius: 18px; }
  .hero-sub { font-size: 13.5px; margin-bottom: 26px; }
  .hero-badge { font-size: 10px; letter-spacing: 3px; padding: 5px 16px; }
  .hero-services { gap: 10px; margin-bottom: 22px; }
  .hs-item { padding: 11px 18px; gap: 9px; border-radius: 11px; }
  .hs-label { font-size: 13px; }
  .hs-dot { width: 6px; height: 6px; }
  .hero-tags { gap: 8px; }
  .ht-tag { font-size: 11px; padding: 4px 10px; }
  .services { grid-template-columns: 1fr; gap: 12px; margin-bottom: 22px; }
  .service-card { padding: 18px; gap: 12px; }
  .sc-icon { width: 38px; height: 38px; border-radius: 10px; }
  .sc-icon svg { width: 18px; height: 18px; }
  .sc-title { font-size: 14px; }
  .sc-desc { font-size: 11.5px; }
  .banner { padding: 16px; }
  .banner-title { font-size: 15px; }
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 12px 0; }
  .price-value { font-size: 17px; }
  .row { flex-direction: column; }
  .btn.primary { width: 100%; }
  .phone-num { font-size: 21px; }

  /* 页脚移动端：纵向堆叠 */
  .foot-inner { flex-direction: column; gap: 24px; padding: 24px 20px 20px; }
  .foot-brand { max-width: none; }
  .foot-cols { gap: 32px; }
  .foot-bottom { padding: 12px 20px; font-size: 11px; }

  /* 三个分区在窄屏下压缩间距与字号，保证「安哥拉」三字不被截断 */
  .app-tabs { gap: 8px; }
  .app-tab { padding: 9px 14px; gap: 8px; border-radius: 11px; }
  .at-icon { width: 18px; height: 18px; }
  .at-icon svg { width: 16px; height: 16px; }
  .at-name { font-size: 13px; }

  .region-tabs { gap: 7px; }
  .region-tab { padding: 10px 8px; gap: 7px; border-radius: 11px; }
  .rt-flag { font-size: 18px; }
  .rt-name { font-size: 13px; letter-spacing: 0; }
  .rt-desc { font-size: 10px; }
}

/* 极窄屏（小屏手机）：分区标签改为竖排文字，避免国旗与文字横向挤压 */
@media (max-width: 380px) {
  .region-tab { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
  .rt-text { align-items: center; }
  .rt-desc { display: none; }
  .rt-tag { display: none; }
}

/* ==================== 导航栏响应式 ==================== */
/* 七个菜单项 + 品牌名在窄屏放不下，折叠为汉堡菜单 */
@media (max-width: 860px) {
  .nav-inner { height: 54px; gap: 10px; }
  .nav-burger { display: flex; }

  .nav-menu {
    position: absolute;
    top: 54px;
    left: 12px; right: 12px;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(10, 16, 28, .97);
    box-shadow: 0 16px 42px rgba(4, 8, 18, .62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-link { padding: 12px 14px; border-radius: 10px; font-size: 14px; }

  /* 竖排时指示条改为左侧竖线 */
  .nav-link.active::after {
    left: 4px; right: auto;
    top: 10px; bottom: 10px;
    width: 2px; height: auto;
  }

  .view { scroll-margin-top: 66px; }
}

/* 品牌名在更窄屏隐藏，只留 logo */
@media (max-width: 400px) {
  .nav-inner { padding: 0 14px; }
  .nav-menu { left: 8px; right: 8px; }
}

/* ==================== 短信接码：移动端布局 ==================== */
/* 窄屏下服务导航移到顶部，横向排列 */
@media (max-width: 768px) {
  .sms-layout {
    flex-direction: column;
    gap: 16px;
  }

  .sms-sidebar {
    flex: none;
    width: 100%;
    position: static;
  }

  .sms-sidebar-head {
    margin-bottom: 10px;
    padding: 12px 14px;
  }

  .sms-logo {
    width: 36px; height: 36px;
  }

  .sms-sidebar-title {
    font-size: 14px;
  }

  .sms-sidebar-sub {
    font-size: 11px;
  }

  /* 服务按钮改为横向滚动或 2x2 网格 */
  .sms-service-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .sms-service {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
    padding: 10px 12px;
    font-size: 16px; /* iOS 防止点击自动缩放 */
  }

  .ss-icon {
    width: 18px; height: 18px;
  }

  .ss-icon svg {
    width: 16px; height: 16px;
  }

  .ss-name {
    font-size: 14px;
  }

  /* 分区卡片在移动端也调整 */
  .region-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .region-tab {
    padding: 10px 8px;
    font-size: 16px; /* iOS 防止点击自动缩放 */
  }

  .rt-flag {
    font-size: 18px;
  }

  .rt-name {
    font-size: 14px;
  }

  .rt-tag {
    font-size: 11px;
  }

  .rt-desc {
    font-size: 12px;
  }

  /* 输入框和按钮字体至少 16px，防止 iOS 点击自动缩放 */
  .input {
    font-size: 16px;
  }

  .btn {
    font-size: 16px;
  }
}

/* 尊重系统的「减少动效」偏好 */
@media (prefers-reduced-motion: reduce) {
  .view { animation: none; }
  .nav-menu, .nav-link, .nav-burger span, .nav-burger { transition: none; }
}
