/* 全局样式 */
:root {
    --primary-color: #4285f4;
    --primary-dark: #3367d6;
    --secondary-color: #34a853;
    --accent-color: #fbbc05;
    --danger-color: #ea4335;
    --light-color: #f8f9fa;
    --dark-color: #202124;
    --gray-color: #5f6368;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(32, 33, 36, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--primary-color);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 600;
    font-size: 1.3rem;
}

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

/* 主横幅样式 */
.hero-section {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-section .lead {
    color: var(--gray-color);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-section img {
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.hero-section img:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

/* 功能特点卡片 */
.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    height: 100%;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(32, 33, 36, 0.15);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(66, 133, 244, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* 截图卡片 */
.screenshot-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(32, 33, 36, 0.15);
}

.screenshot-card img {
    border-radius: calc(var(--border-radius) - 4px);
}

/* 下载卡片 */
.download-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(32, 33, 36, 0.15);
}

.download-card .icon-wrapper {
    width: 90px;
    height: 90px;
    background-color: rgba(66, 133, 244, 0.1);
}

.download-card .icon-wrapper i {
    font-size: 3rem;
}

.download-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.qr-code {
    max-width: 150px;
    margin: 0 auto;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    padding: 0.5rem;
    background-color: white;
}

/* 页脚 */
footer {
    background-color: var(--primary-color);
    color: white;
}

footer h5 {
    font-weight: 600;
}

.social-icons a {
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 4rem 0 3rem;
        text-align: center;
    }
    
    .hero-section .btn {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .feature-card,
    .screenshot-card,
    .download-card {
        margin-bottom: 1.5rem;
    }
}

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

.feature-card,
.screenshot-card,
.download-card {
    animation: fadeInUp 0.5s ease-out forwards;
}

.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(7) {
    animation-delay: 0.6s;
}

.screenshot-card:nth-child(2) {
    animation-delay: 0.1s;
}

.screenshot-card:nth-child(3) {
    animation-delay: 0.2s;
}

.screenshot-card:nth-child(4) {
    animation-delay: 0.3s;
}