/* 高级UI风格 - 价值需求分析系统首页 */
:root {
    --primary-color: #1890ff;
    --primary-gradient: #1890ff;
    --secondary-color: #1890ff;
    --accent-color: #1890ff;
    --dark-color: #1C1C1E;
    --light-color: #F8F9FA;
    --gray-1: #8E8E93;
    --gray-2: #AEAEB2;
    --gray-3: #C7C7CC;
    --gray-4: #D1D1D6;
    --gray-5: #E5E5EA;
    --gray-6: #F2F2F7;
    --card-radius: 16px;
    --button-radius: 10px;
    --transition-speed: 0.3s;
    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 8px 20px rgba(24, 144, 255, 0.2);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 增强导航栏设计 */
.app-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark-color);
    text-decoration: none;
}

.brand-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 0.75rem;
    background: rgba(24, 144, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.navbar-actions {
    display: flex;
    gap: 0.8rem;
}

/* 增强按钮设计 */
.nav-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.nav-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scale(0);
    transition: transform 0.5s ease;
    border-radius: 20px;
}

.nav-button:hover::after {
    transform: scale(1);
}

.nav-button-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.nav-button-primary:hover {
    background: linear-gradient(135deg, #e83529 0%, #ed614b 100%);
    color: white;
    box-shadow: 0 10px 25px rgba(255, 59, 48, 0.3);
    transform: translateY(-2px);
}

/* 增强英雄区设计 */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.08) 0%, rgba(255, 59, 48, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 59, 48, 0.08) 0%, rgba(255, 59, 48, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-bg-shape {
    position: absolute;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.03) 0%, rgba(255, 107, 82, 0.03) 100%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(50px);
}

.hero-shape-1 {
    bottom: -300px;
    right: -200px;
}

.hero-shape-2 {
    top: -300px;
    left: -200px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--gray-1);
    margin-bottom: 2.5rem;
    max-width: 90%;
    font-weight: 400;
}

/* 增强图片容器 */
.hero-image-container {
    position: relative;
    margin-top: 2rem;
}

.hero-image-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, rgba(255, 59, 48, 0.05) 0%, rgba(255, 107, 82, 0.05) 100%);
    border-radius: 30px;
    z-index: -1;
}

.hero-image {
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: translateY(-5px) scale(1.02);
}

/* 增强CTA按钮 */
.cta-button {
    padding: 1rem 2.2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scale(0);
    transition: transform 0.5s ease;
    border-radius: 30px;
}

.cta-button:hover::after {
    transform: scale(1);
}

.cta-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-primary);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 59, 48, 0.4);
    color: white;
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-color);
    border: 1px solid #e9ecef;
    box-shadow: var(--shadow-sm);
}

.cta-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: white;
    color: var(--primary-color);
}

/* 增强功能卡片 */
.feature-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

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

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-title p {
    font-size: 1.2rem;
    color: var(--gray-1);
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.feature-card {
    transition: all 0.4s ease;
    height: 100%;
    border: none;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: white;
    position: relative;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 0.02;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    background: rgba(255, 59, 48, 0.1);
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-gradient);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-primary);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-description {
    color: var(--gray-1);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* 增强交替内容区 */
.alternate-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.alternate-section.bg-light {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
}

.alternate-image {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.alternate-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.alternate-content {
    padding: 2rem;
}

.alternate-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 1rem;
}

.alternate-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.alternate-content p {
    font-size: 1.1rem;
    color: var(--gray-1);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.check-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

.check-icon {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.3rem;
    background: rgba(255, 59, 48, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* 精美的页脚 */
.app-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--gray-5);
    padding: 4rem 0 3rem;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-brand-icon {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-right: 0.75rem;
}

.footer-brand-text {
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--dark-color);
}

.footer-copyright {
    color: var(--gray-1);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: var(--gray-1);
    text-decoration: none;
    transition: color var(--transition-speed);
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-link:hover::after {
    width: 100%;
}

/* 暗色模式 */
.dark-mode {
    --light-color: #1C1C1E;
    --dark-color: #FFFFFF;
    --gray-1: #8E8E93;
    --gray-2: #636366;
    --gray-3: #48484A;
    --gray-4: #3A3A3C;
    --gray-5: #2C2C2E;
    --gray-6: #1C1C1E;
    background-color: var(--light-color);
    color: var(--dark-color);
}

.dark-mode .app-navbar {
    background-color: rgba(28, 28, 30, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .hero-section,
.dark-mode .feature-section,
.dark-mode .alternate-section.bg-light {
    background: linear-gradient(135deg, #1C1C1E 0%, #2C2C2E 100%);
}

.dark-mode .feature-card,
.dark-mode .app-footer {
    background: #2C2C2E;
}

.dark-mode .feature-icon {
    background: rgba(255, 59, 48, 0.2);
}

.dark-mode .cta-secondary {
    background: rgba(58, 58, 60, 0.9);
    color: #F2F2F7;
    border: 1px solid #3A3A3C;
}

.dark-mode .cta-secondary:hover {
    background: #3A3A3C;
    color: var(--primary-color);
}

.dark-mode .check-icon {
    background: rgba(255, 59, 48, 0.2);
}

.dark-mode .app-footer {
    border-top: 1px solid #2C2C2E;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 4rem 0;
        min-height: 70vh;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .alternate-content {
        padding: 1rem 0;
    }
    
    .alternate-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.8rem;
    }
    
    .feature-section,
    .alternate-section {
        padding: 4rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 1.5rem;
    }
    
    .check-item {
        font-size: 1rem;
    }
}

/* 动画效果 */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeUp {
    animation: fadeUp 0.8s ease forwards;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}
