/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    pointer-events: auto;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    opacity: 1;
    background-color: #fff;
}

body.loaded {
    opacity: 1;
}

/* 添加字体预加载 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* 导航栏样式 */
header {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
}

header.scroll-down {
    transform: translateY(-100%);
}

header.scroll-up {
    transform: translateY(0);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF6B6B;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FF6B6B;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after {
    width: 100%;
}

/* 主要内容区域 */
#hero {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    background: var(--bg-gradient);
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 107, 107, 0.1), transparent 60%);
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.cta-button {
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color));
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* 作品展示区域 */
#works {
    padding: 5rem 2rem;
    background: #fff;
}

#works h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
}

.portfolio-item {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.portfolio-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 24px;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.portfolio-item:hover .overlay {
    transform: translateY(0);
}

.category {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent-color);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* 关于部分 */
#about {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 4rem;
}

/* 图片区域样式 */
.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255,255,255,0.95);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.experience-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #FF6B6B;
}

.experience-badge .text {
    font-size: 0.9rem;
    color: #666;
}

/* 社交徽章样式 */
.social-badges {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-badge {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.social-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.1);
    color: #FF6B6B;
}

/* 文字内容区域样式 */
.bio-section {
    margin-bottom: 3rem;
}

.bio-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.bio-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.bio-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.highlight-item i {
    font-size: 1.2rem;
    color: #FF6B6B;
}

/* 设计理念卡片样式 */
.philosophy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.philosophy-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.philosophy-card i {
    font-size: 2rem;
    color: #FF6B6B;
    margin-bottom: 1rem;
}

.philosophy-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
}

.philosophy-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* 技能展示区域样式 */
.skills-section {
    margin-top: 3rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.skill-category h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    background: #FF6B6B;
    color: white;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .philosophy-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .bio-highlights {
        grid-template-columns: 1fr;
    }
}

/* 联系表单 */
#contact {
    padding: 80px 24px;
    position: relative;
    z-index: 1;
    overflow: visible;
}

#contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 40px;
    background: var(--light-gray);
    border-radius: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #FF6B6B;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem;
    background: #FF6B6B;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.submit-button:hover {
    background: #FF5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.2);
}

/* 页脚 */
footer {
    background: #333;
    color: white;
    padding: 2rem;
    text-align: center;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FF6B6B;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    nav ul {
        display: none;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .menu-button {
        display: block;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        background: white;
        flex-direction: column;
        padding: 80px 40px;
        transition: right 0.3s ease;
    }

    nav ul.active {
        right: 0;
    }

    .menu-button.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-button.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
}

/* 滚动动画类 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 添加交错动画 */
.stagger-animation > * {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-animation > *.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 添加连接元素样式 */
.section-connector {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 2;
}

.section-connector svg {
    width: 100%;
    height: 100%;
    fill: #fff;
}

.timeline-connector {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    opacity: 0.2;
    transform: translateX(-50%);
}

/* 移动端菜单按钮 */
.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.menu-button span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 鼠标滚动指示器 */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid #333;
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: #333;
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* 作品集加载动画 */
.portfolio-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.portfolio-item.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 标志设计 */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 1.8rem;
    letter-spacing: 2px;
}

.logo-dot {
    width: 8px;
    height: 8px;
    background: #FF6B6B;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.logo-subtext {
    font-size: 0.9rem;
    opacity: 0.7;
    font-weight: 400;
}

/* 英雄区域改版 */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.hero-text h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.hero-text h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: translateX(-100%);
    animation: revealText 1.2s ease forwards;
}

@keyframes revealText {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: #FF6B6B;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 80%;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.design-elements {
    position: relative;
    width: 300px;
    height: 300px;
}

/* 故事部分 */
#story {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.story-timeline {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem 0;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #FF6B6B, transparent);
    opacity: 0.3;
}

.story-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.story-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.story-item.reverse {
    flex-direction: row-reverse;
}

.story-item.reverse .story-text {
    direction: ltr;
}

.story-image {
    flex: 0 0 45%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.story-image img:hover {
    transform: scale(1.05);
}

.story-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: #FF6B6B;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.story-text {
    flex: 0 0 55%;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.story-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #FF6B6B;
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.story-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.story-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-quote {
    padding: 1.5rem;
    background: #f8f9fa;
    border-left: 4px solid #FF6B6B;
    border-radius: 0 10px 10px 0;
    margin: 1.5rem 0;
}

.story-quote i {
    color: #FF6B6B;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.story-quote p {
    font-style: italic;
    margin: 0;
}

.story-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.story-gallery img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.story-gallery img:hover {
    transform: scale(1.05);
}

.story-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #FF6B6B;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* 响应式调 */
@media (max-width: 768px) {
    .story-item, 
    .story-item.reverse {
        flex-direction: column;
    }

    .story-image {
        flex: 0 0 100%;
    }

    .story-text {
        flex: 0 0 100%;
        padding: 1.5rem 0;
    }

    .story-timeline::before {
        left: 20px;
    }

    .story-item.reverse {
        direction: ltr;
    }

    .story-date {
        left: 20px;
        right: auto;
    }

    .story-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* 添加动画效果 */
.story-item {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 设计哲学部分 */
#philosophy {
    padding: 8rem 2rem;
    background: #FFF4F4;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-text .quote {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: #FF6B6B;
}

/* 动画效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .hero-description {
        max-width: 100%;
    }
}

/* 感画廊 */
.inspiration-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.inspiration-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.inspiration-gallery:hover .inspiration-img {
    transform: scale(1.05);
}

.inspiration-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* 时刻卡片 */
.moment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.moment-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.moment-card:hover img {
    transform: scale(1.1);
}

.moment-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.moment-card:hover .moment-text {
    transform: translateY(0);
}

.time {
    display: inline-block;
    color: #FF6B6B;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-family: 'Space Mono', monospace;
}

/* 故事时间线 */
.story-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 0;
}

.story-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #FFE2E2;
}

