/* T-TEAMS 品牌总站 · 样式
   token 沿用各产品站的 --ink / --brand 体系，总站用中性深色 + 产品色作点缀 */
:root {
  --ink: #12181f;
  --ink-2: #2c3540;
  --muted: #5b6774;
  --line: #e4e9ef;
  --bg: #ffffff;
  --soft: #f6f8fb;
  --radius: 14px;
  --wrap: 1120px;
  --shadow: 0 1px 2px rgba(18, 24, 31, .05), 0 8px 24px rgba(18, 24, 31, .06);
  --shadow-lg: 0 2px 6px rgba(18, 24, 31, .06), 0 18px 44px rgba(18, 24, 31, .10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, #334155, #0f172a);
  color: #fff; font-weight: 700; font-size: 16px;
  display: grid; place-items: center; flex: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .28);
  letter-spacing: -.5px;
}
.mark.sm { width: 26px; height: 26px; border-radius: 7px; font-size: 13px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 15px; letter-spacing: .3px; }
.brand-text em { font-style: normal; font-size: 11.5px; color: var(--muted); letter-spacing: .3px; }

/* ---------- 语言菜单 ---------- */
.lang-menu { position: relative; margin-inline-start: auto; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none;
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 11px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: #fff;
  white-space: nowrap;
}
.lang-btn::-webkit-details-marker { display: none; }
.lang-btn:hover { background: var(--soft); }
.lang-btn .globe { font-size: 13px; line-height: 1; }
.lang-menu[open] .lang-btn { background: var(--soft); }
.lang-list {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 34px rgba(18, 24, 31, .16); padding: 8px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  width: 320px; max-height: 62vh; overflow: auto;
}
.lang-list a {
  display: block; padding: 7px 10px; border-radius: 7px; font-size: 13px;
  color: var(--ink-2); white-space: nowrap;
}
.lang-list a:hover { background: var(--soft); color: var(--ink); }
.lang-list a[aria-current="page"] {
  background: #eef2f7; color: var(--ink); font-weight: 600;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(1000px 420px at 15% -10%, #eef2f7 0%, transparent 62%),
    radial-gradient(760px 380px at 92% 0%, #f1f5f9 0%, transparent 58%),
    #fff;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(18,24,31,.035) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(18,24,31,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 30% 30%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 30% 30%, #000 0%, transparent 72%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.22;
  letter-spacing: -.9px;
  font-weight: 750;
  max-width: 20ch;
}
.lead {
  margin: 0;
  font-size: clamp(15px, 1.35vw, 17.5px);
  color: var(--ink-2);
  max-width: 58ch;
}
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 26px 0 0; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; font-size: 12.5px; color: var(--ink-2); font-weight: 500;
}
.live {
  width: 7px; height: 7px; border-radius: 50%;
  background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .16);
  flex: none;
}

/* ---------- 产品网格 ---------- */
.grid-sec { padding: 64px 0 72px; background: var(--soft); }
.sec {
  margin: 0 0 26px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--muted);
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(318px, 1fr));
  gap: 18px;
}
.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 24px 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0;
  width: 100%; height: 3px; background: var(--tint);
  opacity: .85;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #d7dee7;
}
.card-top {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 14px; font-size: 11.5px;
}
.dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--tint);
  box-shadow: 0 0 0 3.5px color-mix(in srgb, var(--tint) 15%, transparent);
}
.kicker {
  color: var(--muted); font-weight: 600; letter-spacing: .4px;
}
.badge {
  margin-inline-start: auto;
  padding: 2px 9px; border-radius: 999px;
  background: color-mix(in srgb, var(--tint) 9%, #fff);
  color: color-mix(in srgb, var(--tint) 82%, #000);
  font-weight: 700; font-size: 11px; white-space: nowrap;
}
.card h3 {
  margin: 0 0 9px;
  font-size: 18.5px; line-height: 1.35; letter-spacing: -.25px;
  font-weight: 700;
}
.card p {
  margin: 0 0 18px;
  font-size: 13.8px; line-height: 1.72; color: var(--muted);
}
.go {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 650;
  color: color-mix(in srgb, var(--tint) 88%, #000);
}
.go b {
  font-weight: 400;
  transition: transform .16s ease;
}
.card:hover .go b { transform: translateX(3px); }

/* ---------- 页脚 ---------- */
footer {
  background: var(--ink);
  color: #c8d1db;
  padding: 46px 0 52px;
}
.foot-brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-size: 14px; letter-spacing: .3px;
  margin-bottom: 14px;
}
.foot-brand .mark.sm {
  background: rgba(255, 255, 255, .12);
  box-shadow: none;
}
.foot-note {
  margin: 0 0 18px; max-width: 60ch;
  font-size: 13px; line-height: 1.75; color: #93a0ae;
}
.copy {
  margin: 0; font-size: 12px; color: #6b7885; letter-spacing: .2px;
}
.ver {
  margin-inline-start: 10px; padding: 1px 7px; border-radius: 5px;
  background: rgba(255, 255, 255, .07); color: #8b98a5;
  font-size: 11px; font-variant-numeric: tabular-nums;
}

/* ---------- RTL / 移动端 ---------- */
html[dir="rtl"] body {
  font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Noto Sans Arabic", sans-serif;
}
html[dir="rtl"] .card:hover .go b { transform: translateX(-3px); }

@media (max-width: 720px) {
  .hero { padding: 56px 0 50px; }
  .hero h1 { max-width: none; letter-spacing: -.4px; }
  .grid { grid-template-columns: 1fr; }
  .grid-sec { padding: 46px 0 54px; }
  .lang-list { width: min(320px, calc(100vw - 48px)); }
  .nav-inner { height: 62px; }
}
