*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #333;
    line-height: 1.6;
    /* display: flex;
            margin: 0;
            justify-content: center; */
}

.parent-wrap {
    display: flex;
    /* 垂直纵向排列 */
    flex-direction: column;
    /* 水平居中所有section */
    align-items: center;
    /* 可选：让整块内容在页面可视区垂直居中 */
    /* min-height: 100vh; */
    justify-content: center;
    /* 可选：section之间上下间距 */
    /* gap: 20px;
            margin: 0;
            padding: 30px 0; */
}

img {
    max-width: 100%;
    display: block;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f4fa 0%, #ede2f0 50%, #e8d9df 100%);
    padding: 60px 5%;
    gap: 40px;
    min-height: 90vh;
}

.hero-paddle {
    flex: 1;
    max-width: 450px;
}

.hero-paddle img,
.hero-paddle .img-placeholder {
    width: 100%;
    aspect-ratio: 1/1.15;
    object-fit: contain;
    border-radius: 20px;
}

.img-placeholder {
    background: linear-gradient(135deg, #d4c5e0, #c9b4d8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a5c8a;
    font-size: 14px;
    text-align: center;
    padding: 20px;
}

.hero-center {
    flex: 1;
    text-align: center;
    max-width: 520px;
}

.hero-center h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #4a3060;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-center .subtitle {
    font-size: 1rem;
    color: #6b5080;
    margin-bottom: 24px;
    line-height: 1.5;
}

.hero-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 30px 0;
}

.hero-icon {
    text-align: center;
}

