/* roulang page: index */
:root {
    --primary: #3E6FE8;
    --primary-deep: #1E4FA6;
    --primary-soft: #E8EFFC;
    --accent: #F59E0B;
    --success: #16A34A;
    --error: #DC2626;
    --bg: #F5F8FC;
    --card-bg: #FFFFFF;
    --text-main: #16233A;
    --text-secondary: #5B6B82;
    --text-muted: #8A99AD;
    --border: #DCE6F2;
    --radius-card: 16px;
    --radius-btn: 10px;
    --shadow-card: 0 10px 30px rgba(18, 38, 63, 0.06);
    --shadow-hover: 0 18px 40px rgba(18, 38, 63, 0.10);
    --shadow-recommend: 0 16px 40px rgba(62, 111, 232, 0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'HarmonyOS Sans SC', sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 768px) {
    .container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.section {
    padding: 64px 0;
}

@media (min-width: 768px) {
    .section {
        padding: 96px 0;
    }
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
}

.section-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
}

.section-header .section-sub {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-top: 4px;
}

.section-link {
    color: var(--primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.section-link:hover {
    color: var(--primary-deep);
}

/* ===== 导航 ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-header .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .site-header .nav-inner {
        padding: 0 32px;
    }
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.logo-mark::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: block;
}

.logo-mark::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    right: 7px;
    top: 7px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.main-nav {
    display: none;
    align-items: center;
    gap: 24px;
}

@media (min-width: 1024px) {
    .main-nav {
        display: flex;
    }
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 2px;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.25s;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    transform: scaleX(1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-search {
    display: none;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 6px 12px;
    width: 220px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

@media (min-width: 1280px) {
    .nav-search {
        display: flex;
    }
}

.nav-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(62, 111, 232, 0.15);
}

.nav-search input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.875rem;
    color: var(--text-main);
    width: 100%;
    font-family: inherit;
}

.nav-search button {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    padding: 0;
    margin-left: 8px;
}

.nav-search button:hover {
    color: var(--primary);
}

.nav-search button svg {
    width: 16px;
    height: 16px;
}

.btn-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.btn-nav-cta:hover {
    background: var(--primary-deep);
    box-shadow: 0 4px 14px rgba(62, 111, 232, 0.35);
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    color: var(--text-main);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
}

.mobile-drawer {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 20px 40px rgba(18, 38, 63, 0.12);
    border-bottom: 1px solid var(--border);
    z-index: 99;
    padding: 20px 16px 32px;
}

.mobile-drawer.open {
    display: block;
}

.mobile-drawer .mobile-nav-link {
    display: block;
    padding: 12px 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

.mobile-drawer .mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-drawer .mobile-nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.mobile-drawer .mobile-search {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px 14px;
    margin: 16px 0;
}

.mobile-drawer .mobile-search input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.9375rem;
    width: 100%;
    font-family: inherit;
}

.mobile-drawer .mobile-search svg {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    margin-left: 8px;
}

.mobile-drawer .mobile-cta {
    display: block;
    text-align: center;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 12px;
    border-radius: var(--radius-btn);
    text-decoration: none;
}

/* ===== 通用按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-deep);
    box-shadow: 0 6px 18px rgba(62, 111, 232, 0.35);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-outline {
    background: #fff;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary-soft);
    border-color: var(--primary-deep);
    color: var(--primary-deep);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
}

/* ===== Hero ===== */
.hero {
    background: var(--primary-soft);
    padding-top: 160px;
    padding-bottom: 64px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 180px;
        padding-bottom: 96px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -60px;
    width: 360px;
    height: 360px;
    border: 60px solid rgba(62, 111, 232, 0.08);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    right: 180px;
    bottom: -100px;
    width: 200px;
    height: 200px;
    border: 40px solid rgba(245, 158, 11, 0.06);
    border-radius: 50%;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 55% 45%;
        gap: 64px;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--primary-deep);
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(18, 38, 63, 0.06);
    margin-bottom: 24px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    display: inline-block;
    position: relative;
}

.hero-badge .dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.25);
    animation: pulse 1.8s ease infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0; }
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: var(--text-main);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0 0 32px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat .stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.hero-stat .stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.hero-stat + .hero-stat {
    padding-left: 32px;
    border-left: 1px solid var(--border);
}

.hero-image-wrap {
    position: relative;
}

.hero-image-main {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-float-card {
    position: absolute;
    bottom: -24px;
    left: -20px;
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-hover);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 240px;
}

