/* 搜狗浏览器官网 - 第一套模板样式 蓝色科技风格 */
:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --secondary: #00d4aa;
    --accent: #ff6b35;
    --dark: #1a1a2e;
    --light: #f0f4ff;
    --white: #ffffff;
    --gray: #666;
    --border: #e0e6f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* 导航栏 */
.header {
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.logo-text {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #0099ff 100%);
    color: white !important;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,102,255,0.4);
}

.nav-btn::after {
    display: none !important;
}

/* 移动端菜单 */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

/* 英雄区 */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 50%, #0f3460 100%);
    padding: 100px 40px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 22px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0099ff 100%);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,102,255,0.4);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary);
}

.stat-label {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    margin-top: 5px;
}

/* 功能特性区 */
.features {
    padding: 100px 40px;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    transition: all 0.4s;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, #0099ff 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* 竞品对比区 */
.comparison {
    padding: 100px 40px;
    background: var(--white);
}

.comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 25px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--dark);
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table th:first-child {
    width: 25%;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover {
    background: var(--light);
}

.comparison-table .highlight {
    background: linear-gradient(135deg, rgba(0,102,255,0.05), rgba(0,212,170,0.05));
}

.check {
    color: #22c55e;
    font-weight: bold;
    font-size: 20px;
}

.cross {
    color: #ef4444;
    font-size: 18px;
}

/* 截图展示区 */
.screenshots {
    padding: 100px 40px;
    background: var(--dark);
}

.screenshots .section-header h2 {
    color: white;
}

.screenshots .section-header p {
    color: rgba(255,255,255,0.7);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
    transition: transform 0.4s;
}

.screenshot-item:hover {
    transform: scale(1.03);
}

.screenshot-item img {
    width: 100%;
    display: block;
}

/* 用户评价区 */
.testimonials {
    padding: 100px 40px;
    background: var(--light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    font-weight: 700;
}

.testimonial-info h4 {
    font-size: 18px;
    color: var(--dark);
    font-weight: 600;
}

.testimonial-info span {
    font-size: 14px;
    color: var(--gray);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--gray);
    line-height: 1.8;
    font-style: italic;
}

/* FAQ区 */
.faq {
    padding: 100px 40px;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0,102,255,0.1);
}

.faq-question {
    padding: 25px 30px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--dark);
}

.faq-question::after {
    content: '+';
    font-size: 28px;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
}

/* 信任背书区 */
.trust {
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
}

.trust-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.trust h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 50px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.trust-badge-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.2);
}

.trust-badge-icon svg {
    width: 40px;
    height: 40px;
    color: var(--secondary);
}

.trust-badge span {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 16px;
}

/* 下载区 */
.download-section {
    padding: 100px 40px;
    background: var(--light);
}

.download-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.download-box {
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.download-version {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.download-box h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}

.download-box p {
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 35px;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.download-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 15px;
}

.download-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #0099ff 100%);
    color: white;
    padding: 20px 60px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,102,255,0.4);
}

/* 底部 */
.footer {
    background: var(--dark);
    padding: 60px 40px 30px;
    color: rgba(255,255,255,0.7);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-brand span {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .nav {
        padding: 0 20px;
    }

    .hero {
        padding: 60px 20px 80px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 32px;
    }

    .features,
    .comparison,
    .screenshots,
    .testimonials,
    .faq,
    .download-section {
        padding: 60px 20px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 18px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }

    .features-grid,
    .testimonial-grid,
    .screenshot-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        overflow-x: auto;
    }
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 文章样式 */
.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 14px;
}

.article-content {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
}

.article-content h2 {
    font-size: 28px;
    color: var(--dark);
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 22px;
    color: var(--dark);
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a {
    padding: 12px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--gray);
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 新闻列表 */
.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 25px;
    padding: 30px;
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.news-item:hover {
    transform: translateX(5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0,102,255,0.1);
}

.news-thumb {
    width: 200px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-info h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-info h3:hover {
    color: var(--primary);
}

.news-info p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 12px;
}

.news-date {
    font-size: 13px;
    color: #999;
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }

    .news-thumb {
        width: 100%;
        height: 200px;
    }
}

/* AI功能标签 */
.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* 面包屑 */
.breadcrumb {
    padding: 20px 40px;
    background: var(--light);
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary);
}

.breadcrumb span {
    margin: 0 10px;
}
