/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --border: #e2e8f0;
    --bg: #f8fafc;
    --white: #fff;
    --radius: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 30px rgba(0,0,0,0.12);
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
}
.header-logo img { width: 32px; height: 32px; border-radius: 8px; }
.header-right { display: flex; align-items: center; gap: 16px; }
.header-search {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0 4px 0 14px;
    transition: all 0.2s;
}
.header-search:focus-within {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.header-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    width: 200px;
    padding: 7px 0;
    color: var(--text);
}
.header-search input::placeholder { color: #94a3b8; }
.header-search button {
    border: none;
    background: var(--primary);
    color: #fff;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.header-search button:hover { background: var(--primary-dark); }
.header-nav { display: flex; gap: 6px; }
.header-nav a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-muted);
    transition: all 0.2s;
}
.header-nav a:hover { background: var(--primary-light); color: var(--primary); }

/* ===== Hero ===== */
.page-hero {
    background: linear-gradient(180deg, #eef2ff 0%, #f8fafc 100%);
    padding: 72px 32px 56px;
    text-align: center;
    color: var(--text);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -50%; left: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.page-hero::after {
    content: '';
    position: absolute;
    top: -30%; right: -5%;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.hero-inner h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    margin-top: 8px;
    letter-spacing: -0.03em;
    line-height: 1.15;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 1200px;
    margin: 0 auto 10px;
    line-height: 1.7;
    letter-spacing: 0.02em;
}
.hero-desc p {
    font-size: 15px;
    color: #64748b;
    max-width: 1200px;
    margin: 0 auto 10px;
    line-height: 1.8;
}
.hero-desc ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: nowrap;
}
.hero-desc li {
    flex: 1;
    justify-content: center;
    font-size: 12px;
    color: #475569;
    padding: 10px 16px;
    background: rgba(255,255,255,0.85);
    border: 1px solid #e0e7ff;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.hero-desc li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99,102,241,0.12);
}
.hero-desc li strong {
    color: #2563eb;
    font-weight: 600;
}

/* ===== Main Content ===== */
.main-content { padding: 40px 0 60px; }

/* ===== Conference Grid ===== */
.conf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.conf-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
.conf-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.card-thumb {
    position: relative;
    width: 100%;
    padding-top: 51.7%;
    overflow: hidden;
    background: #f1f5f9;
}
.card-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.conf-card:hover .card-thumb img { transform: scale(1.08); }
.thumb-placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}
.card-badges {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}
.badge:nth-child(2) { color: #7c3aed; background: #f5f3ff; border-color: #ede9fe; }
.badge:nth-child(3) { color: #059669; background: #ecfdf5; border-color: #d1fae5; }
.badge-lg {
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 7px;
}
.card-body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.45;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-info { display: flex; flex-direction: column; gap: 7px; margin-top: auto; }
.info-row {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-muted);
}
.info-row svg { flex-shrink: 0; }

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}
.empty-icon { font-size: 56px; margin-bottom: 16px; opacity: 0.6; }
.empty-state p { font-size: 15px; }

/* ===== Search Bar ===== */
.search-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 14px 20px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 10px;
}
.search-result-text {
    font-size: 14px;
    color: var(--text-muted);
}
.search-result-text strong {
    color: var(--primary);
    font-weight: 600;
}
.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-muted);
    transition: all 0.2s;
    text-decoration: none;
    white-space: nowrap;
}
.back-home-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}
.page-btn {
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--border);
    background: var(--white);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    transition: all 0.2s;
}
.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}
.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ===== Detail Page ===== */
.detail-hero {
    background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
    padding: 48px 0 36px;
    color: var(--text);
    position: relative;
}
.detail-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: 10%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    transition: color 0.2s;
}
.back-link:hover { color: var(--primary); }
.detail-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.detail-badges { display: flex; gap: 8px; flex-wrap: wrap; }

.detail-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
}
.detail-sidebar { position: sticky; top: 88px; }
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.info-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary-light);
}
.info-item { margin-bottom: 18px; }
.info-item:last-child { margin-bottom: 0; }
.info-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}
.info-value {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.detail-content { min-width: 0; }
.detail-banner {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
}
.detail-banner img { width: 100%; display: block; }
.detail-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.detail-section h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.detail-text {
    font-size: 15px;
    line-height: 1.85;
    color: #475569;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 28px 0;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 13px;
    text-align: center;
}
.footer-inner p { margin: 0; color: var(--text-light); }
.footer-inner a { color: var(--text-muted); transition: color 0.2s; }
.footer-inner a:hover { color: var(--primary); }

/* ===== Contact Section ===== */
.contact-section { margin-top: 24px; }
.contact-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #ede9fe 100%);
    border: 1px solid #e0e7ff;
    border-radius: 16px;
    padding: 28px 24px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: '';
    position: absolute;
    top: -30px; left: -30px;
    width: 100px; height: 100px;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 70%);
    border-radius: 50%;
}
.qr-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 12px;
    background: #fff;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.qr-header svg { color: #2563eb; }
.qr-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    margin: 0 auto;
}
.qr-footer {
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #0369a1;
    font-weight: 500;
}
.qr-divider { color: #7dd3fc; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .conf-grid { grid-template-columns: repeat(3, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
}
@media (max-width: 768px) {
    .conf-grid { grid-template-columns: repeat(2, 1fr); }
    .header-nav a { padding: 6px 10px; font-size: 13px; }
    .header-search input { width: 140px; font-size: 12px; }
    .hero-inner h1 { font-size: 32px; }
    .hero-sub { font-size: 15px; }
    .hero-desc p { font-size: 14px; }
    .hero-desc ul { flex-direction: column; align-items: center; gap: 10px; }
    .hero-desc li { font-size: 13px; padding: 8px 14px; width: 100%; max-width: 280px; justify-content: center; }
    .page-hero { padding: 48px 24px 36px; }
    .container { padding: 0 20px; }
    .detail-title { font-size: 24px; }
    .detail-section { padding: 20px; }
    .contact-card { padding: 20px 16px; }
    .search-bar { flex-direction: column; gap: 10px; align-items: flex-start; }
}
@media (max-width: 480px) {
    .conf-grid { grid-template-columns: 1fr; }
    .header-inner { padding: 0 16px; }
    .header-nav { gap: 2px; }
    .header-nav a { padding: 5px 8px; font-size: 12px; }
    .header-search input { width: 100px; }
    .header-logo span { display: none; }
}
