/* ========== 基础变量与重置 ========== */
:root {
    --primary: #2d8c5a;
    --primary-light: #3cb371;
    --primary-dark: #1a6b3c;
    --accent: #e8a838;
    --accent-light: #f5c862;
    --bg: #f5f7f5;
    --bg-card: #ffffff;
    --text: #2c3e2d;
    --text-light: #6b7b6d;
    --text-muted: #94a596;
    --border: #e0e8e0;
    --border-light: #eef3ee;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-hero: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 30%, #e0f2f1 60%, #f3e5f5 100%);
    --gradient-primary: linear-gradient(135deg, #2d8c5a, #1a6b3c);
    --gradient-accent: linear-gradient(135deg, #e8a838, #d4922a);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* ========== 顶部导航栏 ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: 0 24px;
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 28px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: #fff;
    font-weight: bold;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(45, 140, 90, 0.08);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-search {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg);
    font-size: 16px;
    transition: var(--transition);
}

.btn-search:hover {
    background: var(--border);
}

.btn-login {
    padding: 8px 20px;
    border-radius: 20px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45, 140, 90, 0.35);
}

/* ========== 主横幅区 ========== */
.hero-section {
    position: relative;
    min-height: 600px;
    overflow: hidden;
    padding: 60px 24px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(45,140,90,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,168,56,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-left {
    flex: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text);
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(232, 168, 56, 0.5);
}

.btn-primary {
    padding: 14px 36px;
    border-radius: 30px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(45, 140, 90, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45, 140, 90, 0.4);
}

/* ========== 体质拼图卡片 ========== */
.hero-right {
    flex-shrink: 0;
}

.constitution-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    width: 420px;
    border: 1px solid var(--border-light);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-header h3 {
    font-size: 16px;
    color: var(--text-light);
    font-weight: 600;
}

.user-switch {
    display: flex;
    align-items: center;
    gap: 12px;
}

.switch-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--text-light);
    font-size: 12px;
    transition: var(--transition);
}

.switch-btn:hover {
    background: var(--primary);
    color: #fff;
}

.user-name {
    font-weight: 700;
    font-size: 18px;
    color: var(--text);
}

/* 拼图容器 */
.puzzle-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 0 auto 20px;
}

.puzzle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 6px 24px rgba(45, 140, 90, 0.35);
    color: #fff;
}

.human-figure {
    font-size: 36px;
}