.story-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.story-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.story-text {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.story-text h3 {
    color: #FF6B6B;
    margin-bottom: 1rem;
}

.story-text p {
    line-height: 1.8;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .story-timeline::before {
        left: 0;
    }

    .story-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 添加鼠标跟随效果 */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #FF6B6B;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(255, 107, 107, 0.1);
}

/* 添加图片加载效 */
.lazy-image {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lazy-image.loaded {
    opacity: 1;
    transform: scale(1);
}

/* 更新配色方案和渐变 */
:root {
    --primary-color: #FF6B6B;
    --secondary-color: #4ECDC4;
    --accent-color: #45B7AF;
    --text-color: #2C3E50;
    --bg-gradient: linear-gradient(135deg, #FFF6F6, #F9FFFE);
}

/* 优化背景过渡 */
#hero {
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 107, 107, 0.1), transparent 60%);
}

/* 统一卡片样式 */
.card-style {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-style:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 统一间距和版 */
section {
    padding: 80px 24px;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.section-connector {
    height: 100px;
    position: relative;
    z-index: 1;
}

/* 添加装饰元素 */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    filter: blur(40px);
}

/* 添加统一的hover果 */
.hover-effect {
    transition: all 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 统一文字样式 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--text-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* 响应式优化 */
@media (max-width: 768px) {
    section {
        padding: 60px 20px;
    }

    .section-connector {
        height: 60px;
    }

    .section-title {
        font-size: 2rem;
    }

    .card-style {
        margin: 1rem;
    }

    .timeline-connector {
        left: 20px;
    }
}

/* 添加流畅的滚动效果 */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* 优化图片加载 */
img {
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

img[loading="lazy"] {
    opacity: 0;
    transform: translateY(10px);
}

/* 添加加载中状态样式 */
img.loading {
    opacity: 0.5;
    background: linear-gradient(90deg, 
        var(--background-color) 25%, 
        #E2E8F0 50%, 
        var(--background-color) 75%
    );
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* 加载成功状态 */
img.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* 加载失败状态 */
img.error {
    opacity: 0.7;
    filter: grayscale(100%);
}

/* 图片错误提示样式 */
.image-error-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 1;
}

/* 图片容器样式 */
.image-container {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
    border-radius: inherit;
}

/* 图片加载占位符动画 */
@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 优化图片展示容器 */
.inspiration-gallery,
.story-image,
.portfolio-item {
    position: relative;
    overflow: hidden;
    background: var(--light-gray);
}

/* 添加图片加载状态指示器 */
.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-gray);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 更新配色方案，使用更柔和的色调 */
:root {
  --primary-color: #2C3E50;
  --accent-color: #E67E22;
  --text-color: #34495E;
  --light-gray: #F5F6FA;
  --white: #FFFFFF;
}

/* 优化排版 */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  color: var(--text-color);
  background-color: var(--white);
}

/* 优化标题样式 */
h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Hero区域优化 */
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 24px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-text {
  position: relative;
}

.hero-text h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 32px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards 0.5s;
  background-clip: text;
  -webkit-background-clip: text;
  -moz-background-clip: text;
}

.hero-quote {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--accent-color);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.8s;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  opacity: 0.8;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.1s;
}

/* 添加动画关帧 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 化图片展示果 */
.inspiration-gallery {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.6s ease;
}

.inspiration-gallery:hover {
  transform: perspective(1000px) rotateY(0deg);
}

