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

html {
    height: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 25%, #c084fc 50%, #ddd6fe 75%, #f3e8ff 100%);
    min-height: 100vh;
    overflow-x: hidden;
    opacity: 1;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
                radial-gradient(circle at 80% 20%, rgba(243,232,255,0.12) 0%, transparent 60%),
                radial-gradient(circle at 40% 80%, rgba(221,214,254,0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

@keyframes pageLoad {
    to {
        opacity: 1;
    }
}





/* 新的渐显动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    90% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 渐显动画类 */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-fill-mode: both;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
    animation-fill-mode: both !important;
}

/* 确保动画结束状态稳定 */
.fade-in-up.loaded {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: none !important;
}

/* 确保主标题的fade-in-up动画优先级最高 */
.main-title.fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
    animation-fill-mode: both !important;
}

/* 确保动画加载完成后内容可见 */
.fade-in.loaded,
.fade-in-up.loaded {
    opacity: 1 !important;
    transform: translateY(0) !important;
}



/* 动画延迟类 */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1.0s; }
.delay-6 { animation-delay: 1.2s; }
.delay-7 { animation-delay: 1.4s; }

/* 入场动画类 - 移动端优化版 */
.animate-in {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
    filter: blur(0px) brightness(1);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in.show {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
    filter: blur(0px) brightness(1);
    animation: bounceIn 0.8s ease-out 0.5s both;
}

@keyframes bounceIn {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
    }
    20% {
        transform: translate3d(0, -10px, 0) scale(1.05) rotateX(-2deg);
    }
    40% {
        transform: translate3d(0, 5px, 0) scale(0.98) rotateX(1deg);
    }
    60% {
        transform: translate3d(0, -3px, 0) scale(1.02) rotateX(-0.5deg);
    }
    80% {
        transform: translate3d(0, 1px, 0) scale(0.99) rotateX(0.2deg);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
    }
}

/* 特殊的入场动画变体 - 增强版 */
.animate-in-left {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
    filter: blur(0px) brightness(1);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in-left.show {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
    filter: blur(0px) brightness(1);
    animation: slideInLeft 1s ease-out 0.3s both;
}

.animate-in-right {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
    filter: blur(0px) brightness(1);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in-right.show {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
    filter: blur(0px) brightness(1);
    animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInLeft {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
    }
    30% {
        transform: translate3d(15px, 0, 0) scale(1.03) rotateY(-3deg);
    }
    60% {
        transform: translate3d(-8px, 0, 0) scale(0.98) rotateY(1.5deg);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
    }
}

@keyframes slideInRight {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
    }
    30% {
        transform: translate3d(-15px, 0, 0) scale(1.03) rotateY(3deg);
    }
    60% {
        transform: translate3d(8px, 0, 0) scale(0.98) rotateY(-1.5deg);
    }
    100% {
        transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    text-align: left;
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-sizing: border-box;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background:
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.04) 0%, transparent 60%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.03) 0%, transparent 60%);
    animation: containerGlow 30s ease-in-out infinite;
    z-index: -1;
    border-radius: 40px;
}

@keyframes containerGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.01);
    }
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.content {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(45deg, #ffffff, #f8f9fa, #ffffff, #e9ecef, #ffffff);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15), 0 0 15px rgba(255,255,255,0.2);
    /* animation: titleFloat 8s ease-in-out infinite; 注释掉，让fade-in-up优先 */
    transition: filter 0.3s ease;
    position: relative;
    z-index: 2;
}

.main-title::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, rgba(255,255,255,0.08), transparent, rgba(255,255,255,0.08));
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-title:hover:not(.fade-in-up) {
    transform: scale(1.03);
    filter: drop-shadow(0 5px 15px rgba(255,255,255,0.2));
}

.main-title.loaded:hover {
    filter: drop-shadow(0 5px 15px rgba(255,255,255,0.2));
}

.main-title:hover::before {
    opacity: 1;
}

/* 为不支持 background-clip: text 的浏览器提供备用方案 */
@supports not (-webkit-background-clip: text) {
    .main-title {
        background: none !important;
        -webkit-text-fill-color: white !important;
        color: white !important;
        animation: textGlow 2s ease-in-out infinite alternate;
    }
}

