/* ========================================
   金筑财富 - 首页专用样式
   ======================================== */

/* Hero Banner */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFE5E5 50%, #FFD93D 100%);
    overflow: hidden;
    margin-top: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 217, 61, 0.3) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, transparent 70%);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--accent-coral), var(--primary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: var(--primary-yellow);
    top: 10%;
    right: 20%;
    animation: pulse 3s ease-in-out infinite;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: var(--accent-coral);
    bottom: 20%;
    left: 10%;
    animation: pulse 4s ease-in-out infinite 1s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: var(--light-pink);
    top: 60%;
    right: 40%;
    animation: pulse 5s ease-in-out infinite 2s;
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        transform: none;
        max-width: 400px;
    }

    .hero-image:hover {
        transform: none;
    }
}

/* Services Section - 阶梯式布局 */
.services-section {
    padding: 100px 0;
    background: var(--pure-white);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    padding: 8px 25px;
    background: var(--light-pink);
    color: var(--accent-coral);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: var(--pure-white);
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--accent-coral));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--light-pink);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-pink), #fff0f0);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-yellow), #fff5cc);
    transform: scale(1.1) rotate(5deg);
}

.service-icon img {
    width: 45px;
    height: 45px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-coral);
    font-weight: 600;
    font-size: 15px;
}

.service-link:hover {
    gap: 12px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--pure-white) 100%);
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-item {
    background: var(--pure-white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-yellow);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-number {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-coral));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-coral), #ff5252);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.cta-content h2 {
    font-size: 42px;
    color: var(--pure-white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--pure-white);
    color: var(--accent-coral);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid var(--pure-white);
    color: var(--pure-white);
}

.btn-outline-white:hover {
    background: var(--pure-white);
    color: var(--accent-coral);
}

/* News Section */
.news-section {
    padding: 100px 0;
    background: var(--pure-white);
}

.news-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.news-tab {
    padding: 10px 25px;
    background: var(--light-pink);
    color: var(--text-dark);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.news-tab.active,
.news-tab:hover {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* About Preview Section */
.about-preview {
    padding: 100px 0;
    background: var(--bg-cream);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: var(--pure-white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.stat-number {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-coral), var(--primary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-gray);
}

@media (max-width: 992px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-stats {
        grid-template-columns: 1fr;
    }
}
.news-list {
    display: flex;
    flex-wrap: nowrap; /* 强制横向，不换行 */
    overflow-x: auto;  /* 允许横向滚动 */
    gap: 30px;
    padding: 20px 5px; /* 为阴影留出空间 */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* 移动端平滑滚动 */
}

/* 隐藏滚动条但保留功能 */
.news-list::-webkit-scrollbar {
    height: 6px;
}
.news-list::-webkit-scrollbar-thumb {
    background: #ffe5e5;
    border-radius: 3px;
}