/* ============================================
   好管家 纽约华人服务平台 - Premium CSS
   qjgsny.com
   ============================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #1a56db;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --ai-color: #7c3aed;
    --ai-light: #a78bfa;
    --dark: #0f172a;
    --dark2: #1e293b;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --bg2: #f1f5f9;
    --white: #ffffff;
    --success: #10b981;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,.25);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Flyzusa community layout adapted for the information board. */
.forum-main,
.topic-thread-section {
    background: var(--bg);
    padding: 28px 0 64px;
}

.forum-list-head,
.topic-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px 100px 100px 220px;
    align-items: center;
    column-gap: 18px;
    padding-left: 20px;
    padding-right: 20px;
}

.forum-list-head {
    border-bottom: 2px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 24px;
}

.forum-list-head .tabs {
    display: flex;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    flex-wrap: nowrap;
    gap: 0;
}

.forum-list-head .tab {
    border-radius: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 800;
    padding: 10px 16px;
}

.forum-list-head .tab.active {
    border-bottom: 3px solid var(--primary);
    color: var(--primary);
}

.forum-topic-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.forum-loading {
    color: var(--text-muted);
    padding: 40px;
    text-align: center;
}

.topic-row {
    background: #fff;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    padding-bottom: 18px;
    padding-top: 18px;
    text-decoration: none;
    transition: background .2s;
}