.hero-float-card img {
    width: 56px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
}

.hero-float-card .float-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.hero-float-card .float-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
}

@media (max-width: 640px) {
    .hero-float-card {
        left: 8px;
        bottom: -20px;
    }
}

/* ===== 服务场景 ===== */
.scene-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .scene-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .scene-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.scene-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 28px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.scene-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.scene-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
}

.scene-icon svg {
    width: 24px;
    height: 24px;
}

.scene-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.scene-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ===== 议程时间线 ===== */
.agenda {
    background: #fff;
}

.timeline {
    position: relative;
    padding-left: 32px;
}

@media (min-width: 768px) {
    .timeline {
        padding-left: 40px;
    }
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}

@media (min-width: 768px) {
    .timeline::before {
        left: 12px;
    }
}

.timeline-item {
    position: relative;
    padding-bottom: 36px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-soft);
    border: 3px solid var(--primary);
    z-index: 1;
}

@media (min-width: 768px) {
    .timeline-item::before {
        left: -40px;
    }
}

.timeline-item.featured::before {
    background: var(--primary);
    box-shadow: 0 0 0 5px rgba(62, 111, 232, 0.2);
}

.timeline-time {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
    display: block;
}

.timeline-card {
    background: var(--bg);
    border-radius: var(--radius-card);
    padding: 20px 24px;
    border: 1px solid var(--border);
    transition: box-shadow 0.2s;
}

.timeline-card:hover {
    box-shadow: var(--shadow-card);
    background: #fff;
}

.timeline-card h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-main);
}

.timeline-location {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.timeline-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ===== 嘉宾亮点 ===== */
.speaker-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .speaker-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .speaker-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.speaker-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 28px 24px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.speaker-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
    background: var(--primary-soft);
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(18, 38, 63, 0.1);
}

.speaker-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-main);
}

.speaker-role {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.speaker-topic {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary-deep);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 999px;
}

.speaker-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}

/* ===== 票种对比 ===== */
.tickets {
    background: #fff;
}

.ticket-compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    font-size: 0.875rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.ticket-compare-table th,
.ticket-compare-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.ticket-compare-table th {
    background: var(--primary-soft);
    color: var(--text-main);
    font-weight: 600;
}

.ticket-compare-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-secondary);
}

.ticket-compare-table .check {
    color: var(--success);
    font-weight: 700;
}

.ticket-compare-table .cross {
    color: var(--text-muted);
}

.ticket-compare-table .recommend {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
}

.ticket-compare-wrap {
    overflow-x: auto;
    border-radius: 12px;
}

.ticket-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}

@media (min-width: 768px) {
    .ticket-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.ticket-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.ticket-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.ticket-card.recommended {
    border-color: var(--primary);
    box-shadow: var(--shadow-recommend);
}

@media (min-width: 768px) {
    .ticket-card.recommended {
        transform: scale(1.02);
    }
}

.ticket-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 18px;
    border-radius: 999px;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.ticket-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px;
    text-align: center;
}

.ticket-price {
    text-align: center;
    margin-bottom: 20px;
}

.ticket-price .price-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.ticket-card.recommended .price-num {
    color: var(--accent);
}

.ticket-price .price-unit {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.ticket-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    flex-grow: 1;
}

.ticket-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 6px 0;
    line-height: 1.5;
}

.ticket-features .feat-check {
    color: var(--success);
    flex-shrink: 0;
    font-weight: 700;
    line-height: 1.5;
}

.ticket-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius-btn);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.ticket-btn.btn-primary-style {
    background: var(--primary);
    color: #fff;
}

.ticket-btn.btn-primary-style:hover {
    background: var(--primary-deep);
    box-shadow: 0 6px 16px rgba(62, 111, 232, 0.35);
}

.ticket-btn.btn-outline-style {
    background: #fff;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}

.ticket-btn.btn-outline-style:hover {
    background: var(--primary-soft);
    border-color: var(--primary-deep);
}

/* ===== 报名CTA ===== */
.register {
    background: var(--primary-soft);
}

.register-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 1024px) {
    .register-grid {
        grid-template-columns: 40% 60%;
    }
}

.register-info h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0 0 16px;
}

.register-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.75;
}

.register-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-main);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-card);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 19px;
    height: 19px;
}

.register-form-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 36px 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group label .required {
    color: var(--error);
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1px solid var(--border);
    border-radius: var(--radius-btn);
    padding: 10px 14px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-main);
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(62, 111, 232, 0.2);
}

