/* ==============================
   全站深色主题样式（Dark Theme）
   设计目标：简洁、专业，类似 tigstocks 的暗色风格
   颜色约定：
   - 背景：#0B1220 / #0E1628 / #111827
   - 文本：#E5E7EB（主） #9CA3AF（次）
   - 强调色（按钮/状态）：WhatsApp 绿色 #25D366
   ============================== */

/* 基础设置 */
:root {
  --bg-body: #0B1220;
  --bg-elev: #0E1628;
  --bg-card: #111827;
  --text-primary: #E5E7EB;
  --text-secondary: #9CA3AF;
  --accent: #25D366;    /* WhatsApp 绿色 */
  --accent-hover: #1ebe5d;
  --border: #1F2937;
  --shadow: 0 10px 30px rgba(0,0,0,0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body.site-body {
  margin: 0;
  font-family: Inter, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================
   Header
   ============================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 20px;
}
.brand-logo {
  font-size: 20px; font-weight: 700; letter-spacing: 0.3px;
}
.nav {
  display: flex; align-items: center; gap: 16px;
}
.nav-link {
  font-size: 14px; color: var(--text-secondary);
  padding: 8px 10px; border-radius: 8px;
  transition: color .2s ease, background-color .2s ease;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-link-primary {
  border: 1px solid var(--accent);
  color: var(--accent);
}
.translate-box {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
}

/* 移动端导航 */
.nav-toggle {
  display: none;
  background: transparent; border: 0; padding: 8px; margin-left: 8px; cursor: pointer;
}
.nav-toggle-bar {
  display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 4px 0;
}

/* ==============================
   Hero Section
   ============================== */
.hero {
  background: radial-gradient(1200px 600px at 10% -10%, rgba(37,211,102,0.08), transparent 50%),
              radial-gradient(900px 500px at 90% 10%, rgba(59,130,246,0.08), transparent 40%),
              linear-gradient(180deg, #0B1220 0%, #0E1628 60%, #0B1220 100%);
  border-bottom: 1px solid var(--border);
}
.hero-content {
  max-width: 960px; margin: 0 auto; padding: 120px 20px 90px;
  text-align: center;
}
.hero-title {
  font-size: 40px; line-height: 1.15; margin: 0 0 16px; letter-spacing: .2px;
}
.hero-subtitle {
  font-size: 18px; color: var(--text-secondary); margin: 0 auto 28px; max-width: 760px;
}
.hero-note {
  margin-top: 14px; font-size: 12px; color: var(--text-secondary);
}

/* ==============================
   Buttons
   ============================== */
.button {
  display: inline-block; cursor: pointer; user-select: none;
  border-radius: 10px; padding: 12px 20px; font-weight: 700; font-size: 16px;
  border: 1px solid transparent; transition: transform .05s ease, background .2s, border-color .2s;
  box-shadow: var(--shadow);
}
.button:active { transform: translateY(1px); }
.button-primary {
  background: var(--accent); color: #0b0f14; border-color: rgba(255,255,255,0.12);
}
.button-primary:hover { background: var(--accent-hover); }
.button-lg { padding: 14px 26px; font-size: 18px; }

/* ==============================
   About Section
   ============================== */
.about {
  padding: 72px 0;
  background: var(--bg-body);
}
.section-title {
  font-size: 28px; margin: 0 0 12px; text-align: center;
}
.section-intro {
  color: var(--text-secondary); text-align: center; max-width: 860px; margin: 0 auto 28px;
}
.bullet-points {
  list-style: none; padding: 0; margin: 0 auto; max-width: 720px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px;
}
.bullet-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px; color: var(--text-primary);
}

/* ==============================
   Services Section
   ============================== */
.services {
  padding: 72px 0;
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.service-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
  box-shadow: var(--shadow);
}
.service-title { font-size: 18px; margin: 0 0 8px; }
.service-text { color: var(--text-secondary); margin: 0; }

@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* ==============================
   CTA Section
   ============================== */
.cta {
  padding: 84px 0;
  background: linear-gradient(180deg, #0B1220, #0E1628);
}
.cta-container {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cta-content { max-width: 720px; }
.cta-title { font-size: 28px; margin: 0 0 10px; }
.cta-text { color: var(--text-secondary); margin: 0 0 10px; }

@media (max-width: 860px) {
  .cta-container { flex-direction: column; text-align: center; }
}

/* ==============================
   Footer
   ============================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0B1220;
}
.footer-container { padding: 20px; text-align: center; }
.legal { color: var(--text-secondary); margin: 4px 0; }
copyright, .copyright { color: var(--text-secondary); margin: 4px 0; }

/* ==============================
   Google Translate 微调（可选）
   注：Google 可能随时间调整其 DOM 结构，以下样式仅作轻量美化
   ============================== */
#google_translate_element select {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 6px;
  outline: none;
}
.goog-te-gadget-simple {
  background: transparent !important;
  border: 0 !important;
}
.goog-te-gadget img { display: none; }

/* ==============================
   辅助（Utility）
   ============================== */
.hidden { display: none !important; }
