/* ===== 热土智联 - 全局样式 ===== */
@import url('https://fonts.googleapis.cn/css2?family=Noto+Sans+SC:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #FF6B35;
  --primary-dark: #E55A2B;
  --primary-light: #FF8F65;
  --secondary: #2B6CB0;
  --secondary-dark: #1E4F8F;
  --accent: #38A169;
  --accent-light: #68D391;
  --danger: #E53E3E;
  --warning: #ECC94B;
  --bg: #F7F8FA;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --text-primary: #1A202C;
  --text-secondary: #4A5568;
  --text-muted: #A0AEC0;
  --border: #E2E8F0;
  --border-light: #EDF2F7;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max-width: 1200px;
  --header-height: 70px;
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}
button { cursor: pointer; }

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

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  height: var(--header-height);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header .container {
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.3rem; color: var(--primary); }
.logo-icon {
  width: 40px; height: 40px; background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1.1rem;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500;
  color: var(--text-secondary); transition: all .2s; white-space: nowrap;
}
.nav a:hover, .nav a.active { color: var(--primary); background: #FFF5F0; }
.nav .btn-login {
  background: var(--primary); color: #fff; padding: 8px 20px;
  border-radius: 20px; margin-left: 10px;
}
.nav .btn-login:hover { background: var(--primary-dark); color: #fff; }

.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer;
}
.mobile-menu-btn span {
  display: block; width: 24px; height: 2px; background: var(--text-primary);
  border-radius: 2px; transition: all .3s;
}

/* ===== Hero / Banner ===== */
.hero {
  margin-top: var(--header-height);
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #FF6B35 0%, #FF8F65 50%, #FFB088 100%);
  min-height: 520px; display: flex; align-items: center;
}
.hero-content { position: relative; z-index: 2; color: #fff; }
.hero h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.hero p { font-size: 1.2rem; opacity: .9; margin-bottom: 30px; max-width: 600px; }
.hero-bg-shape {
  position: absolute; border-radius: 50%; opacity: .1; background: #fff;
}
.hero-bg-shape.s1 { width: 500px; height: 500px; top: -150px; right: -100px; }
.hero-bg-shape.s2 { width: 300px; height: 300px; bottom: -100px; left: 10%; }
.hero-bg-shape.s3 { width: 200px; height: 200px; top: 30%; right: 30%; opacity: .06; }

/* Banner Carousel */
.banner-carousel {
  margin-top: var(--header-height); position: relative; overflow: hidden;
}
.banner-track { display: flex; transition: transform .5s ease; }
.banner-slide {
  min-width: 100%; position: relative; min-height: 460px;
  display: flex; align-items: center; padding: 60px 0;
}
.banner-slide .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.banner-text { flex: 1; color: #fff; }
.banner-text h2 { font-size: 2.4rem; font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.banner-text p { font-size: 1.1rem; opacity: .9; margin-bottom: 28px; line-height: 1.7; }
.banner-visual { flex: 0 0 360px; height: 280px; border-radius: var(--radius-lg); overflow: hidden; }
.banner-visual img { width: 100%; height: 100%; object-fit: cover; }
.banner-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.banner-dots span {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.5);
  cursor: pointer; transition: all .3s;
}
.banner-dots span.active { background: #fff; width: 28px; border-radius: 5px; }

/* Banner Themes */
.banner-theme-orange { background: linear-gradient(135deg, #FF6B35, #FF8F65); }
.banner-theme-blue { background: linear-gradient(135deg, #2B6CB0, #63B3ED); }
.banner-theme-green { background: linear-gradient(135deg, #38A169, #68D391); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 25px; font-weight: 600; font-size: .95rem;
  transition: all .3s; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,.35); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { background: #FFF5F0; color: var(--primary-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-secondary:hover { background: var(--secondary-dark); color: #fff; }
.btn-lg { padding: 14px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

/* ===== Section ===== */
.section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.section-header p { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.section-header .accent-line {
  width: 50px; height: 4px; background: var(--primary); border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== Cards ===== */
.card {
  background: var(--bg-card); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); overflow: hidden; transition: all .3s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* Merchant Card */
.merchant-card { display: flex; gap: 16px; padding: 20px; }
.merchant-logo {
  width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg); flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary); font-weight: 700;
}
.merchant-logo img { width: 100%; height: 100%; object-fit: cover; }
.merchant-info { flex: 1; min-width: 0; }
.merchant-info h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.merchant-tag {
  display: inline-block; padding: 2px 10px; border-radius: 12px; font-size: .75rem;
  background: #FFF5F0; color: var(--primary); margin-bottom: 6px;
}
.merchant-meta { font-size: .85rem; color: var(--text-muted); }
.merchant-meta span { margin-right: 14px; }
.merchant-hot { display: flex; align-items: center; gap: 4px; color: var(--primary); font-weight: 600; font-size: .9rem; }

/* Product Card */
.product-card { position: relative; }
.product-img {
  height: 200px; overflow: hidden; background: #f0f0f0;
  display: flex; align-items: center; justify-content: center;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px;
  border-radius: 12px; font-size: .75rem; font-weight: 600; color: #fff;
}
.badge-hot { background: var(--danger); }
.badge-new { background: var(--accent); }
.badge-sale { background: var(--primary); }
.product-info { padding: 16px; }
.product-info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.product-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.price-now { font-size: 1.3rem; font-weight: 700; color: var(--danger); }
.price-now::before { content: '¥'; font-size: .85rem; }
.price-old { font-size: .85rem; color: var(--text-muted); text-decoration: line-through; }
.price-old::before { content: '¥'; }
.product-sales { font-size: .8rem; color: var(--text-muted); }
.product-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.product-tags span {
  padding: 2px 8px; border-radius: 4px; font-size: .72rem;
  background: #F0FFF4; color: var(--accent); border: 1px solid #C6F6D5;
}

/* News Card */
.news-card { display: flex; gap: 16px; padding: 16px; }
.news-img { width: 140px; height: 100px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: #f0f0f0; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-info { flex: 1; }
.news-info h4 { font-size: .95rem; font-weight: 600; margin-bottom: 6px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-info p { font-size: .85rem; color: var(--text-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { font-size: .8rem; color: var(--text-muted); margin-top: 8px; }

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }

/* Scroll Row */
.scroll-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.scroll-row::-webkit-scrollbar { height: 4px; }
.scroll-row::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.scroll-row > * { scroll-snap-align: start; flex-shrink: 0; }

/* Tags */
.tag {
  display: inline-flex; align-items: center; padding: 4px 12px;
  border-radius: 14px; font-size: .8rem; font-weight: 500;
}
.tag-orange { background: #FFF5F0; color: var(--primary); }
.tag-blue { background: #EBF8FF; color: var(--secondary); }
.tag-green { background: #F0FFF4; color: var(--accent); }
.tag-red { background: #FFF5F5; color: var(--danger); }

/* ===== Footer ===== */
.footer {
  background: #1A202C; color: #CBD5E0; padding: 60px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand h3 { color: #fff; font-size: 1.3rem; margin-bottom: 12px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 16px; }
.footer-contact p { font-size: .85rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: .9rem; color: #A0AEC0; transition: color .2s; }
.footer ul li a:hover { color: var(--primary-light); }
.footer-bottom {
  padding: 20px 0; text-align: center; font-size: .8rem; color: #718096;
}
.footer-bottom a { color: #A0AEC0; }
.footer-bottom a:hover { color: var(--primary-light); }

/* ===== Floating Buttons ===== */
.float-consult {
  position: fixed; right: 20px; bottom: 80px; z-index: 900;
  display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: all .3s; cursor: pointer;
  font-size: .7rem; font-weight: 600; color: #fff; text-align: center; line-height: 1.2;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn-primary { background: var(--primary); }
.float-btn-secondary { background: var(--secondary); }
.float-btn-accent { background: var(--accent); }

/* Back to top */
.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-white); box-shadow: var(--shadow-md);
  display: none; align-items: center; justify-content: center;
  cursor: pointer; transition: all .3s; border: 1px solid var(--border);
}
.back-to-top:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.back-to-top.visible { display: flex; }

/* ===== Page Banner (Inner pages) ===== */
.page-banner {
  margin-top: var(--header-height);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 60px 0; color: #fff; text-align: center;
}
.page-banner h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; }
.page-banner p { font-size: 1.05rem; opacity: .9; }
.page-banner.blue { background: linear-gradient(135deg, var(--secondary), #63B3ED); }
.page-banner.green { background: linear-gradient(135deg, var(--accent), #68D391); }

/* ===== Entry Page Specific ===== */
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.advantage-card {
  background: var(--bg-card); border-radius: var(--radius-md); padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow-sm); transition: all .3s;
  border: 2px solid transparent;
}
.advantage-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); transform: translateY(-4px); }
.advantage-icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.advantage-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.advantage-card p { font-size: .9rem; color: var(--text-secondary); line-height: 1.6; }

/* Package Cards */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.package-card {
  background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: all .3s; border: 2px solid var(--border);
  position: relative;
}
.package-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.package-card.recommended { border-color: var(--primary); }
.package-card.recommended::before {
  content: '推荐'; position: absolute; top: 16px; right: -30px;
  background: var(--primary); color: #fff; padding: 4px 36px;
  font-size: .75rem; font-weight: 600; transform: rotate(45deg);
}
.package-header { padding: 28px 24px 20px; text-align: center; border-bottom: 1px solid var(--border-light); }
.package-header h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.package-header .package-target { font-size: .85rem; color: var(--text-muted); margin-bottom: 12px; }
.package-price { font-size: 2.2rem; font-weight: 700; color: var(--primary); }
.package-price small { font-size: .85rem; font-weight: 400; color: var(--text-muted); }
.package-price .price-month { font-size: .9rem; color: var(--text-secondary); margin-top: 4px; }
.package-features { padding: 20px 24px; }
.package-features li {
  padding: 8px 0; font-size: .9rem; color: var(--text-secondary);
  display: flex; align-items: flex-start; gap: 8px; border-bottom: 1px solid var(--border-light);
}
.package-features li:last-child { border: none; }
.package-features li .check { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.package-footer { padding: 20px 24px 28px; text-align: center; }

/* Steps */
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 0; flex-wrap: wrap; }
.step-item {
  flex: 0 0 auto; text-align: center; position: relative; padding: 0 24px;
}
.step-num {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: #fff;
  background: var(--primary);
}
.step-item h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.step-item p { font-size: .85rem; color: var(--text-muted); max-width: 140px; margin: 0 auto; }
.step-arrow {
  display: flex; align-items: center; padding-top: 14px;
  font-size: 1.4rem; color: var(--primary); flex-shrink: 0;
}

/* ===== Directory Page ===== */
.filter-bar {
  background: var(--bg-white); border-radius: var(--radius-md); padding: 20px 24px;
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.filter-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.filter-row:last-child { margin-bottom: 0; }
.filter-label { font-size: .9rem; font-weight: 600; color: var(--text-secondary); flex-shrink: 0; min-width: 70px; }
.filter-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tags .filter-tag {
  padding: 6px 16px; border-radius: 18px; font-size: .85rem; cursor: pointer;
  border: 1px solid var(--border); color: var(--text-secondary); transition: all .2s; background: #fff;
}
.filter-tags .filter-tag:hover, .filter-tags .filter-tag.active {
  border-color: var(--primary); color: var(--primary); background: #FFF5F0;
}

.search-bar {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.search-input {
  flex: 1; height: 48px; padding: 0 20px; border: 2px solid var(--border);
  border-radius: 24px; font-size: .95rem; transition: border-color .2s;
}
.search-input:focus { border-color: var(--primary); }
.search-btn {
  height: 48px; padding: 0 28px; background: var(--primary); color: #fff;
  border-radius: 24px; font-weight: 600; transition: all .2s;
}
.search-btn:hover { background: var(--primary-dark); }

.sort-bar {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px;
  font-size: .9rem; color: var(--text-muted);
}
.sort-bar span { cursor: pointer; padding: 4px 12px; border-radius: 14px; transition: all .2s; }
.sort-bar span:hover, .sort-bar span.active { color: var(--primary); background: #FFF5F0; }

/* Directory Card */
.directory-card {
  display: flex; gap: 20px; padding: 20px; background: var(--bg-card);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  transition: all .3s; margin-bottom: 16px;
}
.directory-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.directory-logo {
  width: 209px;  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--bg); flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--primary);
}
.directory-info { flex: 1; }
.directory-info h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 6px; }
.directory-info .tags { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.directory-info .meta { font-size: .85rem; color: var(--text-muted); margin-bottom: 6px; }
.directory-info .advantage { font-size: .85rem; color: var(--accent); margin-bottom: 8px; }
.directory-info .discount-tag {
  display: inline-flex; padding: 4px 12px; border-radius: 12px;
  background: #FFF5F5; color: var(--danger); font-size: .8rem; font-weight: 500;
}
.directory-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.directory-rating { display: flex; align-items: center; gap: 4px; font-size: 1.1rem; color: var(--warning); }
.directory-rating span { font-size: .9rem; color: var(--text-primary); font-weight: 600; }

/* ===== Mall Page ===== */
.mall-layout { display: flex; gap: 24px; }
.mall-sidebar {
  width: 220px; flex-shrink: 0; background: var(--bg-card);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 16px 0;
  position: sticky; top: calc(var(--header-height) + 20px); max-height: calc(100vh - var(--header-height) - 40px);
  overflow-y: auto;
}
.mall-sidebar h4 { padding: 12px 20px; font-size: .9rem; font-weight: 600; color: var(--text-primary); }
.mall-sidebar a {
  display: block; padding: 10px 20px; font-size: .88rem; color: var(--text-secondary);
  transition: all .2s;
}
.mall-sidebar a:hover, .mall-sidebar a.active { color: var(--primary); background: #FFF5F0; }
.mall-sidebar .sub-category { padding-left: 36px; font-size: .82rem; }
.mall-main { flex: 1; min-width: 0; }

/* ===== Services Page ===== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--bg-card); border-radius: var(--radius-md); padding: 32px 24px;
  box-shadow: var(--shadow-sm); transition: all .3s; border-top: 4px solid transparent;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-top-color: var(--primary); }
.service-icon { font-size: 2.4rem; margin-bottom: 16px; }
.service-card h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.service-card p { font-size: .9rem; color: var(--text-secondary); line-height: 1.6; }
.service-card ul { margin-top: 12px; }
.service-card ul li { font-size: .85rem; color: var(--text-muted); padding: 4px 0; }

/* ===== News Page ===== */
.news-layout { display: flex; gap: 28px; }
.news-main { flex: 1; }
.news-sidebar { width: 300px; flex-shrink: 0; }
.news-list-item {
  display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border-light);
  cursor: pointer; transition: all .2s;
}
.news-list-item:hover { padding-left: 8px; }
.news-list-item .thumb {
  width: 180px; height: 120px; border-radius: var(--radius-sm); overflow: hidden;
  flex-shrink: 0; background: #f0f0f0;
}
.news-list-item .info { flex: 1; }
.news-list-item .info h4 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; line-height: 1.5; }
.news-list-item .info p { font-size: .85rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 8px; }
.news-category-tag {
  display: inline-block; padding: 3px 10px; border-radius: 10px; font-size: .75rem;
  font-weight: 500;
}
.news-category-tag.policy { background: #EBF8FF; color: var(--secondary); }
.news-category-tag.activity { background: #FFF5F0; color: var(--primary); }
.news-category-tag.platform { background: #F0FFF4; color: var(--accent); }
.news-category-tag.guide { background: #FFFFF0; color: #B7791F; }

/* Hot News Sidebar */
.hot-news-card {
  background: var(--bg-card); border-radius: var(--radius-md); padding: 20px;
  box-shadow: var(--shadow-sm);
}
.hot-news-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.hot-news-item { display: flex; gap: 10px; margin-bottom: 12px; cursor: pointer; }
.hot-news-item .rank {
  width: 24px; height: 24px; border-radius: 4px; display: flex; align-items: center;
  justify-content: center; font-size: .75rem; font-weight: 700; color: #fff;
  background: var(--text-muted); flex-shrink: 0;
}
.hot-news-item:nth-child(1) .rank { background: var(--danger); }
.hot-news-item:nth-child(2) .rank { background: var(--primary); }
.hot-news-item:nth-child(3) .rank { background: var(--warning); }
.hot-news-item .title { font-size: .85rem; line-height: 1.5; color: var(--text-secondary); }
.hot-news-item:hover .title { color: var(--primary); }

/* ===== About Page ===== */
.about-intro {
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 48px;
  box-shadow: var(--shadow-sm); margin-bottom: 40px;
}
.about-intro h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.about-intro p { font-size: 1rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 12px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  text-align: center; background: var(--bg-card); border-radius: var(--radius-md);
  padding: 28px 16px; box-shadow: var(--shadow-sm); transition: all .3s;
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #fff;
}
.team-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.team-card p { font-size: .85rem; color: var(--text-muted); }

.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.partner-card {
  height: 80px; background: var(--bg-card); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); font-size: .85rem; color: var(--text-muted);
  border: 1px solid var(--border-light); transition: all .3s;
}
.partner-card:hover { border-color: var(--primary); color: var(--primary); }

/* ===== Login Page ===== */
.auth-container {
  min-height: calc(100vh - var(--header-height));
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px; margin-top: var(--header-height);
  background: linear-gradient(135deg, #FFF5F0 0%, #EBF8FF 100%);
}
.auth-card {
  width: 100%; max-width: 480px; background: var(--bg-card);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-lg);
}
.auth-tabs { display: flex; margin-bottom: 32px; border-bottom: 2px solid var(--border-light); }
.auth-tab {
  flex: 1; padding: 12px 0; text-align: center; font-size: 1rem; font-weight: 600;
  color: var(--text-muted); cursor: pointer; position: relative; transition: color .2s;
}
.auth-tab.active { color: var(--primary); }
.auth-tab.active::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--primary);
}
.auth-role { display: flex; gap: 12px; margin-bottom: 24px; }
.auth-role-btn {
  flex: 1; padding: 12px; border-radius: var(--radius-sm); text-align: center;
  border: 2px solid var(--border); font-weight: 500; transition: all .2s;
}
.auth-role-btn.active { border-color: var(--primary); color: var(--primary); background: #FFF5F0; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 6px; color: var(--text-secondary); }
.form-input {
  width: 100%; height: 46px; padding: 0 16px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: .9rem; transition: border-color .2s;
}
.form-input:focus { border-color: var(--primary); }
.form-row { display: flex; gap: 12px; }
.form-row .form-input { flex: 1; }
.sms-btn {
  flex-shrink: 0; padding: 0 16px; height: 46px; background: var(--primary);
  color: #fff; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 500;
  white-space: nowrap; transition: background .2s;
}
.sms-btn:hover { background: var(--primary-dark); }
.sms-btn:disabled { background: var(--text-muted); cursor: not-allowed; }
.captcha-row { display: flex; align-items: center; gap: 12px; }
.captcha-img {
  width: 120px; height: 46px; background: #EDF2F7; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; letter-spacing: 4px; color: var(--secondary);
  cursor: pointer; user-select: none; font-style: italic;
}
.form-check { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: .85rem; color: var(--text-muted); }
.form-check input[type="checkbox"] { accent-color: var(--primary); }
.auth-submit {
  width: 100%; height: 48px; background: var(--primary); color: #fff;
  border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; transition: all .2s;
}
.auth-submit:hover { background: var(--primary-dark); }
.auth-footer { text-align: center; margin-top: 16px; font-size: .85rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary); font-weight: 500; }

/* ===== Pagination ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 32px; }
.pagination span {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); cursor: pointer; font-size: .9rem;
  border: 1px solid var(--border); transition: all .2s;
}
.pagination span:hover, .pagination span.active {
  border-color: var(--primary); color: var(--primary); background: #FFF5F0;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(4, 1fr); }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .mall-sidebar { width: 180px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-height: 60px; }
  .nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: var(--header-height); left: 0; right: 0;
    background: var(--bg-white); padding: 16px 20px;
    box-shadow: var(--shadow-md); gap: 4px;
  }
  .nav.open a { padding: 12px 16px; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 40px 0; }
  .section-header h2 { font-size: 1.5rem; }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .package-grid { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .mall-layout { flex-direction: column; }
  .mall-sidebar { width: 100%; position: static; max-height: none; }
  .news-layout { flex-direction: column; }
  .news-sidebar { width: 100%; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding-top: 0; }
  .banner-slide .container { flex-direction: column; }
  .banner-visual { flex: none; width: 100%; height: 200px; }
  .banner-text h2 { font-size: 1.6rem; }
  .directory-card { flex-direction: column; }
  .directory-logo { width: 100%; height: 120px; }
  .directory-right { flex-direction: row; align-items: center; }
  .auth-card { padding: 24px; }
  .page-banner h1 { font-size: 1.6rem; }
  .about-intro { padding: 24px; }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .6s ease forwards; }

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.pulse { animation: pulse 2s infinite; }

/* ===== News Detail Page ===== */
.news-detail { max-width: 820px; margin: 0 auto; }
.news-detail-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border-light); }
.news-detail-header h1 { font-size: 1.8rem; font-weight: 700; line-height: 1.5; margin-bottom: 16px; }
.news-detail-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--text-muted); }
.news-detail-meta .source { color: var(--primary); font-weight: 500; }
.news-detail-cover { width: 100%; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 28px; background: var(--bg); }
.news-detail-cover img { width: 100%; height: auto; max-height: 400px; object-fit: cover; }
.news-detail-body { font-size: 1rem; color: var(--text-secondary); line-height: 1.9; }
.news-detail-body p { margin-bottom: 18px; text-indent: 2em; }
.news-detail-body h3 { font-size: 1.2rem; font-weight: 600; color: var(--text-primary); margin: 28px 0 12px; text-indent: 0; }
.news-detail-body ul, .news-detail-body ol { margin: 12px 0 18px 2em; }
.news-detail-body li { margin-bottom: 8px; line-height: 1.7; }
.news-detail-body blockquote { border-left: 4px solid var(--primary); padding: 16px 20px; margin: 20px 0; background: #FFF5F0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; color: var(--text-secondary); }
.news-detail-body .highlight-box { background: #EBF8FF; border-radius: var(--radius-sm); padding: 20px; margin: 20px 0; border-left: 4px solid var(--secondary); }
.news-detail-body .highlight-box h4 { color: var(--secondary); font-weight: 600; margin-bottom: 8px; text-indent: 0; }
.news-detail-body .warning-box { background: #FFFFF0; border-radius: var(--radius-sm); padding: 20px; margin: 20px 0; border-left: 4px solid #B7791F; }
.news-detail-body .warning-box h4 { color: #B7791F; font-weight: 600; margin-bottom: 8px; text-indent: 0; }
.news-detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border-light); }
.news-detail-nav { display: flex; justify-content: space-between; margin-top: 36px; padding: 20px 0; border-top: 1px solid var(--border-light); }
.news-detail-nav a { font-size: .9rem; color: var(--text-secondary); max-width: 45%; transition: color .2s; }
.news-detail-nav a:hover { color: var(--primary); }
.news-detail-nav a span { display: block; font-size: .78rem; color: var(--text-muted); margin-bottom: 4px; }

/* News Filtering */
.news-tab { transition: all .2s ease; border: 1px solid transparent; }
.news-tab:hover { opacity: .85; transform: translateY(-1px); }
.active-tab { box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.news-item { transition: opacity .25s ease, transform .25s ease; }
.news-item[style*="display: none"] { opacity: 0; transform: translateY(-8px); }
mark { border-radius: 2px; }

/* Toast */
.toast {
  position: fixed; top: 90px; left: 50%; transform: translateX(-50%);
  padding: 12px 28px; border-radius: var(--radius-sm); font-size: .9rem;
  font-weight: 500; z-index: 9999; opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.toast.show { opacity: 1; }
.toast.success { background: #F0FFF4; color: var(--accent); border: 1px solid #C6F6D5; }
.toast.error { background: #FFF5F5; color: var(--danger); border: 1px solid #FED7D7; }
.toast.info { background: #EBF8FF; color: var(--secondary); border: 1px solid #BEE3F8; }

/* Scroll animation placeholder */
.scroll-animate { opacity: 0; transform: translateY(30px); transition: all .6s ease; }
.scroll-animate.visible { opacity: 1; transform: translateY(0); }

/* Marquee for news */
.marquee-container { overflow: hidden; position: relative; }
.marquee-track { display: flex; animation: marquee 30s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
