/* 简洁黑色主题关于我页面样式 */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #000000;
    overflow-x: hidden;
    /* 添加移动端触摸滚动支持 */
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 35px;
    margin: 10px auto 0 auto;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.3rem;
    max-width: 1000px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-container {
    padding: 0.8rem 1.3rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 32px;
    width: auto;
    border-radius: 4px;
}

.nav-logo h2 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.2rem 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}



.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

/* 页面内容 */
.page-content {
    margin-top: 80px;
}

/* 现代化英雄区域 */
.modern-about {
    /* 移除可能导致滚动问题的overflow-x hidden */
    /* overflow-x: hidden; */
    /* 添加移动端滚动支持 */
    -webkit-overflow-scrolling: touch;
    touch-action: manipulation;
}

.hero-minimal {
    min-height: 75vh;
    background: #000000;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.hero-center {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hero-intro {
    margin-bottom: 50px;
    position: relative;
}



.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    animation: titleFadeIn 1.2s ease-out;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2);
}

.title-decoration {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.title-decoration::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: decorationSweep 2s ease-in-out infinite;
}

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

@keyframes decorationSweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.hero-description {
    font-size: 1.4rem;
    color: #cccccc;
    font-weight: 300;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.5s both;
    text-shadow: 
        0 0 8px rgba(204, 204, 204, 0.4),
        0 0 15px rgba(204, 204, 204, 0.2),
        0 0 25px rgba(204, 204, 204, 0.1);
}

.hero-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.detail-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1rem;
    color: #aaaaaa;
    font-weight: 400;
}

.detail-dot {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 0.9rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* 通用章节样式 */
section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #ffffff;
}

/* 技能展示 */
.skills-section {
    background: #111111;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skill-category {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.skill-category:hover {
    background: #222222;
    border-color: #555555;
    transform: translateY(-5px);
}

.skill-category h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.skill-item {
    background: #333333;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #444444;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: #555555;
    border-color: #777777;
}

/* 工作经历 */
.experience-section {
    background: #000000;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #ffffff, #555555);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -23px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    border: 3px solid #000000;
}

.timeline-year {
    font-size: 0.9rem;
    font-weight: 600;
    color: #999999;
    min-width: 60px;
    text-align: right;
    margin-top: 2px;
}

.timeline-content {
    flex: 1;
    background: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #333333;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: #222222;
    border-color: #555555;
    transform: translateX(10px);
}

.timeline-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.company {
    font-size: 1rem;
    color: #cccccc;
    font-weight: 500;
    margin-bottom: 12px;
}

.description {
    font-size: 0.95rem;
    color: #aaaaaa;
    line-height: 1.6;
}

