/* 搜狗浏览器官网 - 第二套模板样式 橙色活力风格 */
:root {
    --primary: #ff6b35;
    --primary-dark: #e55a2b;
    --secondary: #ffa726;
    --accent: #007bff;
    --dark: #2d2d2d;
    --light: #fff8f5;
    --white: #ffffff;
    --gray: #666;
    --border: #ffe8df;
}

* {
    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);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(255,107,53,0.08);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(255,107,53,0.2);
}

.logo-text {
    color: var(--dark);
    font-size: 22px;
    font-weight: 700;
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: var(--dark);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-links a:hover {
    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 {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,53,0.35);
}

.nav-btn::after {
    display: none !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
}

/* 英雄区 - 左侧文字右侧图 */
.hero {
    background: linear-gradient(135deg, var(--light) 0%, #fff0e8 100%);
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.25;
}

.hero-content h1 span {
    color: var(--primary);
    position: relative;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 12px;
    background: rgba(255,107,53,0.2);
    z-index: -1;
}

.hero-desc {
    font-size: 19px;
    color: var(--gray);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    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(-3px);
    box-shadow: 0 12px 30px rgba(255,107,53,0.35);
}

.btn-outline {
    background: var(--white);
    color: var(--primary);
    padding: 16px 40px;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--primary);
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.hero-visual {
    position: relative;
}

.hero-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}

.hero-image img {
    width: 100%;
    display: block;
}

.hero-float {
    position: absolute;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--dark);
}

.hero-float-1 {
    top: 20%;
    right: -20px;
    animation: float 3s ease-in-out infinite;
}

.hero-float-2 {
    bottom: 15%;
    left: -20px;
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* 功能特性 - 卡片网格 */
.features {
    padding: 100px 40px;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 17px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255,107,53,0.12);
    border-color: transparent;
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #fff0e8 0%, #ffe0d0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
    font-size: 15px;
}

/* 竞品对比 - 左右布局 */
.comparison {
    padding: 100px 40px;
    background: var(--light);
}

.comparison-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.comparison-intro h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.comparison-intro p {
    color: var(--gray);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.comparison-highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 30px;
    border-radius: 16px;
    color: white;
}

.comparison-highlight h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.comparison-highlight ul {
    list-style: none;
}

.comparison-highlight li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.comparison-highlight li::before {
    content: '✓';
    font-weight: bold;
}

.comparison-table {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 22px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--dark);
    color: white;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: var(--light);
}

.check { color: #22c55e; font-weight: bold; }
.cross { color: #ef4444; }

/* 截图展示 - 横向滚动 */
.screenshots {
    padding: 100px 0;
    background: var(--dark);
    overflow: hidden;
}

.screenshots .section-header h2 {
    color: white;
}

.screenshots .section-header p {
    color: rgba(255,255,255,0.7);
}

.screenshot-scroll {
    display: flex;
    gap: 30px;
    padding: 0 40px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.screenshot-scroll::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex-shrink: 0;
    width: 450px;
    border-radius: 20px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    transition: transform 0.4s;
}

.screenshot-item:hover {
    transform: scale(1.02);
}

.screenshot-item img {
    width: 100%;
    display: block;
}

/* 用户评价 - 轮播卡片 */
.testimonials {
    padding: 100px 40px;
    background: var(--white);
}

.testimonial-slider {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.testimonial-quote {
    background: linear-gradient(135deg, #fff8f5, #fff0e8);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 48px;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-info h4 {
    font-size: 16px;
    color: var(--dark);
    font-weight: 600;
}

.testimonial-info span {
    font-size: 13px;
    color: var(--gray);
}

.testimonial-stars {
    color: #fbbf24;
    margin-left: auto;
    font-size: 16px;
}

/* FAQ区 - 折叠手风琴 */
.faq {
    padding: 100px 40px;
    background: var(--light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    color: var(--dark);
}

.faq-question svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 400px;
}

.faq-answer-content {
    padding: 0 28px 22px;
    color: var(--gray);
    line-height: 1.8;
}

/* 信任背书 - 图标行 */
.trust {
    padding: 80px 40px;
    background: var(--white);
}

.trust-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.trust-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 20px;
    background: var(--light);
    transition: all 0.3s;
}

.trust-item:hover {
    background: linear-gradient(135deg, #fff8f5, #fff0e8);
}

.trust-icon {
    width: 75px;
    height: 75px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.trust-icon svg {
    width: 36px;
    height: 36px;
    color: var(--primary);
}

.trust-item h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 8px;
}

.trust-item p {
    color: var(--gray);
    font-size: 14px;
}

/* 下载区 - 居中卡片 */
.download-section {
    padding: 100px 40px;
    background: linear-gradient(135deg, var(--dark) 0%, #3d3d3d 100%);
}

.download-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
}

.download-version {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 8px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.download-card h2 {
    font-size: 38px;
    color: var(--dark);
    margin-bottom: 15px;
}

.download-card > p {
    color: var(--gray);
    font-size: 18px;
    margin-bottom: 40px;
}

.download-specs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.download-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 15px;
}

.download-spec svg {
    color: var(--primary);
}

.download-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 18px 55px;
    border-radius: 35px;
    font-size: 19px;
    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(255,107,53,0.35);
}

/* 底部 */
.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(--primary);
}

.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) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .features-grid,
    .testimonial-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-wrapper {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 75px;
        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: 50px 20px 60px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .features,
    .comparison,
    .screenshots,
    .testimonials,
    .faq,
    .download-section {
        padding: 60px 20px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .features-grid,
    .testimonial-slider {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .download-card {
        padding: 40px 25px;
    }
    
    .download-card h2 {
        font-size: 28px;
    }
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 面包屑 */
.breadcrumb {
    padding: 18px 40px;
    background: var(--light);
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary);
}

/* AI组件标签 */
.ai-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
}