@keyframes textGlow {
    from {
        text-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 0 10px rgba(255,255,255,0.3);
    }
    to {
        text-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 0 20px rgba(255,255,255,0.6);
    }
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    16% {
        background-position: 25% 25%;
    }
    33% {
        background-position: 75% 0%;
    }
    50% {
        background-position: 100% 50%;
    }
    66% {
        background-position: 75% 100%;
    }
    83% {
        background-position: 25% 75%;
    }
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

.subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    font-weight: 300;
    animation: subtitleGlow 6s ease-in-out infinite alternate;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.subtitle:hover {
    transform: scale(1.02);
    color: rgba(255, 255, 255, 1);
}

@keyframes subtitleGlow {
    0% {
        text-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 0 10px rgba(255, 255, 255, 0.3);
    }
    100% {
        text-shadow: 0 1px 3px rgba(0,0,0,0.2), 0 0 15px rgba(255, 255, 255, 0.4);
    }
}

.button-group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.6rem;
    max-width: 1000px;
    justify-items: start;
    margin: 1rem 0;
    position: relative;
    width: 100%;
}

.button-group::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(45deg,
        rgba(255,255,255,0.03) 0%,
        transparent 50%,
        rgba(255,255,255,0.03) 100%);
    border-radius: 25px;
    opacity: 0;
    animation: buttonGroupGlow 12s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes buttonGroupGlow {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.6;
    }
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s ease,
                filter 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    min-width: 140px;
    width: 100%;
    justify-content: center;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.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;
    z-index: 1;
}

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

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.6), 0 5px 15px rgba(255, 107, 107, 0.3);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3), 0 5px 15px rgba(255, 255, 255, 0.15);
}

.btn-accent {
    background: linear-gradient(135deg, #10ac84, #00d2d3);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 172, 132, 0.4);
}

.btn-accent:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(16, 172, 132, 0.6), 0 5px 15px rgba(16, 172, 132, 0.3);
    filter: brightness(1.1);
}

.btn-support {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
    color: white;
    box-shadow: 0 4px 15px rgba(254, 202, 87, 0.4);
}

.btn-support:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(254, 202, 87, 0.6), 0 5px 15px rgba(254, 202, 87, 0.3);
    filter: brightness(1.1);
}

.btn-info {
    background: linear-gradient(135deg, #3742fa, #2f3542);
    color: white;
    box-shadow: 0 4px 15px rgba(55, 66, 250, 0.4);
}

.btn-info:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 25px rgba(55, 66, 250, 0.6), 0 5px 15px rgba(55, 66, 250, 0.3);
    filter: brightness(1.1);
}

.btn-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}











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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.hero-section {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.content {
    text-align: center;
    width: 100%;
}



.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    margin: 2rem 0;
    justify-items: start;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease,
                background 0.4s ease,
                border-color 0.4s ease;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 280px;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.15), rgba(255,255,255,0.2), rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.8s ease;
}

.feature-item::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), transparent, rgba(255,255,255,0.3));
    border-radius: 23px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
}

.feature-item:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.feature-item:hover::after {
    opacity: 1;
}

.feature-item:hover {
    transform: translate3d(0, -8px, 0) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    display: inline-block;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.feature-item h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* 响应式设计 */
/* 中等屏幕优化 */
@media (max-width: 1024px) and (min-width: 769px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 600px;
    }

    .button-group {
        grid-template-columns: repeat(5, 1fr);
        max-width: 800px;
        gap: 0.4rem;
    }

    .feature-item {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
        text-align: center;
        min-height: auto;
        height: auto;
        justify-content: flex-start;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .hero-section {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
        justify-items: center;
        margin-bottom: 0.5rem;
    }

    .content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        text-align: center;
    }

    .main-title {
        font-size: 2.2rem;
        text-align: left;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

    .subtitle {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .button-group {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.3rem;
        width: 100%;
        max-width: 500px;
        margin: 1rem 0;
        padding: 0 1rem;
        justify-items: start;
    }

    /* 让第4和第5个按钮在第二行居中显示 */
    .button-group .btn:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: 2;
    }

    .button-group .btn:nth-child(5) {
        grid-column: 2 / 3;
        grid-row: 2;
    }

    .btn {
        width: 100%;
        max-width: 150px;
        padding: 0.8rem 0.6rem;
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
        min-height: 44px;
        border-radius: 10px;
    }



    /* 移动端入场动画优化 */
    .animate-in, .animate-in-left, .animate-in-right {
        transition-duration: 0.6s;
    }

    /* 移动端渐显动画优化 */
    .fade-in, .fade-in-up {
        animation-duration: 0.6s;
    }

    .fade-in-up {
        transform: translateY(20px);
    }

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

    .features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        max-width: 100%;
        padding: 0 1rem;
    }

    .feature-item {
        padding: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .main-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
        text-align: left;
    }

    .subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        line-height: 1.4;
        text-align: left;
    }

    .button-group {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.25rem;
        width: 100%;
        max-width: 320px;
        margin: 0.5rem 0;
        padding: 0 0.5rem;
    }

    /* 小屏幕上第5个按钮单独一行居中 */
    .button-group .btn:nth-child(5) {
        grid-column: 1 / -1;
        grid-row: 3;
        justify-self: center;
        max-width: 150px;
    }

    .btn {
        width: 100%;
        max-width: 140px;
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        border-radius: 8px;
    }



    .features {
        margin-top: 1.5rem;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .feature-item {
        padding: 1.25rem;
    }

    .feature-item h3 {
        font-size: 1.1rem;
    }

    .feature-item p {
        font-size: 0.85rem;
    }
}

