:root {
  --primary: #0066ff;
  --primary-dark: #0047b3;
  --primary-light: #3d8bff;
  --accent: #00c2ff;
  --gold: #f5a623;
  --dark: #0a1628;
  --dark-soft: #132238;
  --text: #1a1a2e;
  --text-muted: #64748b;
  --border: rgba(15, 23, 42, .08);
  --shadow: 0 8px 32px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, .12);
  --radius: 12px;
  --header-h: 64px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body.home-page {
  font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f7fc;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 22, 40, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(10, 22, 40, .98); box-shadow: 0 4px 24px rgba(0,0,0,.2); }
.header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 20px; font-weight: 700; color: #fff; flex-shrink: 0;
  letter-spacing: .5px;
}
.brand-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff;
}
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-item {
  position: relative; padding: 8px 14px; color: rgba(255,255,255,.82);
  font-size: 14px; cursor: pointer; border-radius: 8px;
  transition: color .2s, background .2s; white-space: nowrap;
}
.nav-item:hover, .nav-item.active { color: #fff; background: rgba(255,255,255,.06); }
.nav-item .badge {
  display: inline-block; margin-left: 4px; padding: 1px 6px;
  font-size: 10px; border-radius: 4px; font-weight: 600;
  background: linear-gradient(90deg, #ff4d4f, #ff7875); color: #fff;
  vertical-align: top; transform: translateY(-2px);
}
.nav-item .badge.rec { background: linear-gradient(90deg, var(--gold), #ffc53d); color: #1a1a2e; }

.mega-panel {
  position: absolute; top: 100%; left: 50%;
  min-width: 720px; padding: 12px 0 0;
  background: transparent; border-radius: 0; box-shadow: none;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s, visibility .25s, transform .25s;
  transform: translateX(-50%) translateY(4px);
  z-index: 1100;
}
.mega-panel::before {
  content: '';
  position: absolute; top: 0; left: -24px; right: -24px;
  height: 14px;
}
.nav-item:hover .mega-panel,
.nav-item.mega-open .mega-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-panel .mega-grid {
  background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 24px;
}
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mega-link {
  display: block; padding: 14px 16px; border-radius: 10px;
  border: 1px solid var(--border); transition: all .2s;
}
.mega-link:hover { border-color: var(--primary-light); background: #f0f7ff; transform: translateY(-2px); }
.mega-link strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.mega-link span { font-size: 12px; color: var(--text-muted); }
.mega-tag {
  display: inline-block; font-size: 10px; padding: 1px 6px; border-radius: 4px;
  margin-left: 6px; font-weight: 600;
}
.mega-tag.hot { background: #fff1f0; color: #ff4d4f; }
.mega-tag.new { background: #e6f4ff; color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-search {
  position: relative; flex: 0 1 220px; min-width: 140px;
}
.header-search input {
  width: 100%; height: 36px; padding: 0 36px 0 14px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 20px;
  background: rgba(255,255,255,.08); color: #fff; font-size: 13px;
  outline: none; transition: all .2s;
}
.header-search input::placeholder { color: rgba(255,255,255,.45); }
.header-search input:focus {
  background: rgba(255,255,255,.14); border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(0,102,255,.25);
}
.header-search .search-icon {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-size: 14px; pointer-events: none; opacity: .6;
}
.search-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  min-width: 320px; background: #fff; border-radius: 12px;
  box-shadow: var(--shadow-lg); max-height: 400px; overflow-y: auto;
  z-index: 1100;
}
.search-dropdown.open { display: block; }
.search-group-title {
  padding: 10px 16px 6px; font-size: 11px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .5px; font-weight: 600;
}
.search-result-item {
  display: block; padding: 10px 16px; border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.search-result-item:hover { background: #f0f7ff; }
.search-result-item strong { display: block; font-size: 14px; color: var(--text); }
.search-result-item span { font-size: 12px; color: var(--text-muted); }
.search-empty { padding: 24px; text-align: center; color: var(--text-muted); font-size: 13px; }

.header-actions a { font-size: 14px; color: rgba(255,255,255,.85); transition: color .2s; }
.header-actions a:hover { color: #fff; }
.btn-header {
  padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 500;
  transition: all .2s;
}
.btn-header.outline { border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-header.outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-header.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; box-shadow: 0 4px 16px rgba(0,102,255,.35);
}
.btn-header.primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,102,255,.45); }

.menu-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

/* ===== Hero Slider ===== */
.hero-slider {
  margin-top: var(--header-h); position: relative; height: 520px;
  overflow: hidden; background: var(--dark);
}
@media (max-width: 768px) { .hero-slider { height: 420px; } }
.slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.slide-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(10,22,40,.92) 0%, rgba(10,22,40,.55) 45%, rgba(0,102,255,.25) 100%);
}
.slide-bg.s1 { background-image: linear-gradient(135deg, #0a1628 0%, #1a3a6e 50%, #0066ff 100%); }
.slide-bg.s2 { background-image: linear-gradient(135deg, #1a0a28 0%, #3a1a6e 50%, #6600ff 100%); }
.slide-bg.s3 { background-image: linear-gradient(135deg, #0a2818 0%, #1a6e3a 50%, #00aa66 100%); }
.slide-bg.s4 { background-image: linear-gradient(135deg, #281a0a 0%, #6e3a1a 50%, #ff6600 100%); }
.slide-content {
  position: relative; z-index: 2; max-width: 1320px; margin: 0 auto;
  padding: 0 24px; width: 100%;
}
.slide-tag {
  display: inline-block; padding: 6px 14px; border-radius: 20px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  color: var(--accent); font-size: 13px; margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.slide h1 {
  font-size: clamp(28px, 4vw, 48px); font-weight: 800; color: #fff;
  line-height: 1.25; margin-bottom: 16px; max-width: 640px;
}
.slide p {
  font-size: clamp(14px, 2vw, 18px); color: rgba(255,255,255,.78);
  max-width: 520px; margin-bottom: 32px; line-height: 1.7;
}
.slide-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-hero {
  padding: 14px 32px; border-radius: 10px; font-size: 15px; font-weight: 600;
  transition: all .25s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; box-shadow: 0 8px 24px rgba(0,102,255,.4);
}
.btn-hero.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,102,255,.5); }
.btn-hero.ghost {
  border: 1px solid rgba(255,255,255,.4); color: #fff;
  backdrop-filter: blur(8px); background: rgba(255,255,255,.06);
}
.btn-hero.ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.35); cursor: pointer; transition: all .3s;
}
.hero-dots button.active { background: #fff; width: 28px; border-radius: 5px; }

.hero-deco {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  width: 380px; height: 380px; opacity: .15; pointer-events: none;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  border-radius: 50%; filter: blur(40px);
}
@media (max-width: 900px) { .hero-deco { display: none; } }

/* ===== Promo Strip ===== */
.promo-strip {
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.promo-inner {
  max-width: 1320px; margin: 0 auto; padding: 16px 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
@media (max-width: 900px) { .promo-inner { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .promo-inner { grid-template-columns: 1fr; } }
.promo-item {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  border-radius: var(--radius); transition: background .2s; cursor: pointer;
}
.promo-item:hover { background: #f8fafc; }
.promo-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.promo-icon.blue { background: linear-gradient(135deg, #e6f4ff, #bae0ff); }
.promo-icon.orange { background: linear-gradient(135deg, #fff7e6, #ffd591); }
.promo-icon.green { background: linear-gradient(135deg, #f6ffed, #b7eb8f); }
.promo-icon.purple { background: linear-gradient(135deg, #f9f0ff, #d3adf7); }
.promo-item strong { display: block; font-size: 14px; color: var(--text); }
.promo-item span { font-size: 12px; color: var(--text-muted); }

/* ===== Sections ===== */
.section { padding: 72px 24px; }
.section-inner { max-width: 1320px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--text);
  margin-bottom: 12px; letter-spacing: -.5px;
}
.section-head p { font-size: 16px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }
.section-head .more-link {
  display: inline-block; margin-top: 16px; color: var(--primary);
  font-size: 14px; font-weight: 500;
}
.section-head .more-link:hover { text-decoration: underline; }

/* ===== Product Tabs ===== */
.product-tabs {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-bottom: 36px;
}
.tab-btn {
  padding: 10px 22px; border-radius: 24px; border: 1px solid var(--border);
  background: #fff; font-size: 14px; color: var(--text-muted); cursor: pointer;
  transition: all .25s;
}
.tab-btn:hover { border-color: var(--primary-light); color: var(--primary); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; border-color: transparent;
  box-shadow: 0 4px 16px rgba(0,102,255,.3);
}

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.product-card-v2 {
  background: #fff; border-radius: 12px; border: 1px solid #e8e8e8;
  padding: 0; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: all .3s cubic-bezier(.4,0,.2,1);
}
.product-card-v2:hover {
  transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); border-color: #d9d9d9;
}
.pcard-tag {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 700;
}
.pcard-tag.hot { background: #fff1f0; color: #ff4d4f; }
.pcard-tag.rec { background: #e6f4ff; color: var(--primary); }
.pcard-tag.new { background: #f6ffed; color: #52c41a; }
.pcard-head {
  background: #f5f7fa; padding: 14px 18px; border-bottom: 1px solid #eee;
}
.pcard-head h3 {
  font-size: 15px; font-weight: 600; margin: 0; padding-right: 48px;
  color: #333; line-height: 1.4;
}
.pcard-body {
  padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column;
}
.pcard-desc { margin-bottom: 12px; flex: 1; }
.pcard-detail-list {
  list-style: none; margin: 0; padding: 0;
}
.pcard-detail-list li {
  font-size: 13px; color: #888; line-height: 1.65;
  padding: 5px 0 5px 14px; position: relative;
}
.pcard-detail-list li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: #ccc;
}
.pcard-detail-list font[color="red"],
.pcard-detail-list font[color="#ff0000"] { color: #ff4d4f !important; font-size: 12px; }
.pcard-detail-list font[color="#0000FF"],
.pcard-detail-list font[color="blue"] { color: var(--primary) !important; }
.pcard-specs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px;
}
.pcard-spec {
  font-size: 12px; color: var(--text-muted); padding: 8px 10px;
  background: #f8fafc; border-radius: 8px;
}
.pcard-spec b { display: block; color: var(--text); font-size: 14px; margin-top: 2px; }
.pcard-price {
  font-size: 28px; font-weight: 700; color: #ff4d4f; margin-bottom: 14px; line-height: 1;
}
.pcard-price small { font-size: 13px; color: #999; font-weight: 400; margin-left: 2px; }
.btn-buy {
  display: block; width: 100%; padding: 11px; border: none; border-radius: 6px;
  background: #1890ff; color: #fff; font-size: 14px; font-weight: 500; cursor: pointer;
  transition: all .2s; text-align: center; text-decoration: none;
}
.btn-buy:hover { background: #40a9ff; color: #fff; }

/* ===== Domain (Dynadot-style) ===== */
.domain-section {
  position: relative;
  overflow: hidden;
  padding: 88px 24px 96px;
  background: linear-gradient(165deg, #060d1a 0%, #0a1628 38%, #0c1e3a 72%, #081428 100%);
  color: #fff;
}
.domain-section .section-inner { position: relative; z-index: 2; }
.domain-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.domain-hero-glow {
  position: absolute;
  width: 55%;
  height: 280px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
  pointer-events: none;
  z-index: 1;
}
.domain-hero-glow-left {
  top: 18%;
  left: -8%;
  background: radial-gradient(circle, rgba(0, 180, 255, .55) 0%, transparent 70%);
}
.domain-hero-glow-right {
  top: 22%;
  right: -10%;
  background: radial-gradient(circle, rgba(255, 180, 60, .45) 0%, transparent 70%);
}
.domain-badge {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 28px;
  font-size: 13px;
  color: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(8px);
}
.domain-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 40px;
  color: #fff;
}
.domain-title-accent {
  background: linear-gradient(90deg, #7c5cff 0%, #4dabff 45%, #ffd166 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.domain-glass {
  text-align: left;
  padding: 28px 28px 22px;
  border-radius: 20px;
  background: rgba(12, 22, 42, .72);
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, .45),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(24px);
}
.domain-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.domain-tab {
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}
.domain-tab:hover { color: rgba(255, 255, 255, .85); }
.domain-tab.active {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 1px rgba(100, 160, 255, .15);
}
.domain-panel { display: none; }
.domain-panel.active { display: block; }
.domain-panel-tip {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}
.domain-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.domain-search-wrap input {
  width: 100%;
  height: 56px;
  padding: 0 56px 0 22px;
  border: 1px solid rgba(120, 160, 255, .35);
  border-radius: 999px;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.domain-search-wrap input::placeholder { color: rgba(255, 255, 255, .38); }
.domain-search-wrap input:focus {
  border-color: rgba(100, 180, 255, .65);
  box-shadow: 0 0 0 3px rgba(64, 140, 255, .18);
}
.domain-search-btn {
  position: absolute;
  right: 8px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, .75);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s, background .2s;
}
.domain-search-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}
.domain-bulk-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.domain-bulk-wrap textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(120, 160, 255, .35);
  border-radius: 16px;
  background: rgba(0, 0, 0, .35);
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  font-family: inherit;
}
.domain-bulk-wrap textarea::placeholder { color: rgba(255, 255, 255, .38); }
.domain-bulk-btn {
  align-self: flex-end;
  padding: 12px 28px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #3d8bff, #7c5cff);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.domain-bulk-btn:hover { opacity: .92; transform: translateY(-1px); }
.domain-result {
  min-height: 0;
  font-size: 14px;
  margin-top: 18px;
  color: rgba(255, 255, 255, .75);
}
.domain-result:empty { display: none; }
.domain-result-scroll {
  max-height: 360px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(0, 0, 0, .25);
}
.domain-result-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.domain-result-table th,
.domain-result-table td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  text-align: left;
}
.domain-result-table th {
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .5);
  font-weight: 600;
  position: sticky;
  top: 0;
}
.domain-result-table td { color: rgba(255, 255, 255, .88); }
.domain-result-table a { color: #6eb6ff; text-decoration: none; }
.domain-result-table a:hover { text-decoration: underline; }
.domain-avail { color: #4ade80; font-weight: 600; }
.domain-taken { color: #f87171; }
.domain-msg-warn { color: #fbbf24; }
.domain-msg-error { color: #f87171; }
.domain-msg-muted { color: rgba(255, 255, 255, .45); }
.domain-tlds-scroll {
  margin-top: 22px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.domain-tlds-scroll::-webkit-scrollbar { height: 4px; }
.domain-tlds-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, .2);
  border-radius: 4px;
}
.domain-tlds {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: min-content;
}
.tld-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.tld-chip:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(120, 180, 255, .35);
}
.tld-chip .tld-name {
  font-weight: 700;
  color: #fff;
}
.tld-chip .tld-price {
  color: rgba(255, 255, 255, .65);
  font-size: 12px;
}
.tld-chip .tld-price-old {
  color: rgba(255, 255, 255, .35);
  font-size: 11px;
  text-decoration: line-through;
  margin-left: 2px;
}

@media (max-width: 640px) {
  .domain-section { padding: 64px 16px 72px; }
  .domain-glass { padding: 20px 16px 16px; }
  .domain-tabs { gap: 6px; }
  .domain-tab { padding: 8px 14px; font-size: 13px; }
  .domain-search-wrap input { height: 50px; font-size: 14px; }
}

/* ===== Solutions ===== */
.solutions-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px;
}
.solution-card {
  background: #fff; border-radius: 16px; padding: 28px 20px; text-align: center;
  border: 1px solid var(--border); transition: all .3s; cursor: pointer;
  display: block; color: inherit;
}
.solution-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.solution-icon {
  width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  background: linear-gradient(135deg, #f0f7ff, #e6f4ff);
}
.solution-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.solution-card p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.solution-card .sol-link {
  display: inline-block; margin-top: 12px; font-size: 13px; color: var(--primary);
}

/* ===== Features ===== */
.features-section { background: var(--dark); color: #fff; }
.features-section .section-head h2 { color: #fff; }
.features-section .section-head p { color: rgba(255,255,255,.65); }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.feature-card {
  padding: 28px; border-radius: 16px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: all .3s;
}
.feature-card:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.feature-num {
  font-size: 36px; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.7; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.feature-tags span {
  padding: 4px 10px; border-radius: 6px; font-size: 11px;
  background: rgba(0,194,255,.15); color: var(--accent);
}

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }
.news-main {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 16px; padding: 32px; color: #fff;
  display: flex; flex-direction: column; justify-content: center;
}
.news-main h3 { font-size: 22px; margin-bottom: 12px; }
.news-main p { font-size: 14px; opacity: .85; line-height: 1.7; margin-bottom: 20px; }
.news-list { background: #fff; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; }
.news-item {
  padding: 18px 24px; border-bottom: 1px solid var(--border);
  transition: background .2s; cursor: pointer;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: #f8fafc; }
.news-item b { display: block; font-size: 14px; margin-bottom: 4px; }
.news-item span { font-size: 12px; color: var(--text-muted); }

/* ===== Trust ===== */
.trust-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px;
}
.trust-item {
  text-align: center; padding: 24px 16px; background: #fff;
  border-radius: 12px; border: 1px solid var(--border);
}
.trust-item .trust-icon { font-size: 32px; margin-bottom: 10px; }
.trust-item p { font-size: 13px; color: var(--text-muted); }

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
  text-align: center; color: #fff; padding: 80px 24px;
}
.cta-section h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 16px; opacity: .88; margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.site-footer {
  background: #060d18; color: rgba(255,255,255,.65); padding: 64px 24px 24px;
}
.footer-inner { max-width: 1320px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.8; margin-bottom: 16px; }
.footer-contact p { font-size: 13px; margin-bottom: 8px; }
.footer-contact b { color: #fff; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-col a {
  display: block; font-size: 13px; color: rgba(255,255,255,.55);
  margin-bottom: 10px; transition: color .2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 24px; text-align: center; font-size: 12px;
  color: rgba(255,255,255,.4);
}

/* ===== Float Sidebar ===== */
.float-sidebar {
  position: fixed; right: 16px; bottom: 80px; z-index: 900;
  display: flex; flex-direction: column; gap: 8px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 14px; border: none;
  background: #fff; box-shadow: var(--shadow-lg); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 10px; color: var(--text-muted); transition: all .25s;
  border: 1px solid var(--border);
}
.float-btn:hover { transform: translateX(-4px); color: var(--primary); border-color: var(--primary-light); }
.float-btn .icon { font-size: 20px; margin-bottom: 2px; }

/* ===== Mobile ===== */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-search { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-actions .hide-m { display: none; }
}
.mobile-nav {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--dark); z-index: 999; padding: 24px; overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 14px 0; color: rgba(255,255,255,.85);
  font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08);
}

.empty-state {
  text-align: center; padding: 48px; color: var(--text-muted); grid-column: 1 / -1;
}

/* ===== 在线客服弹窗 ===== */
.chat-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.45); align-items: flex-end; justify-content: flex-end;
  padding: 20px;
}
.chat-overlay.open { display: flex; }
.chat-panel {
  width: 100%; max-width: 400px; height: 520px; max-height: calc(100vh - 40px);
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden;
  animation: chatSlideUp .3s ease;
}
@keyframes chatSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; padding: 16px 20px; display: flex; align-items: center;
  justify-content: space-between; flex-shrink: 0;
}
.chat-header-info h4 { font-size: 16px; margin-bottom: 2px; }
.chat-header-info p { font-size: 12px; opacity: .85; }
.chat-close {
  width: 32px; height: 32px; border: none; background: rgba(255,255,255,.2);
  color: #fff; border-radius: 50%; cursor: pointer; font-size: 18px;
}
.chat-messages {
  flex: 1; overflow-y: auto; padding: 16px; background: #f8fafc;
  display: flex; flex-direction: column; gap: 12px;
}
.chat-msg {
  max-width: 85%; padding: 10px 14px; border-radius: 12px;
  font-size: 13px; line-height: 1.6; word-break: break-word;
}
.chat-msg.bot {
  align-self: flex-start; background: #fff; border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-msg.user {
  align-self: flex-end; background: var(--primary); color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-quick {
  padding: 8px 12px; display: flex; flex-wrap: wrap; gap: 6px;
  border-top: 1px solid var(--border); background: #fff; flex-shrink: 0;
}
.chat-quick button {
  padding: 6px 12px; border: 1px solid var(--border); border-radius: 16px;
  background: #fff; font-size: 12px; color: var(--text-muted); cursor: pointer;
  font-family: inherit; transition: all .15s;
}
.chat-quick button:hover { border-color: var(--primary); color: var(--primary); background: #f0f7ff; }
.chat-input-row {
  display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border);
  background: #fff; flex-shrink: 0;
}
.chat-input-row input {
  flex: 1; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 20px; font-size: 13px; outline: none;
}
.chat-input-row input:focus { border-color: var(--primary); }
.chat-input-row button {
  padding: 10px 18px; border: none; border-radius: 20px;
  background: var(--primary); color: #fff; font-size: 13px;
  cursor: pointer; font-family: inherit; white-space: nowrap;
}
.float-btn.chat-trigger { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; border: none; }
.float-btn.chat-trigger:hover { color: #fff; }

/* ===== 解决方案详情页 ===== */
body.solution-page { background: #f4f7fc; }
.sol-hero {
  margin-top: var(--header-h); padding: 60px 24px 48px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
  color: #fff;
}
.sol-hero-inner { max-width: 1320px; margin: 0 auto; }
.sol-breadcrumb { font-size: 13px; opacity: .7; margin-bottom: 20px; }
.sol-breadcrumb a { color: rgba(255,255,255,.85); }
.sol-breadcrumb a:hover { color: #fff; }
.sol-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin-bottom: 12px; }
.sol-hero .summary { font-size: 18px; opacity: .88; max-width: 640px; line-height: 1.7; }
.sol-hero-icon { font-size: 48px; margin-bottom: 16px; }
.sol-body { max-width: 1320px; margin: 0 auto; padding: 48px 24px 80px; }
.sol-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
@media (max-width: 900px) { .sol-grid { grid-template-columns: 1fr; } }
.sol-content-card {
  background: #fff; border-radius: 16px; padding: 32px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.sol-content-card h2 { font-size: 20px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sol-content-card p { font-size: 15px; color: var(--text-muted); line-height: 1.9; margin-bottom: 24px; }
.sol-features { list-style: none; display: grid; gap: 10px; }
.sol-features li {
  padding: 12px 16px; background: #f8fafc; border-radius: 10px;
  font-size: 14px; display: flex; align-items: center; gap: 10px;
}
.sol-features li::before { content: '✓'; color: var(--primary); font-weight: 700; }
.sol-sidebar-card {
  background: #fff; border-radius: 16px; padding: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--border); margin-bottom: 20px;
}
.sol-sidebar-card h3 { font-size: 16px; margin-bottom: 14px; }
.sol-scenario-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sol-scenario-tags span {
  padding: 6px 14px; background: #e6f4ff; color: var(--primary);
  border-radius: 20px; font-size: 13px;
}
.sol-cta-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.sol-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-top: 48px; }
.sol-related a {
  display: block; padding: 16px; background: #fff; border-radius: 12px;
  border: 1px solid var(--border); text-align: center; transition: all .2s;
}
.sol-related a:hover { border-color: var(--primary); transform: translateY(-2px); }
