/* CSS Variables - Design Tokens */
:root {
    /* Colors */
    --color-bg-primary: rgb(249, 246, 242);
    --color-text-primary: rgb(74, 55, 43);
    --color-text-secondary: rgb(169, 150, 150);
    --color-border: rgb(74, 55, 43);

    /* Typography */
    --font-logo: 'MuseoModerno', sans-serif;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'League Spartan', sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 64px;
    --space-3xl: 88px;
    --space-4xl: 100px;

    /* Border Radius */
    --radius-sm: 31px;
    --radius-md: 36px;
    --radius-lg: 40px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
    scroll-padding-bottom: 200px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
}

/* Navigation */
.nav-storytelling {
    padding: 28px 80px var(--space-xl) 80px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-storytelling::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(249, 246, 242, 1) 0%, rgba(249, 246, 242, 1) 75%, rgba(249, 246, 242, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

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

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-lg);
    position: relative;
    z-index: 1;
}

.logo {
    font-family: var(--font-logo);
    font-size: 26px;
    font-weight: 500;
    line-height: 41.34px;
    color: var(--color-text-primary);
}

.nav-links {
    display: flex;
    gap: 80px;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 300;
    line-height: 14.72px;
    color: var(--color-text-primary);
    text-decoration: none;
}

.nav-actions {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.btn-faq {
    height: 40px;
    padding: 0 var(--space-lg);
    background-color: var(--color-bg-primary);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 100;
    line-height: 1;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-faq:hover {
    opacity: 0.8;
}

.btn-rent {
    height: 40px;
    padding: 0 var(--space-lg);
    background-color: var(--color-text-primary);
    border: none;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 100;
    line-height: 1;
    color: var(--color-bg-primary);
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-rent:hover {
    opacity: 0.8;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 5%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    scroll-margin-top: 200px;
}

.hero-container {
    max-width: 1728px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(40px, 8vh, 96px);
}

.hero-image-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 5vh, 68px);
    align-items: center;
}

.hero-image {
    height: var(--hero-image-height, auto);
    max-height: calc(100vh - 380px);
    min-height: 400px;
    width: auto;
    max-width: 632px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: opacity 0.6s ease;
    opacity: 1;
    display: block;
    vertical-align: bottom;
}

.category-tabs {
    display: flex;
    gap: clamp(60px, 12vw, 168px);
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 632px;
}

.category-tab {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 14.72px;
    color: var(--color-text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    cursor: pointer;
    transition: color 0.6s ease;
    position: relative;
}

.category-tab span {
    transition: opacity 0.6s ease, color 0.6s ease;
    white-space: nowrap;
}

.category-tab.active {
    color: var(--color-text-primary);
}

.category-tab.active span {
    opacity: 1;
    color: var(--color-text-primary);
}

.category-tab:not(.active) span {
    opacity: 0.5;
    color: var(--color-text-secondary);
}

.underline {
    height: 2px;
    background-color: var(--color-text-primary);
    opacity: 0;
    width: 0;
    margin: 0 auto;
    transform-origin: center;
    transform: scaleX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.category-tab.active .underline {
    opacity: 1;
    transform: scaleX(1);
}

.hero-price {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vh, 24px);
    align-items: center;
    text-align: center;
}

.hero-price p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 14.72px;
    color: var(--color-text-primary);
}

/* Change Color Button - 磨砂玻璃效果 */
.change-color-btn {
    position: fixed;
    /* 👈 改这里：从 absolute 改成 fixed */
    top: 0;
    left: 0;
    padding: 4px 24px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, background 0.2s ease;
    /* 👈 改这里：0.3s 改成 0.2s */
    z-index: 100;
    /* 👈 改这里：从 10 改成 100 */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform-origin: center center;
    transform: translate(-50%, -50%);
}



.change-color-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.change-color-btn:active {
    background: rgba(255, 255, 255, 0.45);
}

.change-color-btn span {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--color-text-primary);
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.change-color-btn span::before {
    content: '●';
    /* 或者 '•' */
    margin-right: 8px;
    font-size: 8px;
}

/* Transition Video */
.transition-video {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    max-height: calc(100vh - 380px);
    min-height: 400px;
    width: auto;
    max-width: 632px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
}

.transition-video.playing {
    opacity: 1;
    z-index: 15;
}

/* Hero image wrapper需要相对定位 */
.hero-image-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(24px, 5vh, 68px);
    align-items: center;
    position: relative;
}

