/* ============================================
   江苏医药职业学院 2026 级新生服务大厅
   主题色系：医药绿 + 金色辅色
============================================ */

:root {
    /* 主色：医药深绿 */
    --color-primary: #0f5e3a;
    --color-primary-light: #116b43;
    --color-primary-lighter: #1b8757;
    --color-primary-dark: #0a4a2c;

    /* 辅色：金色 */
    --color-secondary: #d4a24c;
    --color-secondary-light: #e8c07d;

    /* 强调色：森林橙 */
    --color-accent: #d97706;

    /* 功能入口配色（保留原设计的多彩图标） */
    --color-icon-blue: #2563eb;
    --color-icon-purple: #7c3aed;
    --color-icon-red: #dc2626;
    --color-icon-orange: #d97706;
    --color-icon-teal: #0d9488;

    /* 文本色 */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-tertiary: #6b7280;
    --text-muted: #9ca3af;
    --text-light: #e5e7eb;
    --text-inverse: #ffffff;

    /* 背景色 */
    --bg-page: #f9fafb;
    --bg-card: #ffffff;
    --bg-muted: #f3f4f6;
    --bg-soft-green: #ecfdf5;
    --bg-soft-gold: #fffbeb;

    /* 边框 */
    --border-light: #e5e7eb;
    --border-lighter: #f3f4f6;

    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 94, 58, 0.1), 0 4px 6px -2px rgba(15, 94, 58, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 94, 58, 0.1), 0 10px 10px -5px rgba(15, 94, 58, 0.04);

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;

    /* 间距 */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;

    /* 字体尺寸 */
    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 30px;

    /* safe area */
    --safe-top: env(safe-area-inset-top, 0);
    --safe-bottom: env(safe-area-inset-bottom, 0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text-primary);
    background: linear-gradient(180deg, #f0fdf4 0%, #f9fafb 30%, #f9fafb 100%);
    line-height: 1.6;
    font-size: var(--text-base);
    min-height: 100vh;
    padding-top: calc(56px + var(--safe-top));
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========== 顶部导航栏 ========== */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: calc(56px + var(--safe-top));
    padding-top: var(--safe-top);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 94, 58, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: var(--space-2);
    padding-right: var(--space-2);
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.title-group {
    flex: 1;
    text-align: center;
}

.main-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}

.sub-title {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    letter-spacing: 1px;
    margin-top: 1px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: background-color 0.2s;
}

.icon-btn:active {
    background: rgba(15, 94, 58, 0.08);
}

.icon-btn svg {
    width: 22px;
    height: 22px;
}

/* ========== Banner：左校徽 + 右标题 ========== */
.banner {
    position: relative;
    padding: var(--space-6) var(--space-5) var(--space-5);
    overflow: hidden;
    background:
        radial-gradient(ellipse at top left, rgba(27, 135, 87, 0.06), transparent 55%),
        radial-gradient(ellipse at bottom right, rgba(212, 162, 76, 0.05), transparent 55%),
        linear-gradient(180deg, #fdfefe 0%, #f7faf8 100%);
}

.banner-bg-layer {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 60%);
    z-index: 1;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.banner-hero-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    text-align: left;
}

.banner-hero-logo {
    width: auto;
    height: 72px;
    max-width: 140px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
    background: transparent;
    border: none;
    border-radius: 8px;
    filter: drop-shadow(0 2px 6px rgba(37, 99, 235, 0.12));
    margin: 0;
}

.banner-hero-logo-fallback {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a7a55 0%, #1b6b44 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 94, 58, 0.15);
    border: 2px solid rgba(15, 94, 58, 0.15);
    margin: 0;
}