.form-group textarea {
    min-height: 80px;
    resize: vertical;
}

.form-group .error-text {
    color: var(--error);
    font-size: 0.75rem;
    margin-top: 4px;
    display: none;
}

.form-submit {
    grid-column: 1 / -1;
}

.form-submit .btn {
    width: 100%;
}

.form-privacy {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}

/* ===== 资讯区 ===== */
.news-section {
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.news-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 24px;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.news-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.news-badge {
    display: inline-block;
    background: var(--primary-soft);
    color: var(--primary-deep);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 999px;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.news-title-link {
    text-decoration: none;
}

.news-title-link h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 8px;
    line-height: 1.5;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title-link:hover h3 {
    color: var(--primary);
}

.news-summary {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.news-read-more:hover {
    color: var(--primary-deep);
}

.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    background: var(--bg);
    border-radius: var(--radius-card);
    font-size: 0.9375rem;
}

/* ===== 登录指南CTA ===== */
.guide-cta {
    background: var(--bg);
}

.guide-cta .guide-card {
    background: #fff;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    padding: 40px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.guide-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.guide-cta p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9375rem;
}

.guide-cta .btn {
    flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq {
    background: #fff;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 16px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: var(--shadow-card);
}

.faq-item.active {
    box-shadow: var(--shadow-card);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.2s;
}

.faq-item.active .faq-icon {
    background: var(--primary);
    color: #fff;
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 400px;
}

.faq-answer p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    border-left: 3px solid var(--primary);
    padding-left: 16px;
}

/* ===== 页脚 ===== */
.site-footer {
    background: #16233A;
    color: #C7D2E4;
    padding-top: 64px;
    padding-bottom: 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.2fr;
    }
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand .footer-logo .logo-mark {
    background: rgba(255, 255, 255, 0.15);
}

.footer-brand .footer-logo .logo-text {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand p {
    font-size: 0.875rem;
    color: #8FA3C4;
    line-height: 1.7;
    margin: 0;
    max-width: 340px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: #8FA3C4;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #fff;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: #8FA3C4;
    margin-bottom: 12px;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8125rem;
    color: #6B81A3;
}

/* ===== 响应式微调 ===== */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .section-link {
        align-self: flex-start;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat + .hero-stat {
        padding-left: 20px;
    }

    .hero-stat .stat-num {
        font-size: 1.375rem;
    }

    .ticket-grid {
        gap: 20px;
    }

    .register-form-card {
        padding: 24px 20px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 140px;
    }

    .hero h1 {
        font-size: 2.125rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .news-card {
        padding: 20px;
    }

    .guide-cta .guide-card {
        padding: 24px 20px;
        flex-direction: column;
        text-align: center;
    }

    .guide-cta .btn {
        width: 100%;
    }

    .faq-question {
        padding: 16px 18px;
        font-size: 0.9375rem;
    }

    .faq-answer p {
        font-size: 0.875rem;
    }
}

/* roulang page: article */
@layer base {
    :root {
        --primary: #3E6FE8;
        --primary-deep: #1E4FA6;
        --primary-soft: #E8EFFC;
        --accent: #F59E0B;
        --success: #16A34A;
        --error: #DC2626;
        --bg: #F5F8FC;
        --card: #FFFFFF;
        --text-main: #16233A;
        --text-sub: #5B6B82;
        --text-muted: #8A99AD;
        --border: #DCE6F2;
        --radius: 16px;
        --shadow-card: 0 10px 30px rgba(18, 38, 63, 0.06);
        --shadow-hover: 0 18px 40px rgba(18, 38, 63, 0.10);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    html { scroll-behavior: smooth; }

    body {
        font-family: 'PingFang SC', 'Microsoft YaHei', 'HarmonyOS Sans SC', 'Segoe UI', sans-serif;
        background: var(--bg);
        color: var(--text-main);
        font-size: 16px;
        line-height: 1.75;
        -webkit-font-smoothing: antialiased;
    }

    a { color: var(--primary); text-decoration: none; transition: color .2s ease, box-shadow .2s ease, transform .2s ease; }
    a:hover { color: var(--primary-deep); }

    img { max-width: 100%; display: block; }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 32px;
    }

    .btn-primary {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--primary);
        color: #fff;
        font-size: 0.9375rem;
        font-weight: 600;
        padding: 10px 22px;
        border-radius: 10px;
        border: 1px solid transparent;
        transition: all .2s ease;
        cursor: pointer;
    }
    .btn-primary:hover { background: var(--primary-deep); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-hover); }
    .btn-primary:active { transform: translateY(0); }

    .btn-outline {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #fff;
        color: var(--primary);
        font-size: 0.9375rem;
        font-weight: 600;
        padding: 10px 22px;
        border-radius: 10px;
        border: 1px solid var(--border);
        transition: all .2s ease;
        cursor: pointer;
    }
    .btn-outline:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow-card); }
    .btn-outline:active { transform: translateY(0); }
}

