body {
    font-family: 'Arial', sans-serif; /* 更换为您喜欢的酷炫字体 */
    margin: 0;
    padding: 0;
    background-color: #121212; /* 深色背景 */
    color: #e0e0e0; /* 浅色文字 */
    line-height: 1.6;
}

header {
    background: linear-gradient(90deg, #3a1c71, #d76d77, #ffaf7b); /* 酷炫的渐变背景 */
    color: #fff;
    padding: 1.5rem 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

header h1 {
    margin: 0;
    font-size: 2.8rem;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

nav {
    margin-top: 1rem;
}

nav a {
    color: #fff;
    margin: 0 18px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    color: #ffaf7b; /* 悬停时变为渐变色中的一种 */
    transform: scale(1.1);
}

.hero {
    padding: 5rem 2rem;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover; /* 替换为您自己的酷炫背景图 */
    color: #fff;
    position: relative; /* 用于可能的叠加效果 */
}

.hero::before { /* 添加一个半透明叠加层使文字更易读 */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
}

.hero h2, .hero p, .hero button {
    position: relative; /* 确保在叠加层之上 */
    z-index: 1;
}


.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.5s;
    animation-fill-mode: backwards; /* 使动画在延迟开始前不可见 */
}

.hero button {
    background-color: #ffaf7b;
    color: #3a1c71;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 50px; /* 圆角按钮 */
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 175, 123, 0.4);
    animation: pulse 2s infinite;
}

.hero button:hover {
    background-color: #d76d77;
    transform: translateY(-3px) scale(1.05);
}

.features {
    padding: 3rem 2rem;
    text-align: center;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* 确保在小屏幕上换行 */
}

.feature-item {
    background-color: #1f1f1f;
    padding: 2rem;
    margin: 1rem;
    border-radius: 10px;
    width: calc(33.333% - 4rem); /* 考虑间距的宽度，可调整 */
    min-width: 280px; /* 最小宽度 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.feature-item img {
    margin-bottom: 1rem;
    border-radius: 5px;
}

.feature-item h4 {
    font-size: 1.5rem;
    color: #ffaf7b;
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: #0a0a0a;
    color: #777;
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* 简单的动画 */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 175, 123, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 175, 123, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 175, 123, 0); }
}