﻿:root {
    --primary-color: #0a58ca;
    --secondary-color: #084298;
    --accent-color: #ffc107;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --transition-speed: 0.3s;
    --transition-easing: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.navbar-brand img {
    height: 45px;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.1) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 英雄区域图片样式 */
.hero-image-container {
    position: relative;
    height: auto;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin-top: 2rem;
}

.hero-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* 平板设备响应式 */
@media (max-width: 991px) {
    .hero-image-container {
        min-height: 250px;
        margin-top: 1.5rem;
    }
    
    .hero-image {
        max-width: 250px;
    }
}

/* 手机设备响应式 */
@media (max-width: 767px) {
    .hero-image-container {
        min-height: 200px;
        margin-top: 1rem;
        padding: 0.5rem;
    }
    
    .hero-image {
        max-width: 200px;
        border-radius: 12px;
    }
}

/* 小屏手机响应式 */
@media (max-width: 575px) {
    .hero-image-container {
        min-height: 180px;
        margin-top: 0.5rem;
    }
    
    .hero-image {
        max-width: 180px;
        border-radius: 10px;
    }
}

/* 移除不必要的动画和效果 */
.hero-image {
    transform: none;
    animation: none;
}

.hero-image:hover {
    transform: none;
}

.hero-image-shadow {
    display: none;
}

/* 优化图片加载 */
.hero-image {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* 移除加载占位符 */
.hero-image-container::before {
    display: none;
}

/* 英雄区域按钮样式 */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-buttons .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-buttons .btn-light {
    background: rgba(255, 255, 255, 0.9);
    color: #0a58ca;
    border: none;
}

.hero-buttons .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: white;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
    border: none;
    color: white;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #084298 0%, #0a58ca 100%);
}

.hero-buttons .btn i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

/* 特点卡片样式 */
.feature-card {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed) var(--transition-easing),
                box-shadow var(--transition-speed) var(--transition-easing);
    border: none;
    height: 100%;
    background: white;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: rgba(10, 88, 202, 0.1);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

/* 按钮样式 */
.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-btn {
    background-color: var(--accent-color);
    color: var(--dark-bg);
    border: none;
}

.download-btn:hover {
    background-color: #ffca2c;
    transform: translateY(-2px);
}

.register-btn {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.register-btn:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* 下载区域样式 */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.download-header {
    max-width: 600px;
    margin: 0 auto;
}

.download-header h2 {
    color: #0a58ca;
    font-weight: 700;
    margin-bottom: 1rem;
}

.download-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.download-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-speed) var(--transition-easing),
                box-shadow var(--transition-speed) var(--transition-easing);
    background: #fff;
}