/* 导栏优化 */
.nav-link {
  position: relative;
  padding: 8px 16px;
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* 按钮样式优化 */
.button {
  padding: 12px 24px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.button:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

/* FAQ 模块样式优化 */
#faq {
    background: linear-gradient(135deg, var(--light-gray) 0%, #fff 100%);
    padding: 120px 24px;
    position: relative;
    overflow: hidden;
}

/* 添加背景装饰 */
#faq::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(230, 126, 34, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-question {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
    padding-right: 20px;
}

.faq-toggle {
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.faq-toggle i {
    color: white;
    font-size: 0.8rem;
    transition: transform 0.4s ease;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
}

.faq-answer p {
    margin: 0 0 16px;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.1s;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
}

.faq-answer ul li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--text-color);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.faq-answer ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

/* FAQ 激活状态优化 */
.faq-item.active {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.faq-item.active .faq-question {
    border-bottom-color: rgba(0, 0, 0, 0.08);
    background: white;
}

.faq-item.active .faq-toggle {
    transform: rotate(135deg);
    background: var(--primary-color);
}

.faq-item.active .faq-answer {
    padding: 28px;
    max-height: 1000px;
    opacity: 1;
}

.faq-item.active .faq-answer p,
.faq-item.active .faq-answer ul li {
    opacity: 0.8;
    transform: translateY(0);
}

/* 为列表项添加延迟动画 */
.faq-item.active .faq-answer ul li:nth-child(1) { transition-delay: 0.1s; }
.faq-item.active .faq-answer ul li:nth-child(2) { transition-delay: 0.2s; }
.faq-item.active .faq-answer ul li:nth-child(3) { transition-delay: 0.3s; }
.faq-item.active .faq-answer ul li:nth-child(4) { transition-delay: 0.4s; }
.faq-item.active .faq-answer ul li:nth-child(5) { transition-delay: 0.5s; }

/* FAQ 悬停效果优化 */
.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.faq-question:hover h3 {
    color: var(--accent-color);
}

.faq-question:hover .faq-toggle {
    transform: scale(1.1);
}

/* 添响应式动画 */
@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px;
    }
}

/* 添暗色模式支持 */
@media (prefers-color-scheme: dark) {
    #faq {
        background: linear-gradient(135deg, rgba(44, 62, 80, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    }
    
    .faq-item {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .faq-question {
        background: rgba(255, 255, 255, 0.02);
    }

}

img[loading="lazy"] {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

img[loading="lazy"].loaded {
    opacity: 1;
    transform: scale(1);
}

/* 添加滚动渐入效果 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 化图片加载动画 */
.inspiration-img {
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.8);
}

.inspiration-img.loaded {
    filter: brightness(1);
    transform: scale(1.05);
}

/* 添加引导性视觉元 */
.scroll-guide {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.scroll-guide:hover {
    opacity: 1;
    transform: translate(-50%, -5px);
}

/* 添加动态背景效果 */
.dynamic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.05), rgba(var(--accent-rgb), 0.05));
    filter: blur(100px);
    animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 优化排版和间距 */
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* 添加交互反馈 */
.interactive-element {
    position: relative;
    overflow: hidden;
}

.interactive-element::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s var(--transition-timing);
}

.interactive-element:hover::after {
    transform: translate(-50%, -50%) scale(2);
}

/* 优化性能关键属性 */
.portfolio-item {
    will-change: transform;
    transform: translateZ(0);
}

/* 修复重复的 CSS 变量定义 */
:root {
    --primary-color: #2C3E50;
    --accent-color: #E67E22;
    --text-color: #34495E;
    --light-gray: #F5F6FA;
    --white: #FFFFFF;
    --primary-rgb: 44, 62, 80;
    --accent-rgb: 230, 126, 34;
    --bg-gradient: linear-gradient(135deg, #FFF6F6, #F9FFFE);
}

/* 优化动画性能 */
.animate-on-scroll {
    will-change: opacity, transform;
}

/* Hero 区域修复 */
#hero {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    background: var(--bg-gradient);
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-visual {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.inspiration-gallery {
    width: 100%;
    height: 100%;
}

.inspiration-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* 修网格布局 */
.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.inspiration-item {
    width: 100%;
    aspect-ratio: 3/4;
}

.moment-card {
    width: 100%;
    height: 100%;
}

.moment-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 故事时间线修复 */
.story-timeline {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 24px;
}

.story-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
}

.story-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 20px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ 区域修复 */
.faq-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
}