.topic-row:last-child { border-bottom: 0; }
.topic-row:hover { background: #f8fafc; color: var(--text); }
.topic-title { font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.forum-head-label,
.topic-summary,
.topic-city,
.topic-last { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topic-summary { color: var(--text-muted); font-size: 13px; }
.topic-summary-icon { color: var(--success); margin-right: 4px; }
.topic-count { color: var(--primary); font-weight: 900; text-align: center; }
.topic-last { display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.topic-last-author { color: var(--primary); font-weight: 800; }
.topic-last-time { color: var(--text-light); }

.forum-page-nav {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 34px auto 0;
    padding-top: 22px;
}

.forum-page-link {
    align-items: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    color: var(--primary);
    display: inline-flex;
    font-weight: 800;
    height: 36px;
    justify-content: center;
    min-width: 36px;
    padding: 0 12px;
}

.forum-page-link.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.forum-page-link.disabled { background: #f8fafc; box-shadow: none; color: var(--text-light); cursor: not-allowed; min-width: 72px; }

.forum-back-link {
    color: var(--primary);
    display: flex;
    font-weight: 800;
    margin: 0 auto 14px;
    max-width: 980px;
    text-decoration: underline;
}

.topic-detail,
.topic-thread-section .article-comments,
.topic-thread-section .reply-section-head {
    margin-left: auto;
    margin-right: auto;
    max-width: 980px;
}

.topic-post-card,
.reply-card,
.article-comments {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

.topic-post-card { margin-bottom: 22px; padding: 28px 32px; }
.topic-post-head,
.reply-head,
.reply-section-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.topic-author,
.reply-author { align-items: center; display: flex; gap: 10px; font-weight: 900; }
.topic-avatar,
.reply-avatar {
    align-items: center;
    background: var(--primary);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 900;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.reply-meta { color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.topic-post-card h1 { color: var(--dark); font-size: 2rem; line-height: 1.35; margin: 18px 0 14px; }
.topic-body,
.reply-body { color: #334155; line-height: 1.85; white-space: pre-wrap; }
.reply-section-head { margin-bottom: 14px; margin-top: 24px; }
.reply-list { display: grid; gap: 12px; margin: 0 auto 24px; max-width: 980px; }
.reply-card { padding: 16px 18px; }

.article-comments {
    color: #1f2937;
    margin-top: 24px;
    padding: 28px 32px;
}

.article-comments h2 { color: #111827; font-size: 1.35rem; line-height: 1.3; margin: 0 0 8px; }
.comment-note { color: var(--text-muted); font-size: .92rem; line-height: 1.7; margin: 0 0 20px; }
.comment-empty { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px; color: var(--text-muted); padding: 16px; }
.comment-form { border-top: 1px solid var(--border); padding-top: 20px; }
.comment-form label { color: #334155; display: block; font-size: .9rem; font-weight: 800; margin: 12px 0 6px; }
.comment-form input,
.comment-form textarea { background: #fff; border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; padding: 11px 12px; width: 100%; }
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-hp { left: -9999px; opacity: 0; position: absolute; }
.comment-actions { align-items: center; display: flex; gap: 12px; margin-top: 14px; }
.comment-submit { background: var(--primary); border: 0; border-radius: 10px; color: #fff; cursor: pointer; font-weight: 900; padding: 11px 18px; }
.comment-submit:hover { background: var(--primary-dark); }
.comment-result { color: var(--primary); font-size: .9rem; font-weight: 800; }
.comment-result.ok { color: #047857; }
.comment-result.err { color: #b91c1c; }
.comment-captcha-q { color: var(--primary); font-weight: 900; }

@media (max-width: 760px) {
    .forum-list-head,
    .topic-row { column-gap: 6px; grid-template-columns: minmax(0,1fr) 82px 48px 58px 104px; padding-left: 12px; padding-right: 12px; }
    .forum-list-head { font-size: 10px; margin-bottom: 14px; overflow-x: auto; }
    .forum-list-head .tabs { min-width: 210px; }
    .forum-list-head .tab { font-size: 11px; padding: 8px 7px; }
    .topic-row { padding-bottom: 14px; padding-top: 14px; }
    .topic-post-card,
    .article-comments { padding: 20px; }
    .topic-post-card h1 { font-size: 1.45rem; }
    .comment-actions { align-items: flex-start; flex-direction: column; }
}

/* ---- Top Bar ---- */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,.8);
    font-size: 0.82rem;
    padding: 8px 0;
    position: relative;
    z-index: 100;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    max-width: 1280px;
    padding: 0 24px;
}
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.top-bar-right a {
    color: rgba(255,255,255,.8);
    display: flex; align-items: center; gap: 5px;
    transition: var(--transition);
    padding: 3px 10px;
    border-radius: 20px;
}
.top-bar-right a:hover { color: var(--white); background: rgba(255,255,255,.1); }
.top-bar-right a:last-child { background: var(--ai-color); color: white; }
.top-bar-right a:last-child:hover { background: #6d28d9; }

/* ---- Header ---- */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: var(--transition);
    width: 100%;
}
.main-header > .container {
    display: block !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}
.main-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.12); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
}

.logo-area { flex-shrink: 0; }
.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.logo-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(26,86,219,.3);
    flex-shrink: 0;
}
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-size: 1.4rem; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }
.logo-sub { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
.nav-link {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    white-space: nowrap;
    display: flex; align-items: center; gap: 5px;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(26,86,219,.06); }
.main-nav a::after,
.top-bar a::after,
.header-actions a::after {
    display: none !important;
    content: none !important;
}
.nav-ai { color: var(--ai-color) !important; }
.nav-ai:hover { background: rgba(124,58,237,.08) !important; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 20px;
    min-width: 480px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    z-index: 1000;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}
.dropdown-grid a {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--text);
    transition: var(--transition);
    font-weight: 500;
}
.dropdown-grid a i { color: var(--primary); font-size: 0.9rem; width: 16px; }
.dropdown-grid a:hover { background: var(--bg); color: var(--primary); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.search-box {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 25px;
    overflow: hidden;
    transition: var(--transition);
}
.search-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.search-box input {
    border: none; background: none; padding: 8px 14px;
    font-size: 0.88rem; width: 180px; outline: none;
    font-family: inherit; color: var(--text);
}
.search-box button {
    padding: 8px 14px; color: var(--primary);
    font-size: 0.9rem; transition: var(--transition);
}
.search-box button:hover { color: var(--primary-dark); }

.header-phone-btn {
    display: flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 9px 14px;
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(26,86,219,.3);
}
.header-phone-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,86,219,.4); }

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}
.mobile-menu-btn span {
    display: block; width: 24px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: var(--transition);
}
.mobile-menu-btn:hover { background: var(--bg); }

/* ---- Hero ---- */
.hero-platform {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 40%, #1a56db 70%, #2563eb 100%);
    padding: 90px 0 80px;
    overflow: hidden;
    min-height: 600px;
    display: flex; align-items: center;
}
.hero-platform::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-platform::after {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,.2) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-bg-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(15,23,42,.3));
}

.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.2);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}
.hero-badge i { color: var(--accent); }

.hero-platform h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-platform h1 .highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    color: rgba(255,255,255,.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.hero-phone-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    font-size: 1.4rem;
    font-weight: 800;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    margin-bottom: 32px;
    box-shadow: 0 6px 24px rgba(245,158,11,.4);
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: pulse-phone 2s infinite;
}
.hero-phone-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(245,158,11,.55);
    color: white;
}
.hero-phone-cta i {
    font-size: 1.2rem;
    animation: ring 1.5s ease-in-out infinite;
}
@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-15deg); }
    20% { transform: rotate(15deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}
@keyframes pulse-phone {
    0%, 100% { box-shadow: 0 6px 24px rgba(245,158,11,.4); }
    50% { box-shadow: 0 6px 36px rgba(245,158,11,.7); }
}

/* Hero Search */
.hero-search {
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-xl);
    padding: 20px;
    margin-bottom: 40px;
    max-width: 780px;
    margin-left: auto; margin-right: auto;
}
.search-tabs {
    display: flex; gap: 6px; margin-bottom: 14px;
    flex-wrap: wrap; justify-content: center;
}
.stab {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,.2);
}
.stab:hover, .stab.active {
    background: white;
    color: var(--primary);
    border-color: white;
}
.search-bar-wrap {
    display: flex; align-items: center;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
}
.search-icon { padding: 0 14px; color: var(--text-muted); font-size: 1rem; }
.search-bar-wrap input {
    flex: 1; border: none; outline: none;
    padding: 14px 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: var(--text);
}
.search-bar-wrap select {
    border: none; outline: none;
    padding: 14px 12px;
    font-size: 0.88rem;
    color: var(--text-muted);
    background: var(--bg);
    border-left: 1px solid var(--border);
    font-family: inherit;
    cursor: pointer;
}
.search-btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    transition: var(--transition);
    white-space: nowrap;
}
.search-btn:hover { background: linear-gradient(135deg, var(--primary-dark), #1e3a8a); }

/* Hero Stats */
.hero-stats {
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-lg);
    padding: 20px 30px;
    max-width: 600px;
    margin: 0 auto;
}
.stat-item {
    display: flex; flex-direction: column; align-items: center;
    padding: 0 28px;
    color: white;
}
.stat-num {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--accent);
}
.stat-item > span:nth-child(2) { font-size: 1.2rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,.7); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* ---- Quick Categories ---- */
.quick-cats {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,.04);
}
.cats-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}
.cat-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 14px 8px;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    text-decoration: none;
}
.cat-item:hover { background: var(--bg); transform: translateY(-3px); }
.cat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.cat-item:hover .cat-icon { transform: scale(1.08); box-shadow: var(--shadow-lg); }
.cat-item span { font-size: 0.8rem; font-weight: 600; color: var(--text); text-align: center; }
.cat-badge {
    position: absolute; top: 8px; right: 8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 8px;
    letter-spacing: 0.5px;
}

