:root {
    --primary-color: #0071e3;
    --secondary-color: #1d1d1f;
    --background-color: #ffffff;
    --text-color: #1d1d1f;
    --gray-light: #f5f5f7;
    --gray-dark: #86868b;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: 0.8rem 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.logo img {
    height: 40px;
    transition: all 0.3s ease;
}

.main-nav.scrolled .logo img {
    height: 35px;
}

/* 英雄区域样式 */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: floatAnimation 20s infinite alternate;
}

.shape1 {
    width: 300px;
    height: 300px;
    background: rgba(0, 113, 227, 0.2);
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.shape2 {
    width: 400px;
    height: 400px;
    background: rgba(64, 156, 255, 0.15);
    top: 50%;
    right: 15%;
    animation-delay: -5s;
}

.shape3 {
    width: 250px;
    height: 250px;
    background: rgba(100, 200, 255, 0.1);
    bottom: 10%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes floatAnimation {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, 20px) scale(1.1);
    }
    100% {
        transform: translate(-20px, -30px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), #40bcff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.hero-content p {
    font-size: 1.5rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
}

@keyframes backgroundFlow {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.1) translate(-2%, 2%);
    }
    100% {
        transform: scale(1) translate(2%, -2%);
    }
}

/* 特性区域样式 */
.features {
    padding: 5rem 0;
    background: var(--gray-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* 联系区域样式 */
.contact-section {
    padding: 5rem 0;
    background: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 页脚样式 */
.main-footer {
    background: var(--secondary-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3,
.footer-links h3 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 动画类 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.cta-button {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--primary-color), #40bcff);
    border: none;
}

.cta-button.outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.glow-effect:hover {
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.4);
}

/* 预览部分通用样式 */
.preview-section {
    padding: 5rem 0;
}

.preview-section:nth-child(even) {
    background: var(--gray-light);
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.preview-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.preview-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

/* 新闻卡片网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 服务卡片网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* 联系信息卡片 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-card {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .preview-content {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .cta-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
} 

/* 更新卡片样式 */
.content-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 新增滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), #40bcff);
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 1001;
}

/* 新增section样式 */
.section-wrapper {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.section-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(240, 244, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.8) 100%
    );
    z-index: 0;
}

.section-content {
    position: relative;
    z-index: 1;
}

/* 新增图片悬浮效果 */
.hover-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.hover-image img {
    transition: all 0.5s ease;
}

.hover-image:hover img {
    transform: scale(1.05);
}

.hover-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hover-image:hover::after {
    opacity: 1;
}

/* Hero区域增强 */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), #40bcff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.animate-text {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.animate-text-delay {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards 0.3s;
}

.animate-text-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards 0.6s;
}

/* 滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards 1s;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

/* 图片悬停效果增强 */
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.hover-zoom img {
    transition: transform 0.5s ease;
}

.hover-zoom:hover img {
    transform: scale(1.1);
}

/* 按钮效果增强 */
.cta-button {
    position: relative;
    overflow: hidden;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: linear-gradient(45deg, var(--primary-color), #40bcff);
    border: none;
}

.cta-button.outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.glow-effect:hover {
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.4);
}

/* 卡片效果增强 */
.news-card, .service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.news-card:hover, .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 链接悬停效果 */
.hover-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.hover-arrow:hover {
    gap: 1rem;
}