.hero-icon .icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.icon-gold {
    background: linear-gradient(135deg, #f5d442, #e8b730);
}

.icon-lavender {
    background: linear-gradient(135deg, #c4a6d6, #b28ec8);
}

.icon-paw {
    background: linear-gradient(135deg, #e8c97a, #d4a843);
}

.hero-icon span {
    font-size: 12px;
    color: #5a4070;
    font-weight: 600;
    display: block;
    margin-top: 4px;
}

.hero-right {
    flex: 1;
    max-width: 420px;
    text-align: center;
}

.hero-right .dog-photo {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 16px;
    object-fit: cover;
}

.hero-right .caption {
    font-size: 13px;
    color: #7a5c8a;
    margin-top: 8px;
}

.hero-right .badges {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* STATS SECTION */
.stats {
    background: #fef9f0;
    padding: 80px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats::before,
.stats::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: .15;
    pointer-events: none;
}

.stats::before {
    background: radial-gradient(circle, #c4a6d6, transparent);
    top: -80px;
    left: -60px;
}

.stats::after {
    background: radial-gradient(circle, #e8c97a, transparent);
    bottom: -80px;
    right: -60px;
}

.stats-tag {
    display: inline-block;
    background: #f0e6f6;
    color: #7a5c8a;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: .5px;
}

.counter-block {
    margin-bottom: 50px;
}

.counter-label {
    font-size: 1rem;
    color: #6b5080;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 20px;
}

.counter-digits {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 40px;
}

.counter-digit {
    background: #9678b1;
    color: #fff;
    font-size: 12rem;
    font-weight: 400;
    width: 240px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    line-height: 1;
}

.counter-unit {
    font-size: 2rem;
    color: #4a3060;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 12px;
    letter-spacing: 3px;
}

.donation-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.donation-amount h3 {
    font-size: 3rem;
    font-weight: 900;
    color: #4a3060;
}

.donation-amount p {
    font-size: .9rem;
    color: #8a6e9a;
}

.donation-message {
    max-width: 360px;
    text-align: left;
    font-size: .95rem;
    color: #6b5080;
    line-height: 1.7;
}

/* PROGRESS */
.progress-section {
    margin-top: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.progress-label {
    font-size: 1rem;
    color: #4a3060;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 16px;
}

.progress-bar {
    background: #f0e6f6;
    border-radius: 20px;
    height: 24px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #c4a6d6, #7a5c8a);
    height: 100%;
    border-radius: 20px;
}

.progress-values {
    display: flex;
    justify-content: space-between;
    font-size: .85rem;
    color: #7a5c8a;
    margin-top: 8px;
}

/* STORY */
.story {
    padding: 80px 5%;
    background: #fff;
}

.story-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
}

.story-text h2 {
    font-size: 2rem;
    color: #4a3060;
    margin-bottom: 20px;
    line-height: 1.3;
}

.story-text p {
    color: #6b5080;
    line-height: 1.8;
    margin-bottom: 16px;
}

.story-img {
    flex: 0 0 350px;
}

.story-img .img-placeholder {
    aspect-ratio: 1/1;
    border-radius: 16px;
}

/* FEATURES */
.features {
    padding: 80px 5%;
    background: #faf6fd;
    text-align: center;
}

.features h2 {
    font-size: 1.8rem;
    color: #4a3060;
    margin-bottom: 50px;
}

.feature-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.feature-card h4 {
    color: #4a3060;
    margin-bottom: 8px;
}

.feature-card p {
    color: #7a5c8a;
    font-size: .9rem;
}

/* PRODUCT SHOWCASE */
.product-showcase {
    padding: 80px 5%;
    text-align: center;
}

.product-showcase h2 {
    font-size: 1.8rem;
    color: #4a3060;
    margin-bottom: 16px;
}

.product-showcase .psub {
    color: #8a6e9a;
    margin-bottom: 40px;
}

.product-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.product-card .img-placeholder {
    aspect-ratio: 1/1;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* CTA */
.cta {
    padding: 60px 5%;
    background: #4a3060;
    color: #fff;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta p {
    opacity: .85;
    margin-bottom: 24px;
}

.cta-btn {
    display: inline-block;
    background: #e8c97a;
    color: #4a3060;
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.cta-btn:hover {
    background: #f0d890;
}

/* FOOTER */
.footer {
    padding: 60px 5%;
    background: #fef9f0;
    text-align: center;
}

.footer h2 {
    font-size: 1.5rem;
    color: #4a3060;
    margin-bottom: 30px;
}

.footer-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto 40px;
}

.footer-card {
    flex: 1;
    min-width: 140px;
}

.footer-card .icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.footer-card h4 {
    color: #4a3060;
    font-size: .95rem;
}

.footer-logo .img-placeholder {
    width: 180px;
    height: 60px;
    margin: 30px auto 16px;
    border-radius: 8px;
}

.footer-signature {
    font-style: italic;
    color: #6b5080;
    margin-top: 20px;
    font-size: 1.1rem;
}

.donation-digit {
    font-size: 7rem;
    color: #c68b3c;
    font-weight: 300;
}

@media (max-width: 1500px) {
    .counter-digits {
        gap: 6px;
    }

    .counter-digit {
        width: 210px;
        height: 200px;
        font-size: 10rem;
    }

    .donation-digit {
        font-size: 5rem;
        color: #c68b3c;
        font-weight: 200;
    }
}

@media (max-width: 1300px) {
    .counter-digits {
        gap: 6px;
    }

    .counter-digit {
        width: 113px;
        height: 120px;
        font-size: 6rem;
    }

    .donation-digit {
        font-size: 4rem;
        font-weight: 120;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 40px 20px;
    }

    .story-inner {
        flex-direction: column-reverse;
    }

    .story-img {
        flex: 0 0 auto;
        max-width: 300px;
        margin: 0 auto;
    }

    .counter-digits {
        gap: 6px;
    }

    .counter-digit {
        width: 80px;
        height: 100px;
        font-size: 4rem;
    }

    .donation-digit {
        font-size: 4rem;
        font-weight: 100;
    }

    @media (max-width: 700px) {
        .counter-digits {
            gap: 4px;
        }

        .counter-digit {
            width: 60px;
            height: 75px;
            font-size: 3rem;
        }

        .donation-digit {
            font-size: 2rem;
            font-weight: 60;
        }
    }
}

/* 返回主站按钮 */
.back-to-main {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: #E1532C;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-main:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.back-to-main svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}