/* ---- Section Headers ---- */
.section-header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}
.section-header.light h2, .section-header.light p { color: white; }
.section-tag {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(26,86,219,.08);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.ai-tag { background: rgba(124,58,237,.1); color: var(--ai-color); }
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.section-header p { color: var(--text-muted); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.view-all-btn {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 12px;
    transition: var(--transition);
    padding: 6px 14px;
    border-radius: 8px;
}
.view-all-btn:hover { background: rgba(26,86,219,.06); gap: 10px; }

/* ---- Merchant Cards ---- */
.featured-merchants {
    padding: 80px 0;
    background: var(--bg);
}
.merchants-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.merchant-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border);
}
.merchant-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(26,86,219,.2);
}
.merchant-card.featured { border: 2px solid var(--primary); }
.merchant-badge {
    position: absolute; top: 12px; right: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.5px;
}
.merchant-header {
    height: 100px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.merchant-cat-icon { font-size: 2.5rem; color: rgba(255,255,255,.9); }
.merchant-body { padding: 20px; }
.merchant-rating {
    display: flex; align-items: center; gap: 4px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}
.merchant-rating i { color: #fbbf24; font-size: 0.8rem; }
.merchant-rating span { color: var(--text-muted); margin-left: 4px; }
.merchant-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.merchant-cat, .merchant-area {
    font-size: 0.82rem; color: var(--text-muted);
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 6px;
}
.merchant-cat i, .merchant-area i { color: var(--primary); font-size: 0.75rem; }
.merchant-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; margin: 10px 0; }
.merchant-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.merchant-tags span {
    background: var(--bg);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--border);
}
.merchant-footer { display: flex; gap: 10px; align-items: center; }
.merchant-call-btn {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}
.merchant-call-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(26,86,219,.3); }
.merchant-detail-btn {
    padding: 10px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}
.merchant-detail-btn:hover { border-color: var(--primary); color: var(--primary); }

