/* roulang page: index */
:root {
    --color-primary: #4A8DF8;
    --color-primary-dark: #3A7BD5;
    --color-primary-light: #EAF1FE;
    --color-secondary: #C8A06B;
    --color-secondary-dark: #A9864F;
    --color-secondary-light: #F5EDE0;
    --bg-body: #FFFFFF;
    --bg-section: #F5F7FA;
    --text-heading: #1E293B;
    --text-body: #475569;
    --text-muted: #94A3B8;
    --border-color: #E2E8F0;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-card: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-card-hover: 0 8px 20px rgba(0,0,0,0.10);
    --font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --container-width: 1200px;
    --space-section: 80px;
    --space-section-mobile: 48px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

input {
    font-family: inherit;
    border: none;
    outline: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--space-section) 0;
}

.section-alt {
    background: var(--bg-section);
}

.section-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.3;
    margin-bottom: 12px;
}

.section-head p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

/* 顶部导航 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--color-primary), #6DA5FF);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(74,141,248,0.3);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: 1px;
}

.search-box {
    flex: 1;
    max-width: 460px;
    display: flex;
    align-items: center;
    background: #F1F5F9;
    border-radius: 22px;
    padding: 0 16px;
    height: 42px;
    border: 2px solid transparent;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.search-box svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-muted);
    margin-right: 10px;
    flex-shrink: 0;
}

.search-box input {
    flex: 1;
    background: transparent;
    font-size: 14px;
    color: var(--text-heading);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box:focus-within {
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(74,141,248,0.12);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-body);
    padding: 6px 2px;
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.nav-cta {
    background: var(--color-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 20px;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(74,141,248,0.3);
}

.nav-cta:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 4px 14px rgba(74,141,248,0.4);
    transform: translateY(-1px);
}

.nav-cta:active {
    transform: translateY(0);
}

.hamburger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    background: #F1F5F9;
}

.hamburger svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-heading);
}

.mobile-search-bar {
    display: none;
    padding-bottom: 14px;
}

/* Hero */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, rgba(255,255,255,0.95) 0%, rgba(245,247,250,0.85) 50%, rgba(255,255,255,0.7) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
    padding: 80px 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-tag {
    display: inline-block;
    background: var(--color-secondary-light);
    color: var(--color-secondary-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.25;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 3px 10px rgba(74,141,248,0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(74,141,248,0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:focus-visible {
    outline: 3px solid rgba(74,141,248,0.4);
    outline-offset: 2px;
}

.btn-outline {
    background: #fff;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary-light);
    transform: translateY(-2px);
}

.btn-outline:active {
    transform: translateY(0);
}

.btn-outline:focus-visible {
    outline: 3px solid rgba(74,141,248,0.3);
    outline-offset: 2px;
}

.hero-metrics {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.metric-item strong {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.2;
}

.metric-item span {
    font-size: 13px;
    color: var(--text-muted);
}

/* 卖点三连 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 28px 24px 0;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.feature-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.feature-num {
    font-size: 34px;
    font-weight: 800;
    color: var(--secondary-light, #EDE3D5);
    background: var(--color-secondary-light);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.feature-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-secondary-dark);
    background: var(--color-secondary-light);
    padding: 3px 12px;
    border-radius: 100px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--color-primary);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0 -24px;
}

.feature-more {
    display: inline-block;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.feature-more:hover {
    color: var(--color-primary-dark);
}

/* 场景演示 */
.scenarios {
    background: var(--bg-section);
}

.scenario-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.scenario-wrap::-webkit-scrollbar {
    display: none;
}

.scenario-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s, transform 0.2s;
    scroll-snap-align: start;
}

.scenario-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-3px);
}

.scenario-card:first-child {
    grid-column: span 1;
}

.scenario-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.scenario-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.scenario-card:hover .scenario-cover img {
    transform: scale(1.04);
}

.scenario-play {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.scenario-play svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.scenario-body {
    padding: 18px;
}

.scenario-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.scenario-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scenario-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.scenario-badge {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 100px;
    background: var(--color-secondary-light);
    color: var(--color-secondary-dark);
    font-weight: 600;
}

.scenario-time {
    font-size: 12px;
    color: var(--text-muted);
}

/* 资讯列表 */
.updates-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.update-item {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s, transform 0.2s;
    align-items: flex-start;
}

.update-item:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.update-thumb {
    width: 160px;
    height: 120px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-section);
}

.update-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.update-content {
    flex: 1;
    min-width: 0;
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 100px;
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.badge-secondary {
    background: var(--color-secondary-light);
    color: var(--color-secondary-dark);
}

.update-meta time {
    font-size: 13px;
    color: var(--text-muted);
}

.update-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    line-height: 1.4;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.update-content h3 a:hover {
    color: var(--color-primary);
}

.update-content p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.updates-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background: var(--bg-section);
    border-radius: var(--radius-md);
    padding: 22px;
}

.sidebar-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 14px;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-list a {
    display: block;
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
}

.sidebar-list a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-secondary);
}

