/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* 首页横幅 */
.hero {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease;
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background-color: white;
    color: #11998e;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: #11998e;
}

/* 通用section样式 */
section {
    padding: 60px 20px;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

/* 作品展示区 */
.gallery {
    background-color: white;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.work-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.work-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.work-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.work-info {
    padding: 1.5rem;
}

.work-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.work-size {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.work-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #11998e;
}

/* 价格说明 */
.pricing {
    background-color: #f9f9f9;
}

.pricing-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.price-highlight {
    font-size: 1.2rem;
    margin: 1rem 0;
}

.pricing-card ul {
    list-style: none;
}

.pricing-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-card li:last-child {
    border-bottom: none;
}

/* 如何找模型 */
.find-models {
    background-color: white;
}

.model-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.guide-text h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem 0;
    color: #333;
}

.guide-text ul {
    list-style: none;
    padding-left: 0;
}

.guide-text li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.guide-text li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #11998e;
    font-weight: bold;
}

.link-highlight {
    color: #11998e;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.link-highlight:hover {
    text-decoration: underline;
}

.tutorial-image {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 1rem;
}

.image-caption {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* 下单流程 */
.process {
    background-color: #f9f9f9;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem auto;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.step p {
    color: #666;
    font-size: 0.9rem;
}

/* 注意事项 */
.notes {
    background-color: white;
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.note-card {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #11998e;
}

.note-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.note-card ul {
    list-style: none;
}

.note-card li {
    padding: 0.5rem 0;
    color: #666;
    padding-left: 1.5rem;
    position: relative;
}

.note-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #11998e;
    font-weight: bold;
}

/* 常见问题 */
.faq {
    background-color: #f9f9f9;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.faq-item p {
    color: #666;
    line-height: 1.8;
}

.faq-link {
    color: #11998e;
    text-decoration: none;
    font-weight: 600;
}

.faq-link:hover {
    text-decoration: underline;
}

/* 联系方式 */
.contact {
    background-color: white;
}

.contact-qrcode {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-hint {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.qrcode-image {
    width: 250px;
    height: 250px;
    max-width: 250px;
    max-height: 250px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

.qrcode-image:hover {
    transform: scale(1.05);
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    text-align: center;
    padding: 2rem 20px;
}

.footer p {
    margin: 0;
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .model-guide {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    section {
        padding: 40px 20px;
    }

    section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-content {
        grid-template-columns: 1fr;
    }

    .model-guide {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .notes-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .qrcode-image {
        width: 200px;
        height: 200px;
        max-width: 200px;
        max-height: 200px;
    }
}

/* 小屏手机优化 */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .work-image {
        height: 200px;
    }
}