.merchants-cta {
    display: flex; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.btn-primary-lg {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(26,86,219,.3);
}
.btn-primary-lg:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(26,86,219,.4); }
.btn-outline-lg {
    display: inline-flex; align-items: center; gap: 8px;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
}
.btn-outline-lg:hover { background: var(--primary); color: white; transform: translateY(-2px); }

/* ---- AI Section ---- */
.ai-section {
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}
.ai-bg {
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.ai-section .section-header h2 { color: white; }
.ai-section .section-header p { color: rgba(255,255,255,.7); }

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.ai-card {
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.ai-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--ai-color), var(--ai-light));
    opacity: 0;
    transition: var(--transition);
}
.ai-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: rgba(167,139,250,.3); }
.ai-card:hover::before { opacity: 1; }
.ai-card.ai-featured {
    background: rgba(124,58,237,.2);
    border-color: rgba(167,139,250,.4);
}
.ai-card.ai-featured::before { opacity: 1; }
.ai-card-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--ai-color), var(--ai-light));
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.4rem;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(124,58,237,.4);
}
.ai-card h3 { font-size: 1.05rem; font-weight: 700; color: white; margin-bottom: 10px; }
.ai-card p { font-size: 0.88rem; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 16px; }
.ai-status {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    font-weight: 600;
}
.coming-soon { background: rgba(245,158,11,.15); color: #fbbf24; border: 1px solid rgba(245,158,11,.3); }
.ai-btn {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--ai-light);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
}
.ai-btn:hover { color: white; border-bottom-color: var(--ai-light); }
.ai-cta { text-align: center; }
.btn-ai-all {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, var(--ai-color), #6d28d9);
    color: white;
    padding: 14px 36px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(124,58,237,.4);
}
.btn-ai-all:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(124,58,237,.5); }

/* ---- Join Section ---- */
.join-section {
    padding: 90px 0;
    background: var(--white);
}
.join-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.join-content .section-tag { margin-bottom: 16px; }
.join-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.join-content > p { color: var(--text-muted); font-size: 1rem; line-height: 1.7; margin-bottom: 28px; }
.join-benefits { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.benefit-item {
    display: flex; align-items: flex-start; gap: 14px;
}
.benefit-item > i { color: var(--success); font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.benefit-item div { display: flex; flex-direction: column; gap: 2px; }
.benefit-item strong { font-size: 0.95rem; color: var(--dark); font-weight: 700; }
.benefit-item span { font-size: 0.85rem; color: var(--text-muted); }
.join-cta-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 16px 36px;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(26,86,219,.3);
}
.join-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(26,86,219,.4); }

/* Form Preview */
.form-preview-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border);
}
.form-preview-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px 24px;
    font-size: 1rem;
    font-weight: 700;
    display: flex; align-items: center; gap: 10px;
}
.form-preview-body { padding: 24px; }
.fp-field { margin-bottom: 16px; }
.fp-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.fp-input {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.fp-input i { color: var(--primary); }
.fp-submit-btn {
    display: block; width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    margin-top: 20px;
    transition: var(--transition);
}
.fp-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,86,219,.3); }
.fp-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 12px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.fp-note i { color: var(--primary); }

/* ---- Areas Section ---- */
.areas-section {
    padding: 80px 0;
    background: var(--bg);
}
.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.area-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.area-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}
.area-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(26,86,219,.2); }
.area-card:hover::before { opacity: 1; }
.area-card.area-main { border-color: var(--primary); }
.area-card.area-main::before { opacity: 1; }
.area-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1rem;
    margin-bottom: 14px;
}
.area-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.area-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }
.area-count { font-size: 0.82rem; color: var(--primary); font-weight: 700; }
.area-count span { font-size: 1.2rem; }

