/* ===================================================================
   Bit7s Portal Homepage — light theme (ref: short.io)
   Primary blue / light surfaces / card-based sections
   =================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--c-text);
  background: #fff;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --bit7s-blue: #2563eb;
  --bit7s-blue-dark: #1d4ed8;
  --bit7s-blue-soft: #eff6ff;
  --bit7s-dark: #0f172a;
  --c-text: #0f172a;
  --bit7s-gray: #64748b;
  --bit7s-light-gray: #f8fafc;
  --bit7s-border: #e2e8f0;
}

/* ==================== Header（浅色，参考 short.io） ==================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 48px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--bit7s-border);
}
.logo {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--bit7s-blue);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo-img {
  height: 34px;
  width: auto;
  border-radius: 8px;
}
nav ul { display: flex; gap: 28px; }
nav a {
  color: #334155;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}
nav a:hover { color: var(--bit7s-blue); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn-app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #16a34a;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-app:hover { background: #15803d; color: #fff; }
@media (max-width: 768px) {
  header { padding: 12px 12px; }
  .logo { font-size: 1.25rem; gap: 6px; }
  .logo-img { height: 26px; }
  .nav-actions { gap: 6px; }
  .btn-app { padding: 8px 9px; }
  .btn-app span { display: none; }
  .btn-quote, .btn-primary { padding: 8px 8px; font-size: 0.8rem; }
  .lang-btn { padding: 5px 6px; }
  .lang-chevron { display: none; }
}
.btn-primary {
  padding: 10px 24px;
  background: var(--bit7s-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--bit7s-blue-dark); }
.btn-outline {
  padding: 10px 24px;
  background: transparent;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: var(--bit7s-blue); color: var(--bit7s-blue); }
.btn-quote {
  padding: 10px 24px;
  background: transparent;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-quote:hover { border-color: var(--bit7s-blue); color: var(--bit7s-blue); }

/* ===== Language Switcher（浅色适配） ===== */
.lang-switcher { position: relative; margin-right: 4px; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.lang-btn:hover { border-color: var(--bit7s-blue); color: var(--bit7s-blue); }
.lang-flag { font-size: 1.1rem; line-height: 1; }
.lang-chevron { opacity: 0.6; transition: transform 0.2s; }
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--bit7s-border);
  border-radius: 10px;
  padding: 6px 0;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  z-index: 1001;
  max-height: 320px;
  overflow-y: auto;
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 14px;
  background: transparent;
  color: #334155;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s;
  text-align: left;
}
.lang-option:hover { background: var(--bit7s-light-gray); color: var(--bit7s-dark); }
.lang-option.active { background: var(--bit7s-blue-soft); color: var(--bit7s-blue); }
.lang-option .lang-flag { font-size: 1.1rem; }

@media (max-width: 768px) {
  .lang-btn { padding: 6px 8px; font-size: 0.8rem; }
  .lang-current-label { display: none; }
  .lang-dropdown { min-width: 150px; }
}

/* ==================== Hero（参考 short.io：左文右卡两栏布局） ==================== */
.hero {
  position: relative;
  padding: 72px 20px 64px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(37, 99, 235, 0.07) 0%, transparent 70%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

/* ---- 左栏：文案 ---- */
.hero-left { text-align: left; }
.hero-badge {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bit7s-blue);
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}
/* 永久免费宣传胶囊（后台开关开启时显示） */
.hero-forever-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 6px 14px;
  margin-bottom: 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #15803d;
  letter-spacing: 0.2px;
}
.hero-forever-pill[hidden] { display: none; }
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: var(--bit7s-dark);
  margin-bottom: 20px;
}
.hero-title .hero-h1a,
.hero-title .hero-h1b { display: block; }
.hero-title .hero-h1b { color: var(--bit7s-blue); }
.hero-sub {
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 560px;
  color: var(--bit7s-gray);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--bit7s-blue);
  color: #fff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, 0.55);
}
.btn-hero-primary:hover {
  background: var(--bit7s-blue-dark);
  transform: translateY(-1px);
}
.btn-hero-primary svg { transition: transform 0.2s; }
.btn-hero-primary:hover svg { transform: translateX(3px); }
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: #fff;
  color: var(--bit7s-dark);
  border: 1px solid var(--bit7s-border);
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
}
.btn-hero-ghost:hover { border-color: var(--bit7s-blue); color: var(--bit7s-blue); }
.hero-trust ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 500;
}
.hero-trust li svg { width: 16px; height: 16px; color: #16a34a; flex-shrink: 0; }
.hero-trust li svg polyline { stroke: currentColor; fill: none; }

/* 星级评价行（参考 short.io Trustpilot 行布局） */
.hero-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.95rem;
  color: #475569;
  font-weight: 500;
}
.hr-stars {
  color: #16a34a;
  font-size: 1.1rem;
  letter-spacing: 3px;
  line-height: 1;
}