.banner-hero-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.main-heading {
    font-size: var(--text-3xl);
    font-weight: 700;
    background: linear-gradient(135deg, #1a6a44 0%, #2a7a55 60%, #c79945 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: 1px;
    margin-bottom: 6px;
    line-height: 1.2;
}

.sub-heading {
    font-size: 13px;
    color: #5c6b66;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

.banner-meta {
    margin-top: 14px;
    font-size: 12px;
    color: #7a8782;
    letter-spacing: 0.2px;
    line-height: 1.8;
    text-align: center;
}

.banner-meta .meta-item {
    white-space: nowrap;
}

.banner-meta .meta-sep {
    margin: 0 6px;
    color: #cfd6d2;
}

.banner-divider {
    margin-top: 18px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(15, 94, 58, 0.12) 50%, transparent 100%);
}

.badge-logo {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* =============== 顶部品牌栏 =============== */
.brand-bar {
    position: relative;
    background: #ffffff;
    padding: 14px 16px 0;
    border-bottom: 1px solid transparent;
}

.brand-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-logo {
    width: auto;
    height: 40px;
    max-width: 80px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.12));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.brand-cn {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-en {
    font-size: 11px;
    color: var(--text-tertiary);
    letter-spacing: 0.5px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-right {
    flex-shrink: 0;
}

.brand-slogan {
    font-size: 11px;
    color: var(--color-secondary);
    font-weight: 600;
    letter-spacing: 2px;
    padding: 4px 8px;
    border: 1px solid rgba(212, 162, 76, 0.25);
    border-radius: 6px;
    background: #fffdf7;
}

.brand-divider {
    height: 1px;
    margin-top: 14px;
    background: linear-gradient(90deg, transparent 0%, rgba(15, 94, 58, 0.12) 50%, transparent 100%);
}

/* ========== 主要内容容器 ========== */
.main-content {
    position: relative;
    z-index: 2;
    padding: 0 var(--space-4) var(--space-6);
    max-width: 100%;
}

.container {
    max-width: 720px;
    margin: 0 auto;
}

/* ========== 倒计时卡片 ========== */
.countdown-card {
    background:
        radial-gradient(ellipse at top right, rgba(212, 162, 76, 0.1), transparent 60%),
        linear-gradient(135deg, #ffffff, #f0fdf4);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(15, 94, 58, 0.08);
    margin-bottom: var(--space-4);
    position: relative;
    overflow: hidden;
}

.countdown-card::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(15, 94, 58, 0.08), transparent 70%);
    border-radius: 50%;
}

.countdown-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
}

.countdown-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-lighter));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(15, 94, 58, 0.25);
}

.countdown-icon svg {
    width: 22px;
    height: 22px;
}

.countdown-date {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    background: rgba(15, 94, 58, 0.08);
    padding: 4px 12px;
    border-radius: 999px;
}

.countdown-title {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-secondary);
}

.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: var(--space-2);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 52px;
    padding: 10px 8px;
    background: linear-gradient(180deg, #ffffff, #ecfdf5);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(15, 94, 58, 0.06);
    border: 1px solid rgba(15, 94, 58, 0.08);
}

.countdown-number {
    font-size: var(--text-2xl);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
    letter-spacing: 1px;
}

.countdown-label {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-top: 4px;
}

.countdown-separator {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.35;
    padding: 0 2px;
}

/* ========== 公告条 ========== */
.notice-bar {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-4);
    background: linear-gradient(135deg, rgba(15, 94, 58, 0.04), rgba(212, 162, 76, 0.08));
    border: 1px solid rgba(15, 94, 58, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-5);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.speaker-icon {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-top: 2px;
}

.speaker-icon svg {
    width: 18px;
    height: 18px;
}

.notice-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* ========== 快速入口 ========== */
.quick-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding: var(--space-4) var(--space-3);
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-lighter);
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 10px 6px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    cursor: pointer;
}

.quick-nav-item:hover {
    transform: translateY(-2px);
    background: rgba(185, 28, 28, 0.04);
}

.quick-nav-item:active {
    transform: scale(0.95);
    background: rgba(185, 28, 28, 0.06);
}

.quick-nav-item .icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(185, 28, 28, 0.18);
    position: relative;
    margin: 0 auto;
}

.quick-nav-item .icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

.quick-nav-item .icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* ============ 中国电信主题配色 ============ */
/* c1: 中国电信红（主色） */
.quick-nav-item .icon.c1 {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 6px 14px rgba(185, 28, 28, 0.22);
}
/* c2: 电信蓝 */
.quick-nav-item .icon.c2 {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.22);
}
/* c3: 电信紫（辅助色） */
.quick-nav-item .icon.c3 {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 6px 14px rgba(124, 58, 237, 0.22);
}
/* c4: 电信橙（温暖辅助） */
.quick-nav-item .icon.c4 {
    background: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 6px 14px rgba(234, 88, 12, 0.22);
}
/* c5: 电信青（服务辅助） */
.quick-nav-item .icon.c5 {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.22);
}

.quick-nav-item .label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
}

/* ========== 通用卡片 ========== */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: var(--space-5);
    margin-bottom: var(--space-5);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-lighter);
    position: relative;
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-lighter);
}