.health-score {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.score-number {
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.score-label {
    font-size: 12px;
    opacity: 0.9;
}

.puzzle-piece {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    background: #fff;
}

.puzzle-piece:hover {
    transform: scale(1.08);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    z-index: 5;
}

.piece-icon {
    font-size: 28px;
}

.piece-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

/* 拼图定位 - 8个方位 */
.puzzle-nutrition  { top: 0;     left: 50%;   transform: translateX(-50%); background: #f0faf4; }
.puzzle-habit      { top: 12%;   right: 0;    background: #f5f0fa; }
.puzzle-sport      { top: 52%;   right: -4%;  transform: translateY(-50%); background: #faf5f0; }
.puzzle-environment{ bottom: 12%; right: 0;   background: #f0f7fa; }
.puzzle-mood       { bottom: 0;  left: 50%;   transform: translateX(-50%); background: #faf0f5; }
.puzzle-therapy    { bottom: 12%; left: 0;    background: #f5faf0; }
.puzzle-travel     { top: 52%;   left: -4%;   transform: translateY(-50%); background: #fafaf0; }
.puzzle-expert     { top: 12%;   left: 0;     background: #f0f5fa; }

.puzzle-piece:hover {
    transform: none;
}
.puzzle-nutrition:hover  { transform: translateX(-50%) scale(1.08); }
.puzzle-habit:hover      { transform: scale(1.08); }
.puzzle-sport:hover      { transform: translateY(-50%) scale(1.08); }
.puzzle-environment:hover{ transform: scale(1.08); }
.puzzle-mood:hover       { transform: translateX(-50%) scale(1.08); }
.puzzle-therapy:hover    { transform: scale(1.08); }
.puzzle-travel:hover     { transform: translateY(-50%) scale(1.08); }
.puzzle-expert:hover     { transform: scale(1.08); }

.constitution-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 0;
    margin-bottom: 16px;
    background: #fdf8f0;
    border-radius: var(--radius-sm);
}

.tag-label {
    font-size: 14px;
    color: var(--text-light);
}

.tag-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.card-actions {
    display: flex;
    gap: 8px;
}

.btn-card {
    flex: 1;
    padding: 10px 0;
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-card:hover {
    background: var(--primary);
    color: #fff;
}

/* ========== 通用区块标题 ========== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
}

/* ========== 八大健康维度 ========== */
.dimensions-section {
    padding: 80px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.dimensions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.dimension-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.dimension-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.dim-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.dim-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    background: var(--bg);
}

.dim-title-area {
    flex: 1;
}

.dim-title-area h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.dim-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 2px;
}

.dim-tag.hot {
    background: #fff0e6;
    color: #e87722;
}

.dim-content h4 {
    font-size: 13px;
    color: var(--text);
    margin-bottom: 8px;
    font-weight: 700;
}

.dim-hot-topics ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}

.dim-hot-topics li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dim-hot-topics a {
    font-size: 13px;
    color: var(--text-light);
    transition: var(--transition);
    line-height: 1.4;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dim-hot-topics a:hover {
    color: var(--primary);
}

.topic-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.topic-badge.new {
    background: #e8f5e9;
    color: var(--primary);
}

.topic-badge.hot-topic {
    background: #fff0e6;
    color: #e87722;
}

.dim-expert {
    margin-bottom: 12px;
}

.dim-expert p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dim-products {
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.product-mini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: 8px;
    font-size: 13px;
}

.product-price {
    color: var(--accent);
    font-weight: 700;
}

/* ========== 健康热点 ========== */
.hotspot-section {
    padding: 80px 24px;
    background: #fff;
}

.hotspot-layout {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
}

.hotspot-main {
    flex: 1;
    min-width: 0;
}

.hotspot-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.tab {
    padding: 8px 20px;
    border-radius: 20px;
    background: var(--bg);
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.tab.active,
.tab:hover {
    background: var(--primary);
    color: #fff;
}

.hotspot-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hotspot-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.hotspot-item:hover {
    transform: translateX(4px);
    border-color: var(--primary-light);
}

.hotspot-item.featured {
    border-left: 4px solid var(--primary);
}

.hotspot-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.hotspot-info {
    flex: 1;
    min-width: 0;
}

.hotspot-category {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hotspot-category.event { background: #e8f5e9; color: var(--primary); }
.hotspot-category.policy { background: #e3f2fd; color: #1976d2; }
.hotspot-category.research { background: #f3e5f5; color: #7b1fa2; }

.hotspot-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
}

.hotspot-info h3 a {
    color: var(--text);
    transition: var(--transition);
}

.hotspot-info h3 a:hover {
    color: var(--primary);
}

.hotspot-info p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hotspot-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.btn-load-more {
    display: block;
    margin: 32px auto 0;
    padding: 12px 40px;
    border-radius: 24px;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-load-more:hover {
    background: var(--primary);
    color: #fff;
}

/* 侧边栏 */
.hotspot-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.sidebar-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    margin-bottom: 20px;
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

.rank-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

.rank-list li:last-child {
    border-bottom: none;
}

.rank {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
    background: var(--bg);
    color: var(--text-muted);
}

.rank.top1 { background: #ff6b6b; color: #fff; }
.rank.top2 { background: #ffa94d; color: #fff; }
.rank.top3 { background: #ffd43b; color: #fff; }

.rank-list a {
    flex: 1;
    font-size: 14px;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: var(--transition);
}

.rank-list a:hover {
    color: var(--primary);
}

.rank-heat {
    font-size: 11px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.expert-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.expert-item:hover {
    background: #e8f5e9;
}

.expert-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow);
}

.expert-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.expert-info p {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== 产品推荐 ========== */
.products-section {
    padding: 80px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    background: var(--bg);
}

.product-info {
    padding: 20px;
}

.product-category {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    background: #e8f5e9;
    color: var(--primary);
    margin-bottom: 8px;
}

.product-info h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}

.product-info p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-footer .product-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
}

.product-rating {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== 社区分享 ========== */
.community-section {
    padding: 80px 24px;
    background: #fff;
}

.community-layout {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 32px;
}

.community-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.share-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.share-card:hover {
    box-shadow: var(--shadow-lg);
}

.share-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.user-info h4 {
    font-size: 15px;
    font-weight: 700;
}

.user-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.share-content {
    font-size: 15px;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 14px;
}

.share-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.tag {
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 12px;
    background: #e8f5e9;
    color: var(--primary);
    font-weight: 500;
}

.share-actions {
    display: flex;
    gap: 20px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.share-actions button {
    background: none;
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
    padding: 4px 8px;
    border-radius: 6px;
}

.share-actions button:hover {
    color: var(--primary);
    background: #e8f5e9;
}

.community-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.service-item:hover {
    background: #e8f5e9;
}

.service-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.service-info h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.service-info p {
    font-size: 12px;
    color: var(--text-muted);
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feedback-form textarea {
    width: 100%;
    height: 120px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}

.feedback-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(45, 140, 90, 0.1);
}

.feedback-form .btn-primary {
    padding: 12px 24px;
    font-size: 15px;
}

/* ========== 页脚 ========== */
.footer {
    background: #1a2e1f;
    color: rgba(255,255,255,0.7);
    padding: 60px 24px 0;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 80px;
    padding-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo-icon {
    width: 46px;
    height: 46px;
    font-size: 24px;
    margin-bottom: 12px;
    display: inline-flex;
}

.footer-brand .logo-text {
    color: #fff;
    font-size: 22px;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    max-width: 1280px;
    margin: 0 auto;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
    .dimensions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-content {
        flex-direction: column;
        gap: 40px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-right {
        width: 100%;
    }

    .constitution-card {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .hotspot-layout,
    .community-layout {
        flex-direction: column;
    }

    .hotspot-sidebar,
    .community-sidebar {
        width: 100%;
    }

    .dimensions-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .section-title {
        font-size: 26px;
    }

    .hero-title {
        font-size: 28px;
    }

    .puzzle-container {
        width: 280px;
        height: 280px;
    }

    .puzzle-piece {
        width: 72px;
        height: 72px;
        border-radius: 12px;
    }

    .puzzle-center {
        width: 100px;
        height: 100px;
    }

    .score-number {
        font-size: 24px;
    }
}

/* ========== 动画 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.dimension-card,
.product-card,
.share-card,
.hotspot-item {
    animation: fadeInUp 0.6s ease both;
}

.dimension-card:nth-child(1) { animation-delay: 0.05s; }
.dimension-card:nth-child(2) { animation-delay: 0.1s; }
.dimension-card:nth-child(3) { animation-delay: 0.15s; }
.dimension-card:nth-child(4) { animation-delay: 0.2s; }
.dimension-card:nth-child(5) { animation-delay: 0.25s; }
.dimension-card:nth-child(6) { animation-delay: 0.3s; }
.dimension-card:nth-child(7) { animation-delay: 0.35s; }
.dimension-card:nth-child(8) { animation-delay: 0.4s; }

.constitution-tag .tag-value {
    animation: pulse 2s ease-in-out infinite;
}
