/* ============================================================
   长三角咖啡行业协会 AI数字运营平台 — 全局样式
   ============================================================ */

:root {
  --primary: #5D3A1A;
  --primary-dark: #3C2415;
  --primary-light: #8B5E3C;
  --accent: #C49A6C;
  --accent-hover: #B08858;
  --bg: #FAF7F2;
  --bg-white: #FFFFFF;
  --bg-soft: #F5E6D3;
  --text: #3C2415;
  --text-light: #8B5E3C;
  --text-muted: #999;
  --border: #E8D5C4;
  --border-soft: #F0E6D8;
  --success: #2E7D32;
  --success-bg: #E8F5E9;
  --warning: #E65100;
  --warning-bg: #FFF3E0;
  --danger: #C62828;
  --danger-bg: #FFEBEE;
  --info: #1565C0;
  --info-bg: #E3F2FD;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(92,58,26,0.06);
  --shadow-lg: 0 8px 24px rgba(92,58,26,0.12);
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 15px;
}

/* ===== Layout ===== */
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 20px; }
.section:nth-child(even) { background: var(--bg-white); }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header .icon { font-size: 36px; margin-bottom: 8px; }
.section-header h2 { font-size: 28px; color: var(--primary); margin-bottom: 8px; }
.section-header p { color: var(--text-light); font-size: 14px; }

/* ===== Top Bar ===== */
.top-bar { background: var(--primary-dark); color: #E8D5C4; font-size: 13px; padding: 6px 0; }
.top-bar .wrap { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #E8D5C4; text-decoration: none; margin-left: 16px; }
.top-bar a:hover { color: var(--accent); }

/* ===== Navigation ===== */
nav { background: var(--bg-white); box-shadow: 0 2px 12px rgba(92,58,26,0.08); position: sticky; top: 0; z-index: 100; }
nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.logo-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #FFF; font-size: 24px; flex-shrink: 0; }
.logo-text h1 { font-size: 18px; color: var(--primary); font-weight: 700; }
.logo-text span { font-size: 11px; color: var(--primary-light); display: block; }

/* Language toggle button */
.lang-btn { padding: 6px 18px; border: 2px solid var(--border); border-radius: 20px; background: transparent; color: var(--primary); font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.25s; white-space: nowrap; margin-left: 12px; letter-spacing: 1px; }
.lang-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--bg-soft); transform: scale(1.05); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; list-style: none; gap: 2px; }

.nav-links { display: flex; list-style: none; gap: 2px; }
.nav-links > li { position: relative; }
.nav-links > li > a { display: block; padding: 22px 14px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; transition: all 0.2s; cursor: pointer; }
.nav-links > li > a:hover, .nav-links > li > a.active { color: var(--accent); }
.nav-links > li > a.active { border-bottom: 3px solid var(--accent); }

.dropdown { position: absolute; top: 100%; left: 0; background: var(--bg-white); min-width: 180px; box-shadow: var(--shadow-lg); border-radius: var(--radius-sm); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.25s; list-style: none; padding: 8px 0; z-index: 200; }
.nav-links > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 20px; color: var(--primary); text-decoration: none; font-size: 14px; transition: all 0.15s; }
.dropdown li a:hover { background: var(--bg-soft); color: var(--primary-light); padding-left: 24px; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--primary); cursor: pointer; padding: 10px; }