.card-title-group {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    min-width: 0;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(15, 94, 58, 0.08), rgba(15, 94, 58, 0.14));
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-icon svg {
    width: 22px;
    height: 22px;
}

.text-group {
    min-width: 0;
    flex: 1;
}

.card-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-subtitle {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

.card-status {
    font-size: var(--text-xs);
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(15, 94, 58, 0.08);
    color: var(--color-primary);
    white-space: nowrap;
    flex-shrink: 0;
}

.card-status.hot {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.card-status.new {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}

/* ========== 网格功能入口 ========== */
.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}

.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 14px 8px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
}

.grid-item:hover {
    transform: translateY(-3px);
    background: rgba(185, 28, 28, 0.04);
    box-shadow: 0 8px 18px rgba(185, 28, 28, 0.08);
}

.grid-item:active {
    transform: scale(0.96);
    background: rgba(185, 28, 28, 0.06);
}

.icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto 8px;
    box-shadow: 0 6px 14px rgba(185, 28, 28, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
    display: block;
}

.icon-wrapper.color-blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.icon-wrapper.color-orange {
    background: linear-gradient(135deg, #ffedd5, #fed7aa);
    box-shadow: 0 6px 14px rgba(234, 88, 12, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.icon-wrapper.color-purple {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    box-shadow: 0 6px 14px rgba(124, 58, 237, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.icon-wrapper.color-teal {
    background: linear-gradient(135deg, #ccfbf1, #99f6e4);
    box-shadow: 0 6px 14px rgba(13, 148, 136, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.icon-wrapper.color-red {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    box-shadow: 0 6px 14px rgba(185, 28, 28, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.badge {
    position: absolute;
    top: -5px;
    right: -8px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.35);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.badge.green {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-lighter));
}

.badge.blue {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.35);
}

.badge.purple {
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    box-shadow: 0 2px 6px rgba(124, 58, 237, 0.35);
}

.badge.orange {
    background: linear-gradient(135deg, #b45309, #f59e0b);
    box-shadow: 0 2px 6px rgba(234, 88, 12, 0.35);
}

.item-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.3;
    margin: 0 auto;
}

/* ========== 新闻列表 ========== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-2);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color 0.2s;
}

.news-item:active {
    background: var(--bg-muted);
}

.tag-news {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

.tag-news.hot {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}
.tag-news.new {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1e40af;
}
.tag-news.notice {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #3730a3;
}

.news-title {
    flex: 1;
    font-size: var(--text-sm);
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.news-date {
    font-size: var(--text-xs);
    color: var(--text-muted);
    flex-shrink: 0;
}

.news-arrow {
    font-size: var(--text-lg);
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ========== FAQ ========== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.faq-item {
    background: var(--bg-soft-green);
    border-radius: var(--radius-md);
    border: 1px solid rgba(15, 94, 58, 0.06);
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item.open {
    background: #ffffff;
    border-color: rgba(15, 94, 58, 0.15);
    box-shadow: 0 4px 12px rgba(15, 94, 58, 0.08);
}

.faq-question {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2);
    padding: var(--space-4);
    cursor: pointer;
    font-size: var(--text-sm);
    color: var(--text-primary);
    font-weight: 500;
}

.faq-q-label {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-lighter));
    color: white;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.faq-q-text {
    flex: 1;
    line-height: 1.6;
}

.faq-toggle {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-toggle svg {
    width: 18px;
    height: 18px;
}

.faq-item.open .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.3s ease;
    padding: 0 var(--space-4) 0 48px;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 var(--space-4) var(--space-4) 48px;
}

.faq-answer p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========== Footer ========== */
.footer {
    background:
        linear-gradient(135deg, rgba(15, 94, 58, 0.04), rgba(212, 162, 76, 0.04)),
        #ffffff;
    border-radius: var(--radius-xl);
    padding: var(--space-6) var(--space-5);
    text-align: center;
    border: 1px solid rgba(15, 94, 58, 0.08);
    margin-bottom: var(--space-4);
}

.footer-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--space-5);
    gap: var(--space-2);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.stat .label {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-bottom: var(--space-1);
    letter-spacing: 0.5px;
}

.stat .value {
    font-size: var(--text-xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
}

.stat .unit {
    font-size: var(--text-xs);
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-8);
    margin-bottom: var(--space-5);
    flex-wrap: wrap;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.logo-box {
    width: 110px;
    height: 68px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffffff, #f9fafb);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), inset 0 0 0 1px rgba(37, 99, 235, 0.12);
    overflow: hidden;
    padding: 6px 10px;
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-box.china-telecom-box {
    background: linear-gradient(135deg, #ffffff, #fff4f4);
    box-shadow: 0 4px 14px rgba(185, 28, 28, 0.1), inset 0 0 0 1px rgba(220, 38, 38, 0.18);
}

.logo-badge {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.logo-badge-telecom {
    font-size: 11px;
    font-weight: 700;
    color: #b91c1c;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.3;
}

.logo-name {
    font-size: var(--text-xs);
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.footer-text {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    line-height: 1.8;
    margin-top: var(--space-2);
}

.footer-text strong {
    color: var(--color-primary);
}

.footer-sep-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent 0%, #cbd5e1 50%, transparent 100%);
    flex-shrink: 0;
}

/* ========== 校园网卡片 · 中国电信服务介绍 ========== */
.wifi-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(220, 38, 38, 0.03), rgba(15, 94, 58, 0.03)),
        #ffffff;
    border: 1px solid rgba(220, 38, 38, 0.12);
    position: relative;
    overflow: hidden;
}

.wifi-intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #b91c1c, #0f5e3a);
}

/* =============== 蓝红主题：校园网服务 =============== */
.wifi-card .card-icon {
    color: #2563eb;
}

.wifi-card-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(185, 28, 28, 0.08)) !important;
    color: #2563eb !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 12px rgba(37, 99, 235, 0.15);
}

.wifi-card-title {
    background: linear-gradient(90deg, #2563eb 0%, #1e40af 40%, #b91c1c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.wifi-card-status {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(185, 28, 28, 0.06)) !important;
    color: #1e40af !important;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* wifi-intro：蓝红渐变 */
.wifi-intro-blue-red {
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(185, 28, 28, 0.05)),
        #ffffff;
    border: 1px solid rgba(37, 99, 235, 0.12);
}

.wifi-intro-blue-red::before {
    background: linear-gradient(180deg, #2563eb 0%, #b91c1c 100%);
}

.wifi-flag-blue-red {
    background: linear-gradient(135deg, #2563eb 0%, #b91c1c 100%) !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.25), 0 3px 10px rgba(185, 28, 28, 0.18);
}

.wifi-title-blue {
    color: #1e40af !important;
}

/* 数据项：蓝红两色交替 */
.wifi-fact-blue-red {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(185, 28, 28, 0.04)) !important;
    border: 1px solid rgba(37, 99, 235, 0.12) !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.wifi-fact-num-blue {
    color: #2563eb !important;
}

.wifi-fact-num-red {
    color: #b91c1c !important;
}

/* 第一个网格图标：蓝红配色 */
.icon-wrapper.color-blue-red {
    background: linear-gradient(135deg, #dbeafe 0%, #fee2e2 100%) !important;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12), 0 6px 16px rgba(185, 28, 28, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.badge.blue-red {
    background: linear-gradient(135deg, #2563eb 0%, #b91c1c 100%) !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35), 0 3px 10px rgba(185, 28, 28, 0.25) !important;
}

.wifi-intro-left {
    flex: 1 1 240px;
    padding-left: 8px;
}

.wifi-flag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: linear-gradient(135deg, #b91c1c, #0f5e3a);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}

.wifi-title-line {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.4;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.wifi-desc {
    font-size: 12.5px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.wifi-intro-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-width: 120px;
}

.wifi-fact {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 6px 12px;
    background: #fef2f2;
    border-radius: 8px;
    border: 1px solid rgba(185, 28, 28, 0.1);
}

.wifi-fact-num {
    font-size: 16px;
    font-weight: 700;
    color: #b91c1c;
    letter-spacing: 0.5px;
}

.wifi-fact-unit {
    font-size: 11px;
    color: var(--text-tertiary);
}

/* ========== 返回顶部 ========== */
.back-to-top {
    position: fixed;
    bottom: calc(var(--space-4) + var(--safe-bottom));
    right: var(--space-4);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-lighter));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(15, 94, 58, 0.25);
    z-index: 50;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:active {
    transform: scale(0.9);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ========== Toast 提示 ========== */
#__toast__ {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(17, 24, 39, 0.92);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-width: 80%;
    text-align: center;
    opacity: 0;
    animation: toastIn 0.3s ease forwards, toastOut 0.3s ease 1.8s forwards;
    backdrop-filter: blur(10px);
}

@keyframes toastIn {
    from { opacity: 0; transform: translate(-50%, -40%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes toastOut {
    from { opacity: 1; transform: translate(-50%, -50%); }
    to { opacity: 0; transform: translate(-50%, -40%); }
}

/* ========== 入场动画 ========== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 {
    transition-delay: 0.15s;
}
.reveal.delay-2 {
    transition-delay: 0.3s;
}
.reveal.delay-3 {
    transition-delay: 0.45s;
}
.reveal.delay-4 {
    transition-delay: 0.6s;
}

/* ========== 响应式：平板以下 ========== */
@media (max-width: 768px) {
    .main-heading {
        font-size: 26px;
    }
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-2);
    }
    .icon-wrapper {
        width: 46px;
        height: 46px;
    }
    .icon-wrapper svg {
        width: 24px;
        height: 24px;
    }
    .item-label {
        font-size: 13px;
    }
    .footer-logos {
        gap: var(--space-5);
    }
}

/* ========== 响应式：小屏手机 ========== */
@media (max-width: 480px) {
    .quick-nav {
        grid-template-columns: repeat(5, 1fr);
        padding: 12px 6px;
        gap: 6px;
    }
    .quick-nav-item .icon {
        width: 40px;
        height: 40px;
    }
    .quick-nav-item .icon svg {
        width: 20px;
        height: 20px;
    }
    .quick-nav-item .label {
        font-size: 12px;
    }
    .grid-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    .icon-wrapper {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
    .icon-wrapper svg {
        width: 24px;
        height: 24px;
    }
    .item-label {
        font-size: 12px;
    }
    .countdown-number {
        font-size: 20px;
    }
    .countdown-item {
        min-width: 46px;
        padding: 8px 4px;
    }
    .main-heading {
        font-size: 22px;
    }
    .sub-heading {
        font-size: 13px;
    }
    .card {
        padding: var(--space-4);
    }
    .card-title {
        font-size: var(--text-base);
    }
    .card-icon {
        width: 40px;
        height: 40px;
    }
    .footer-stats {
        gap: var(--space-1);
    }
    .stat .value {
        font-size: var(--text-lg);
    }
    .banner-hero-logo {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    .banner-hero-row {
        gap: 12px;
    }
    .brand-logo {
        width: 32px;
        height: 32px;
    }
    .brand-cn {
        font-size: 14px;
        letter-spacing: 0.5px;
    }
    .brand-en {
        font-size: 10px;
    }
    .brand-slogan {
        font-size: 10px;
        padding: 3px 6px;
    }
    .main-heading {
        font-size: 22px;
    }
    .sub-heading {
        font-size: 12px;
    }
    .footer-sep-line {
        height: 40px;
    }
    .wifi-intro {
        padding: 12px;
        gap: 12px;
    }
    .wifi-intro-right {
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
        width: 100%;
    }
    .wifi-fact {
        flex: 1 1 40%;
        justify-content: center;
    }
    .logo-box {
        width: 56px;
        height: 56px;
        padding: 6px;
    }
    .countdown-separator {
        font-size: 20px;
    }
}

/* ========== 响应式：超小屏 ========== */
@media (max-width: 320px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .quick-nav {
        grid-template-columns: repeat(3, 1fr);
    }
    .main-heading {
        font-size: 20px;
    }
}

/* ========== 响应式：桌面大屏 ========== */
@media (min-width: 900px) {
    .grid-container {
        grid-template-columns: repeat(6, 1fr);
    }
    .quick-nav {
        grid-template-columns: repeat(6, 1fr);
    }
    .main-heading {
        font-size: 36px;
    }
    .sub-heading {
        font-size: 15px;
    }
}

/* ========== 减少动画偏好 ========== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 选中文本颜色 ========== */
::selection {
    background: rgba(15, 94, 58, 0.2);
    color: var(--color-primary-dark);
}

/* ========== 滚动条（桌面） ========== */
@media (min-width: 769px) {
    body::-webkit-scrollbar {
        width: 8px;
    }
    body::-webkit-scrollbar-track {
        background: transparent;
    }
    body::-webkit-scrollbar-thumb {
        background: rgba(15, 94, 58, 0.25);
        border-radius: 4px;
    }
    body::-webkit-scrollbar-thumb:hover {
        background: rgba(15, 94, 58, 0.4);
    }
}