/* 响应式修复 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-item {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 20px;
    }
    
    .section-connector {
        height: 60px;
    }
}

    /* Hero 区域的移动端优化 - 修复版本 */
    @media (max-width: 768px) {
      /* Hero 容器基础设置 */
      #hero {
        min-height: 100vh;
        height: auto; /* 允许容器高度自适应 */
        padding: 80px 20px 40px; /* 减小上下内边距 */
        display: flex;
        align-items: flex-start; /* 改为顶部对齐 */
        justify-content: center;
        overflow: visible; /* 确保内容不会被裁剪 */
      }

      /* Hero 内容布局调整 */
      .hero-content {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0;
        margin-top: 20px; /* 添加顶部间距 */
      }

      /* Hero 文本区域调整 */
      .hero-text {
        width: 100%;
        text-align: center;
        padding: 0;
        margin-bottom: 2rem;
      }

      /* 主标题调整 */
      .hero-text h1 {
        font-size: 2rem; /* 进一步减小字体大小 */
        line-height: 1.3;
        margin-bottom: 1rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
        word-wrap: break-word; /* 确保长单词可以换行 */
      }

      /* 副标题调整 */
      .hero-text h2.subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
      }

      /* 标签组调整 */
      .unique-points {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem; /* 减小标签间距 */
        margin: 1rem 0;
        width: 100%;
        padding: 0 10px;
      }

      .tag {
        font-size: 0.8rem; /* 减小标签字体大小 */
        padding: 0.4rem 0.8rem;
        white-space: nowrap;
        margin: 0.25rem;
      }

      /* CTA 按钮组调整 */
      .cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        width: 100%;
        max-width: 280px; /* 减小按钮最大宽度 */
        margin: 1rem auto;
      }

      .cta-button {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
        font-size: 0.9rem;
        min-height: 44px; /* 确保足够的触摸区域 */
      }

      /* Hero 视觉区域调整 */
      .hero-visual {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        aspect-ratio: 16/9;
        padding: 0;
        height: auto; /* 允许高度自适应 */
      }

      .inspiration-gallery {
        width: 100%;
        height: auto;
        border-radius: 12px;
        overflow: hidden;
      }

      .inspiration-gallery img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 12px;
        aspect-ratio: 16/9;
      }

      /* 确保所有内容都在视口内可见 */
      .hero-content > * {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
      }

      /* 优化文字换行 */
      .hero-text * {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -ms-word-break: break-all;
        word-break: break-word;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        hyphens: auto;
      }
    }

    /* 较小屏幕的额外优化 */
    @media (max-width: 375px) {
      #hero {
        padding-top: 60px; /* 更小的顶部内边距 */
      }

      .hero-text h1 {
        font-size: 1.8rem; /* 更小的标题字体 */
      }

      .hero-text h2.subtitle {
        font-size: 1rem;
      }

      .tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
      }

      .cta-button {
        padding: 0.7rem;
        font-size: 0.85rem;
      }

      .hero-visual {
        margin-top: 1rem;
      }
    }

    /* 确保在较高的手机屏幕上也能正常显示 */
    @media (max-height: 700px) and (max-width: 768px) {
      #hero {
        padding-top: 60px;
        min-height: auto;
      }

      .hero-content {
        gap: 1.5rem;
      }

      .hero-text h1 {
        font-size: 1.8rem;
      }

      .hero-text h2.subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
      }

      .unique-points {
        margin: 0.5rem 0;
      }

      .hero-visual {
        margin-top: 1rem;
      }
    }

    /* 处理横屏模式 */
    @media (max-width: 768px) and (orientation: landscape) {
      #hero {
        min-height: auto;
        padding: 60px 20px 30px;
      }

      .hero-content {
        flex-direction: row;
        gap: 2rem;
      }

      .hero-text {
        flex: 1;
      }

      .hero-visual {
        flex: 1;
      }
    }

/* 添加平滑滚动效果 */
.smooth-scroll {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 优化卡片悬停效果 */
.portfolio-item {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0) scale(1);
}

.portfolio-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 添加图片加载动画 */
.lazy-image {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: blur(5px);
}

.lazy-image.loaded {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* 优化文字动画 */
.animate-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 添加滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent-color), var(--primary-color));
    z-index: 1001;
    transition: width 0.3s ease;
}

