/* 首页容器布局重置 */
.container {
    display: block !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
}

body {
    background-image: 
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(79, 70, 229, 0.05) 0px, transparent 50%);
}

.hero-section {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4338ca 100%);
    color: white;
    border-radius: 1.5rem;
    margin-bottom: 4rem;
    box-shadow: var(--card-shadow);
    animation: fadeIn 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-cta .btn {
    width: auto;
    padding: 0.875rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.75rem!important;
    border: 2px solid transparent!important;
}

.hero-cta .btn-light {
    background-color: white!important;
    color: var(--primary-color)!important;
}

.hero-cta .btn-light:hover {
    background-color: #f8fafc!important;
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
}

.hero-cta .btn-light:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);;
    filter: brightness(0.95);
}

.hero-cta .btn-outline-light {
    background-color: transparent!important;
    border: 2px solid rgba(255,255,255,0.5)!important;
    color: white!important;
}

.hero-cta .btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1)!important;
    border-color: white!important;
    transform: translateY(-3px);
}

.hero-cta .btn-outline-light:active {
    transform: translateY(-1px);
    background-color: rgba(255,255,255,0.2)!important;
    border-color: rgba(255,255,255,0.5)!important;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--muted-text);
    max-width: 500px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2rem 2rem 1rem 2rem;
    margin-bottom: 3rem;
    border-radius: 1.25rem;
    text-align: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-color);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--bg-color);
    color: var(--primary-color);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--primary-color);
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.feature-card p {
    padding: 1rem;
    border-radius: 0.75rem;
    background-color: var(--bg-color);
    text-align: left;
    color: var(--muted-text);
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-section { padding: 4rem 1rem; }
    .feature-grid { gap: 1.5rem; }
}

/* 暗色模式微调 */
@media (prefers-color-scheme: dark) {
    .hero-section {
        background: linear-gradient(135deg, #4338ca 0%, #312e81 100%);
    }
    .hero-cta .btn-light {
        background: #f8fafc;
    }
}
