/* 言讯官网 - 公共样式 */
:root {
    --primary-color: #1da1f2;
    --primary-dark: #0d8bd9;
    --primary-gradient: linear-gradient(135deg, #1da1f2 0%, #0d8bd9 100%);
    --text-dark: #1a1a2e;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 0 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo img {
    height: 40px;
    width: auto;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

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

.nav-links a {
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
}

/* 英雄区块 */
.hero {
    padding: 150px 20px 100px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

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

.hero-logo {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(29, 161, 242, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 功能特色 */
.features {
    padding: 100px 20px;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* 下载区块 */
.download {
    padding: 100px 20px;
    background: var(--primary-gradient);
    text-align: center;
    color: var(--white);
}

.download h2 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

.download p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    background: var(--white);
    color: var(--text-dark);
    padding: 16px 32px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.download-btn .icon {
    font-size: 24px;
}

/* 关于我们 */
.about {
    padding: 100px 20px;
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-info {
    margin-top: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.about-info h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

.about-info p {
    margin-bottom: 8px;
    font-size: 1rem;
}

/* 页脚 */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-brand img {
    height: 36px;
    width: auto;
    border-radius: 8px;
}

.footer-brand span {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--text-light);
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 法律页面样式 */
.legal-page {
    padding: 120px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.legal-meta {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.legal-content {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 16px;
}

.legal-content h2 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 12px;
    color: var(--text-gray);
}

.legal-content ul {
    margin: 10px 0 20px 20px;
    color: var(--text-gray);
}

.legal-content li {
    margin-bottom: 8px;
}

/* 响应式设计 */

/* Toast 提示样式 */
.toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(26, 26, 46, 0.95);
    color: var(--white);
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    text-align: center;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 120px 20px 80px;
    }

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

    .hero-logo {
        width: 100px;
        height: 100px;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .features, .about, .download {
        padding: 60px 20px;
    }

    .legal-page {
        padding: 100px 15px 60px;
    }

    .legal-content {
        padding: 25px;
    }

    .footer-content {
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }
}