/* 优化按钮效果 */
.button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.button:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* 添加卡片悬停效果 */
.card {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 优化光标跟��效果 */
.cursor {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-inner {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.cursor-outer {
    width: 40px;
    height: 40px;
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

.cursor.hover .cursor-inner {
    width: 12px;
    height: 12px;
    background-color: white;
}

.cursor.hover .cursor-outer {
    width: 60px;
    height: 60px;
    border-color: white;
    background-color: rgba(255, 107, 107, 0.1);
}

/* 添加关于我部分的样式 */
#about {
    padding: 100px 24px;
    background: var(--light-gray);
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text {
    padding: 20px;
}

.about-intro {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
}

.skill-item i {
    font-size: 24px;
    color: var(--accent-color);
}

.skill-item span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

/* 修复作品展示部分的图片 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light-gray);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 添加作品片 */
.portfolio-item:nth-child(1) {
    background-image: url('https://images.unsplash.com/photo-1551650975-87deedd944c3?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.portfolio-item:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

.portfolio-item:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* 修改 inspiration 部分样式 */
#inspiration {
    padding: 80px 24px;
    background: var(--light-gray);
}

.inspiration-content {
    max-width: 1200px;
    margin: 0 auto;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.inspiration-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--white);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.inspiration-item:hover {
    transform: translateY(-10px);
}

.inspiration-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.inspiration-item:hover .inspiration-img {
    transform: scale(1.05);
}

.moment-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.moment-text .tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.moment-text h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.moment-text p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .inspiration-grid {
        grid-template-columns: 1fr;
    }
    
    .inspiration-item {
        aspect-ratio: 16/9;
    }
}

/* 联系模块样式优化 */
.contact-section {
    padding: 100px 24px;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-top: 50px;
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.contact-info {
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-text h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.contact-text p {
    font-size: 1rem;
    opacity: 0.9;
}

.contact-social {
    margin-top: 40px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.social-icon i {
    font-size: 20px;
    color: white;
}

/* 更新 contact-form-wrapper 的样式 */
.contact-form-wrapper {
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    min-height: 800px;
    /* 确保内容可以正常交互 */
    position: relative;
    z-index: 2;
}

.contact-form-wrapper iframe {
    width: 100%;
    height: 800px;
    min-height: 800px;
    border: none;
    /* 移除可能影响交互的属性 */
    pointer-events: auto !important;
    position: relative;
    z-index: 3;
    /* 确保iframe内容可以滚动 */
    overflow: auto;
    /* 移除任何可能的transform */
    transform: none;
}

/* 确保所有表单元素都可以正常交互 */
input,
textarea,
select,
button {
    pointer-events: auto !important;
    position: relative;
    z-index: 3;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 15px;
        /* 移动端稍降低高度 */
        min-height: 700px;
    }
    
    .contact-form-wrapper iframe {
        height: 700px;
        min-height: 700px;
    }
}

/* 添加表单验证样式 */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #ff6b6b;
}.form-group input:invalid:focus,
.form-group select:invalid:focus,
.form-group textarea:invalid:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* 添加悬浮卡片效果 */
.floating-card {
    position: relative;
    transition: all 0.3s ease;
}

.floating-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x) var(--mouse-y),
                rgba(255,255,255,0.1),
                transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.floating-card:hover::before {
    opacity: 1;
}

/* 添加文字渐显效果 */
.fade-in-text {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-text.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 添加波纹效果 */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, white 10%, transparent 10.01%);
    transform: scale(10);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.ripple-effect:active::after {
    transform: scale(0);
    opacity: 0.3;
    transition: 0s;
}

/* 添加玻璃态效果 */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 添加3D悬停效果 */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d:hover {
    transform: rotateX(5deg) rotateY(5deg);
}

/* 添加渐变文字效果 */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientText 5s ease infinite;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 优化滚动指示器 */
.scroll-progress {
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    transform-origin: left;
    transition: transform 0.1s ease;
}

.hero-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.main-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #34495e;
  margin-bottom: 2rem;
}

.unique-points {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.tag {
  padding: 0.5rem 1.5rem;
  background-color: #fff;
  border-radius: 2rem;
  color: #2c3e50;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* CTA 按钮组样式 */
.cta-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button.primary {
    background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}

.cta-button.primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.3);
}

.cta-button.secondary {
    background: white;
    color: #FF6B6B;
    border: 2px solid #FF6B6B;
}

.cta-button.secondary:hover {
    background: #FF6B6B;
    color: white;
    transform: translateY(-5px);
}

/* 快速联系方式样式 */
.quick-contact {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #FF6B6B;
    transform: translateY(-2px);
}

.contact-link i {
    font-size: 1.2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .cta-group {
        flex-direction: column;
        gap: 1rem;
    }

    .quick-contact {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* 添加按钮点击效果 */
.cta-button:active {
    transform: scale(0.98);
}

/* 添加悬浮提示 */
.contact-link {
    position: relative;
}

.contact-link::after {
    content: attr(aria-label);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.contact-link:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.faq-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.faq-search {
    position: relative;
    max-width: 600px;
    margin: 2rem auto;
}

.faq-search input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    border-color: #FF6B6B;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,107,107,0.1);
}

.faq-search i {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
}

.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.faq-category {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.faq-category:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

.faq-category.active {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.2);
}

.faq-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.faq-answer {
    transition: max-height 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
}

.faq-item.active .faq-answer {
    max-height: 1000px; /* 根据实际内容调整 */
}

.faq-item[style*="display: none"] {
    opacity: 0;
    transform: translateY(10px);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
}

.faq-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #FF6B6B;
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 2px;
    height: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.faq-icon::after {
    width: 20px;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.faq-item.active .faq-icon::before {
    transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

/* 优化FAQ答案区域的样式 */
.faq-answer ol,
.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 0.5rem;
}

.faq-answer ol li {
    counter-increment: faq-counter;
}

.faq-answer ol li::before {
    content: counter(faq-counter) ".";
    color: var(--accent-color);
    font-weight: 600;
    position: absolute;
    left: -1.5rem;
}

.faq-answer ul li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: -1rem;
    font-weight: bold;
}

/* 添加FAQ项目的过渡动画 */
.faq-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.faq-item:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
}

/* 优化FAQ分类按钮 */
.faq-category {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--accent-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-category:hover {
    background: var(--accent-color);
    color: white;
}

.faq-category.active {
    background: var(--accent-color);
    color: white;
    font-weight: 500;
}

.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  cursor: pointer;
  background: #f8f9fa;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #e9ecef;
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1rem;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* 根据实际内容调整 */
  padding: 1rem;
}

/* 添加响应式断点变量 */
:root {
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
}

/* 优化移动端导航栏 */
@media (max-width: 768px) {
  .menu-button {
    display: block;
    z-index: 1001;
  }

  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  nav ul.active {
    right: 0;
  }

  nav ul li a {
    font-size: 1.2rem;
  }
}

  /* 优化英雄区域响应式布局 */
  @media (max-width: 992px) {
    .hero-content {
      grid-template-columns: 1fr;
      gap: 2rem;
      padding: 120px 24px 60px;
      text-align: center;
    }

    .hero-text h1 {
      font-size: 2.5rem;
    }

    .unique-points {
      justify-content: center;
    }

    .cta-group {
      justify-content: center;
    }
  }

  /* 优化作品展示网格 */
  @media (max-width: 768px) {
    .portfolio-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .portfolio-item {
      aspect-ratio: 16/9;
    }
  }

  /* 优化灵感区域响应式布局 */
  @media (max-width: 768px) {
    .inspiration-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }

    .inspiration-item {
      aspect-ratio: 16/9;
    }
  }

  /* 优化故事时间线响应式布局 */
  @media (max-width: 768px) {
    .story-item,
    .story-item.reverse {
      flex-direction: column;
      gap: 1.5rem;
    }

    .story-image {
      width: 100%;
    }

    .story-text {
      width: 100%;
      padding: 1.5rem;
    }
  }

  /* 优化联系表单响应式布局 */
  @media (max-width: 768px) {
    .contact-wrapper {
      grid-template-columns: 1fr;
    }

    .contact-info {
      padding: 2rem;
    }

    .form-group {
      margin-bottom: 1rem;
    }
  }

  /* 优化关于部分响应式布局 */
  @media (max-width: 992px) {
    .about-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .philosophy-cards {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
  }

  /* 优化FAQ部分响应式布局 */
  @media (max-width: 768px) {
    .faq-categories {
      flex-wrap: nowrap;
      overflow-x: auto;
      padding-bottom: 1rem;
      gap: 0.5rem;
    }

    .faq-category {
      flex: 0 0 auto;
      white-space: nowrap;
    }
  }

  /* 添加平板设备优化 */
  @media (min-width: 769px) and (max-width: 992px) {
    .inspiration-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* 优化字体大小响应式 */
  @media (max-width: 576px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    p { font-size: 1rem; }
    
    .section-title {
      font-size: 2rem;
    }
    
    .section-description {
      font-size: 1rem;
    }
  }

  /* 优化间距响应式 */
  @media (max-width: 768px) {
    section {
      padding: 60px 20px;
    }

    .section-connector {
      height: 40px;
    }
  }

  /* 添加触摸设备优化 */
  @media (hover: none) {
    .portfolio-item:hover,
    .inspiration-item:hover,
    .story-image:hover img {
      transform: none;
    }
  }

  .inspiration-img,
  .story-image img,
  .portfolio-item {
      background-color: #f5f5f5; /* 图片加载失败时的背景色 */
  }

  .inspiration-img:not([src]),
  .inspiration-img[src=""]::after,
  .story-image img:not([src]),
  .story-image img[src=""] {
      visibility: hidden;
  }

  /* 添加图片加载失败的后备样式 */
  .inspiration-img::after,
  .story-image img::after,
  .portfolio-item::after {
      content: '图片加载失败';
      display: none;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #666;
      font-size: 14px;
  }

  .inspiration-img:not([src])::after,
  .inspiration-img[src=""]::after,
  .story-image img:not([src])::after,
  .story-image img[src=""]::after,
  .portfolio-item:not([style*="background-image"])::after {
      display: block;
  }

  /* 现有样式 */
  .container iframe {
      max-width: 100%;
      margin: 0 auto;
      display: block;
  }
  /* 现有样式 */

  /* 确保Google Form容器有正确的z-index和交互属性 */
  .google-form-container,
  iframe[src*="google.com/forms"] {
      position: relative;
      z-index: 1;
      pointer-events: auto !important;
  }

  /* 确保表单输入框可以正常交互 */
  input,
  textarea,
  select {
      pointer-events: auto !important;
      z-index: 2;
  }

  /* 添加设计转型对比区域样式 */
  .design-evolution {
    padding: 100px 24px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  }

  .evolution-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-title {
    font-size: 2.5rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  }

  /* 优化对比滑块容器 */
  .comparison-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.3s ease;
  }

  .comparison-slider-wrapper.loaded {
    opacity: 1;
    transform: translateY(0);
  }

  /* 优化滑块区域 */
  .comparison-slider {
    position: relative;
    width: 100%;
    height: 600px;
    cursor: ew-resize;
    background: #fff;
  }

  /* 优化设计内容区域 */
  .slider-before, .slider-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .slider-before {
    background: #f5f5f5;
    width: 50%;
    z-index: 1;
  }

  /* 优化滑块控制器 */
  .slider-handle {
    position: absolute;
    width: 4px;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .handle-circle i {
    color: #2c3e50;
    font-size: 20px;
  }

  /* 优化标签样式 */
  .design-label {
    position: absolute;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
    z-index: 2;
    top: 20px;
  }

  .slider-before .design-label {
    left: 20px;
  }

  .slider-after .design-label {
    right: 20px;
  }

  /* 优化拖动提示 */
  .drag-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 3;
  }

  .design-evolution {
    padding: 100px 24px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  }

  .evolution-container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .comparison-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  }

  .comparison {
    position: relative;
    width: 100%;
    height: 600px;
    background: #fff;
    cursor: ew-resize;
  }

  .before,
  .after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .before {
    z-index: 1;
    width: 50%;
    background: #f5f5f5;
  }

  .slider {
    position: absolute;
    width: 4px;
    height: 100%;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: ew-resize;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
  }

  .slider::before {
    content: '';
    position: absolute;
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .slider::after {
    content: '⟷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #2c3e50;
    font-size: 20px;
    pointer-events: none;
  }

  .label {
    position: absolute;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    z-index: 2;
    top: 20px;
  }

  .before .label {
    left: 20px;
  }

  .after .label {
    right: 20px;
  }

  .hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 3;
  }

  /* 优化设计对比详情样式 */
  .design-comparison-details {
    margin-top: 60px;
    display: flex;
    gap: 40px;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  }

  .comparison-column {
    flex: 1;
    padding: 20px;
  }

  .comparison-column h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
  }

  .before-details h3 {
    color: #666;
  }

  .after-details h3 {
    color: #4158D0;
  }

  .comparison-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
  }

  .design-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .point-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
  }

  .point-item:hover {
    background: rgba(0,0,0,0.02);
    transform: translateX(5px);
  }

  .point-item i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
  }

  .before-details .point-item i {
    background: rgba(255,0,0,0.1);
    color: #ff4444;
  }

  .after-details .point-item i {
    background: rgba(0,255,0,0.1);
    color: #00C851;
  }

  .point-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
  }

  .point-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
  }

  .comparison-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .divider-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #4158D0, transparent);
  }

  .transform-icon {
    width: 40px;
    height: 40px;
    background: #4158D0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 8px rgba(65, 88, 208, 0.3);
  }

  /* 响应式调整 */
  @media (max-width: 768px) {
    .design-comparison-details {
        flex-direction: column;
        gap: 30px;
    }

    .comparison-divider {
        flex-direction: row;
        height: 40px;
    }

    .divider-line {
        top: 50%;
        left: 0;
        right: 0;
        height: 2px;
        width: auto;
        background: linear-gradient(to right, transparent, #4158D0, transparent);
    }
  }

  /* 优化对比说明区域的样式 */
  .point-illustration {
    margin-top: 15px;
    padding: 15px;
    background: rgba(0,0,0,0.02);
    border-radius: 10px;
    overflow: hidden;
  }

  /* 布局演示 */
  .layout-demo {
    width: 100%;
    height: auto;
    border-radius: 4px;
    overflow: hidden;
  }

  /* 视觉层次演示 */
  .hierarchy-demo {
    position: relative;
    height: 80px;
    padding: 10px;
  }

  .hierarchy-demo.old .level-1,
  .hierarchy-demo.old .level-2 {
    position: absolute;
    background: #ddd;
    border: 1px solid #ccc;
  }

  .hierarchy-demo.modern .level-1,
  .hierarchy-demo.modern .level-2,
  .hierarchy-demo.modern .level-3 {
    position: absolute;
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .hierarchy-demo.modern .level-1 {
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  }

  .hierarchy-demo.modern .level-2 {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  }

  .hierarchy-demo.modern .level-3 {
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
  }

  /* 按钮演示 */
  .demo-button {
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
  }

  .demo-button.old {
    background: #ddd;
    border: 1px solid #ccc;
    color: #333;
  }

  .demo-button.modern {
    background: linear-gradient(45deg, #4158D0, #C850C0);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
  }

  .demo-button.modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  }

  /* 颜色演示 */
  .color-demo {
    display: flex;
    gap: 10px;
  }

  .color-demo span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
  }

  .color-demo.old span:nth-child(1) { background: #ddd; }
  .color-demo.old span:nth-child(2) { background: #999; }
  .color-demo.old span:nth-child(3) { background: #666; }

  .color-demo.modern span:nth-child(1) { background: linear-gradient(45deg, #4158D0, #C850C0); }
  .color-demo.modern span:nth-child(2) { background: linear-gradient(45deg, #FF6B6B, #FFE66D); }
  .color-demo.modern span:nth-child(3) { background: linear-gradient(45deg, #00F260, #0575E6); }

  /* 响应式设备演示 */
  .responsive-demo {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    height: 80px;
  }

  .device {
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .device.desktop {
    width: 60px;
    height: 40px;
  }

  .device.tablet {
    width: 40px;
    height: 50px;
  }

  .device.mobile {
    width: 25px;
    height: 60px;
  }

  /* 添加交互提示样式 */
  .interaction-hints {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 3;
  }

  .hint-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0,0,0,0.8);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    backdrop-filter: blur(4px);
  }

  .hint-item i {
    font-size: 14px;
    color: #FF6B6B;
  }

  /* 添加动画效果 */
  .hint-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transform: translateY(20px);
  }

  .hint-item:nth-child(2) {
    animation-delay: 0.2s;
  }

  .hint-item:nth-child(3) {
    animation-delay: 0.4s;
  }

/* 优化全局样式 */
:root {
    --primary-color: #2C3E50;
    --accent-color: #E67E22;
    --text-color: #34495E;
    --background-color: #F8FAFC;
    --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* 化性能相关样式 */
.optimize-gpu {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* 优化加载动画 */
.loaded {
    opacity: 1;
    transform: none;
    transition: opacity 0.5s var(--transition-timing),
                transform 0.5s var(--transition-timing);
}

/* 优化滚动动画 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition-timing);
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* 优化响应式布局 */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* 优化加载状态 */
.loading-skeleton {
    background: linear-gradient(90deg, 
        var(--background-color) 25%, 
        #E2E8F0 50%, 
        var(--background-color) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 优化交互反馈 */
.interactive-element {
    position: relative;
    overflow: hidden;
}

.interactive-element::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0) 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s var(--transition-timing);
}

.interactive-element:hover::after {
    transform: translate(-50%, -50%) scale(2);
}

/* 移动端全局居中样式 */
@media (max-width: 768px) {
  /* 文本居中 */
  h1, h2, h3, h4, h5, h6, p {
    text-align: center;
  }

  /* 导航菜单居中 */
  nav ul {
    align-items: center;
    text-align: center;
  }

  /* 英雄区域居中 */
  .hero-content {
    text-align: center;
    justify-items: center;
  }

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

  /* CTA按钮组居中 */
  .cta-group {
    justify-content: center;
    width: 100%;
  }

  /* 作品展示区域居中 */
  .portfolio-grid {
    justify-items: center;
  }

  .portfolio-item {
    max-width: 90%;
    margin: 0 auto;
  }

  /* 灵感区域居中 */
  .inspiration-grid {
    justify-items: center;
  }

  .inspiration-item {
    max-width: 90%;
    margin: 0 auto;
  }

  /* 故事时间线��中 */
  .story-item {
    align-items: center;
    text-align: center;
  }

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

  /* 关于部分居中 */
  .about-content {
    text-align: center;
  }

  .about-grid {
    justify-items: center;
  }

  .bio-highlights {
    justify-content: center;
  }

  .highlight-item {
    justify-content: center;
    text-align: center;
  }

  /* 技能标签居中 */
  .skill-tags {
    justify-content: center;
  }

  /* FAQ部分居中 */
  .faq-categories {
    justify-content: center;
  }

  .faq-question {
    text-align: center;
    justify-content: center;
  }

  .faq-answer {
    text-align: center;
  }

  /* 联系部分居中 */
  .contact-info {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  /* 页脚居中 */
  footer {
    text-align: center;
  }

  /* 图标和按钮居中 */
  .icon-container {
    display: flex;
    justify-content: center;
  }

  /* 所有flex容器居中 */
  [class*="flex-"] {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  /* 所有grid容器居中 */
  [class*="grid-"] {
    justify-items: center;
    text-align: center;
  }

  /* 图片容器居中 */
  .image-container {
    margin: 0 auto;
    text-align: center;
  }

  /* 标签和徽章居中 */
  .tag, .badge {
    margin: 0 auto;
  }

  /* 统一内边距 */
  section {
    padding: 40px 20px;
  }

  /* 确保内容不会太宽 */
  .container {
    width: 90%;
    margin: 0 auto;
  }

  /* 优化按钮宽度 */
  .button, .cta-button {
    width: 80%;
    max-width: 300px;
    margin: 10px auto;
  }

  /* 优化图片大小 */
  img {
    max-width: 90%;
    margin: 0 auto;
    display: block;
  }

  /* 优化表单布局 */
  .form-group {
    text-align: center;
    width: 90%;
    margin: 0 auto 1rem;
  }

  input, textarea {
    width: 100%;
    margin: 0 auto;
  }

  /* 优化间距 */
  .section-title {
    margin-bottom: 2rem;
  }

  .section-description {
    margin-bottom: 2.5rem;
  }

  /* 确保所有弹性盒子在移动端居中 */
  .flex-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

/* 确保平板设备也有良好的居中效果 */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    width: 85%;
    margin: 0 auto;
  }

  .grid-container {
    justify-items: center;
  }
}

/* 移动端导航菜单优化 */
@media (max-width: 768px) {
  /* 导航栏基础样式 */
  header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
  }

  /* 汉堡菜单按钮样式 */
  .menu-button {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
  }

  .menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
  }

  .menu-button span:nth-child(1) { top: 6px; }
  .menu-button span:nth-child(2) { top: 14px; }
  .menu-button span:nth-child(3) { top: 22px; }

  /* 汉堡菜单激活状态 */
  .menu-button.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 14px;
  }

  .menu-button.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 14px;
  }

  /* 导航菜单样式 */
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    right: 0;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
  }

  nav ul li a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
  }

  /* 防止菜单打开时页面滚动 */
  body.menu-open {
    overflow: hidden;
  }

  /* 内容显示优化 */
  .hero-content {
    padding-top: 80px; /* 为固定导航栏留出空间 */
    min-height: calc(100vh - 80px);
  }

  /* 确保所有内容都可见 */
  section {
    overflow: visible;
    width: 100%;
    padding: 60px 20px;
  }

  /* 优化内容容器 */
  .container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    overflow: visible;
  }

  /* 优化图片显示 */
  img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* 优化文本显示 */
  h1, h2, h3, p {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  /* 优化按钮显示 */
  .cta-button {
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    padding: 12px 24px;
    font-size: 1rem;
  }

  /* 优化表单元素 */
  input, 
  textarea, 
  select {
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
  }

  /* 修复滚动问题 */
  .scroll-container {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }

  /* 优化触摸区域 */
  button,
  a,
  .interactive-element {
    min-height: 44px;
    min-width: 44px;
    padding: 12px;
  }
}

/* 较小屏幕的额外优化 */
@media (max-width: 375px) {
  .menu-button {
    transform: scale(0.9);
  }

  nav ul li a {
    font-size: 1.1rem;
    padding: 0.8rem;
  }

  .hero-content {
    padding-top: 60px;
  }
}

/* 处理较高的手机屏幕 */
@media (min-height: 700px) and (max-width: 768px) {
  nav ul {
    padding-top: 100px;
  }

  nav ul li {
    margin-bottom: 1rem;
  }
}


