/* ============ 基础重置 ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-primary: #0066CC;
  --color-primary-hover: #0052a3;
  --color-whatsapp: #25D366;
  --color-dark: #0a0a0a;
  --color-text: #1a1a1a;
  --color-text-light: #666;
  --color-border: #e5e5e5;
  --color-bg: #ffffff;
  --color-bg-light: #f7f7f7;
  --container-max: 1280px;
  --nav-height: 72px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ============ 导航栏 ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-logo svg { width: 32px; height: 32px; }

.nav-logo-text .brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  padding: 4px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-menu a:hover { color: var(--color-primary); }

.nav-menu a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--color-primary);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
}

.lang-switch .divider { color: var(--color-border); }
.lang-switch a { color: var(--color-text-light); }
.lang-switch a.active { color: var(--color-text); font-weight: 600; }

.nav-icon-btn {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.nav-icon-btn:hover { color: var(--color-primary); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--color-primary);
  color: #fff;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--color-primary-hover); }

.nav-cta.whatsapp { background: var(--color-whatsapp); }
.nav-cta.whatsapp:hover { background: #1ebe5b; }

.hamburger {
  display: none;
  width: 24px;
  height: 24px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 99;
  overflow-y: auto;
  padding: 24px;
}

.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--color-border); }
.mobile-menu a { display: block; padding: 16px 0; font-size: 16px; font-weight: 500; }

.mobile-menu .mobile-tools {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
}

.mobile-menu .nav-cta { justify-content: center; padding: 14px 20px; font-size: 15px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); }

.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; }

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* ============ 页面标题横幅（内页共用） ============ */
.page-hero {
  background: var(--color-dark);
  color: #fff;
  padding: 80px 0 64px;
  text-align: center;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto;
}

/* ============ 内容区（内页共用） ============ */
.page-section {
  padding: 80px 0;
}

.page-section.alt {
  background: var(--color-bg-light);
}

.placeholder-box {
  background: var(--color-bg-light);
  border: 2px dashed var(--color-border);
  border-radius: 12px;
  padding: 60px 24px;
  text-align: center;
  color: var(--color-text-light);
  font-size: 15px;
}

/* ============ 页脚 ============ */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { transition: color 0.2s; }
.footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-tools .lang-switch,
  .nav-tools .nav-icon-btn.search,
  .nav-tools .nav-cta { display: none; }
  .hamburger { display: flex; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .page-hero { padding: 56px 0 48px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 15px; }
  .page-section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 24px; font-size: 14px; }
} .nav-logo-img {   height: 40px;   width: auto;   display: block; }