.sidebar-list a:hover {
    color: var(--color-primary);
}

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-tags a {
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-body);
}

.sidebar-tags a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.empty-state {
    padding: 30px;
    text-align: center;
    color: var(--text-muted);
    background: var(--bg-section);
    border-radius: var(--radius-md);
}

/* 合集目录 */
.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.directory-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s, transform 0.2s;
}

.directory-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.directory-cover {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.directory-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.directory-count {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 13px;
    padding: 4px 12px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
}

.directory-body {
    padding: 20px;
}

.directory-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.directory-body p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.directory-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.directory-link:hover {
    color: var(--color-primary-dark);
}

/* 社会认同 */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
    color: var(--color-secondary);
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
}

.testimonial-user strong {
    font-size: 15px;
    color: var(--text-heading);
    display: block;
}

.testimonial-user span {
    font-size: 13px;
    color: var(--text-muted);
}

/* 平台保障 */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.guarantee-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 26px 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    text-align: center;
    transition: box-shadow 0.2s;
}

.guarantee-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.guarantee-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--color-primary);
}

.guarantee-icon svg {
    width: 22px;
    height: 22px;
}

.guarantee-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.guarantee-card p {
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.6;
}

/* FAQ */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: var(--shadow-card);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 16px rgba(74,141,248,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    user-select: none;
}

.faq-question span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-heading);
}

.faq-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-section);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-arrow svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-body);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    background: var(--color-primary-light);
}

