/* Perplexity AI 官网样式 */
/* 基础重置与变量 */
:root {
    --primary-color: #20B2AA;
    --primary-dark: #1a9690;
    --secondary-color: #1a1a2e;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a2e;
    --border-color: #e5e5e5;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.5);
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* Hero区域 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f8fffe 0%, #ffffff 100%);
    padding: 120px 20px 80px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 48px;
    line-height: 1.6;
}

/* CTA按钮组 */
.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-visit-official {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3);
    transition: var(--transition);
}

.btn-visit-official:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.5);
}

.btn-outline-white {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.3);
}

/* 快速标签 */
.quick-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-label {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
}

.quick-tag {
    padding: 8px 18px;
    background: rgba(32, 178, 170, 0.1);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-color);
    border: 1px solid rgba(32, 178, 170, 0.2);
    cursor: default;
}

.quick-tag:hover {
    background: rgba(32, 178, 170, 0.15);
    border-color: rgba(32, 178, 170, 0.3);
}

/* 通用section样式 */
section {
    padding: 100px 0;
}

section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 16px;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 60px;
}

/* 功能区域 */
.features {
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* 产品区域 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    padding: 40px 35px;
    border-radius: var(--radius);
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.product-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(180deg, #f0fffe 0%, #ffffff 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.product-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.product-card h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.product-card > p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 15px;
}

.product-features {
    margin-top: 20px;
}

.product-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--text-color);
    font-size: 15px;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 使用场景 */
.use-cases {
    background: var(--bg-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.case-card {
    background: white;
    padding: 35px 30px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.case-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.case-card h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.case-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* 技术区域 */
.tech-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
}

.tech-item {
    padding: 35px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.tech-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    text-align: left;
}

.tech-item h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.tech-item p {
    color: var(--text-light);
    font-size: 15px;
}

/* 浏览器区域 */
.browser {
    background: linear-gradient(180deg, #f0fffe 0%, #ffffff 100%);
}

.browser-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.browser-feature {
    background: white;
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.browser-feature h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.browser-feature h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.browser-feature p {
    color: var(--text-light);
    font-size: 15px;
}

/* 关于区域 */
.about {
    background: var(--bg-light);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
    margin-top: 30px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.about-text p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* FAQ区域 */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.faq-item h4 {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-light);
    font-size: 15px;
}

/* CTA区域 */
.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d2d4a 100%);
    text-align: center;
    padding: 100px 20px;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

.cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 15px;
    line-height: 1.6;
}

.footer-nav h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
}

.footer-nav ul li {
    margin-bottom: 14px;
}

.footer-nav a {
    font-size: 14px;
    opacity: 0.8;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    opacity: 0.7;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    font-size: 14px;
    opacity: 0.7;
}

.footer-legal a:hover {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-links {
        display: none;
    }
    
    .nav-buttons {
        gap: 10px;
    }
    
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 17px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-visit-official,
    .btn-outline-white {
        width: 100%;
        max-width: 350px;
    }
    
    section {
        padding: 70px 0;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    .section-desc {
        font-size: 16px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 26px;
    }
    
    .cta-buttons {
        gap: 12px;
    }
    
    .btn-visit-official,
    .btn-outline-white {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 22px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 16px;
    }
}
