/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

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

/* 导航栏 */
.navbar {
    background: #1a1a2e;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #4f6df5;
    border-radius: 6px;
    font-size: 1rem;
    margin-right: 6px;
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 横幅 */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
}

.hero-badge {
    display: inline-block;
    background: rgba(79, 109, 245, 0.25);
    border: 1px solid rgba(79, 109, 245, 0.5);
    color: #a8b8ff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3.2rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.hero-sub {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 1rem;
    opacity: 0.65;
    max-width: 500px;
    margin: 0 auto 32px;
}

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

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

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #4f6df5;
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 109, 245, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(79, 109, 245, 0.5);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ccc;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

/* 通用段落 */
.section {
    padding: 70px 0;
}

.section-alt {
    background: #f7f8fc;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #1a1a2e;
}

.section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #4f6df5;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* 产品特色 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.feature-card p {
    font-size: 0.92rem;
    color: #666;
}

/* 关于我们 */
.about-content {
    max-width: 700px;
    margin: 0 auto;
}

.about-content > p {
    text-align: center;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
}

/* 联系信息 */
.contact-info {
    max-width: 500px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-label {
    color: #888;
    font-size: 0.95rem;
}

.contact-value {
    color: #333;
    font-weight: 500;
}

/* 底部 */
.footer {
    background: #1a1a2e;
    color: #aaa;
    text-align: center;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-name {
    font-size: 1.1rem;
    color: #fff;
}

.footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: #fff;
}

.footer-copy {
    font-size: 0.85rem;
    color: #666;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #1a1a2e;
        flex-direction: column;
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-sub {
        font-size: 1.1rem;
    }

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