/* ===== Buttons ===== */
.btn { display: inline-block; padding: 12px 28px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: all 0.2s; }
.btn-gold { background: var(--accent); color: #FFF; }
.btn-gold:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-dark { background: var(--primary); color: #FFF; }
.btn-dark:hover { background: var(--primary-dark); }
.btn-outline { border: 2px solid var(--border); color: var(--primary); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

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

.card { background: var(--bg-white); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); transition: all 0.3s; cursor: pointer; border: 1px solid var(--border-soft); text-decoration: none; display: block; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.card-icon { font-size: 36px; margin-bottom: 14px; }
.card h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.card p { font-size: 13px; color: var(--text-light); }
.card .card-price { font-size: 22px; color: var(--accent); font-weight: 700; margin: 8px 0; }
.card .card-tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 12px; background: var(--bg-soft); color: var(--primary-light); margin-bottom: 8px; }

/* ===== Hero ===== */
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 70%, var(--accent) 100%); color: #FFF; padding: 72px 20px 90px; text-align: center; position: relative; overflow: hidden; }
.hero h2 { font-size: 38px; font-weight: 800; margin-bottom: 14px; letter-spacing: 1px; }
.hero p { font-size: 17px; opacity: 0.9; margin-bottom: 28px; }
.hero .hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* Data stats */
.data-stats { display: flex; justify-content: center; margin-top: 40px; }
.stat-box { text-align: center; padding: 16px 48px; }
.stat-num { font-size: 56px; font-weight: 900; text-shadow: 0 2px 12px rgba(0,0,0,0.25); line-height: 1.1; }
.stat-label { font-size: 16px; opacity: 0.92; margin-top: 8px; letter-spacing: 3px; }

/* Quick access */
.quick-access { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 40px; }
.qa-item { background: rgba(255,255,255,0.12); border-radius: var(--radius); padding: 20px 12px; text-align: center; text-decoration: none; color: #FFF; transition: all 0.2s; }
.qa-item:hover { background: rgba(255,255,255,0.22); transform: translateY(-3px); }
.qa-item .qa-icon { font-size: 28px; margin-bottom: 8px; }
.qa-item .qa-text { font-size: 13px; font-weight: 500; }

/* ===== Tabs ===== */
.tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; justify-content: center; }
.tab-btn { padding: 10px 22px; border: 2px solid var(--border); background: var(--bg-white); color: var(--primary); border-radius: var(--radius-sm); cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.tab-btn:hover, .tab-btn.active { background: var(--accent); color: #FFF; border-color: var(--accent); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== Forms ===== */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; color: var(--primary); margin-bottom: 6px; font-weight: 500; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 14px; outline: none; transition: border-color 0.2s; font-family: inherit; background: var(--bg-white);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card { max-width: 460px; margin: 0 auto; background: var(--bg-white); padding: 36px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-card.wide { max-width: 720px; }
.form-card h3 { text-align: center; color: var(--primary); margin-bottom: 24px; font-size: 22px; }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.news-main { background: var(--bg-white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.news-main h3 { font-size: 18px; color: var(--primary); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--border-soft); }
.news-item { padding: 12px 0; border-bottom: 1px solid var(--border-soft); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.news-item:last-child { border-bottom: none; }
.news-item a { color: var(--text); text-decoration: none; font-size: 14px; flex: 1; transition: color 0.2s; }
.news-item a:hover { color: var(--accent); }
.news-item .tag { font-size: 12px; padding: 2px 8px; border-radius: 3px; margin-right: 8px; font-weight: 500; white-space: nowrap; }
.tag-policy { background: var(--warning-bg); color: var(--warning); }
.tag-news { background: var(--success-bg); color: var(--success); }
.tag-tech { background: var(--info-bg); color: var(--info); }
.tag-global { background: #F3E5F5; color: #7B1FA2; }
.news-date { color: var(--text-muted); font-size: 12px; white-space: nowrap; }
.news-side { display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--bg-white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 16px; color: var(--primary); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border-soft); }

/* ===== Activity ===== */
.activity-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.activity-card { background: var(--bg-white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; text-decoration: none; color: inherit; display: block; }
.activity-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.act-img { height: 160px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 44px; }
.act-body { padding: 20px; }
.act-body .status { font-size: 12px; padding: 3px 10px; border-radius: 12px; display: inline-block; margin-bottom: 8px; }
.status-open { background: var(--success-bg); color: var(--success); }
.status-ended { background: #F5F5F5; color: var(--text-muted); }
.status-full { background: var(--warning-bg); color: var(--warning); }
.act-body h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.act-body p { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.act-source { font-size: 11px; color: var(--text-muted); margin-top: 8px; }

/* ===== Org Chart ===== */
.org-chart { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.org-top { padding: 18px 36px; background: var(--primary); color: #FFF; border-radius: var(--radius); font-size: 17px; font-weight: 700; }
.org-line { width: 2px; height: 20px; background: var(--accent); }
.org-row { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.org-box { padding: 14px 24px; background: var(--bg-white); border: 2px solid var(--border); border-radius: 10px; font-size: 14px; color: var(--primary); font-weight: 600; text-align: center; min-width: 100px; }
.org-box .sub { font-size: 12px; color: var(--text-light); font-weight: 400; margin-top: 4px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-info { padding: 32px; background: var(--bg-white); border-radius: var(--radius); }
.contact-info h3 { font-size: 20px; color: var(--primary); margin-bottom: 20px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.contact-item .ci-icon { font-size: 20px; min-width: 28px; }
.contact-item .ci-text { font-size: 14px; color: var(--primary); }
.contact-item .ci-label { font-size: 12px; color: var(--text-muted); }
.contact-map { background: var(--bg-soft); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 16px; min-height: 300px; }

/* ===== AI Chat ===== */
.ai-chat-box { background: var(--bg-white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
.ai-avatar { width: 64px; height: 64px; background: linear-gradient(135deg, var(--accent), var(--primary)); border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.ai-chat-box h3 { color: var(--primary); margin-bottom: 12px; text-align: center; }
.ai-chat-box .ai-desc { color: var(--text-light); text-align: center; margin-bottom: 20px; font-size: 14px; }
.ai-chat-messages { max-height: 400px; overflow-y: auto; margin-bottom: 16px; padding: 12px; background: var(--bg); border-radius: var(--radius-sm); }
.ai-msg { margin-bottom: 12px; padding: 12px 16px; border-radius: var(--radius-sm); max-width: 85%; }
.ai-msg-user { background: var(--accent); color: #FFF; margin-left: auto; }
.ai-msg-bot { background: var(--bg-white); border: 1px solid var(--border-soft); }
.ai-msg-bot .ai-source { font-size: 12px; color: var(--text-muted); margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border-soft); }
.ai-input-row { display: flex; gap: 8px; }
.ai-input-row input { flex: 1; padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; outline: none; }
.ai-input-row input:focus { border-color: var(--accent); }
.ai-quick-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.ai-quick-tag { font-size: 12px; padding: 6px 14px; background: var(--bg-soft); border-radius: 14px; cursor: pointer; color: var(--primary); transition: all 0.2s; }
.ai-quick-tag:hover { background: var(--accent); color: #FFF; }

/* ===== Table ===== */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
table th { background: var(--primary); color: #FFF; padding: 12px 16px; text-align: left; font-weight: 600; white-space: nowrap; }
table td { padding: 12px 16px; border-bottom: 1px solid var(--border-soft); }
table tr:hover { background: var(--bg); }
table tr:nth-child(even) { background: rgba(245,230,211,0.3); }

/* ===== Badge ===== */
.badge { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 12px; font-weight: 500; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-danger { background: var(--danger-bg); color: var(--danger); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-muted { background: #F5F5F5; color: var(--text-muted); }

/* ===== Alert ===== */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.alert-warning { background: var(--warning-bg); color: var(--warning); }
.alert-info { background: var(--info-bg); color: var(--info); }
.alert-success { background: var(--success-bg); color: var(--success); }
.alert-danger { background: var(--danger-bg); color: var(--danger); }

/* ===== Footer ===== */
footer { background: var(--primary-dark); color: var(--accent); padding: 48px 20px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 32px; }
.footer-col h3 { color: #E8D5C4; font-size: 16px; margin-bottom: 16px; }
.footer-col p, .footer-col a { font-size: 13px; color: var(--accent); line-height: 2; text-decoration: none; display: block; }
.footer-col a:hover { color: #FFF; }
.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(200,154,108,0.2); font-size: 13px; }

/* ===== Admin Layout ===== */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--primary-dark); color: #E8D5C4; padding: 0; position: fixed; width: 240px; height: 100vh; overflow-y: auto; z-index: 100; }
.admin-sidebar .admin-logo { padding: 20px; text-align: center; border-bottom: 1px solid rgba(200,154,108,0.2); }
.admin-sidebar .admin-logo h2 { color: #FFF; font-size: 16px; }
.admin-sidebar .admin-logo span { font-size: 12px; color: var(--accent); }
.admin-nav { list-style: none; padding: 12px 0; }
.admin-nav li a { display: flex; align-items: center; gap: 10px; padding: 12px 24px; color: #E8D5C4; text-decoration: none; font-size: 14px; transition: all 0.2s; }
.admin-nav li a:hover, .admin-nav li a.active { background: rgba(200,154,108,0.15); color: #FFF; border-left: 3px solid var(--accent); }
.admin-nav li a .nav-icon { font-size: 18px; }
.admin-main { margin-left: 240px; padding: 24px; background: var(--bg); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; background: var(--bg-white); padding: 16px 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.admin-header h1 { font-size: 20px; color: var(--primary); }
.admin-content { background: var(--bg-white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); }
.admin-section { display: none; }
.admin-section.active { display: block; }

/* ===== Dashboard widgets ===== */
.dash-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 24px; }
.dash-stat { background: var(--bg-white); padding: 24px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.dash-stat .ds-num { font-size: 32px; font-weight: 800; color: var(--primary); }
.dash-stat .ds-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.dash-stat .ds-icon { font-size: 28px; margin-bottom: 8px; }

/* ===== Points ===== */
.points-card { background: linear-gradient(135deg, var(--primary), var(--accent)); color: #FFF; padding: 28px; border-radius: var(--radius); text-align: center; margin-bottom: 24px; }
.points-card .pc-num { font-size: 42px; font-weight: 800; }
.points-card .pc-label { font-size: 14px; opacity: 0.9; }

/* ===== Search bar ===== */
.search-bar { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.search-bar input, .search-bar select { padding: 10px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; outline: none; background: var(--bg-white); }
.search-bar input { flex: 1; min-width: 200px; }
.search-bar input:focus, .search-bar select:focus { border-color: var(--accent); }

/* ===== Filter chips ===== */
.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { padding: 8px 18px; border: 2px solid var(--border); border-radius: 20px; font-size: 13px; cursor: pointer; color: var(--primary); background: var(--bg-white); transition: all 0.2s; }
.chip:hover, .chip.active { background: var(--accent); color: #FFF; border-color: var(--accent); }

/* ===== Enterprise list ===== */
.ent-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ent-card { background: var(--bg-white); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border-soft); transition: all 0.3s; text-decoration: none; color: inherit; display: block; }
.ent-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ent-card .ent-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 12px; }
.ent-card h3 { font-size: 17px; color: var(--primary); }
.ent-card .ent-info { font-size: 13px; color: var(--text-light); margin-bottom: 4px; }
.ent-card .ent-tags { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }

/* ===== Empty state ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }
.empty-state .es-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { color: var(--primary); margin-bottom: 8px; }

/* ===== Modal ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(60,36,21,0.5); z-index: 1000; justify-content: center; align-items: center; }
.modal-overlay.active { display: flex; }
.modal { background: var(--bg-white); border-radius: var(--radius); padding: 32px; max-width: 560px; width: 90%; max-height: 85vh; overflow-y: auto; }
.modal h3 { color: var(--primary); margin-bottom: 20px; font-size: 20px; }
.modal-close { float: right; font-size: 24px; cursor: pointer; color: var(--text-muted); background: none; border: none; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .quick-access { grid-template-columns: repeat(3, 1fr); }
  .data-stats { flex-direction: column; align-items: center; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-white); flex-direction: column; box-shadow: var(--shadow-lg); padding: 8px 0; }
  .nav-links.show { display: flex; }
  .nav-links > li > a { padding: 14px 20px; }
  .nav-toggle { display: block; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 20px; }
  .hero h2 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .activity-cards { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .ent-list { grid-template-columns: 1fr; }
  .quick-access { grid-template-columns: repeat(2, 1fr); }
  .dash-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 16px; }
  .section-header h2 { font-size: 22px; }
  .form-card { padding: 24px; }
  .form-card.wide { padding: 20px; }
  /* Admin mobile */
  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
  .admin-sidebar.show { transform: translateX(0); }
  .admin-main { margin-left: 0; padding: 16px; }
  .admin-toggle { display: block !important; }
  .org-box { font-size: 12px; padding: 10px 16px; min-width: 80px; }
  .logo-text h1 { font-size: 15px; }
  .logo-text span { font-size: 10px; }
  .logo-icon { width: 40px; height: 40px; font-size: 20px; }
}

@media (max-width: 480px) {
  .hero h2 { font-size: 22px; }
  .quick-access { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 42px; }
  .btn { padding: 10px 22px; font-size: 14px; }
}

/* WeChat browser specific */
@media all and (max-width: 768px) {
  body { -webkit-tap-highlight-color: transparent; }
  .btn, .card, .tab-btn { -webkit-tap-highlight-color: transparent; }
}

/* ===== Association News Feed (协会动态) ===== */
.assoc-news-feed { max-width: 900px; margin: 0 auto; }
.assoc-news-item { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border-soft); transition: all 0.2s; }
.assoc-news-item:last-child { border-bottom: none; }
.assoc-news-item:hover { padding-left: 8px; }
.assoc-news-date { min-width: 80px; text-align: center; flex-shrink: 0; }
.assoc-news-date .day { font-size: 28px; font-weight: 800; color: var(--accent); line-height: 1; }
.assoc-news-date .month { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.assoc-news-body { flex: 1; }
.assoc-news-body h3 { font-size: 16px; color: var(--primary); margin-bottom: 6px; }
.assoc-news-body p { font-size: 13px; color: var(--text-light); line-height: 1.6; }
.assoc-news-tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 3px; background: var(--bg-soft); color: var(--primary-light); margin-bottom: 6px; }

/* ===== News Express Banner (新闻速递) ===== */
.news-express-banner { background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: var(--radius); padding: 28px 32px; color: #FFF; margin-bottom: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: var(--shadow-lg); }
.news-express-banner .neb-left { flex: 1; }
.news-express-banner .neb-title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.news-express-banner .neb-sub { font-size: 14px; opacity: 0.9; }
.news-express-banner .neb-badge { background: rgba(255,255,255,0.2); padding: 8px 20px; border-radius: 20px; font-size: 14px; font-weight: 600; white-space: nowrap; }

/* ===== Hero visual enhancement ===== */
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(196,154,108,0.12) 0%, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }

/* ===== Card visual enhancement ===== */
.card { position: relative; overflow: hidden; }
.card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), transparent); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.card:hover::after { transform: scaleX(1); }

/* ===== Section header enhancement ===== */
.section-header h2 { position: relative; display: inline-block; }
.section-header h2::after { content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 40px; height: 3px; background: var(--accent); border-radius: 2px; }