/* 只在living图片上隐藏默认鼠标 */
.hero-image {
    cursor: default;
}

.hero-image.hide-cursor {
    cursor: none;
}

/* About Section */
.about-section {
    padding-left: 42px;
    padding-right: 42px;
    background: linear-gradient(to bottom, rgba(244, 240, 234, 0) 0%, rgba(244, 240, 234, 1) 15%, rgba(244, 240, 234, 1) 85%, rgba(244, 240, 234, 0) 100%);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
}

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

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
    text-align: center;
}

.section-header h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    color: var(--color-text-primary);
}

.section-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    line-height: 11.04px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
}

.section-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-text h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 600;
    line-height: 48px;
    color: var(--color-text-primary);
    max-width: 967px;
    margin-bottom: 64px;
}

.section-text p {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.2;
    color: var(--color-text-primary);
    max-width: 967px;
}

.section-text p:not(:last-child) {
    margin-bottom: 4px;
}

.about-image .section-image {
    width: 100%;
    max-width: 1292px;
    height: auto;
    aspect-ratio: 1292 / 422;
    object-fit: cover;
}

.about-image {
    margin-top: 88px;
    margin-bottom: 88px;
}

.section-image {
    width: 1292px;
    height: 422px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.stats-grid {
    display: flex;
    gap: 128px;
    align-items: center;
    margin-top: 0;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    align-items: center;
    width: 280px;
}

.stat-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.stat-content h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    color: var(--color-text-primary);
}

.stat-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    line-height: 11.04px;
    color: var(--color-text-secondary);
    text-transform: uppercase;
}

.stat-description {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 17px;
    color: var(--color-text-primary);
    text-align: center;
}

.quote-section {
    margin-top: 68px;
    text-align: center;
}

.quote-text {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 400;
    line-height: 25.76px;
    color: var(--color-text-secondary);
    max-width: 716px;
    margin: 0;
}

/* How It Works Section */
.how-it-works-section {
    background-color: var(--color-bg-primary);
    padding-left: 42px;
    padding-right: 42px;
    scroll-snap-align: start;
}

.how-it-works-container {
    max-width: 1728px;
    margin: 0 auto;
}

.how-it-works-content {
    display: flex;
    flex-direction: column;
    gap: 88px;
    align-items: center;
}

.steps-grid {
    display: flex;
    gap: clamp(20px, 3vw, 58px);
    /* ← 间距也响应式 */
    flex-wrap: nowrap;
    align-items: flex-start;
    max-width: 1294px;
}

.step-card {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
    max-width: 288px;
    min-width: 150px;
    /* ← 加这行 */
    flex: 1;
    /* ← 加这行，让卡片平分空间 */
}

.step-image {
    width: 100%;
    /* ← 改成 100% */
    max-width: 288px;
    /* ← 加这行 */
    aspect-ratio: 280 / 340;
    /* ← 用 aspect-ratio 保持比例 */
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 保留旧类名以防万一 */
.step-image-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 280 / 340;
    background-color: var(--color-text-secondary);
    border-radius: var(--radius-lg);
    opacity: 0.3;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.step-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.step-number {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    line-height: 11.04px;
    color: var(--color-text-primary);
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: var(--color-text-primary);
}

.step-content p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 17px;
    color: var(--color-text-primary);
}

/* Why Roomo Section */
.why-roomo-section {
    padding-left: 42px;
    padding-right: 42px;
    background: linear-gradient(to bottom, rgba(244, 240, 234, 0) 0%, rgba(244, 240, 234, 1) 15%, rgba(244, 240, 234, 1) 85%, rgba(244, 240, 234, 0) 100%);
    scroll-snap-align: start;
}

.why-roomo-container {
    max-width: 1728px;
    margin: 0 auto;
}

.why-roomo-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
    align-items: center;
}

.why-roomo-visual {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
    align-items: center;
}