/* ===== 导航 ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-left { display: flex; align-items: center; gap: 32px; min-width: 0; }
.nav-right { display: flex; align-items: center; gap: 14px; }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    white-space: nowrap;
}
.logo:hover { color: var(--text-main); }
.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--primary);
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}
.logo-mark::before {
    content: '';
    position: absolute;
    inset: 7px;
    border: 2px solid #fff;
    border-radius: 6px;
}
.logo-mark::after {
    content: '';
    position: absolute;
    inset: 14px;
    background: #fff;
    border-radius: 50%;
}

.main-nav {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
}
.main-nav::-webkit-scrollbar { display: none; }

.nav-link {
    color: var(--text-sub);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 6px 2px 8px;
    position: relative;
    white-space: nowrap;
}
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.nav-search {
    display: flex;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 10px;
    width: 220px;
    height: 38px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.nav-search:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(62,111,232,0.2);
}
.nav-search input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-main);
    min-width: 0;
}
.nav-search input::placeholder { color: var(--text-muted); }
.nav-search button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-sub);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    transition: color .2s;
}
.nav-search button:hover { color: var(--primary); }
.nav-search button svg { width: 16px; height: 16px; }

.btn-nav-cta {
    background: var(--primary);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 10px;
    transition: all .2s ease;
    white-space: nowrap;
}
.btn-nav-cta:hover { background: var(--primary-deep); color: #fff; transform: translateY(-1px); }

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    padding: 4px;
}
.nav-toggle svg { width: 24px; height: 24px; }

.mobile-nav {
    display: none;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(18,38,63,0.08);
}
.mobile-nav.open { display: flex; }
.mobile-link {
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text-sub);
    font-size: 0.9375rem;
    font-weight: 500;
}
.mobile-link:hover { background: var(--primary-soft); color: var(--primary); }
.mobile-link.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.mobile-cta { margin-top: 12px; text-align: center; justify-content: center; }

@media (max-width: 1023px) {
    .nav-inner { padding: 0 16px; }
    .main-nav { display: none; }
    .nav-right .nav-search,
    .nav-right .btn-nav-cta { display: none; }
    .nav-toggle { display: block; }
}

/* ===== 面包屑 ===== */
.breadcrumb {
    max-width: 920px;
    margin: 32px auto 20px;
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}
.breadcrumb a { color: var(--text-sub); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-divider { color: var(--border); }
.breadcrumb-current { color: var(--text-muted); max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 文章主体 ===== */
.article-main { padding-bottom: 64px; }

.article-card {
    max-width: 920px;
    margin: 0 auto;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 48px;
}

.article-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
    font-size: 0.875rem;
    color: var(--text-sub);
}
.meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.meta-item svg { width: 16px; height: 16px; color: var(--text-muted); }

.article-summary {
    background: var(--primary-soft);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 32px;
    color: var(--text-sub);
    line-height: 1.85;
    border-left: 4px solid var(--primary);
}

.article-cover {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: var(--shadow-card);
    aspect-ratio: 16/9;
    background: var(--primary-soft);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* 正文排版 */
.article-content {
    max-width: 820px;
    margin: 0 auto;
}
.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: var(--text-main);
}
.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-main);
}
.article-content p {
    margin-bottom: 20px;
    color: #2a3a52;
    line-height: 1.9;
}
.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 24px;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 8px; line-height: 1.85; color: #2a3a52; }
.article-content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--primary-soft);
    padding: 16px 24px;
    margin: 24px 0;
    border-radius: 0 12px 12px 0;
    color: var(--text-sub);
    line-height: 1.8;
}
.article-content img {
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: var(--shadow-card);
    height: auto;
}
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    overflow-x: auto;
    display: block;
    font-size: 0.9375rem;
}
.article-content table th,
.article-content table td {
    border: 1px solid var(--border);
    padding: 12px 16px;
    text-align: left;
}
.article-content table th {
    background: var(--primary-soft);
    font-weight: 600;
    color: var(--text-main);
}
.article-content code {
    background: #16233A;
    color: #E8EFFC;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-family: 'SFMono-Regular', Consolas, monospace;
}
.article-content pre {
    background: #16233A;
    color: #E8EFFC;
    padding: 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 24px 0;
    line-height: 1.7;
}
.article-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* 无文提示 */
.not-found {
    text-align: center;
    padding: 60px 20px;
}
.not-found-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.not-found h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 12px; }
.not-found p { color: var(--text-sub); margin-bottom: 28px; }

