/* 基础样式 */
:root {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --secondary-color: #2c3e50;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 56px;
    color: #333;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

a {
    text-decoration: none;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
}

.navbar.scrolled {
    background-color: var(--secondary-color) !important;
}

/* 英雄区域样式 */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.app-icons-container {
    position: relative;
    height: 300px;
}

.app-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.app-icon:hover {
    transform: scale(1.1);
}

.finance-icon {
    /*background-color: var(--success-color);*/
    top: 20%;
    left: 20%;
}

.health-icon {
    background-color: var(--info-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
}

.productivity-icon {
    background-color: var(--warning-color);
    top: 60%;
    left: 70%;
}

/* 部分标题样式 */
.section-header h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: #6c757d;
}

/* 应用卡片样式 */
.app-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 20px;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.app-icon-lg {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto;
}

.finance-icon {
    /*background-color: var(--success-color);*/
}

.health-icon {
    background-color: var(--info-color);
}

.productivity-icon {
    background-color: var(--warning-color);
}

.app-card .card-title {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.app-card .card-text {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.app-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
}

/* 关于我们样式 */
.about-graphic {
    position: relative;
    height: 300px;
}

.graphic-circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.graphic-circle:nth-child(1) {
    top: 0;
    left: 20%;
}

.graphic-circle:nth-child(2) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    font-size: 3rem;
}

.graphic-circle:nth-child(3) {
    bottom: 0;
    right: 20%;
}

/* 统计数据样式 */
.stat-item {
    padding: 20px;
}

.stat-item i {
    color: rgba(255, 255, 255, 0.8);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* 联系我们表单样式 */
.contact-info i {
    color: var(--primary-color);
}

.social-links a {
    color: var(--secondary-color);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* 页脚样式 */
footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
    text-decoration: none;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .app-icons-container {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .hero-section .btn {
        width: 100%;
        max-width: 250px;
        margin: 10px auto;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-graphic {
        height: 200px;
        margin-bottom: 30px;
    }

    .graphic-circle {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
    }

    .graphic-circle:nth-child(2) {
        width: 100px;
        height: 100px;
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 52px;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .app-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .health-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }

    .hero-section .btn {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
}