/* 移动端触摸优化 */
.touch-device .btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.touch-device .btn:active {
    transform: translate3d(0, 0, 0) scale(0.98);
    transition: transform 0.1s ease;
}

/* 确保移动端可以滚动 */
@media (max-width: 1024px) {
    html {
        overflow-y: auto;
    }

    body {
        overflow-y: auto;
        height: auto;
        /* 移动端立即显示，避免闪屏 */
        opacity: 1 !important;

    }

    /* 移动端简化动画 */
    .container::before {
        animation: containerGlow 40s ease-in-out infinite;
    }
}

/* 移动端滚动优化 */
@media (max-width: 768px) {
    html, body {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }

    .container {
        overflow-x: hidden;
        min-height: auto;
        height: auto;
    }





    .main-title:not(.fade-in-up) {
        animation: shimmer 6s ease-in-out infinite;
    }

    .subtitle:not(.fade-in-up) {
        animation: subtitleGlow 8s ease-in-out infinite alternate;
    }

    /* 简化入场动画 */
    .animate-in {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotateX(0deg);
        filter: blur(0px) brightness(1);
        transition: none;
    }

    .animate-in-left, .animate-in-right {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1) rotateY(0deg);
        filter: blur(0px) brightness(1);
        transition: none;
    }

    /* 小屏幕渐显动画优化 */
    .fade-in, .fade-in-up {
        animation-duration: 0.5s;
    }

    /* 减少延迟时间 */
    .delay-1 { animation-delay: 0.1s; }
    .delay-2 { animation-delay: 0.2s; }
    .delay-3 { animation-delay: 0.3s; }
    .delay-4 { animation-delay: 0.4s; }
    .delay-5 { animation-delay: 0.5s; }
    .delay-6 { animation-delay: 0.6s; }
    .delay-7 { animation-delay: 0.7s; }
}

/* 保持动画效果，但更加舒适 */
@media (prefers-reduced-motion: reduce) {
    .main-title:not(.fade-in-up) {
        animation: shimmer 8s ease-in-out infinite !important;
    }

    .subtitle:not(.fade-in-up) {
        animation: subtitleGlow 10s ease-in-out infinite alternate !important;
    }




}

/* 移动端性能优化 - 进一步减少动画 */
@media (max-width: 480px) {
    /* 移动端禁用复杂动画，但保留渐显效果 */
    .main-title {
        background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%) !important;
        background-clip: text !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }

    /* 确保渐显动画在移动端也能工作 */
    .main-title.fade-in-up {
        animation: fadeInUp 0.8s ease-out forwards !important;
    }

    .subtitle.fade-in-up {
        animation: fadeInUp 0.8s ease-out forwards !important;
    }

    body::before {
        animation: none !important;
        opacity: 0.3 !important;
    }

    .container::before {
        animation: none !important;
        opacity: 0.4 !important;
    }

    .button-group::before {
        animation: none !important;
        opacity: 0.3 !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }

    .feature-item {
        border: 1px solid rgba(255, 255, 255, 0.5);
    }
}