/* ---- 右栏：缩链卡片 ---- */
.hero-right { min-width: 0; }
.shortener-container {
  width: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px -18px rgba(15, 23, 42, 0.18), 0 0 0 1px var(--bit7s-border);
}
.tab-content { padding: 28px; }

.sc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.sc-head-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--bit7s-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sc-head h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bit7s-dark);
}

/* 分离式输入框 + 独立按钮（参考 short.io 截图布局） */
.shortener {
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.shortener input[type="url"] {
  flex: 1;
  padding: 15px 18px;
  border: 2px solid var(--bit7s-border);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--bit7s-dark);
  background: #fff;
  outline: none;
  min-width: 0;
  transition: border-color 0.2s;
}
.shortener input[type="url"]:focus { border-color: var(--bit7s-blue); }
.shortener input[type="url"]::placeholder { color: #94a3b8; }
.shortener button {
  padding: 0 24px;
  border: none;
  border-radius: 12px;
  background: var(--bit7s-blue);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.shortener button:hover { background: var(--bit7s-blue-dark); }
.shortener button:disabled { opacity: 0.6; cursor: not-allowed; }

/* 常驻结果框（参考 short.io「您的短链」框） */
.sc-result {
  margin-top: 16px;
  padding: 16px 18px;
  background: var(--bit7s-light-gray);
  border: 1px solid var(--bit7s-border);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.sc-result.has-link {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.sc-result-label {
  font-size: 0.85rem;
  color: var(--bit7s-gray);
  margin-bottom: 8px;
}
.sc-result-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sc-result-url {
  flex: 1;
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--bit7s-blue);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sc-result-url:hover { text-decoration: underline; }
.sc-result-url.placeholder {
  color: #94a3b8;
  font-weight: 500;
}
.sc-result-url.placeholder:hover { text-decoration: none; }
.btn-copy-sm {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid var(--bit7s-border);
  background: #fff;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}
.btn-copy-sm:hover { border-color: var(--bit7s-blue); color: var(--bit7s-blue); }
.btn-copy-sm.copied { border-color: #22c55e; color: #16a34a; }
.sc-result-error {
  margin-top: 8px;
  font-size: 0.88rem;
  color: #dc2626;
  font-weight: 500;
}

.sc-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--bit7s-border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--bit7s-gray);
}
.sc-globe { color: #94a3b8; flex-shrink: 0; }
.domain-cta {
  color: var(--bit7s-blue);
  font-weight: 600;
}
.domain-cta:hover { text-decoration: underline; }

.shortener-result {
  margin-top: 20px;
  padding: 20px;
  background: var(--bit7s-light-gray);
  border-radius: 12px;
  display: none;
}
.shortener-result.show { display: block; }
.shortener-result.success {
  background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
  border: 1px solid #86efac;
}
.shortener-result.error {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 1px solid #fca5a5;
}
.result-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.result-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}
.result-icon.success { background: #22c55e; color: #fff; }
.result-icon.error { background: #ef4444; color: #fff; }
.result-message { font-weight: 600; color: var(--bit7s-dark); }

.result-url { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.result-url input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: var(--bit7s-dark);
  font-size: 0.95rem;
  font-weight: 500;
  outline: none;
}
.result-url input:focus { border-color: var(--bit7s-blue); }
.btn-copy {
  padding: 12px 24px;
  background: var(--bit7s-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-copy:hover { background: var(--bit7s-blue-dark); }
.btn-copy.copied { background: #22c55e; }

/* ---- 特性条（4 个图标+标题+副文字） ---- */
.hero-features {
  max-width: 1200px;
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.hf-item { display: flex; align-items: flex-start; gap: 14px; }
.hf-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--bit7s-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hf-icon svg { width: 22px; height: 22px; }
.hf-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bit7s-dark);
  margin-bottom: 4px;
}
.hf-text p {
  font-size: 0.85rem;
  color: var(--bit7s-gray);
  line-height: 1.5;
}

/* 社会证明条（参考 short.io：使用人群 + 绿色标签） */
.hero-proof {
  max-width: 1200px;
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--bit7s-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--bit7s-gray);
}
.proof-tag {
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  font-size: 0.8rem;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-left { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust ul { justify-content: center; }
  .hero-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hero { padding: 48px 16px 48px; }
  .hero-title { font-size: 2.1rem; }
  .hero-features { grid-template-columns: 1fr; gap: 20px; }
  .shortener button { padding: 0 18px; }
}

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== Section 通用 ==================== */
.section-title {
  text-align: center;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--bit7s-dark);
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  text-align: center;
  color: var(--bit7s-gray);
  font-size: 1.02rem;
  margin-bottom: 48px;
}

/* ==================== 功能网格（参考 short.io 卡片：标题+描述+要点+了解更多） ==================== */
.features { padding: 88px 48px; background: #fff; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  border: 1px solid var(--bit7s-border);
  border-radius: 16px;
  padding: 28px 26px;
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: all 0.2s;
}
.feature-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.fc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.fc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fc-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; }
.fc-icon.blue { background: var(--bit7s-blue-soft); color: var(--bit7s-blue); }
.fc-icon.green { background: #f0fdf4; color: #16a34a; }
.fc-icon.purple { background: #faf5ff; color: #9333ea; }
.fc-icon.orange { background: #fff7ed; color: #ea580c; }
.fc-icon.cyan { background: #ecfeff; color: #0891b2; }
.fc-icon.pink { background: #fdf2f8; color: #db2777; }
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bit7s-dark);
  line-height: 1.3;
}
.fc-desc {
  color: var(--bit7s-gray);
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 14px;
}
.fc-list { margin-bottom: 16px; }
.fc-list li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 0.88rem;
  color: #475569;
  text-align: left;
}
.fc-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 11px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.fc-more {
  margin-top: auto;
  color: var(--bit7s-blue);
  font-weight: 600;
  font-size: 0.9rem;
}
.fc-more:hover { text-decoration: underline; }

/* ==================== 仪表盘预览（CSS mock，参考 short.io 截图区） ==================== */
.preview { padding: 88px 48px; background: var(--bit7s-light-gray); }
.browser-mock {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px -20px rgba(15, 23, 42, 0.25), 0 0 0 1px var(--bit7s-border);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--bit7s-border);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #f87171; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #34d399; }
.url-pill {
  margin-left: 12px;
  background: #fff;
  border: 1px solid var(--bit7s-border);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 0.78rem;
  color: var(--bit7s-gray);
}
.browser-body { display: flex; min-height: 320px; }
.mock-side {
  width: 64px;
  border-right: 1px solid var(--bit7s-border);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fbfdff;
}
.side-item {
  height: 10px;
  border-radius: 5px;
  background: #e2e8f0;
}
.side-item.active { background: var(--bit7s-blue); }
.mock-main { flex: 1; padding: 22px; }
.mock-stats { display: flex; gap: 14px; margin-bottom: 18px; }
.mock-stat {
  flex: 1;
  border: 1px solid var(--bit7s-border);
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
}
.mock-stat i {
  font-style: normal;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--bit7s-dark);
  display: block;
  margin-bottom: 8px;
}
.mock-stat b {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #dbeafe, #eff6ff);
}
.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
  border: 1px solid var(--bit7s-border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 18px;
}
.mock-chart span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
  opacity: 0.85;
}
.mock-rows { display: flex; flex-direction: column; gap: 10px; }
.mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--bit7s-border);
  border-radius: 8px;
  padding: 10px 14px;
}
.mock-row u {
  width: 90px;
  height: 8px;
  border-radius: 4px;
  background: #cbd5e1;
  text-decoration: none;
}
.mock-row em {
  width: 56px;
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
}
.mock-row span {
  flex: 1;
  height: 8px;
  border-radius: 4px;
  width: var(--w, 50%);
  max-width: var(--w, 50%);
  background: #bfdbfe;
}

/* ==================== 团队方案（参考 short.io 3 张团队卡） ==================== */
.teams { padding: 88px 48px; background: #fff; }
.teams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.team-card {
  border: 1px solid var(--bit7s-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: all 0.2s;
}
.team-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.tc-banner {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-banner svg { width: 40px; height: 40px; stroke: #fff; fill: none; }
.tc-blue { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.tc-green { background: linear-gradient(135deg, #34d399 0%, #059669 100%); }
.tc-purple { background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%); }
.team-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bit7s-dark);
  margin: 20px 24px 6px;
}
.team-card p {
  font-size: 0.9rem;
  color: var(--bit7s-gray);
  margin: 0 24px 14px;
  line-height: 1.5;
}
.team-card ul { margin: 0 24px 24px; }
.team-card ul li {
  position: relative;
  padding: 4px 0 4px 22px;
  font-size: 0.88rem;
  color: #475569;
  text-align: left;
}
.team-card ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 11px;
  width: 10px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ==================== 数据带（参考 short.io 13B+/100B+） ==================== */
.stats {
  padding: 64px 48px;
  background: var(--bit7s-dark);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: none;
}
.stat { text-align: center; }
.stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.1;
}
.stat-label {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #94a3b8;
}

/* ==================== 用户评价（参考 short.io ★★★★★） ==================== */
.testimonial {
  padding: 88px 48px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.stars {
  color: #f59e0b;
  font-size: 1.5rem;
  letter-spacing: 6px;
  margin-bottom: 24px;
}
.testimonial blockquote {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--bit7s-dark);
  line-height: 1.6;
  margin-bottom: 20px;
}
.testi-author {
  color: var(--bit7s-gray);
  font-size: 0.95rem;
}

/* ==================== FAQ（参考 short.io 手风琴） ==================== */
.faq { padding: 88px 48px; background: #fff; }
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--bit7s-border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: #bfdbfe; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--bit7s-dark);
  position: relative;
  text-align: left;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--bit7s-blue);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  content: '−';
}
.faq-item p {
  padding: 0 22px 20px;
  color: var(--bit7s-gray);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: left;
}

/* ==================== CTA（参考 short.io 准备好开始了吗） ==================== */
.cta {
  padding: 88px 48px;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  text-align: center;
  color: #fff;
}
.cta h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.cta p {
  color: #94a3b8;
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.btn-lg { padding: 14px 34px; font-size: 1.02rem; border-radius: 10px; }
.btn-outline-light {
  padding: 14px 34px;
  font-size: 1.02rem;
  border-radius: 10px;
  background: transparent;
  color: #e2e8f0;
  border: 1px solid #475569;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline-light:hover { border-color: #94a3b8; color: #fff; }
.cta-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.cta-badges li {
  position: relative;
  padding-left: 22px;
  color: #94a3b8;
  font-size: 0.9rem;
}
.cta-badges li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #34d399;
  font-weight: 700;
}

/* ==================== Footer ==================== */
footer { background: #0f172a; padding: 60px 20px; color: #fff; }
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.footer-col { flex: 1 1 180px; }
.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #fff;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
}

/* ==================== 响应式 ==================== */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .teams-grid { grid-template-columns: 1fr; max-width: 560px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  header { padding: 12px 20px; }
  nav { display: none; }
  .hero { padding: 120px 16px 56px; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .shortener { flex-direction: column; }
  .shortener button { padding: 16px; justify-content: center; }
  .tab-content { padding: 20px 16px; }
  .features { padding: 56px 20px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .preview { padding: 56px 20px; }
  .browser-body { min-height: 260px; }
  .mock-side { display: none; }
  .teams { padding: 56px 20px; }
  .stats { padding: 48px 20px; }
  .stat-num { font-size: 2rem; }
  .testimonial { padding: 56px 20px; }
  .testimonial blockquote { font-size: 1.1rem; }
  .section-title { font-size: 1.55rem; }
  .faq { padding: 56px 20px; }
  .cta { padding: 64px 20px; }
  .cta h2 { font-size: 1.7rem; }
  .plans-info ul { flex-direction: column; gap: 8px; }
}

/* ==================== Solutions Mega Menu（参考 bitly） ==================== */
.has-mega { position: relative; }
.mega-trigger { display: inline-flex; align-items: center; gap: 5px; }
.mega-chevron { opacity: 0.5; transition: transform 0.2s; }
.has-mega:hover .mega-chevron { transform: rotate(180deg); }
.mega {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  width: 920px;
  max-width: calc(100vw - 40px);
  background: #fff;
  border: 1px solid var(--bit7s-border);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  z-index: 1002;
  overflow: hidden;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega { display: flex; }
/* hover 桥接区，防止移动到面板时闪断 */
.mega::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.mega-main {
  flex: 1.7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  padding: 28px 36px 30px;
  align-content: start;
}
.mega-side {
  flex: 1;
  background: var(--bit7s-light-gray);
  border-left: 1px solid var(--bit7s-border);
  padding: 28px 32px 30px;
}
.mega-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #94a3b8;
  margin: 22px 0 10px;
}
.mega-col > .mega-heading:first-child,
.mega-side > .mega-heading:first-child { margin-top: 0; }
.mega-heading.ghost { visibility: hidden; }
.mega-list { display: flex; flex-direction: column; gap: 2px; }
.mega-list a {
  display: block;
  padding: 7px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.15s, color 0.15s;
}
.mega-list a:hover { background: var(--bit7s-blue-soft); color: var(--bit7s-blue); }
.mega-uc { display: flex; flex-direction: column; gap: 2px; }
.mega-uc a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1e293b;
  transition: background 0.15s, color 0.15s;
}
.mega-uc a:hover { background: #fff; color: var(--bit7s-blue); }
.mega-uc svg { color: var(--bit7s-blue); flex: none; }
.mega-why { display: flex; flex-direction: column; gap: 4px; }
.mega-why a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #1e293b;
  padding: 5px 0;
}
.mega-why a:hover { color: var(--bit7s-blue); }

@media (max-width: 1100px) {
  .mega { width: 640px; }
  .mega-main { grid-template-columns: 1fr; }
  .mega-heading.ghost { display: none; }
}
@media (max-width: 768px) {
  .has-mega .mega { display: none !important; }
}
