* {
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f7fa;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.7;
}

a {
    color: #0056b3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 顶部导航 */
.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.logo:hover {
    text-decoration: none;
}

.logo-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.logo-sub {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.main-nav {
    display: flex;
    gap: 8px;
}

.main-nav a {
    padding: 8px 16px;
    border-radius: 6px;
    color: #444;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    background: #e8f0fb;
    color: #0056b3;
    text-decoration: none;
}

/* 首页 Banner */
.hero {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    color: #fff;
    padding: 72px 24px;
    text-align: center;
}

.hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 36px;
    margin: 0 0 16px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    opacity: 0.92;
    margin: 0 0 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    background: #fff;
    color: #0056b3;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
}

/* 通用内容区 */
.page-content {
    flex: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 24px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin: 0 0 10px;
    border: none;
    padding: 0;
}

.section-title p {
    color: #666;
    margin: 0;
    font-size: 16px;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: #e8f0fb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 16px;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #1a1a1a;
}

.card p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* 关于我们 */
.about-section {
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text p {
    margin: 0 0 16px;
    text-align: justify;
    color: #444;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.stat-item {
    background: #f5f7fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 28px;
    color: #0056b3;
    margin-bottom: 4px;
}

.stat-item span {
    font-size: 13px;
    color: #666;
}

/* 产品展示 */
.product-showcase {
    background: #fff;
}

.product-card-large {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    margin-bottom: 32px;
}

.product-icon-box {
    width: 280px;
    height: 280px;
    background: linear-gradient(145deg, #0056b3, #007bff);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    padding: 24px;
}

.product-icon-box .app-name {
    font-size: 22px;
    font-weight: 700;
    margin-top: 12px;
}

.product-icon-box .app-tag {
    font-size: 13px;
    opacity: 0.85;
    margin-top: 6px;
}

.product-info h3 {
    font-size: 24px;
    margin: 0 0 8px;
    color: #1a1a1a;
}

.product-info .app-version {
    color: #888;
    font-size: 14px;
    margin-bottom: 16px;
}

.product-info p {
    color: #444;
    text-align: justify;
    margin: 0 0 14px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    padding: 8px 12px;
    background: #f5f7fa;
    border-radius: 6px;
    font-size: 14px;
    color: #444;
}

.feature-list li::before {
    content: "✓ ";
    color: #0056b3;
    font-weight: bold;
}

/* 内容页 */
.content-page {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    max-width: 900px;
    margin: 0 auto;
}

.content-page h1 {
    font-size: 28px;
    color: #1a1a1a;
    margin: 0 0 8px;
    padding-bottom: 16px;
    border-bottom: 2px solid #0056b3;
}

.content-page .page-desc {
    color: #888;
    font-size: 14px;
    margin-bottom: 32px;
}

.content-page h2 {
    font-size: 18px;
    color: #0056b3;
    margin: 28px 0 12px;
    border-left: 4px solid #0056b3;
    padding-left: 12px;
}

.content-page p,
.content-page li {
    color: #444;
    text-align: justify;
}

.content-page ol,
.content-page ul {
    padding-left: 20px;
}

/* 联系页 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.contact-card {
    background: #f5f7fa;
    border-radius: 10px;
    padding: 28px;
}

.contact-card h3 {
    margin: 0 0 16px;
    color: #0056b3;
    font-size: 18px;
}

.contact-item {
    margin-bottom: 14px;
}

.contact-item strong {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.contact-item span {
    font-size: 15px;
    color: #333;
}

/* 页脚 */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 40px 24px 24px;
    margin-top: auto;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
}

.footer-brand h3 {
    margin: 0 0 12px;
    font-size: 16px;
}

.footer-brand p {
    margin: 0;
    font-size: 13px;
    color: #bdc3c7;
    line-height: 1.8;
}

.footer-links h4 {
    margin: 0 0 12px;
    font-size: 14px;
    color: #ecf0f1;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #bdc3c7;
    font-size: 13px;
    text-decoration: none;
}

.footer-links a:hover {
    color: #3498db;
}

.footer-bottom {
    max-width: 1100px;
    margin: 32px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 13px;
    color: #95a5a6;
}

.footer-bottom a {
    color: #ecf0f1;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #3498db;
    text-decoration: underline;
}

/* 移动端 */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        height: auto;
        padding: 12px 16px;
        gap: 10px;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 15px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .about-grid,
    .contact-grid,
    .product-card-large {
        grid-template-columns: 1fr;
    }

    .product-icon-box {
        width: 100%;
        height: 200px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .content-page {
        padding: 24px 20px;
    }
}
