* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: #e8edf2;
    color: #1e293b;
}

.demo-watermark {
    position: fixed;
    bottom: 12px;
    right: 16px;
    background: rgba(0,0,0,0.7);
    color: #ccc;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 999;
    pointer-events: none;
    backdrop-filter: blur(4px);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

.navbar {
    background: rgba(255,255,255,0.96);
    border-bottom: 1px solid #d1d9e6;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0.8rem 28px;
    max-width: 1280px;
    margin: 0 auto;
    gap: 1rem;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.logo-icon {
    background: linear-gradient(135deg, #31a8ff, #0d6efd);
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
}

.logo-text {
    font-weight: 800;
    font-size: 1.5rem;
    background: linear-gradient(125deg, #0d6efd, #31a8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-btn {
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: #475569;
    cursor: pointer;
    padding: 0.4rem 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.nav-btn:hover {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
}

.nav-download-btn {
    background: linear-gradient(135deg, #31a8ff, #0d6efd);
    color: white;
    border-radius: 40px;
    padding: 0.5rem 1.2rem;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.nav-download-btn:hover {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    transform: translateY(-2px);
}

.hero {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4fa 100%);
    margin-bottom: 2rem;
    padding: 1.5rem 0 2rem 0;
    border-bottom: 1px solid #d1d9e6;
}

.hero-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.hero-left {
    flex: 1;
    min-width: 260px;
}

.hero-badge {
    background: rgba(13,110,253,0.1);
    color: #0d6efd;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.3rem 1rem;
    border-radius: 60px;
    display: inline-block;
    margin-bottom: 1rem;
    border: 1px solid rgba(13,110,253,0.2);
}

.hero-left h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 0.8rem;
}

.hero-left h1 span {
    color: #0d6efd;
}

.hero-left p {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.download-main-btn {
    background: linear-gradient(135deg, #31a8ff, #0d6efd);
    color: white;
    border: none;
    padding: 0.7rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 60px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
    box-shadow: 0 8px 20px rgba(13,110,253,0.3);
}

.download-main-btn:hover {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    transform: translateY(-2px);
}

.hero-right {
    flex: 0 0 auto;
    width: 520px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-custom {
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 400"><defs><linearGradient id="bgGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%23e8edf5"/><stop offset="100%" stop-color="%23dce3ec"/></linearGradient><linearGradient id="blueGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%2331a8ff"/><stop offset="100%" stop-color="%230d6efd"/></linearGradient></defs><rect width="640" height="400" fill="url(%23bgGrad)" rx="30"/><rect x="100" y="70" width="280" height="200" rx="16" fill="%232d2d3a" stroke="%233d3d4e" stroke-width="2"/><rect x="120" y="90" width="240" height="160" rx="10" fill="%231a1a2a"/><circle cx="240" cy="170" r="35" fill="%23ffffff" opacity="0.05"/><rect x="140" y="120" width="100" height="100" rx="8" fill="%2331a8ff" opacity="0.3"/><text x="165" y="185" font-size="28" fill="%23ffffff" font-weight="bold" opacity="0.9">Ps</text><rect x="260" y="130" width="80" height="30" rx="5" fill="%2331a8ff" opacity="0.7"/><rect x="260" y="170" width="80" height="20" rx="4" fill="%230d6efd" opacity="0.5"/><rect x="260" y="200" width="60" height="15" rx="3" fill="%2331a8ff" opacity="0.4"/><rect x="190" y="45" width="100" height="24" rx="12" fill="%232d2d3a" stroke="%233d3d4e" stroke-width="2"/><path d="M190 57 L140 57" stroke="%233d3d4e" stroke-width="3" stroke-linecap="round"/><path d="M290 57 L340 57" stroke="%233d3d4e" stroke-width="3" stroke-linecap="round"/><rect x="120" y="280" width="240" height="28" rx="6" fill="%232d2d3a" stroke="%233d3d4e" stroke-width="1"/><rect x="130" y="287" width="60" height="14" rx="3" fill="%2331a8ff" opacity="0.85"/><rect x="200" y="287" width="50" height="14" rx="3" fill="%230d6efd" opacity="0.75"/><rect x="260" y="287" width="40" height="14" rx="3" fill="%23f59e0b" opacity="0.85"/><rect x="420" y="70" width="150" height="260" rx="12" fill="%232d2d3a" stroke="%233d3d4e" stroke-width="2"/><rect x="435" y="85" width="120" height="28" rx="6" fill="%2331a8ff"/><text x="460" y="104" font-size="12" fill="%23ffffff" font-weight="bold">图层样式</text><rect x="435" y="125" width="120" height="22" rx="4" fill="%233d3d4e"/><rect x="435" y="155" width="100" height="22" rx="4" fill="%233d3d4e"/><rect x="435" y="185" width="80" height="22" rx="4" fill="%233d3d4e"/><rect x="435" y="215" width="120" height="22" rx="4" fill="%233d3d4e"/><circle cx="450" cy="260" r="10" fill="%2331a8ff"/><circle cx="480" cy="260" r="10" fill="%230d6efd"/><circle cx="510" cy="260" r="10" fill="%23f59e0b"/><circle cx="540" cy="260" r="10" fill="%2310b981"/><rect x="130" y="330" width="220" height="32" rx="16" fill="%230d6efd" opacity="0.95"/><text x="155" y="351" font-size="12" fill="%23ffffff" font-weight="bold">🎨 Adobe Photoshop</text><text x="460" y="355" font-size="10" fill="%23666">创意无限</text></svg>') no-repeat center center;
    background-size: contain;
}

@media (max-width: 1100px) {
    .hero-right {
        width: 460px;
        height: 389px;
    }

    .hero-left h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 920px) {
    .hero-right {
        width: 400px;
        height: 338px;
    }

    .hero-left h1 {
        font-size: 2rem;
    }
}

@media (max-width: 750px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
        gap: 1.2rem;
    }

    .hero-right {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 520 / 440;
    }
}

.versions-section {
    margin-bottom: 5rem;
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #0f172a;
}

.section-title i {
    color: #0d6efd;
}

.version-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.custom-logo {
    height: 40px;
    width: 162.5px;
    object-fit: contain;
}

@media (max-width: 680px) {
    .custom-logo {
        height: 32px;
        width: 130px;
    }
}

/* 版本卡片 - flex 布局，按钮自动底部对齐 */
.version-card {
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.08);
    border: 1px solid #d1d9e6;
    padding: 1.8rem 1.5rem 2rem;
    text-align: center;
    width: 280px;
    flex: 0 0 auto;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
}

@media (max-width: 680px) {
    .version-card {
        width: calc(100% - 2rem);
        max-width: 320px;
        flex: 1 0 auto;
    }
}

.version-card:hover {
    transform: translateY(-5px);
    border-color: #0d6efd;
    box-shadow: 0 20px 30px -12px rgba(13,110,253,0.15);
}

.version-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 0.8rem;
    background: linear-gradient(135deg, #31a8ff, #0d6efd);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px -4px rgba(13,110,253,0.3);
}

.version-icon span {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1px;
}

.version-icon-family {
    width: 70px;
    height: 70px;
    margin: 0 auto 0.8rem;
    background: transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.family-block {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.family-block-pink {
    background: #e91e63;
}

.family-block-purple {
    background: #9c27b0;
}

.family-block-blue {
    background: #0d6efd;
}

.family-block-orange {
    background: #f97316;
}

.version-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0.5rem 0;
}

.version-desc {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0.8rem 0 1.5rem;
    min-height: 80px;
    flex: 1;
    /* 占据剩余空间，把按钮推到底部 */
}

.download-version-btn {
    background: linear-gradient(135deg, #31a8ff, #0d6efd);
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(13,110,253,0.4);
    letter-spacing: 0.5px;
}

.download-version-btn i {
    font-size: 1rem;
}

.download-version-btn:hover {
    background: linear-gradient(135deg, #0d6efd, #0b5ed7);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(13,110,253,0.5);
}

/* 赠品区域 */
.gift-section {
    margin: 4rem 0 3rem;
}

.gift-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.gift-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.8rem 1.5rem;
    text-align: center;
    width: 240px;
    flex: 0 0 auto;
    transition: all 0.3s ease;
    border: 1px solid #d1d9e6;
    box-shadow: 0 8px 20px -8px rgba(0,0,0,0.08);
}

.gift-card:hover {
    transform: translateY(-5px);
    border-color: #0d6efd;
    box-shadow: 0 16px 28px -12px rgba(13,110,253,0.2);
}

.gift-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #31a8ff, #0d6efd);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 12px -4px rgba(13,110,253,0.3);
}

.gift-icon i {
    font-size: 2rem;
    color: white;
}

.gift-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.gift-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.gift-badge {
    display: inline-block;
    background: rgba(13,110,253,0.1);
    color: #0d6efd;
    font-size: 0.7rem;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    margin-top: 0.8rem;
    font-weight: 600;
}

@media (max-width: 680px) {
    .gift-card {
        width: calc(50% - 1rem);
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .gift-card {
        width: 100%;
        max-width: 280px;
    }
}

.testimonials {
    background: #f5f8fc;
    border-radius: 2rem;
    padding: 3rem 0;
    margin: 2rem 0;
    border-top: 1px solid #d1d9e6;
    border-bottom: 1px solid #d1d9e6;
}

.testimonial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 1.8rem;
    border: 1px solid #d1d9e6;
    width: 320px;
    flex: 0 0 auto;
    transition: 0.2s;
}

@media (max-width: 720px) {
    .testimonial-card {
        width: calc(100% - 2rem);
        max-width: 400px;
        flex: 1 0 auto;
    }
}

.testimonial-card:hover {
    border-color: #0d6efd;
}

.stars {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.5;
    color: #334155;
    margin-bottom: 1.2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 46px;
    height: 46px;
    background: #e8edf2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0d6efd;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}

.author-info p {
    font-size: 0.75rem;
    color: #64748b;
}

.faq-section {
    padding: 3rem 0 4rem;
    scroll-margin-top: 80px;
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 1.2rem;
    border: 1px solid #d1d9e6;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    cursor: pointer;
    background: #ffffff;
}

.faq-question i {
    color: #0d6efd;
    transition: transform 0.2s;
}

.faq-answer {
    display: none;
    padding: 0 1.6rem 1.2rem 1.6rem;
    color: #475569;
    line-height: 1.55;
    font-size: 0.95rem;
    border-top: 1px solid #d1d9e6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

footer {
    text-align: center;
    padding: 2rem 0;
    color: #64748b;
    border-top: 1px solid #d1d9e6;
    font-size: 0.85rem;
}

.toast-msg {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    border: 1px solid #0d6efd;
    color: #0d6efd;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 0.85rem;
    z-index: 1100;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.toast-msg.show {
    opacity: 1;
}

@media (max-width: 550px) {
    .toast-msg {
        white-space: normal;
        width: 85%;
        text-align: center;
    }
}

.study-notice {
    background: #e8edf2;
    border-left: 4px solid #0d6efd;
    padding: 12px 20px;
    margin: 20px auto 0;
    max-width: 900px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #475569;
    text-align: center;
}
