/* 全局样式 */
:root {
    --primary-color: #54c9ee;
    --dark-blue: #314159;
    --text-color: #333;
    --bg-gradient: linear-gradient(to bottom, #edf4fb, #ffffff);
    --card-bg: #ffffff;
    --border-color: #e5e5e5;
    --btn-hover: #45b3d8;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

body {
    background: var(--bg-gradient);
    color: var(--text-color);
    line-height: 1.6;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
header {
    background: linear-gradient(rgb(0 0 0 / 23%), rgb(0 0 0 / 0%)), url(/images/header-bg.jpeg) no-repeat center center;
    background-size: cover;
    color: white;
    padding: 20px 0;
    position: relative;
    min-height: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
    height: 60px;
}

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

.logo img {
    width: 34px;
    height: 34px;
}

.logo div {
    display: flex;
    flex-direction: column;
}

.logo div span:first-child {
    font-size: 18px;
    font-weight: bold;
}

.logo div span:last-child {
    font-size: 12px;
    opacity: 0.8;
}

.tabs {
    display: flex;
    gap: 30px;
}

.tabs-item {
    position: relative;
    font-size: 16px;
}

.tabs-item.active .select {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 50px;
}

.header-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-title span:first-child {
    font-size: 48px;
    font-weight: bold;
    background: #fff;
    -webkit-background-clip: text;
    text-shadow: 11px 4px 8px rgb(0 0 0 / 38%);
}

.header-title span:last-child {
    font-size: 24px;
    letter-spacing: 2px;
    margin-top: 5px;
    color: #fff;
    text-shadow: 0 1px 5px rgba(68, 88, 105, 0.3);
}

.title-slogan {
    font-size: 22px;
    margin: 20px 0 40px;
    background: #fff;
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 6px 8px 8px rgb(48 61 73 / 45%);
}

.btn-primary {
    background: linear-gradient(to right, #0c0952d6, #259DFF);
    color: white;
    border-radius: 30px;
    padding: 15px 40px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

/* 时间线 */
.timeline {
    margin: 50px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.timeline ul {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.timeline li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.timeline li div {
    display: flex;
    flex-direction: column;
}

.timeline li div span:first-child {
    font-weight: bold;
    color: #1253e9;
}

/* 标题区域 */
.section-title {
    text-align: center;
    margin: 60px auto 40px;
    max-width: 700px;
}

.section-title span:first-child {
    font-size: 30px;
    font-weight: bold;
    color: var(--dark-blue);
    display: block;
    margin-bottom: 15px;
}

.section-title span:last-child {
    font-size: 16px;
    color: #777;
}

/* 功能卡片区域 */
.features-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 20px;
}

.feature-card {
    flex: 1;
    min-width: 300px;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 30px;
}

.feature-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.feature-title img {
    width: 30px;
    height: 30px;
}

.feature-title span {
    font-size: 20px;
    font-weight: bold;
    color: var(--dark-blue);
}

.feature-content ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.feature-content ul li img {
    width: 18px;
    height: 18px;
}

/* 插件截图区域 */
.extension-screenshot {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.screenshot {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.extension-description {
    flex: 1;
    min-width: 300px;
}

.extension-description h2 {
    font-size: 28px;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.extension-description p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(to right, #0c0952d6, #259DFF);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    margin-top: 20px;
    display: inline-flex;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
}

.btn-download img {
    width: 24px;
    height: 24px;
}

/* 客服区域 */
.customer-service {
    background: white;
    border-radius: 10px;
    max-width: 1000px;
    margin: 60px auto;
    padding: 30px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    box-shadow: var(--shadow);
}

.qrcode {
    width: 150px;
    height: 150px;
}

.service-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-text span:first-child {
    font-size: 16px;
    color: #555;
}

.service-text span:last-child {
    font-size: 18px;
    font-weight: bold;
    color: #1288e9;
}

/* CTA 区域 */
.cta-section {
    text-align: center;
    margin: 60px auto;
}

/* 页脚 */
footer {
    background: #1288e9;
    color: white;
    padding: 50px 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-left div span:first-child {
    font-size: 18px;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

.footer-left div a {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    transition: opacity 0.3s;
}

.footer-left div a:hover {
    opacity: 1;
}

.footer-right {
    display: flex;
    gap: 40px;
}

.footer-right div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-right div img {
    width: 120px;
    height: 120px;
    background: white;
    padding: 10px;
    border-radius: 5px;
}

/* 侧边栏联系方式 */
.side-contact {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.contact-item {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: scale(1.1);
}

.contact-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 3px;
}

.contact-item span {
    font-size: 12px;
    color: #777;
}

/* 下载部分样式 */
.download-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.download-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.download-section h2 {
    color: var(--dark-blue);
    font-size: 28px;
    margin-bottom: 20px;
}

.download-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.version-info {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.version, .update-date, .compatibility {
    display: flex;
    align-items: center;
    gap: 10px;
}

.version span, .update-date span, .compatibility span {
    font-size: 14px;
    color: #444;
}

.download-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-chrome, .btn-direct {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.btn-chrome {
    background: var(--dark-blue);
    color: white;
}

.btn-direct {
    background: #1288e9;
    color: white;
}

.btn-chrome:hover, .btn-direct:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-chrome img, .btn-direct img {
    width: 24px;
    height: 24px;
}

/* 安装步骤部分 */
.steps-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.steps-section h2 {
    color: var(--dark-blue);
    font-size: 28px;
    margin-bottom: 30px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.step-card {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: #1288e9;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.step-image {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 使用指南部分 */
.usage-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.usage-section h2 {
    color: var(--dark-blue);
    font-size: 28px;
    margin-bottom: 30px;
}

.usage-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 30px;
}

.usage-card {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    gap: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.usage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.usage-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.usage-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.usage-content {
    flex: 1;
}

.usage-content h3 {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.usage-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* FAQ部分 */
.faq-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.faq-section h2 {
    color: var(--dark-blue);
    font-size: 28px;
    margin-bottom: 30px;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 25px;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

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

.faq-question h3 {
    font-size: 16px;
    color: var(--dark-blue);
}

.faq-answer p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* 页脚居中显示 */
footer {
    justify-content: center;
    text-align: center;
    padding: 50px 0;
}

.footer-left {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    margin-right: 60px;
    gap: 40px;
}

.footer-left div {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 180px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-nav {
        padding: 0 20px;
        flex-direction: column;
        gap: 20px;
        height: auto;
    }

    .tabs {
        width: 100%;
        justify-content: space-around;
        gap: 10px;
    }

    .timeline ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .features-container {
        flex-direction: column;
    }

    .extension-screenshot {
        flex-direction: column;
    }

    .footer-left, .footer-right {
        width: 100%;
    }

    .side-contact {
        bottom: 20px;
        top: auto;
        right: 20px;
        transform: none;
        flex-direction: row;
    }
    
    .footer-left {
        margin-right: 0;
        margin-bottom: 30px;
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-left div {
        min-width: auto;
        width: 100%;
    }
    
    .usage-image {
        margin-bottom: 20px;
        width: 220px;
        height: 220px;
    }
    
    .version-info {
        flex-direction: column;
        gap: 15px;
    }

    .download-buttons {
        flex-direction: column;
    }

    .steps-container, .usage-container, .faq-container {
        grid-template-columns: 1fr;
    }

    .usage-card {
        flex-direction: column;
        text-align: center;
    }
}
