* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo img {
    width: 47px;
    height: 47px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 22px;
    color: #008080;
    font-weight: 600;
}

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

.logo::before {
    /* content: "Q"; */
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background-color: #008080;
    color: white;
    border-radius: 50%;
    margin-right: 8px;
    font-weight: bold;
}

.hero-section {
    padding: 40px 0;
    background-color: #fff;
}

.hero-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-content {
    flex: 1;
    text-align: center;
}

.hero-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #4A6CEC;
    font-weight: 600;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 25px;
    color: #666;
}

.hero-content p a {
    color: #999;
    text-decoration: none;
}

.hero-content p a:hover {
    text-decoration: underline;
}

.download-buttons {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: purple;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    margin: 0 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #660066;
    transform: translateY(-2px);
}

.feature-section {
    padding: 60px 0;
}

.feature-content {
    text-align: center;
    margin-bottom: 20px;
}

.feature-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* 功能模块标题颜色 */
.feature-row:nth-child(1) .feature-content h3 { color: #4A6CEC; } /* 图片转PDF */
.feature-row:nth-child(2) .feature-content h3 { color: orange; } /* PDF加水印 */
.feature-row:nth-child(3) .feature-content h3 { color: green; } /* PDF转图片 */
.feature-row:nth-child(4) .feature-content h3 { color: red; } /* PDF转WORD */
.feature-row:nth-child(5) .feature-content h3 { color: purple; } /* 随机点名 */
.feature-row:nth-child(6) .feature-content h3 { color: pink; } /* 幸运抽奖 */

.feature-content p {
    font-size: 14px;
    color: #666;
}

.feature-image {
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.feature-row {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-row .feature-content {
    flex: 1;
    padding: 0 30px;
    text-align: left;
}

.feature-row .feature-image {
    flex: 1;
    text-align: center;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
}

.author {
    font-size: 14px;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    .hero-row {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-row .feature-content {
        padding: 0;
        margin-bottom: 20px;
        text-align: center;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-content > div {
        margin-bottom: 10px;
    }
}