.faq-item.active .faq-arrow svg {
    stroke: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.faq-answer-inner {
    padding: 0 24px;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
}

/* CTA 区域 */
.cta-section {
    position: relative;
    background: linear-gradient(135deg, rgba(30,41,59,0.9), rgba(30,41,59,0.75)), url('/assets/images/backpic/back-2.jpg') center/cover no-repeat;
    padding: 90px 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.cta-section .btn-primary {
    background: var(--color-secondary);
    box-shadow: 0 3px 14px rgba(200,160,107,0.4);
}

.cta-section .btn-primary:hover {
    background: var(--color-secondary-dark);
}

/* 页脚 */
.site-footer {
    background: #1E293B;
    color: rgba(255,255,255,0.7);
    padding: 56px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand .logo-icon {
    background: var(--color-secondary);
    box-shadow: none;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.footer-col a:hover {
    color: var(--color-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* 底部固定转化条 */
.fixed-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
    padding: 10px 12px 10px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 680px;
    width: calc(100% - 32px);
    backdrop-filter: blur(8px);
}

.fixed-cta-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fixed-cta .btn {
    padding: 8px 22px;
    min-height: 38px;
    font-size: 14px;
    flex-shrink: 0;
}

body {
    padding-bottom: 100px;
}

body.has-fixed-cta {
    padding-bottom: 110px;
}

/* 响应式 */
@media (max-width: 1023px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid .feature-card:last-child {
        grid-column: span 2;
    }
    
    .updates-grid {
        grid-template-columns: 1fr;
    }
    
    .updates-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
    }
    
    .directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .scenario-wrap {
        grid-template-columns: 1.2fr 1fr;
    }
    
    .scenario-card:last-child {
        grid-column: span 2;
    }
    
    .scenario-card:last-child .scenario-cover {
        aspect-ratio: 16 / 8;
    }
}

@media (max-width: 767px) {
    .section {
        padding: var(--space-section-mobile) 0;
    }
    
    .section-head h2 {
        font-size: 23px;
    }
    
    .nav-wrapper {
        height: 64px;
    }
    
    .desktop-search {
        display: none;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border-color);
        padding: 16px 20px;
        flex-direction: column;
        gap: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    
    .main-nav.open {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .mobile-search-bar {
        display: block;
    }
    
    .mobile-search-bar .search-box {
        max-width: none;
    }
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-sub {
        font-size: 15px;
    }
    
    .hero-metrics {
        gap: 24px;
    }
    
    .metric-item strong {
        font-size: 22px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid .feature-card:last-child {
        grid-column: span 1;
    }
    
    .scenario-wrap {
        grid-template-columns: 1fr;
        overflow-x: auto;
    }
    
    .scenario-card:last-child {
        grid-column: span 1;
    }
    
    .scenario-card {
        min-width: 280px;
    }
    
    .updates-list {
        gap: 12px;
    }
    
    .update-item {
        flex-direction: column;
        padding: 16px;
    }
    
    .update-thumb {
        width: 100%;
        height: 150px;
    }
    
    .updates-sidebar {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
    }
    
    .directory-grid {
        grid-template-columns: 1fr;
    }
    
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h2 {
        font-size: 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
    
    .fixed-cta {
        bottom: 10px;
        padding: 8px 8px 8px 16px;
        gap: 12px;
    }
    
    .fixed-cta-text {
        font-size: 13px;
    }
    
    .fixed-cta .btn {
        padding: 7px 18px;
        font-size: 13px;
    }
    
    body {
        padding-bottom: 80px;
    }
}

@media (max-width: 520px) {
    .nav-cta {
        display: none;
    }
    
    .hero-actions {
        gap: 12px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .scenario-card {
        min-width: 240px;
    }
}

/* roulang page: article */
:root {
    --color-primary: #3B82F6;
    --color-primary-dark: #2563EB;
    --color-primary-soft: #EFF6FF;
    --color-secondary: #C8A06B;
    --color-secondary-dark: #B08968;
    --color-secondary-soft: #F7F0E6;
    --bg-body: #FFFFFF;
    --bg-section: #F5F7FA;
    --text-heading: #1E293B;
    --text-body: #475569;
    --text-muted: #94A3B8;
    --border-color: #E2E8F0;
    --radius-card: 16px;
    --radius-btn: 10px;
    --shadow-card: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-card-hover: 0 8px 20px rgba(0,0,0,0.10);
    --font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
    --container-width: 1200px;
    --space-section: 80px;
    --transition: 0.2s ease;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); background: var(--bg-body); color: var(--text-body); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding-left: 0; }
button, input { font-family: inherit; }
button { border: none; background: none; cursor: pointer; }
.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 28px;
    border-radius: var(--radius-btn);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    transition: var(--transition);
    border: 1px solid transparent;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { background: #fff; border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary-soft); }
.btn:focus-visible, .nav-link:focus-visible, .nav-cta:focus-visible, .logo:focus-visible, .hamburger:focus-visible, .related-card:focus-visible { outline: 3px solid rgba(59,130,246,0.4); outline-offset: 2px; }
.btn:active { transform: translateY(1px); }

/* 顶部导航 */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.nav-wrapper { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-heading); flex-shrink: 0; }
.logo-icon { font-size: 26px; line-height: 1; }
.logo-text { font-size: 20px; letter-spacing: 0.5px; }
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 480px;
    background: #F1F5F9;
    border: 1px solid transparent;
    border-radius: 24px;
    padding: 0 16px;
    height: 44px;
    transition: var(--transition);
}
.search-box svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.search-box input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; color: var(--text-heading); }
.search-box input::placeholder { color: var(--text-muted); }
.search-box:focus-within { border-color: var(--color-primary); background: #fff; box-shadow: 0 0 0 4px rgba(59,130,246,0.12); }
.main-nav { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-link { padding: 8px 16px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--text-body); transition: var(--transition); }
.nav-link:hover { color: var(--color-primary); background: var(--color-primary-soft); }
.nav-link.active { color: var(--color-primary); background: var(--color-primary-soft); font-weight: 600; }
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}
.nav-cta:hover { background: var(--color-primary-dark); }
.hamburger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; color: var(--text-heading); transition: var(--transition); }
.hamburger:hover { background: var(--bg-section); }
.hamburger svg { width: 22px; height: 22px; }
.mobile-search-bar { display: none; padding-bottom: 16px; }
.mobile-search-bar .search-box { max-width: none; }

/* 文章页横幅 */
.article-banner {
    position: relative;
    background: linear-gradient(120deg, rgba(245,247,250,0.94) 0%, rgba(239,246,255,0.9) 100%), url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
    border-bottom: 1px solid var(--border-color);
    padding: 64px 0 48px;
}
.breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: var(--color-primary); transition: var(--transition); }
.breadcrumb a:hover { color: var(--color-primary-dark); }
.article-header { max-width: 760px; }
.article-header h1 { font-size: 32px; line-height: 1.35; color: var(--text-heading); font-weight: 700; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; font-size: 14px; color: var(--text-muted); }
.badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--color-secondary-soft); color: var(--color-secondary-dark); }
.badge-blue { background: var(--color-primary-soft); color: var(--color-primary); }

/* 正文区 */
.article-main { padding: 48px 0 var(--space-section); }
.article-layout { max-width: 760px; margin: 0 auto; }
.article-cover { margin-bottom: 32px; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-card); }
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-content { font-size: 16px; line-height: 1.9; color: var(--text-body); }
.article-content h2 { font-size: 24px; font-weight: 600; color: var(--text-heading); margin: 40px 0 16px; line-height: 1.4; }
.article-content h3 { font-size: 19px; font-weight: 600; color: var(--text-heading); margin: 32px 0 12px; line-height: 1.4; }
.article-content p { margin: 0 0 20px; }
.article-content ul { list-style: disc; padding-left: 24px; margin: 0 0 20px; }
.article-content ol { list-style: decimal; padding-left: 24px; margin: 0 0 20px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote { border-left: 4px solid var(--color-primary); background: var(--color-primary-soft); padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 0 0 20px; color: var(--text-heading); }
.article-content img { border-radius: 12px; margin: 24px 0; }
.article-content code { background: #F1F5F9; padding: 2px 8px; border-radius: 6px; font-size: 14px; color: var(--color-primary-dark); }
.article-content pre { background: #1E293B; color: #E2E8F0; padding: 20px; border-radius: 12px; overflow-x: auto; margin: 0 0 20px; }
.article-content pre code { background: transparent; color: inherit; padding: 0; }
.article-foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.not-found { max-width: 760px; margin: 0 auto; text-align: center; padding: 80px 0; }
.not-found .icon-big { font-size: 64px; margin-bottom: 20px; line-height: 1; }
.not-found h1 { font-size: 32px; color: var(--text-heading); margin-bottom: 12px; }
.not-found p { color: var(--text-muted); margin-bottom: 28px; }

/* 通用板块 */
.section { padding: var(--space-section) 0; }
.section.bg-section { background: var(--bg-section); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.section-tag { color: var(--color-secondary-dark); background: var(--color-secondary-soft); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.section-head h2 { font-size: 28px; color: var(--text-heading); font-weight: 600; margin-top: 10px; line-height: 1.3; }
.more-link { color: var(--color-primary); font-size: 14px; font-weight: 500; transition: var(--transition); }
.more-link:hover { color: var(--color-primary-dark); }

/* 相关推荐 */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.related-card {
    display: block;
    background: #fff;
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: var(--transition);
}
.related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-card-hover); }
.related-card .cover { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.related-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.related-card:hover .cover img { transform: scale(1.04); }
.related-card .scrim { position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.94); display: flex; align-items: center; justify-content: center; color: var(--color-primary); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.related-card .scrim svg { width: 16px; height: 16px; }
.related-card .card-body { padding: 16px 20px 20px; }
.related-card .card-body h3 { font-size: 16px; color: var(--text-heading); margin-bottom: 8px; line-height: 1.4; font-weight: 600; transition: var(--transition); }
.related-card:hover .card-body h3 { color: var(--color-primary); }
.related-card .card-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.related-card .card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

/* FAQ 手风琴 */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border-color); border-radius: 14px; margin-bottom: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.03); transition: var(--transition); }
.faq-item[open] { border-color: var(--color-primary); box-shadow: var(--shadow-card); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-size: 16px; font-weight: 600; color: var(--text-heading); cursor: pointer; list-style: none; transition: var(--transition); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--color-primary); }
.faq-item summary::after { content: "+"; font-size: 24px; color: var(--color-primary); transition: transform 0.2s ease; flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--text-body); font-size: 15px; line-height: 1.8; }
.faq-item .faq-body p { margin-bottom: 6px; }

