:root {
    --landing-primary: #3b82f6;
    --landing-primary-dark: #2563eb;
    --landing-primary-glow: rgba(59, 130, 246, 0.5);
    --landing-text-dark: #1e293b;
    --landing-text-muted: #64748b;
    --landing-section-white: #ffffff;
    --landing-section-gray: #f8fafc;
}

.main-box.home-page,
.main-box.qz-page {
    padding: 0;
}

/* Section & Container */
.home-page .section,
.qz-page .section {
    padding: 70px 0;
}

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

/* 背景色 */
.home-page .bg-white,
.qz-page .bg-white {
    background: var(--landing-section-white);
}

.home-page .bg-gray,
.qz-page .bg-gray {
    background: var(--landing-section-gray);
}

/* 区块标题 */
.home-page .section-title,
.qz-page .title-group h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
}

.home-page .section-title {
    margin-bottom: 60px;
}

.qz-page .title-group {
    text-align: center;
    margin-bottom: 50px;
}

.qz-page .title-group h2 {
    margin-bottom: 10px;
}

.home-page .hero,
.qz-page .hero {
    min-height: calc(100vh - 99px);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 35px;
}

.home-page .hero h1,
.qz-page .hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.home-page .hero .hero-desc,
.qz-page .hero .hero-desc {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 98%;
}

.home-page .start-btn,
.qz-page .start-btn {
    background: var(--landing-primary);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s;
    box-shadow: 0 10px 30px var(--landing-primary-glow);
}

.home-page .start-btn:hover,
.qz-page .start-btn:hover {
    color: white;
}

.home-page .hero .ads,
.qz-page .hero .ad-box {
    width: 100%;
    max-width: 700px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-page .features-grid,
.qz-page .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.home-page .feat-item,
.qz-page .feat-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
    text-decoration: none;
    color: inherit;
}

.home-page .feat-item:hover,
.qz-page .feat-item:hover {
    background: #f8fafc;
}

.home-page .feat-icon,
.qz-page .feat-icon {
    min-width: 48px;
    height: 48px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 24px;
    color: var(--landing-primary);
    padding: 10px;
}

.home-page .feat-icon img,
.home-page .feat-icon svg,
.qz-page .feat-icon img,
.qz-page .feat-icon svg {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.home-page .feat-text h3,
.qz-page .feat-text h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--landing-primary-dark);
    font-weight: 700;
}

.home-page .feat-text p,
.qz-page .feat-text p {
    font-size: 14px;
    color: var(--landing-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-page .intro-text,
.qz-page .intro-article {
    color: #475569;
    font-size: 17px;
    line-height: 1.8;
}

.home-page .intro-text p,
.qz-page .intro-article p {
    margin-bottom: 20px;
}

.home-page .intro-text strong,
.qz-page .intro-article strong {
    color: var(--landing-text-dark);
}
@media (max-height: 1080px) {
    .home-page .hero .hero-desc, .qz-page .hero .hero-desc{
        margin-bottom: 13px;
    }
}

@media (max-width: 768px) {
    .home-page .hero, .qz-page .hero{
        padding: 15px;
    }
    .home-page .hero .hero-desc{
        font-size: 12px;
        opacity: .78;
        line-height: 16px;
        margin-bottom: 15px;
    }
    .home-page .hero, .qz-page .hero{
        min-height: auto;
    }
    .home-page .hero .ads{
        margin-top: 5px !important;
    }
    .home-page .features-grid, .qz-page .features-grid{
        gap: 3px;
    }
    .home-page .start-btn, .qz-page .start-btn{
        margin-bottom: 10px;
        padding: 12px 0;
        width: 98%;
        font-size: 18px;
    }
}