/* ---- Testimonials ---- */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.testimonial-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.t-stars { color: #fbbf24; font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}
.t-author div { display: flex; flex-direction: column; gap: 2px; }
.t-author strong { font-size: 0.9rem; color: var(--dark); }
.t-author span { font-size: 0.78rem; color: var(--text-muted); }

/* ---- News Section ---- */
.news-section {
    padding: 80px 0;
    background: var(--bg);
}
.news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 20px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex; flex-direction: column;
    text-decoration: none;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.news-img {
    height: 160px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,.8);
}
.news-card.news-featured .news-img { height: 200px; }
.news-body { padding: 20px; flex: 1; }
.news-cat {
    display: inline-block;
    background: rgba(26,86,219,.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}
.news-body h3 { font-size: 0.95rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.news-body p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.news-date { font-size: 0.78rem; color: var(--text-light); display: flex; align-items: center; gap: 5px; }

/* ---- CTA Banner ---- */
.cta-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.cta-inner {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px; flex-wrap: wrap;
}
.cta-content h2 { font-size: 1.8rem; font-weight: 800; color: white; margin-bottom: 8px; }
.cta-content p { color: rgba(255,255,255,.8); font-size: 1rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-phone-btn {
    display: flex; align-items: center; gap: 12px;
    background: white;
    color: var(--primary);
    padding: 14px 24px;
    border-radius: 14px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,.15);
}
.cta-phone-btn i { font-size: 1.2rem; }
.cta-phone-btn div { display: flex; flex-direction: column; line-height: 1.2; }
.cta-phone-btn span { font-size: 0.75rem; color: var(--text-muted); }
.cta-phone-btn strong { font-size: 1.1rem; }
.cta-phone-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.2); }
.cta-contact-btn, .cta-join-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--transition);
}
.cta-contact-btn {
    background: rgba(255,255,255,.15);
    color: white;
    border: 1.5px solid rgba(255,255,255,.3);
    backdrop-filter: blur(10px);
}
.cta-contact-btn:hover { background: rgba(255,255,255,.25); }
.cta-join-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(245,158,11,.4);
}
.cta-join-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245,158,11,.5); }