/* 底部操作 */
.article-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.pager { display: flex; gap: 12px; }
.pager-link {
    font-size: 0.875rem;
    color: var(--text-sub);
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all .2s;
}
.pager-link:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

/* ===== 相关推荐 ===== */
.related-section {
    background: #fff;
    padding: 64px 0;
    border-top: 1px solid var(--border);
}
.section-header {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-header h2 { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.01em; }
.section-more { font-size: 0.9375rem; color: var(--primary); font-weight: 500; }
.section-more:hover { color: var(--primary-deep); }

.related-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.related-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .25s ease;
}
.related-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: var(--primary);
}
.related-cover {
    aspect-ratio: 16/9;
    background: var(--primary-soft);
    overflow: hidden;
}
.related-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.related-card:hover .related-cover img { transform: scale(1.03); }
.related-body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.related-tag {
    display: inline-flex;
    align-items: center;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 999px;
    align-self: flex-start;
}
.related-card h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.5; color: var(--text-main); }
.related-card:hover h3 { color: var(--primary); }
.related-excerpt {
    font-size: 0.875rem;
    color: var(--text-sub);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-link {
    margin-top: auto;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ===== 页脚 ===== */
.site-footer {
    background: #16233A;
    color: #C7D2E4;
    padding: 64px 0 0;
}
.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}
.footer-brand p { font-size: 0.875rem; line-height: 1.75; color: #9fb0c8; }
.footer-col h4 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #9fb0c8; font-size: 0.875rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: #9fb0c8;
    line-height: 1.6;
}
.footer-contact svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding: 24px 32px;
    font-size: 0.8125rem;
    color: #7d8da6;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .article-card { padding: 32px 24px; }
    .article-title { font-size: 1.75rem; }
    .breadcrumb { padding: 0 16px; }
    .related-grid { grid-template-columns: 1fr; padding: 0 16px; }
    .section-header { padding: 0 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 0 16px 40px; }
    .container { padding: 0 16px; }
    .nav-inner { padding: 0 16px; }
}

@media (max-width: 520px) {
    .article-bottom { flex-direction: column; align-items: flex-start; }
    .pager { width: 100%; }
    .pager a { flex: 1; text-align: center; }
    .article-meta { gap: 12px; }
    .related-card h3 { font-size: 1rem; }
}