.download-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.platform-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.ios-icon {
    background: linear-gradient(135deg, #007AFF 0%, #0056b3 100%);
    color: white;
}

.android-icon {
    background: linear-gradient(135deg, #3DDC84 0%, #2BB673 100%);
    color: white;
}

.download-info {
    background: rgba(10, 88, 202, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #0a58ca;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.info-item span {
    color: #495057;
}

.download-action .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-action .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-guide {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.guide-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: rgba(10, 88, 202, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.guide-item:hover {
    transform: translateX(5px);
    background: rgba(10, 88, 202, 0.1);
}

.guide-item i {
    font-size: 2rem;
    color: #0a58ca;
    margin-right: 1.5rem;
}

.guide-content h4 {
    color: #0a58ca;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.guide-content p {
    color: #6c757d;
    margin-bottom: 0;
}

/* 安全保障区域样式 */
.security-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.security-header {
    max-width: 600px;
    margin: 0 auto;
}

.security-header h2 {
    color: #0a58ca;
    font-weight: 700;
    margin-bottom: 1rem;
}

.security-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.security-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.security-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
    color: white;
}

.security-card h3 {
    color: #0a58ca;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
}

.security-features {
    background: rgba(10, 88, 202, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item i {
    color: #0a58ca;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.feature-item span {
    color: #495057;
}

/* 安全认证样式 */
.security-certificates {
    margin-top: 4rem;
}

.certificate-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.certificate-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #0a58ca 0%, #084298 100%);
    color: white;
}

.certificate-card h4 {
    color: #0a58ca;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.certificate-card p {
    color: #6c757d;
    margin-bottom: 0;
}

/* 统计数据区域样式 */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 页脚样式 */
footer {
    background: #f8f9fa;
    padding: 60px 0 30px;
    color: #495057;
}

.footer-brand img {
    max-width: 100%;
    height: auto;
}

.footer-title {
    color: #0a58ca;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-link {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0a58ca;
}

.footer-bottom {
    border-top: 1px solid #dee2e6;
    padding-top: 1.5rem;
    color: #6c757d;
}

/* 移动端响应式 */
@media (max-width: 991px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-title {
        margin-top: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links li {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 767px) {
    footer {
        padding: 30px 0 15px;
    }
    
    .footer-brand img {
        height: 35px;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-top: 1.25rem;
    }
    
    .footer-links li {
        margin-bottom: 0.4rem;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    footer {
        padding: 25px 0 10px;
    }
    
    .footer-brand img {
        height: 30px;
    }
    
    .footer-title {
        font-size: 0.95rem;
        margin-top: 1rem;
    }
    
    .footer-links li {
        margin-bottom: 0.3rem;
    }
    
    .footer-bottom {
        padding-top: 0.75rem;
        font-size: 0.85rem;
    }
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .download-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .download-card {
        margin-bottom: 1rem;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-links {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .download-card {
        padding: 1rem;
    }
}

/* APP预览样式 */
.app-preview-container {
    position: relative;
    perspective: 1000px;
    height: 500px;
}

.app-preview {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.app-screen {
    position: absolute;
    width: 280px;
    height: 580px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.app-screen:nth-child(1) {
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotateY(-15deg);
    z-index: 3;
}

.app-screen:nth-child(2) {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.app-screen:nth-child(3) {
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotateY(15deg);
    z-index: 1;
}

.app-screen-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-preview-shadow {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), transparent);
    border-radius: 50%;
    filter: blur(10px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 992px) {
    .app-preview-container {
        height: 400px;
    }
    
    .app-screen {
        width: 200px;
        height: 420px;
    }
}

@media (max-width: 768px) {
    .app-preview-container {
        height: 300px;
    }
    
    .app-screen {
        width: 150px;
        height: 320px;
    }
}

/* 添加加载动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.feature-card,
.download-card,
.faq-item {
    animation: fadeIn 0.6s var(--transition-easing) forwards;
}

/* 优化滚动行为 */
html {
    scroll-behavior: smooth;
}

/* 优化图片加载 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 优化按钮点击效果 */
.btn {
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.98);
}

/* 优化表单元素 */
input, select, textarea {
    transition: border-color var(--transition-speed) var(--transition-easing);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(10, 88, 202, 0.25);
}

/* 基础响应式设置 */
html {
    font-size: 16px;
}

/* PC端响应式 */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .download-card {
        padding: 2rem;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .download-card {
        padding: 1.5rem;
    }
}

/* 平板设备响应式 */
@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-image-container {
        height: 400px;
        justify-content: center;
        padding-right: 0;
    }
    
    .hero-image {
        transform: rotateY(-5deg);
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .download-card {
        margin-bottom: 1.5rem;
    }
    
    .footer {
        text-align: center;
    }
}

/* 手机设备响应式 */
@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-image-container {
        height: 300px;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .download-card {
        margin-bottom: 1rem;
    }
    
    .footer-links {
        margin-bottom: 1.5rem;
    }
}

/* 小屏手机响应式 */
@media (max-width: 575px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .download-card {
        padding: 1rem;
    }
    
    .footer {
        padding: 2rem 0;
    }
    
    .footer-title {
        margin-top: 1.5rem;
    }
}

/* 优化图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 优化表格响应式 */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 优化表单响应式 */
.form-control {
    width: 100%;
}

/* 优化导航栏响应式 */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 优化卡片响应式 */
.card {
    margin-bottom: 1rem;
}

/* 优化按钮响应式 */
.btn {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 优化列表响应式 */
.list-group-item {
    padding: 0.75rem 1rem;
}

/* 优化模态框响应式 */
.modal-dialog {
    margin: 1rem auto;
}

@media (max-width: 575px) {
    .modal-dialog {
        margin: 0.5rem;
    }
} 