/* ---- Footer ---- */
.main-footer { background: var(--dark); }
.footer-top { padding: 60px 0 40px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand .footer-logo {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 16px;
}
.footer-brand .footer-logo .logo-icon { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.footer-brand .logo-main { color: white; font-size: 1.3rem; }
.footer-brand .logo-sub { color: rgba(255,255,255,.5); font-size: 0.7rem; }
.footer-brand > p { color: rgba(255,255,255,.55); font-size: 0.88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-contact-info p {
    color: rgba(255,255,255,.6);
    font-size: 0.85rem;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 8px;
}
.footer-contact-info i { color: var(--primary-light); width: 16px; }
.footer-contact-info a { color: rgba(255,255,255,.8); }
.footer-contact-info a:hover { color: white; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.08);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: 1rem;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: white; transform: translateY(-2px); }

.footer-col h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
    color: rgba(255,255,255,.55);
    font-size: 0.85rem;
    transition: var(--transition);
    display: flex; align-items: center; gap: 7px;
}
.footer-col ul li a i { color: var(--primary-light); font-size: 0.75rem; width: 14px; }
.footer-col ul li a:hover { color: white; padding-left: 4px; }

.wechat-qr { text-align: center; margin-top: 10px; }
.wechat-qr img { width: 80px; height: 80px; border-radius: 8px; border: 2px solid rgba(255,255,255,.1); }
.wechat-qr p { color: rgba(255,255,255,.4); font-size: 0.75rem; margin-top: 6px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { color: rgba(255,255,255,.4); font-size: 0.8rem; }
.footer-bottom a { color: rgba(255,255,255,.5); transition: var(--transition); }
.footer-bottom a:hover { color: white; }
.footer-designer { font-size: 0.78rem !important; }

/* ---- FAB ---- */
.fab-container {
    position: fixed;
    bottom: 30px; right: 24px;
    display: flex; flex-direction: column; gap: 10px;
    z-index: 9999;
}
.fab {
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: none;
}
.fab:hover { transform: scale(1.1) translateY(-2px); }
.fab-phone { background: linear-gradient(135deg, #10b981, #059669); }
.fab-join { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.fab-ai { background: linear-gradient(135deg, var(--ai-color), #6d28d9); }
.fab-top { background: linear-gradient(135deg, #64748b, #475569); opacity: 0; pointer-events: none; transition: var(--transition); }
.fab-top.visible { opacity: 1; pointer-events: all; }

/* ---- Page Hero (inner pages) ---- */
.page-hero,
.page-header,
.service-page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}
.page-hero::before,
.page-header::before,
.service-page-header::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container,
.page-header .container,
.service-page-header .container {
    position: relative;
    z-index: 1;
}
.page-hero h1,
.page-header h1,
.service-page-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
    position: relative;
    text-shadow: none;
}
.page-hero p,
.page-header p,
.service-page-hero p {
    color: rgba(255,255,255,.75);
    font-size: 1rem;
    position: relative;
}
.about-page,
.blog-section,
.faq-section,
.services-section,
.service-content,
.service-detail,
.contact-main,
.join-main,
.merchants-main,
.board-main,
.board-top,
.board-action-row {
    background: var(--bg);
}
.breadcrumb {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    color: rgba(255,255,255,.5);
    font-size: 0.85rem;
    margin-bottom: 16px;
    position: relative;
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: var(--transition); }
.breadcrumb a:hover { color: white; }
.breadcrumb i { font-size: 0.7rem; }

/* ---- Contact Section ---- */
.contact-main { padding: 70px 0; background: var(--bg); }
.contact-layout { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }
.contact-form-card { background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; border: 1px solid var(--border); }
.contact-form-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 28px 32px; }
.contact-form-header h2 { color: white; font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.contact-form-header p { color: rgba(255,255,255,.75); font-size: 0.88rem; }
.contact-form-body { padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.form-group label .req { color: #ef4444; margin-left: 3px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 0.9rem; font-family: inherit; color: var(--text); background: var(--bg); transition: var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-submit-btn { width: 100%; padding: 15px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border: none; border-radius: 12px; font-size: 1rem; font-weight: 700; font-family: inherit; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 6px 20px rgba(26,86,219,.3); }
.contact-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(26,86,219,.4); }
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card { background: white; border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.contact-info-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.contact-info-card h3 i { color: var(--primary); }
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--primary-light)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; flex-shrink: 0; }
.contact-item div strong { display: block; font-size: 0.88rem; color: var(--dark); margin-bottom: 3px; }
.contact-item div a, .contact-item div span { font-size: 0.85rem; color: var(--text-muted); }
.contact-item div a { transition: var(--transition); }
.contact-item div a:hover { color: var(--primary); }
.wechat-card { background: linear-gradient(135deg, #07c160, #06ad56); border-radius: var(--radius-lg); padding: 24px; text-align: center; color: white; }
.wechat-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.wechat-card p { font-size: 0.85rem; opacity: 0.85; margin-bottom: 16px; }
.wechat-qr-box { background: white; border-radius: 12px; padding: 12px; display: inline-block; }
.wechat-qr-box img { width: 100px; height: 100px; display: block; }
.wechat-qr-placeholder { width: 100px; height: 100px; background: var(--bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.wechat-qr-placeholder i { font-size: 2.5rem; color: #07c160; }
.hours-card { background: white; border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border); box-shadow: var(--shadow); }
.hours-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hours-card h3 i { color: var(--primary); }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; }
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--text); font-weight: 500; }
.hours-row .time { color: var(--primary); font-weight: 600; }
.hours-row .closed { color: var(--text-muted); }

/* ---- Utility ---- */
.section-pad { padding: 80px 0; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .cats-grid { grid-template-columns: repeat(6, 1fr); }
    .merchants-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    .header-actions .search-box { display: none; }
    .dropdown-menu { min-width: 360px; }
    .dropdown-grid { grid-template-columns: repeat(3, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .join-inner { grid-template-columns: 1fr; gap: 40px; }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr 1fr; }
    .news-card.news-featured { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 16px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--border); z-index: 999; }
    .main-nav.active { display: flex; }
    .nav-dropdown { width: 100%; }
    .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: none; padding: 8px 0 8px 16px; min-width: auto; display: none; }
    .nav-dropdown:hover .dropdown-menu { display: block; }
    .dropdown-grid { grid-template-columns: repeat(2, 1fr); }
    .mobile-menu-btn { display: flex; }
    .header-phone-btn span { display: none; }
    .header-phone-btn { padding: 9px 12px; }
    .hero-platform { padding: 60px 0; }
    .hero-stats { gap: 0; }
    .stat-item { padding: 0 16px; }
    .stat-num { font-size: 1.5rem; }
    .cats-grid { grid-template-columns: repeat(4, 1fr); }
    .merchants-grid { grid-template-columns: 1fr; }
    .ai-grid { grid-template-columns: 1fr; }
    .areas-grid { grid-template-columns: 1fr 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-body { padding: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .search-bar-wrap { flex-wrap: wrap; }
    .search-bar-wrap select { border-left: none; border-top: 1px solid var(--border); width: 100%; }
    .search-btn { width: 100%; justify-content: center; }
    .hero-stats { flex-wrap: wrap; gap: 10px; }
    .stat-divider { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .cats-grid { grid-template-columns: repeat(3, 1fr); }
    .areas-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-platform h1 { font-size: 1.7rem; }
    .search-tabs { gap: 4px; }
    .stab { padding: 5px 10px; font-size: 0.78rem; }
    .fab-container { bottom: 20px; right: 16px; }
    .fab { width: 44px; height: 44px; font-size: 1rem; }
}

/* ---- Animations ---- */
@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); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.animate-in { animation: fadeInUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