/* roulang page: category1 */
:root {
        --primary: #3E6FE8;
        --primary-deep: #1E4FA6;
        --primary-soft: #E8EFFC;
        --accent: #F59E0B;
        --success: #16A34A;
        --error: #DC2626;
        --bg: #F5F8FC;
        --card: #FFFFFF;
        --text-main: #16233A;
        --text-sub: #5B6B82;
        --text-weak: #8A99AD;
        --border: #DCE6F2;
        --shadow-card: 0 10px 30px rgba(18, 38, 63, 0.06);
        --shadow-hover: 0 18px 40px rgba(18, 38, 63, 0.10);
        --radius-card: 16px;
        --radius-btn: 10px;
        --font-sans: "PingFang SC", "Microsoft YaHei", "HarmonyOS Sans SC", sans-serif;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
        font-family: var(--font-sans);
        background: var(--bg);
        color: var(--text-main);
        line-height: 1.75;
        -webkit-font-smoothing: antialiased;
        font-size: 16px;
    }
    img { max-width: 100%; display: block; }
    a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
    a:hover { color: var(--primary-deep); }
    a:focus-visible, button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
    ul { list-style: none; }

    .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
    @media (min-width: 768px) { .container { padding: 0 32px; } }

    /* ========== Header / Nav ========== */
    .site-header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border);
        height: 64px;
        display: flex;
        align-items: center;
    }
    .nav-inner {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    @media (min-width: 768px) { .nav-inner { padding: 0 32px; } }
    .nav-left { display: flex; align-items: center; gap: 32px; flex: 1; min-width: 0; }
    .logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
    .logo-mark {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: var(--primary);
        position: relative;
        display: inline-block;
        box-shadow: 0 6px 14px rgba(62, 111, 232, 0.28);
    }
    .logo-mark::after {
        content: "";
        position: absolute;
        inset: 7px;
        border: 2px solid #fff;
        border-radius: 50%;
    }
    .logo-text { font-weight: 800; font-size: 1.05rem; color: var(--text-main); letter-spacing: .01em; }
    .main-nav { display: none; align-items: center; gap: 24px; }
    @media (min-width: 992px) { .main-nav { display: flex; } }
    .nav-link {
        position: relative;
        font-size: .9375rem;
        font-weight: 600;
        color: var(--text-sub);
        padding: 6px 2px;
        transition: color .2s ease;
    }
    .nav-link:hover { color: var(--primary); }
    .nav-link.active { color: var(--primary); }
    .nav-link.active::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -2px;
        height: 2px;
        border-radius: 2px;
        background: var(--primary);
    }
    .nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
    .nav-search { display: none; align-items: center; position: relative; }
    @media (min-width: 992px) { .nav-search { display: flex; } }
    .nav-search input {
        width: 220px;
        height: 38px;
        border: 1px solid var(--border);
        border-radius: var(--radius-btn);
        padding: 0 38px 0 14px;
        font-size: .875rem;
        background: #fff;
        color: var(--text-main);
        outline: none;
        transition: border-color .2s ease, box-shadow .2s ease;
    }
    .nav-search input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 3px rgba(62, 111, 232, 0.15);
    }
    .nav-search button {
        position: absolute;
        right: 4px;
        width: 30px;
        height: 30px;
        border: none;
        background: transparent;
        color: var(--text-weak);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .nav-search button svg { width: 17px; height: 17px; }
    .btn-nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 38px;
        padding: 0 20px;
        border-radius: var(--radius-btn);
        background: var(--primary);
        color: #fff;
        font-size: .9375rem;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: background .2s ease, box-shadow .2s ease;
    }
    .btn-nav-cta:hover { background: var(--primary-deep); color: #fff; box-shadow: 0 8px 20px rgba(62, 111, 232, 0.25); }
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--border);
        border-radius: 10px;
        background: #fff;
        cursor: pointer;
        color: var(--text-main);
    }
    .nav-toggle svg { width: 20px; height: 20px; }
    @media (min-width: 992px) { .nav-toggle { display: none; } }

    /* Mobile drawer */
    .mobile-drawer {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        z-index: 99;
        background: #fff;
        box-shadow: 0 20px 40px rgba(18, 38, 63, 0.12);
        padding: 20px 24px 28px;
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: all .25s ease;
        border-bottom: 1px solid var(--border);
    }
    .mobile-drawer.open { transform: translateY(0); opacity: 1; visibility: visible; }
    .drawer-nav { display: flex; flex-direction: column; gap: 6px; }
    .drawer-link {
        padding: 10px 8px;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-main);
        display: block;
    }
    .drawer-link:hover { background: var(--primary-soft); color: var(--primary); }
    .drawer-link.active { background: var(--primary-soft); color: var(--primary); }
    .drawer-search { display: flex; margin: 16px 0; position: relative; }
    .drawer-search input {
        flex: 1;
        height: 42px;
        border: 1px solid var(--border);
        border-radius: var(--radius-btn);
        padding: 0 14px;
        font-size: .9375rem;
        outline: none;
        background: #fff;
    }
    .drawer-search input:focus { border-color: var(--primary); }
    .drawer-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 44px;
        background: var(--primary);
        color: #fff;
        border-radius: var(--radius-btn);
        font-size: .9375rem;
        font-weight: 600;
    }
    .drawer-cta:hover { background: var(--primary-deep); color: #fff; }

    /* ========== Page Hero ========== */
    .page-hero {
        background: linear-gradient(135deg, var(--primary-soft) 0%, #F0F4FB 60%, #F7FAFF 100%);
        padding: 64px 0 48px;
        border-bottom: 1px solid var(--border);
    }
    @media (max-width: 768px) { .page-hero { padding: 48px 0 36px; } }
    .breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .875rem;
        color: var(--text-weak);
        margin-bottom: 16px;
        flex-wrap: wrap;
    }
    .breadcrumb a { color: var(--text-sub); }
    .breadcrumb a:hover { color: var(--primary); }
    .breadcrumb .sep { color: var(--text-weak); }
    .page-hero h1 {
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: -0.02em;
        color: var(--text-main);
        margin-bottom: 12px;
    }
    @media (max-width: 768px) { .page-hero h1 { font-size: 1.875rem; } }
    .page-hero p {
        font-size: 1.0625rem;
        color: var(--text-sub);
        max-width: 680px;
        line-height: 1.8;
    }

    /* ========== Main Content Grid ========== */
    .main-wrap { padding: 56px 0 72px; }
    .content-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }
    @media (min-width: 992px) {
        .content-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; }
    }
    .main-content { min-width: 0; }

    .lead {
        font-size: 1.0625rem;
        color: var(--text-sub);
        background: var(--primary-soft);
        border-left: 4px solid var(--primary);
        border-radius: 0 12px 12px 0;
        padding: 18px 22px;
        margin-bottom: 32px;
        line-height: 1.8;
    }
    .main-content h2 {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--text-main);
        margin: 40px 0 16px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--border);
    }
    .main-content h3 {
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--text-main);
        margin: 28px 0 12px;
    }
    .main-content p {
        font-size: 1rem;
        color: var(--text-sub);
        margin-bottom: 16px;
        line-height: 1.85;
    }

    .info-box {
        display: flex;
        gap: 12px;
        background: #FFF8EB;
        border: 1px solid #FDE8C8;
        border-left: 4px solid var(--accent);
        border-radius: 12px;
        padding: 16px 18px;
        margin: 24px 0;
    }
    .info-box svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
    .info-box p { margin: 0; font-size: .9375rem; color: var(--text-sub); line-height: 1.7; }
    .info-box strong { color: var(--text-main); }

    .styled-list { margin: 16px 0 24px; display: flex; flex-direction: column; gap: 14px; }
    .styled-list li {
        display: flex;
        gap: 12px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 16px 18px;
        box-shadow: var(--shadow-card);
        transition: box-shadow .2s ease, transform .2s ease;
    }
    .styled-list li:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
    .styled-list .list-num {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--primary-soft);
        color: var(--primary);
        font-weight: 700;
        font-size: .875rem;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 2px;
    }
    .styled-list .list-content h4 { font-size: 1.0625rem; color: var(--text-main); margin-bottom: 4px; }
    .styled-list .list-content p { font-size: .9375rem; color: var(--text-sub); margin: 0; line-height: 1.65; }

    .content-img {
        border-radius: 12px;
        margin: 32px 0;
        box-shadow: var(--shadow-card);
        overflow: hidden;
        background: #fff;
    }
    .content-img img { width: 100%; height: auto; object-fit: cover; }
    .content-img figcaption {
        font-size: .8125rem;
        color: var(--text-weak);
        text-align: center;
        padding: 10px 12px;
        background: #fff;
        border-top: 1px solid var(--border);
    }

    /* ========== Sidebar ========== */
    .sidebar { display: flex; flex-direction: column; gap: 28px; }
    .sidebar-card {
        background: #fff;
        border: 1px solid var(--border);
        border-radius: var(--radius-card);
        box-shadow: var(--shadow-card);
        padding: 24px;
    }
    .sidebar-card h3 {
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--text-main);
        margin-bottom: 16px;
        padding-bottom: 10px;
        border-bottom: 2px solid var(--border);
        position: relative;
    }
    .sidebar-card h3::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 42px;
        height: 2px;
        background: var(--primary);
    }
    .read-list { display: flex; flex-direction: column; gap: 4px; }
    .read-list a {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        padding: 9px 6px;
        border-radius: 10px;
        color: var(--text-sub);
        font-size: .9375rem;
        transition: background .2s ease, color .2s ease;
    }
    .read-list a::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--primary);
        margin-top: 9px;
        flex-shrink: 0;
    }
    .read-list a:hover { background: var(--primary-soft); color: var(--primary); }
    .tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag-cloud a {
        display: inline-block;
        padding: 6px 14px;
        border-radius: 999px;
        background: var(--primary-soft);
        color: var(--primary);
        font-size: .8125rem;
        font-weight: 600;
        transition: background .2s ease, transform .2s ease;
    }
    .tag-cloud a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
    .contact-card .contact-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 0;
        font-size: .9375rem;
        color: var(--text-sub);
    }
    .contact-card .contact-item svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }
    .contact-card .service-time {
        font-size: .8125rem;
        color: var(--text-weak);
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }

    /* ========== FAQ ========== */
    .faq-section {
        padding: 64px 0;
        background: #fff;
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }
    .faq-section .section-title { text-align: center; font-size: 1.875rem; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
    .faq-section .section-sub { text-align: center; color: var(--text-sub); font-size: .9375rem; margin-bottom: 36px; }
    .faq-list { max-width: 860px; margin: 0 auto; }
    .faq-item {
        border: 1px solid var(--border);
        border-radius: 14px;
        background: #fff;
        box-shadow: var(--shadow-card);
        margin-bottom: 14px;
        overflow: hidden;
        transition: box-shadow .2s ease, border-color .2s ease;
    }
    .faq-item.open { border-color: var(--primary); box-shadow: 0 14px 34px rgba(62, 111, 232, 0.12); }
    .faq-question {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 20px;
        border: none;
        background: transparent;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text-main);
        text-align: left;
        cursor: pointer;
        gap: 16px;
        font-family: inherit;
    }
    .faq-question:hover { color: var(--primary); }
    .faq-icon {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: var(--primary-soft);
        color: var(--primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.125rem;
        font-weight: 700;
        flex-shrink: 0;
        transition: all .25s ease;
    }
    .faq-item.open .faq-icon { background: var(--primary); color: #fff; transform: rotate(45deg); }
    .faq-answer {
        display: none;
        padding: 4px 20px 18px;
        border-left: 3px solid var(--primary);
        margin: 0 20px 0 20px;
        padding-left: 14px;
        color: var(--text-sub);
        font-size: .9375rem;
        line-height: 1.75;
    }
    .faq-item.open .faq-answer { display: block; }

    /* ========== CTA ========== */
    .cta-section { padding: 64px 0; }
    .cta-card {
        background: var(--primary-soft);
        border-radius: 20px;
        padding: 48px 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
        border: 1px solid #D5E4FB;
    }
    @media (max-width: 768px) { .cta-card { padding: 32px 20px; } }
    .cta-card h2 { font-size: 1.75rem; font-weight: 800; color: var(--text-main); }
    @media (max-width: 768px) { .cta-card h2 { font-size: 1.375rem; } }
    .cta-card p { color: var(--text-sub); font-size: 1rem; max-width: 520px; }
    .cta-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
    .btn-primary {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 46px;
        padding: 0 28px;
        border-radius: var(--radius-btn);
        background: var(--primary);
        color: #fff;
        font-size: .9375rem;
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
    }
    .btn-primary:hover { background: var(--primary-deep); color: #fff; box-shadow: 0 10px 24px rgba(62, 111, 232, 0.25); transform: translateY(-2px); }
    .btn-outline {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 46px;
        padding: 0 28px;
        border-radius: var(--radius-btn);
        background: #fff;
        color: var(--primary);
        font-size: .9375rem;
        font-weight: 600;
        border: 1px solid var(--primary);
        cursor: pointer;
        transition: background .2s ease, color .2s ease, transform .2s ease;
    }
    .btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

    /* ========== Footer ========== */
    .site-footer {
        background: var(--text-main);
        color: #C7D2E4;
        padding: 64px 0 0;
    }
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 40px;
    }
    @media (min-width: 768px) {
        .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    }
    .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
    .footer-logo .logo-mark { background: #fff; box-shadow: none; }
    .footer-logo .logo-mark::after { border-color: var(--text-main); }
    .footer-logo .logo-text { color: #fff; font-size: 1.1rem; font-weight: 800; }
    .footer-brand p { color: #93A3BB; font-size: .9375rem; max-width: 340px; line-height: 1.75; }
    .footer-col h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
    .footer-col ul { display: flex; flex-direction: column; gap: 10px; }
    .footer-col a { color: #C7D2E4; font-size: .9375rem; transition: color .2s ease; }
    .footer-col a:hover { color: #fff; }
    .footer-contact li { display: flex; align-items: center; gap: 10px; font-size: .9375rem; }
    .footer-contact svg { width: 18px; height: 18px; color: #93A3BB; flex-shrink: 0; }
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding: 20px 0;
        text-align: center;
        font-size: .875rem;
        color: #93A3BB;
    }

    @media (max-width: 768px) {
        .footer-grid { gap: 32px; }
        .main-wrap { padding: 40px 0 56px; }
        .faq-section { padding: 48px 0; }
        .cta-section { padding: 48px 0; }
        .page-hero h1 { font-size: 1.75rem; }
    }
