/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1976D2;
    --primary-dark: #1565C0;
    --secondary-color: #FF6B6B;
    --text-dark: #2c3e50;
    --text-gray: #7f8c8d;
    --text-light: #ecf0f1;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #4CAF50;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
header {
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.sticky {
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo i {
    font-size: 28px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: var(--shadow);
    z-index: 999;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    padding: 15px;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.mobile-menu a:hover {
    background: var(--bg-light);
}

/* 首页横幅 */
.hero {
    margin-top: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.hero-content {
    max-width: 600px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-desc {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

.btn-primary {
    background: white;
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* 通用区块样式 */
section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 50px;
}

/* 产品区块 */
.products-section {
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.product-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.2);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--text-gray);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.product-badge.hot {
    background: var(--secondary-color);
}

.product-name {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
}

.product-price {
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price-symbol {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 600;
}

.price-amount {
    font-size: 48px;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0 5px;
}

.price-unit {
    font-size: 18px;
    color: var(--text-gray);
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
}

.product-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features i {
    color: var(--success-color);
    font-size: 18px;
}

.payment-methods {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.payment-methods p {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 600;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.payment-icons span {
    font-size: 20px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-icons i {
    font-size: 32px;
}

.fa-weixin {
    color: #09BB07;
}

.fa-alipay {
    color: #1677FF;
}

/* 服务特色 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 36px;
    color: white;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-item p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* 使用流程 */
.how-to-use-section {
    background: var(--bg-light);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    text-align: center;
    max-width: 200px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.step-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.step-item p {
    color: var(--text-gray);
    font-size: 14px;
}

.step-arrow {
    font-size: 32px;
    color: var(--primary-color);
    margin: 0 10px;
}

/* 适用场景 */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.scenario-card {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.scenario-card i {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.scenario-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.scenario-card p {
    color: var(--text-gray);
}

/* 关于我们 */
.about-section {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-gray);
    line-height: 1.8;
}

.company-info {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.company-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.company-info i {
    color: var(--primary-color);
    width: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 18px;
    color: var(--text-gray);
}

/* 底部 */
footer {
    background: #2c3e50;
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    margin: 5px 0;
    color: rgba(255,255,255,0.7);
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .price-amount {
        font-size: 36px;
    }
}
