/* ============================================
   联邦融启 - 首页专属样式
   全屏视差布局 + 多元素分层滚动
   ============================================ */

/* Hero Section - 全屏视差 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 20, 25, 0.9), rgba(26, 32, 44, 0.8)), 
                url('../images/bg-hero.jpg') center/cover no-repeat fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(74, 144, 226, 0.15), transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 107, 53, 0.1), transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(74, 144, 226, 0.2);
    border: 1px solid var(--color-metal-blue);
    border-radius: 50px;
    color: var(--color-metal-blue-light);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--color-metal-blue), var(--color-warning-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 700px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    position: absolute;
    bottom: 80px;
    right: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    animation: fadeInRight 1s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-metal-blue);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3), rgba(255, 107, 53, 0.2));
    filter: blur(40px);
    animation: float 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -100px;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 200px;
    height: 200px;
    bottom: 20%;
    right: -50px;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(10deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Services Section - 独特网格布局 */
.services-section {
    background: var(--color-bg-dark);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid var(--color-warning-orange);
    border-radius: 50px;
    color: var(--color-warning-orange);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-metal-blue), var(--color-warning-orange));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--color-metal-blue);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    padding: 1.8rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-metal-blue), var(--color-metal-blue-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.service-title {
    font-size: 1.4rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.service-text {
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-metal-blue);
    font-weight: 600;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 0.8rem;
}

/* About Section - 非对称布局 */
.about-section {
    background: linear-gradient(135deg, var(--color-bg-dark), var(--color-bg-card));
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    width: 85%;
    height: 70%;
    top: 0;
    left: 0;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-card);
    border: 2px solid var(--color-border);
}

.about-img-secondary {
    position: absolute;
    width: 60%;
    height: 50%;
    bottom: 0;
    right: 0;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-card);
    border: 2px solid var(--color-metal-blue);
}

.about-badge-float {
    position: absolute;
    bottom: 100px;
    left: 50px;
    background: var(--color-warning-orange);
    color: var(--color-text-primary);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.about-badge-float h4 {
    font-size: 2rem;
    font-weight: 800;
    display: block;
}

.about-badge-float p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.about-content h2 span {
    color: var(--color-metal-blue);
}

.about-text {
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-check {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--color-metal-blue), var(--color-metal-blue-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: white;
    font-size: 0.8rem;
}

.feature-text {
    color: var(--color-text-primary);
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-metal-blue-dark), var(--color-metal-blue));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--color-text-primary);
}

.cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--color-text-primary);
    color: var(--color-metal-blue-dark);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

.btn-outline-white {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-text-primary);
}

.btn-outline-white:hover {
    background: var(--color-text-primary);
    color: var(--color-metal-blue-dark);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-stats {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 3rem;
        gap: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-images {
        height: 400px;
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
