/* ============================================================
   SCOPE conference site - shared stylesheet
   Extracted verbatim from the original single-file scope*.html
   (the ~530 lines of CSS were duplicated in both year files).
   ============================================================ */

:root {
    --sdu-blue: #002b5e;
    --huawei-red: #e4002b;
    --text-dark: #222222;
    --text-muted: #555555;
    --bg-light: #f8fafd;
    --white: #ffffff;
    --sans-serif: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --line: #e2e8f0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 12px;
}

body {
    font-family: var(--sans-serif);
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

/* 顶部导航栏 */
nav {
    background-color: rgba(0, 43, 94, 0.96);
    backdrop-filter: blur(8px);
    color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    box-sizing: border-box;
    box-shadow: 0 1px 10px rgba(0,0,0,0.15);
}

.nav-brand {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: .05em;
    white-space: nowrap;
}

/* 移动端汉堡菜单开关（纯 CSS checkbox hack，桌面端隐藏） */
.nav-toggle { display: none; }
.nav-burger { display: none; }

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0 0 0 auto;
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
    padding: 1.4rem 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.nav-item > a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.15s ease-in;
    white-space: nowrap;
    font-weight: 600;
}

.nav-item > a:hover {
    color: #a0c4ff;
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    padding: 0.3rem 0.9rem;
    cursor: pointer;
    border-radius: 9999px;
    font-size: 0.8rem;
    margin-left: 1rem;
    transition: all 0.2s;
    font-weight: 600;
}

.lang-toggle:hover {
    background: var(--white);
    color: var(--sdu-blue);
}

/* 首屏区块 (Hero Section) */
.hero {
    position: relative;
    margin-top: 0;
    padding: 13rem 0 8.5rem;
    text-align: center;
    background-image:
        linear-gradient(180deg, rgba(0,16,36,0.82) 0%, rgba(0,28,58,0.55) 42%, rgba(0,22,46,0.88) 100%),
        url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center 42%;
    color: var(--white);
    overflow: hidden;
}

/* 顶部金色细线点缀 */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--huawei-red) 0%, #ffb347 50%, var(--huawei-red) 100%);
    z-index: 2;
}
/* 底部柔和过渡 */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.06) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    /* match the body container so hero content aligns to the same grid as main sections */
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
    animation: heroRise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes heroRise {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp 0.8s cubic-bezier(0.2,0.7,0.2,1) both; }