/* 现代开发理念 */
.philosophy-modern {
    background: #000000;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-new {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ffffff, #aaaaaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #777777;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

.philosophy-grid-new {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.philosophy-item-new {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
    backdrop-filter: blur(10px);
}

.philosophy-item-new.primary {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.philosophy-item-new:nth-child(1) { animation-delay: 0.2s; }
.philosophy-item-new:nth-child(2) { animation-delay: 0.4s; }
.philosophy-item-new:nth-child(3) { animation-delay: 0.6s; }

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

.philosophy-item-new:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.item-icon {
    flex-shrink: 0;
}

.icon-circle {
    background: linear-gradient(135deg, #ffffff, #cccccc);
    color: #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.philosophy-item-new:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.item-content {
    flex: 1;
}

.item-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.item-content p {
    font-size: 0.95rem;
    color: #bbbbbb;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.philosophy-item-new:hover .item-content p {
    color: #dddddd;
}

/* 技术栈 */
.tech-stack-section {
    background: #111111;
    padding: 80px 0;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.tech-category:nth-child(1) { animation-delay: 0.2s; }
.tech-category:nth-child(2) { animation-delay: 0.4s; }
.tech-category:nth-child(3) { animation-delay: 0.6s; }

.tech-category:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tech-category:hover .icon-shape {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

/* 项目展示样式 - 与页面风格保持一致 */
.projects-showcase {
    background: #000000;
    padding: 80px 0;
}

.projects-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.project-card:nth-child(1) { animation-delay: 0.2s; }
.project-card:nth-child(2) { animation-delay: 0.4s; }
.project-card:nth-child(3) { animation-delay: 0.6s; }

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.project-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 auto 25px auto;
    transition: all 0.3s ease;
}

.project-card:hover .project-number {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.project-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 0.3px;
}

.project-desc {
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.category-icon {
    margin-bottom: 20px;
}

.icon-shape {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.1);
}

.icon-shape.frontend {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.icon-shape.backend {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.icon-shape.tools {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.icon-shape::before {
    content: '';
    width: 24px;
    height: 24px;
    background: #ffffff;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
}

.icon-shape.frontend::before {
    border-radius: 4px;
    transform: rotate(45deg);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.icon-shape.backend::before {
    border-radius: 0;
    transform: rotate(45deg);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3);
}

.icon-shape.tools::before {
    border-radius: 50%;
    position: relative;
}

.icon-shape.tools::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translate(10px, -10px);
}

.tech-category h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 联系方式 - 优化样式 */
.contact-section {
    background: #000000;
    padding: 80px 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out both;
}

.contact-content .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.contact-description {
    font-size: 1.2rem;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-actions {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    border: 2px solid;
    position: relative;
    overflow: hidden;
    min-width: 180px;
    justify-content: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.25);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .navbar {
        width: 92%;
        max-width: 750px;
    }

    .nav-container {
        padding: 0.7rem 1.1rem;
        max-width: 750px;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        font-size: 1rem;
    }

    .navbar.scrolled {
        width: 92%;
        max-width: 750px;
        border-radius: 30px;
    }

    .navbar.scrolled .nav-container {
        padding: 0.7rem 1.1rem;
    }

    .nav-logo img {
        height: 30px;
    }

    .hero-vertical {
        padding: 0 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }


    
    .hero-minimal {
        padding: 60px 0;
        min-height: 70vh;
    }
    
    .hero-center {
        padding: 0 30px;
    }
    
    .philosophy-grid-new {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 25px;
    }
    
    .philosophy-item-new.primary {
        grid-column: 1;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 25px;
    }

    .projects-timeline {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 25px;
        gap: 25px;
    }

    .project-card {
        padding: 30px 20px;
    }

    .project-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        max-width: 500px;
    }

    .nav-container {
        padding: 0.6rem 0.9rem;
        max-width: 500px;
    }

    .nav-logo img {
        height: 28px;
    }

    .nav-logo h2 {
        font-size: 1.3rem;
    }

    .navbar.scrolled {
        width: 95%;
        max-width: 500px;
        border-radius: 25px;
    }

    .navbar.scrolled .nav-container {
        padding: 0.6rem 0.9rem;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 20px;
    }
    
    .hero-vertical {
        padding: 0 20px;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .hero-role {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    


    .hero-minimal {
        padding: 50px 0;
        min-height: 65vh;
    }
    
    .hero-center {
        padding: 0 25px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-details {
        gap: 12px;
    }
    
    .philosophy-grid-new {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .philosophy-item-new {
        padding: 25px;
    }
    
    .item-content h3 {
        font-size: 1.2rem;
    }
    
    .item-content p {
        font-size: 0.9rem;
    }
    
    .tech-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-category {
        padding: 25px;
    }

    .projects-timeline {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }

    .project-card {
        padding: 25px 20px;
        gap: 15px;
    }

    .project-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .project-content h3 {
        font-size: 1.3rem;
    }

    .project-desc {
        font-size: 0.9rem;
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline::before {
        left: 10px;
    }
    
    .timeline-item::before {
        left: -15px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .timeline-year {
        text-align: left;
        min-width: auto;
    }
    
        .contact-content .section-title {
        font-size: 2.2rem;
    }

    .contact-description {
        font-size: 1.1rem;
    }

    .contact-actions {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .btn {
        width: 220px;
        padding: 16px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
    
    .minimal-hero {
        min-height: 60vh;
        padding: 40px 0 30px 0;
    }
    
    .main-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-minimal {
        padding: 40px 0;
        min-height: 60vh;
    }
    
    .hero-center {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .detail-line {
        font-size: 0.9rem;
        gap: 12px;
    }
    
    .detail-dot {
        width: 5px;
        height: 5px;
    }
    
    .philosophy-grid-new {
        gap: 15px;
        padding: 0 15px;
    }
    
    .philosophy-item-new {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .icon-circle {
        width: 40px;
        height: 40px;
        font-size: 0.95rem;
    }
    
    .tech-categories {
        gap: 15px;
    }

    .projects-timeline {
        grid-template-columns: 1fr;
        padding: 0 15px;
        gap: 15px;
    }

    .project-card {
        padding: 20px 15px;
        gap: 12px;
    }

    .project-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .project-content h3 {
        font-size: 1.1rem;
    }

    .project-desc {
        font-size: 0.85rem;
    }

    .feature-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

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

    .contact-description {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .btn {
        width: 200px;
        padding: 15px 25px;
        font-size: 0.95rem;
    }
    
    .tech-category {
        padding: 20px;
    }
    
    .icon-shape {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .image-frame {
        width: 280px;
        height: 350px;
    }
    
    .skill-category,
    .philosophy-item,
    .timeline-content {
        padding: 20px;
    }
}

/* ==================== 文字显示修复 - 防止文字消失 ==================== */

/* 通用文字显示保护 */
h1, h2, h3, h4, h5, h6,
.page-title,
.section-title,
.hero-title,
.hero-subtitle,
.section-title-new,
.main-title,
.dark-name,
.project-title,
.skill-title,
.contact-title {
    /* 确保文字始终可见 */
    color: #ffffff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    
    /* 字体渲染优化 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 修复渐变文字效果 - 兼容性改进 */
.hero-title,
.main-title,
.dark-name {
    /* 设置备用颜色 */
    color: #ffffff;
    background-color: #ffffff;
    
    /* 只有在支持的浏览器中才使用透明文字 */
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 25%, #e2e8f0 50%, #cbd5e1 75%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #ffffff;
}

/* 支持背景裁剪的浏览器才使用透明文字 */
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .hero-title,
    .main-title,
    .dark-name {
        -webkit-text-fill-color: transparent;
    }
}

/* 动画优化 - 减少延迟 */
.hero-title,
.hero-subtitle,
.hero-description,
.main-title {
    /* 缩短动画延迟 */
    animation-delay: 0.1s !important;
    
    /* 确保动画前也能看到内容 */
    opacity: 1;
    transform: translateY(0);
}

/* 为偏好减少动画的用户禁用动画 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        animation-delay: 0s !important;
    }
    
    .hero-title,
    .hero-subtitle,
    .hero-description,
    .main-title {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* 移动端文字显示优化 */
@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6,
    .page-title,
    .section-title,
    .hero-title,
    .main-title {
        /* 确保移动端文字清晰显示 */
        font-size: clamp(1.5rem, 5vw, 3rem) !important;
        line-height: 1.2 !important;
        text-align: center !important;
        padding: 10px !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    h1, h2, h3, h4, h5, h6,
    .page-title,
    .section-title,
    .hero-title,
    .main-title {
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
        background: none !important;
        -webkit-text-fill-color: #ffffff !important;
    }
}

/* 强制显示重要文字元素 */
.hero-container,
.hero-content,
.page-content,
.container,
.hero-center,
.section-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 确保按钮文字可见 */
.btn,
.btn-primary,
.btn-secondary,
.filter-btn {
    color: #ffffff !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ==================== 文字显示修复结束 ==================== */