/* 搜狗浏览器官网 - 第三套模板样式 绿色清新风格 */
:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --secondary: #34d399;
    --accent: #3b82f6;
    --dark: #1f2937;
    --light: #ecfdf5;
    --white: #ffffff;
    --gray: #6b7280;
    --border: #d1fae5;
}

* {
    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: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.logo-text {
    color: var(--dark);
    font-size: 20px;
    font-weight: 700;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-btn {
    background: var(--primary);
    color: white !important;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.nav-btn::after {
    display: none !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
}

/* 英雄区 - 全宽背景 */
.hero {
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
    padding: 80px 40px 100px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    clip-path: ellipse(80% 100% at 50% 0%);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-size: 54px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-desc {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
    padding: 16px 38px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16,185,129,0.3);
}

.btn-outline {
    background: transparent;
    color: white;
    padding: 16px 38px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 60px;
    padding-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 44px;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-top: 5px;
}

/* 功能区 - 左右交替 */
.features {
    padding: 100px 40px;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 100px;
}

.feature-row:nth-child(even) {
    direction: rtl;
}

.feature-row:nth-child(even) > * {
    direction: ltr;
}

.feature-row:last-child {
    margin-bottom: 0;
}

.feature-visual {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.feature-visual img {
    width: 100%;
    display: block;
}

.feature-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
}

.feature-content p {
    color: var(--gray);
    font-size: 17px;
    margin-bottom: 25px;
    line-height: 1.8;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--dark);
    font-size: 16px;
}

.feature-list li::before {
    content: '';
    width: 24px;
    height: 24px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* 竞品对比 */
.comparison {
    padding: 100px 40px;
    background: var(--light);
}

.comparison-table {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 28px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: var(--light);
}

.check { color: var(--primary); font-weight: bold; font-size: 18px; }
.cross { color: #ef4444; font-size: 16px; }

/* 截图展示 */
.screenshots {
    padding: 100px 40px;
    background: var(--white);
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.screenshot-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    transition: transform 0.4s;
}

.screenshot-item:hover {
    transform: translateY(-8px);
}

.screenshot-item img {
    width: 100%;
    display: block;
}

/* 用户评价 */
.testimonials {
    padding: 100px 40px;
    background: linear-gradient(135deg, var(--primary), #059669);
}

.testimonials .section-header h2,
.testimonials .section-header p {
    color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
}

.testimonial-info h4 {
    font-size: 17px;
    color: var(--dark);
    font-weight: 600;
}

.testimonial-info span {
    font-size: 13px;
    color: var(--gray);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 15px;
}

/* FAQ区 */
.faq {
    padding: 100px 40px;
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light);
    padding: 28px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(16,185,129,0.1);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

.faq-q h4 {
    font-size: 17px;
    color: var(--dark);
    font-weight: 600;
}

.faq-icon {
    width: 28px;
    height: 28px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s;
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

.faq-item.active .faq-icon {
    background: var(--primary);
    transform: rotate(45deg);
}

.faq-item.active .faq-icon svg {
    color: white;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-a {
    max-height: 300px;
}

.faq-a p {
    padding-top: 20px;
    color: var(--gray);
    line-height: 1.8;
    font-size: 15px;
}

/* 信任背书 */
.trust {
    padding: 80px 40px;
    background: var(--light);
}

.trust-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.trust-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.trust-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.trust-item h4 {
    font-size: 16px;
    color: var(--dark);
    font-weight: 600;
}

/* 下载区 */
.download-section {
    padding: 100px 40px;
    background: var(--white);
}

.download-card {
    max-width: 850px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary), #059669);
    border-radius: 30px;
    padding: 70px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.download-card h2 {
    font-size: 40px;
    color: white;
    margin-bottom: 15px;
    position: relative;
}

.download-card > p {
    color: rgba(255,255,255,0.9);
    font-size: 18px;
    margin-bottom: 40px;
    position: relative;
}

.download-meta {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.download-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.download-btn {
    background: var(--white);
    color: var(--primary);
    padding: 18px 55px;
    border-radius: 12px;
    font-size: 19px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    position: relative;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* 底部 */
.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: 17px;
    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) {
    .feature-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-row:nth-child(even) {
        direction: ltr;
    }
    
    .testimonial-grid,
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        border-top: 1px solid var(--border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero {
        padding: 60px 20px 80px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    
    .hero-stats .stat-item {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .features,
    .comparison,
    .screenshots,
    .testimonials,
    .faq,
    .download-section {
        padding: 60px 20px;
    }
    
    .testimonial-grid,
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .download-card {
        padding: 50px 30px;
    }
    
    .download-card h2 {
        font-size: 28px;
    }
    
    .download-meta {
        flex-direction: column;
        gap: 15px;
    }
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 面包屑 */
.breadcrumb {
    padding: 16px 40px;
    background: var(--light);
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary);
}
