* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.caichacha-container {
    padding-top: 80px; /* 为固定导航栏留出空间 */
}

/* Banner区域 */
.caichacha-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a0a;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero-text {
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 3.5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 800px;
}

/* 搜索框样式 */
.search-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-box:hover {
    border-color: rgba(102, 126, 234, 0.4);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.15);
}

.search-box:focus-within {
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.25);
}

.search-input {
    width: calc(100% - 50px);
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 12px 20px;
    font-family: inherit;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #333333;
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-button:hover {
    transform: translateY(-50%) scale(1.05);
    background: #444444;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.search-button i {
    font-size: 0.9rem;
}

/* 背景动画效果 */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.animated-background {
    position: relative;
    width: 100%;
    height: 100%;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 8s ease-in-out infinite;
}

.gradient-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.gradient-orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.3) 0%, transparent 70%);
    top: 60%;
    right: 20%;
    animation-duration: 10s;
    animation-delay: -2s;
}

.gradient-orb-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    top: 30%;
    right: 30%;
    animation-duration: 12s;
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.05);
    }
    50% {
        transform: translateY(0px) translateX(-10px) scale(0.95);
    }
    75% {
        transform: translateY(20px) translateX(5px) scale(1.02);
    }
}

/* 功能模块区域 */
.caichacha-features {
    padding: 4rem 0;
    background: #0a0a0a;
}

/* 功能网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #aaaaaa;
    margin-bottom: 1.5rem;
    flex: 1;
}

.feature-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

.feature-svg {
    width: 60px;
    height: 60px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-svg {
    opacity: 1;
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .search-box {
        max-width: 500px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .search-box {
        max-width: 400px;
    }
    
    .search-input {
        font-size: 0.9rem;
        padding: 10px 16px;
    }
    
    .caichacha-hero {
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .gradient-orb-1 {
        width: 300px;
        height: 300px;
    }
    
    .gradient-orb-2 {
        width: 200px;
        height: 200px;
    }
    
    .gradient-orb-3 {
        width: 150px;
        height: 150px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-svg {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    .search-box {
        max-width: 320px;
    }
    
    .search-input {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .search-button {
        width: 35px;
        height: 35px;
    }
    
    .search-button i {
        font-size: 0.8rem;
    }
    
    .caichacha-hero {
        min-height: 45vh;
    }
    
    .gradient-orb-1 {
        width: 250px;
        height: 250px;
    }
    
    .gradient-orb-2 {
        width: 180px;
        height: 180px;
    }
    
    .gradient-orb-3 {
        width: 120px;
        height: 120px;
    }
    
    .feature-svg {
        width: 40px;
        height: 40px;
    }
}