/* CTA */
.cta-panel { padding: 0 0 var(--space-section); }
.cta-box { position: relative; border-radius: 20px; overflow: hidden; padding: 60px 40px; text-align: center; background: linear-gradient(rgba(30,41,59,0.88), rgba(30,41,59,0.92)), url('/assets/images/backpic/back-3.webp') center/cover no-repeat; }
.cta-box h2 { font-size: 28px; color: #fff; font-weight: 600; margin-bottom: 12px; }
.cta-box p { color: rgba(255,255,255,0.85); font-size: 15px; max-width: 560px; margin: 0 auto 28px; }
.cta-box .btn-primary { background: #fff; color: var(--text-heading); }
.cta-box .btn-primary:hover { background: #E2E8F0; }

/* 页脚 */
.site-footer { background: #fff; border-top: 1px solid var(--border-color); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); max-width: 360px; line-height: 1.7; }
.footer-col h4 { font-size: 15px; color: var(--text-heading); margin-bottom: 16px; font-weight: 600; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--text-muted); transition: var(--transition); }
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; text-align: center; font-size: 13px; color: var(--text-muted); }

/* 响应式 */
@media (max-width: 1023px) {
    .section { --space-section: 56px; }
    .nav-wrapper { height: 64px; }
    .hamburger { display: flex; }
    .desktop-search { display: none; }
    .mobile-search-bar { display: block; }
    .main-nav {
        position: fixed;
        top: 124px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 20px 20px;
        gap: 8px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.06);
        transform: translateY(-130%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        margin-left: 0;
    }
    .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .nav-link { text-align: center; padding: 12px; }
    .nav-cta { justify-content: center; margin-top: 8px; width: 100%; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    .article-banner { padding: 40px 0 32px; }
    .article-header h1 { font-size: 26px; }
    .article-main { padding: 32px 0 48px; }
    .article-content { font-size: 15px; line-height: 1.85; }
    .article-foot { flex-direction: column; align-items: stretch; }
    .article-foot .btn { width: 100%; }
    .related-grid { grid-template-columns: 1fr; }
    .section-head h2 { font-size: 24px; }
    .cta-box { padding: 40px 24px; border-radius: 16px; }
    .cta-box h2 { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .site-footer { padding: 48px 0 24px; }
}