.hero h1 { animation-delay: 0.05s; }
.hero-nameplate { animation-delay: 0.18s; }
.hero-info-panel { animation-delay: 0.32s; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* SCOPE 2025 主标题样式：字号缩小、加粗且底部对齐 */
.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    margin: 0;
    font-weight: 900;
    letter-spacing: .04em;
    line-height: 1.1;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero h1 .yr {
    font-size: 0.52em; 
    font-weight: 800; 
    color: #ffffff;
    margin-left: 2.4rem; 
}

/* 会议全称方框：使用纯白色底 */
.hero-nameplate {
    position: relative;
    display: block;
    background: var(--white);
    border-radius: 14px;
    padding: 1.6rem 3.2rem;
    margin: 2.5rem 0 0;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    overflow: hidden;
}
.hero-nameplate .nm-zh {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--sdu-blue);
    margin: 0;
    letter-spacing: .05em;
}
.hero-nameplate .nm-en {
    font-size: clamp(.8rem, 1.8vw, 1rem);
    font-weight: 500;
    color: var(--text-muted);
    margin: .6rem 0 0;
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* 时间与地点信息卡：精致样式 */
.hero-info-panel {
    display: flex;
    gap: 1.6rem;
    margin-top: 3.2rem;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.info-card {
    background: rgba(255, 255, 255, 0.97);
    color: var(--sdu-blue);
    border-radius: 14px;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    box-shadow: 0 16px 38px rgba(0,0,0,0.32);
    overflow: hidden;
    min-width: 320px;
    flex: 1;
    height: 78px;
    border: 1px solid rgba(255,255,255,0.6);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(0,0,0,0.45);
}
.info-card-icon {
    background: linear-gradient(160deg, var(--sdu-blue) 0%, #013a7d 100%);
    color: var(--white);
    width: 64px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.info-card-icon svg {
    width: 24px;
    height: 24px;
}
.info-card-text {
    box-sizing: border-box;
    padding: 0 24px 0 88px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}
.info-card-value {
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--sdu-blue);
    line-height: 1.25;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* 主体区域 */
main {
    max-width: 1140px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

section {
    padding: 3.5rem 0 1rem;
    scroll-margin-top: 75px;
}

section h2 {
    font-size: 1.8rem;
    color: var(--sdu-blue);
    margin-top: 0;
    margin-bottom: 2rem;
    font-weight: 700;
    letter-spacing: .02em;
    border-bottom: 1px solid var(--line); 
    padding-bottom: 0.8rem; 
}

section h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--huawei-red);
    padding-left: 0.6rem;
}

p, li {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}
.intro-lead {
    font-size: 1.1rem;
    color: var(--text-dark);
    text-align: justify;
    background: var(--bg-light);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    border-left: 4px solid var(--sdu-blue);
}

.tbd {
    display: inline-block;
    padding: 0.25rem 0.85rem;
    border-radius: 9999px;
    background: var(--bg-light);
    border: 1px solid var(--line);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* 文档下载按钮（会议通知 PDF 等），藏青实底 */
.doc-download {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.8rem;
    padding: 0.75rem 1.4rem;
    background: var(--sdu-blue);
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: background 0.2s ease, transform 0.2s ease;
}
.doc-download:hover { background: #013a7d; transform: translateY(-1px); }
.doc-download svg { width: 18px; height: 18px; flex-shrink: 0; }

.goal-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    counter-reset: g;
}
.goal-list li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.2rem;
    counter-increment: g;
    font-size: 1.02rem;
    text-align: justify;
}
.goal-list li::before {
    content: counter(g);
    position: absolute;
    left: 0;
    top: .15rem;
    width: 1.8rem;
    height: 1.8rem;
    background: var(--sdu-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    font-weight: 700;
}

/* 双列会议详情信息卡 */
.meeting-details {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
}
.detail-item {
    flex: 1;
    min-width: 260px;
    background: var(--bg-light);
    border: 1px solid var(--line);
    border-left: 4px solid var(--huawei-red);
    border-radius: var(--radius);
    padding: 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.detail-label {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--huawei-red);
    margin-bottom: .5rem;
}
.detail-value {
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--sdu-blue);
    line-height: 1.55;
}

/* 日程表格样式 */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
th, td {
    padding: 1.1rem 1.2rem;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid var(--line);
}
th {
    background-color: var(--sdu-blue);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .02em;
}
tr:last-child td { border-bottom: none; }
td { font-size: 0.98rem; }
td strong { color: var(--sdu-blue); font-size: 1rem; }
.aff {
    font-weight: 400;
    color: #777;
    font-size: 0.85rem;
    margin-top: .3rem;
}
.col-time { font-weight: 700; color: var(--text-dark); white-space: nowrap; }
/* 时间列底色统一为白色、文字统一深色 */
tr td.col-time { background-color: var(--white); color: var(--text-dark); }
.col-content { color: var(--text-muted); text-align: left; }
.chair-cell { background-color: #f3f7fc; color: var(--sdu-blue); font-weight: 600; }
/* 用餐 / 休息行 */
.row-break td { background-color: #fff9f9; font-weight: 600; }
/* 茶歇行：粉色 */
.tea-break td { background-color: #fff9f9; font-weight: 600; }

/* 圆桌论坛：偏灰的蓝色底 */
.panel-cell { background-color: #f8fafd; text-align: left; }
.panel-cell .pc-title {
    font-weight: 800;
    color: var(--sdu-blue);
    font-size: 1.05rem;
}
.panel-cell .pc-topic {
    font-weight: 700;
    color: var(--text-dark);
    margin-top: .3rem;
}
.panel-cell .pc-line {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: .4rem;
}

.day-heading {
    font-size: 1.2rem;
    color: var(--sdu-blue);
    margin-top: 2.5rem;
    font-weight: 700;
    padding-left: 0.6rem;
}

/* 组织机构纵向列表样式 */
.committee-section {
    margin-bottom: 2.5rem;
}
.committee-vertical-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.2rem;
    background: var(--bg-light);
    padding: 1.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.committee-line-item {
    font-size: 1.05rem;
    color: var(--text-dark);
    border-bottom: 1px dashed var(--line);
    padding-bottom: 0.5rem;
}
.committee-line-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 主办单位 Logo 网格布局：底部对齐与兜底机制 */
.sponsor-grid {
    display: flex;
    gap: 5rem;
    align-items: flex-start; 
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--line);
}
.sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sponsor-logo-box {
    display: flex;
    align-items: flex-end; 
    justify-content: center;
    margin-bottom: 1.2rem;
    min-height: 90px;
}
/* 两个 Logo 统一高度并底部对齐 */
.sponsor-logo { 
    height: 80px; 
    width: auto; 
    object-fit: contain; 
    display: block;
}
.sponsor-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
    text-align: center;
    min-height: 3em;             
    display: flex;
    flex-direction: column;
    justify-content: center;     
}

.contact-line {
    font-size: 1.05rem;
    margin: 0.5rem 0;
}

/* Footer */
footer {
    background-color: #111111;
    color: #777777;
    text-align: center;
    padding: 2.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

@media (max-width: 900px) {
    nav { padding: 0 1rem; }
    /* 汉堡按钮：三条横线 */
    .nav-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 10px;
        box-sizing: border-box;
        cursor: pointer;
        order: 3;
    }
    .nav-burger span {
        display: block;
        height: 2px;
        width: 100%;
        background: var(--white);
        border-radius: 2px;
    }
    /* 折叠下拉菜单 */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: rgba(0, 43, 94, 0.98);
        backdrop-filter: blur(8px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }
    .nav-toggle:checked ~ .nav-menu { display: flex; }
    .nav-menu > li { width: 100%; text-align: center; }
    .nav-item {
        padding: 0.95rem 1.25rem;
        font-size: 0.9rem;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    /* 语言切换移到顶部栏、汉堡左侧常驻 */
    .lang-toggle { order: 2; margin: 0 0.6rem 0 auto; }
    .hero { padding: 10rem 0 5rem; }
    .hero-content { text-align: center; }
    .hero-info-panel { gap: 1rem; width: 100%; justify-content: center; }
    .info-card { min-width: 100%; }
    .sponsor-grid { gap: 3rem; }
}

/* ── additive: classes extracted from former inline styles during refactor ── */
.opening-note {
    margin-top: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}
/* ── map blocks (venue / hotel), modeled on the HCP site ── */
.map-block {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-top: 1.5rem;
    padding: 1.25rem;
}
.map-copy {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.map-copy h3 { margin: 0; }
.map-copy p {
    margin: 0.5rem 0 0;
    color: var(--text-muted);
}
.text-link {
    display: inline-flex;
    margin-top: 0.5rem;
    color: var(--huawei-red);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.text-link:hover { text-decoration: underline; }
.map-embed {
    height: 430px;
    margin-top: 1rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f5f5f5;
}
.map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 768px) {
    .map-copy { display: block; }
    .map-embed { height: 320px; }
}

/* ── HCP-style hotel info: card + rate table ── */
.hotel-content {
    display: grid;
    grid-template-columns: minmax(300px, 0.55fr) 1fr;
    gap: 1.25rem;
    align-items: start;
    margin-top: 1rem;
}
.hotel-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hotel-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.hotel-card h3 { margin: 1rem 1.25rem 0.4rem; }
.hotel-card p { margin: 0 1.25rem 0.9rem; color: var(--text-muted); }
.hotel-card .hotel-desc { line-height: 1.75; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.hotel-card a { color: var(--huawei-red); font-weight: 600; text-decoration: none; }
.hotel-card a:hover { text-decoration: underline; }
.fee-table {
    display: flex;             
    flex-direction: column;   
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.fee-row:not(.head) { flex: 1; }
.fee-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 52px;
    border-top: 1px solid var(--line);
}
.fee-row:first-child { border-top: 0; }
.fee-row.head {
    color: #ffffff;
    background: var(--sdu-blue);
    border-top: 0;
}
.fee-row span {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.1rem;
    border-left: 1px solid var(--line);
}
.fee-row.head span { border-left-color: rgba(255,255,255,0.18); font-weight: 700; }
.fee-row span:first-child { border-left: 0; }

/* hotel right column: rate table + booking QR stacked, aligned to the table width */
.hotel-right { display: flex; flex-direction: column; gap: 1.25rem; }
.hotel-booking { overflow: hidden; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.hotel-booking-head { background: var(--sdu-blue); color: #ffffff; font-weight: 700; text-align: center; padding: 0.85rem 1.1rem; }
.hotel-booking img { display: block; width: 220px; height: 220px; margin: 1.25rem auto; }

@media (max-width: 768px) {
    .hotel-content { grid-template-columns: 1fr; }
    #program { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    #program table { min-width: 640px; }
}
/* ── 会议注册二维码卡片 ── */
.reg-qr {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem 3rem;
    margin: 1.5rem 0 0.5rem;
    padding: 2rem;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.reg-qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}
.reg-qr img {
    width: 220px;
    height: 220px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}
/* 群码裁得紧、留白少,补内边距让实际图案大小与注册码一致(框仍 220×220) */
.reg-qr img.group-qr {
    box-sizing: border-box;
    padding: 20px;
}
.reg-qr-caption {
    margin: 0;
    font-weight: 700;
    color: var(--sdu-blue);
    font-size: 1rem;
    letter-spacing: 0.05em;
}