.features-grid {
    display: flex;
    gap: 68px;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 36px;
    align-items: center;
    width: 280px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    color: var(--color-text-primary);
    text-align: center;
}

.feature-card p {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 300;
    line-height: 14.72px;
    color: var(--color-text-primary);
    text-align: center;
    margin-top: -15px;
    margin-bottom: 35px;
}

/* CTA Section */
.cta-section {
    background-color: var(--color-bg-primary);
    padding-left: 482px;
    padding-right: 482px;
    display: flex;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
}

.cta-container {
    max-width: 1732px;
    margin: 0 auto;
    width: 100%;
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 88px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cta-image {
    width: 508px;
    height: 505px;
    object-fit: cover;
}

.cta-text {
    display: flex;
    flex-direction: column;
    gap: 64px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.cta-buttons {
    display: flex;
    gap: 28px;
    align-items: center;
}

.cta-message {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 400;
    line-height: 35.76px;
    color: var(--color-text-secondary);
    text-align: center;
    white-space: nowrap;
    max-width: 1116px;
    margin-bottom: 105px;
}

/* Footer */
.footer {
    background-color: var(--color-bg-primary);
    padding: 0px 199px 80px;
}

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

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

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1292px;
}

.footer-links {
    display: flex;
    gap: 128px;
}

.footer-links a {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 100;
    line-height: 11.04px;
    color: var(--color-text-secondary);
    text-decoration: none;
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 100;
    line-height: 11.04px;
    color: var(--color-text-secondary);
}

/* Responsive Design */
@media (max-width: 1440px) {
    .hero-section {
        padding: var(--space-4xl) 200px;
        flex: 1;
    }


    .how-it-works-section {
        padding-left: 42px;
        padding-right: 42px;
    }

    .section-image {
        width: 100%;
        max-width: 1292px;
    }

    .stats-grid,
    .features-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-storytelling {
        padding: var(--space-xl) var(--space-lg);
    }

    .nav-content {
        flex-direction: column;
        gap: var(--space-md);
    }

    .nav-links {
        gap: var(--space-lg);
    }

    .hero-section {
        padding: var(--space-2xl) var(--space-lg);
        flex: 1;
    }

    .hero-image {
        height: calc(100vh - 300px);
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .hero-content {
        gap: var(--space-xl);
    }

    .category-tabs {
        width: 100%;
        gap: var(--space-lg);
    }

    .about-section,
    .how-it-works-section,
    .why-roomo-section {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }

    .section-text h1 {
        font-size: 36px;
        line-height: 40px;
    }

    .stats-grid,
    .steps-grid,
    .features-grid {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .cta-section {
        padding-left: var(--space-lg);
        padding-right: var(--space-lg);
    }

    .footer {
        padding: var(--space-2xl) var(--space-lg);
    }

    .footer-top {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .footer-links {
        gap: var(--space-lg);
    }
}

/* FAQ Modal */
.faq-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    /* 为滚动条和渐变提供定位上下文 */
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.faq-modal.active {
    opacity: 1;
    visibility: visible;
}

.faq-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.faq-modal.active .faq-modal-overlay {
    opacity: 1;
}

.faq-modal-content {
    position: relative;
    width: 640px;
    height: 720px;
    background-color: rgb(249, 246, 242);
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    /* 隐藏浏览器默认滚动条 */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.faq-modal-content::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* FAQ Close Button */
.faq-close-btn {
    position: absolute;
    /* 弹窗右边距离屏幕右侧：50% - 280px (320px - 40px) */
    right: calc(50% - 280px);
    /* 弹窗顶部距离屏幕顶部：50% - 360px + 40px */
    top: calc(50% - 320px);
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease;
    z-index: 1010;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.faq-modal.active .faq-close-btn {
    opacity: 1;
}

.faq-modal.active .faq-close-btn:hover {
    opacity: 0.6;
}

.faq-close-btn::before,
.faq-close-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background-color: var(--color-text-secondary);
    transform: translate(-50%, -50%) rotate(45deg);
}

.faq-close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* 滚动进度条 - 固定在弹窗右侧，不随内容滚动 */
.faq-scrollbar {
    position: absolute;
    /* 弹窗居中：50% - 320px (弹窗宽度的一半) + 8px (右侧距离) */
    right: calc(50% - 320px + 8px);
    /* 弹窗居中：50% - 360px (弹窗高度的一半) + 180px (顶部偏移) */
    top: calc(50% - 360px + 180px);
    width: 8px;
    height: 460px;
    /* 720px - 180px (top) - 80px (bottom) */
    z-index: 1003;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.faq-modal.active .faq-scrollbar {
    opacity: 1;
}

.faq-scrollbar-track {
    position: relative;
    width: 8px;
    height: 100%;
    background-color: rgba(74, 55, 43, 0.1);
    border-radius: 4px;
}

.faq-scrollbar-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 68px;
    /* 固定高度68px */
    background-color: rgb(74, 55, 43);
    border-radius: 4px;
    transition: top 0.1s ease-out;
}

/* 顶部渐变遮罩效果 - 固定在弹窗顶部，不随内容滚动 */
.faq-gradient-overlay-top {
    position: absolute;
    /* 弹窗居中：50% - 320px (弹窗宽度的一半) */
    left: calc(50% - 320px);
    /* 弹窗居中：50% - 360px (弹窗高度的一半) */
    top: calc(50% - 360px);
    width: 640px;
    height: 80px;
    background: linear-gradient(to bottom, #F9F6F2 70%, rgba(249, 246, 242, 0) 100%);
    pointer-events: none;
    z-index: 1002;
    border-radius: 40px 40px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.faq-modal.active .faq-gradient-overlay-top {
    opacity: 1;
}

/* 底部渐变遮罩效果 - 固定在弹窗底部，不随内容滚动 */
.faq-gradient-overlay {
    position: absolute;
    /* 弹窗居中：50% - 320px (弹窗宽度的一半) */
    left: calc(50% - 320px);
    /* 弹窗居中：50% - 360px (弹窗高度的一半) */
    bottom: calc(50% - 360px);
    width: 640px;
    height: 80px;
    background: linear-gradient(to top, #F9F6F2 70%, rgba(249, 246, 242, 0) 100%);
    pointer-events: none;
    z-index: 1002;
    border-radius: 0 0 40px 40px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.faq-modal.active .faq-gradient-overlay {
    opacity: 1;
}

.faq-modal-inner {
    width: 528px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 52px;
    padding: 80px 0;
    min-height: min-content;
}

.faq-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    color: rgb(74, 55, 43);
    margin: 0;
    text-align: center;
    flex-shrink: 0;
}

.faq-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.faq-item {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.faq-card-wrapper {
    width: 528px;
    background-color: rgb(244, 240, 234);
    border-radius: 999px;
    overflow: hidden;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-question-card {
    width: 100%;
    min-height: 76px;
    padding: 32px;
    background-color: transparent;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    /* SemiBold */
    line-height: 1.3;
    /* 精确匹配Figma设计 */
    color: rgb(74, 55, 43);
    text-align: left;
    transition: opacity 0.2s ease-in-out, transform 0.1s ease-in-out;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.faq-question-card:hover {
    opacity: 0.8;
}

.faq-question-card:active {
    transform: scale(0.95);
}

.faq-answer-content {
    width: 100%;
    padding: 0 32px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item.active .faq-answer-content {
    max-height: 500px;
    padding: 0 32px 32px 32px;
}

.faq-answer-text {
    font-family: 'League Spartan', sans-serif;
    font-size: 16px;
    font-weight: 300;
    /* Light */
    line-height: 14.72px;
    color: rgb(74, 55, 43);
    margin: 0;
}


/* Section dividers with gradient fade */
section {
    position: relative;
    padding-top: 100px;
    padding-bottom: 100px;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    /* 控制线的长度 */
    height: 1px;
    background: linear-gradient(to right,
            transparent 0%,
            #d0d0d0 20%,
            #d0d0d0 80%,
            transparent 100%);
}

section:first-of-type::before,
.cta-section::before {
    /* 添加这行 */
    display: none;
}

.logo a,
a.logo {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.footer-logo {
    height: 32px;
    /* 调整高度 */
    width: auto;
}