/* 首页重设计（Memphis 主题保持） */

.hero {
    min-height: calc(100vh - 90px);
    position: relative;
    display: flex;
    align-items: center;
    overflow: clip;
    background: linear-gradient(135deg, var(--cream) 0%, #fff9e6 55%, #fff4d6 100%);
    padding: 4rem 0 3rem;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    will-change: transform;
}

.shape-purple-tall {
    width: 110px;
    height: 240px;
    border: 4px solid var(--black);
    border-radius: 56px;
    background: var(--purple);
    left: 4%;
    top: 14%;
    animation: float-shape 6.2s ease-in-out infinite;
}

.shape-orange-round {
    width: 170px;
    height: 150px;
    border: 4px solid var(--black);
    border-radius: 50%;
    background: var(--orange);
    right: 6%;
    top: 8%;
    animation: float-shape 7.2s ease-in-out infinite 0.3s;
}

.shape-yellow-blob {
    width: 140px;
    height: 120px;
    border: 4px solid var(--black);
    border-radius: 44% 56% 52% 48%;
    background: var(--yellow);
    right: 10%;
    bottom: 16%;
    animation: float-shape 6.8s ease-in-out infinite 0.8s;
}

.shape-pink-triangle {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid var(--pink);
    left: 18%;
    top: 7%;
    filter: drop-shadow(4px 4px 0 rgba(0, 0, 0, 0.1));
    animation: wiggle-shape 4.2s ease-in-out infinite;
}

.shape-cyan-circle {
    width: 96px;
    height: 96px;
    border: 4px solid var(--black);
    border-radius: 50%;
    background: var(--cyan);
    right: 26%;
    bottom: 30%;
    animation: bounce-shape 3s ease-in-out infinite;
}

.shape-purple-ring {
    width: 78px;
    height: 78px;
    border: 6px solid var(--purple);
    border-radius: 50%;
    top: 5%;
    right: 36%;
    animation: pulse-ring 3.2s ease-in-out infinite;
}

.shape-orange-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--orange);
    left: 46%;
    top: 28%;
    animation: pulse-dot 2.2s ease-in-out infinite;
}

.shape-cyan-strip {
    width: 60px;
    height: 12px;
    border: 3px solid var(--black);
    border-radius: 8px;
    background: var(--cyan);
    right: 14%;
    top: 44%;
    transform: rotate(28deg);
    animation: float-shape 4.8s ease-in-out infinite 0.5s;
}

.hero-content {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    position: relative;
}

.hero-kicker {
    margin: 0 0 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border: 3px solid var(--black);
    border-radius: 999px;
    background: var(--white);
    color: var(--orange);
    font-family: var(--font-hand);
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 4px 4px 0 var(--black);
    transform: rotate(-2deg);
}

.hero-title {
    margin: 0;
    font-size: clamp(2.3rem, 5.5vw, 4.7rem);
    line-height: 1.08;
    font-weight: 900;
    color: var(--black);
}

.hero-title span {
    display: block;
}

.hero-title .highlight {
    display: inline-block;
    position: relative;
    color: var(--purple);
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: 8px;
    height: 20px;
    border-radius: 4px;
    background: var(--yellow);
    opacity: 0.8;
    z-index: -1;
    transform: rotate(-1.4deg);
}

.hero-desc {
    margin: 1.3rem 0 0;
    max-width: 36ch;
    color: var(--text-secondary);
    font-size: 1.12rem;
    line-height: 1.8;
}

.hero-cta {
    margin-top: 2.1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-memphis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.85rem 1.7rem;
    border: 4px solid var(--black);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn-memphis-primary {
    color: var(--white);
    background: var(--orange);
    box-shadow: 6px 6px 0 var(--black);
}

.btn-memphis-primary:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--black);
    background: var(--purple);
}

.btn-memphis-secondary {
    color: var(--black);
    background: var(--white);
    box-shadow: 6px 6px 0 var(--black);
}

.btn-memphis-secondary:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 var(--black);
    background: var(--yellow);
}

.hero-right {
    display: flex;
    justify-content: center;
}

.hero-stage {
    width: min(520px, 100%);
    border: 4px solid var(--black);
    border-radius: 24px;
    padding: 2rem;
    background: var(--white);
    box-shadow: 12px 12px 0 var(--black);
    transform: rotate(1deg);
}

.hero-stage-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 900;
    color: var(--black);
}

.hero-stage-text {
    margin: 0.9rem 0 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-stage-characters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    align-items: end;
    min-height: 120px;
}

.hero-stage-characters .character {
    transform: scale(0.92);
}

.home-highlights {
    padding: 5rem 0;
    background: var(--white);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-label {
    margin: 0;
    display: inline-flex;
    padding: 0.45rem 1rem;
    border: 3px solid var(--black);
    border-radius: 999px;
    background: var(--white);
    color: var(--orange);
    font-family: var(--font-hand);
    font-weight: 700;
    box-shadow: 3px 3px 0 var(--black);
}

.section-title {
    margin: 0.9rem 0 0;
    font-size: clamp(1.85rem, 4vw, 3rem);
    font-weight: 900;
    color: var(--black);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.highlight-card {
    border: 4px solid var(--black);
    border-radius: 20px;
    background: var(--cream);
    padding: 1.5rem;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.18);
}

.highlight-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--black);
}

.highlight-card p {
    margin: 0.8rem 0 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.portfolio-section {
    padding: 5.5rem 0;
    background: linear-gradient(180deg, #fffdf4 0%, var(--white) 40%, #fffdf4 100%);
}

.text-center-more {
    text-align: center;
    margin-top: 2rem;
}

.home-cta {
    padding: 0 0 5rem;
    background: var(--white);
}

.home-cta-panel {
    border: 4px solid var(--black);
    border-radius: 24px;
    background: linear-gradient(140deg, var(--purple-light), var(--yellow));
    box-shadow: 10px 10px 0 var(--black);
    padding: 2rem;
    text-align: center;
}

.home-cta-panel h2 {
    margin: 0;
    color: var(--black);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
}

.home-cta-panel p {
    margin: 0.9rem auto 1.4rem;
    max-width: 50ch;
    color: #232323;
    line-height: 1.7;
}

@keyframes float-shape {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -24px, 0); }
}

@keyframes wiggle-shape {
    0%, 100% { transform: rotate(-8deg); }
    50% { transform: rotate(8deg); }
}

@keyframes bounce-shape {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-16px); }
}

@keyframes pulse-ring {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.7; }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.25); }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-left,
    .hero-right {
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding: 2.3rem 0 2rem;
    }

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

    .hero-title {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-memphis {
        width: min(320px, 100%);
    }

    .hero-stage {
        padding: 1.3rem;
        transform: none;
    }

    .hero-stage-text {
        font-size: 0.96rem;
    }

    .hero-stage-characters {
        min-height: 92px;
    }

    .hero-stage-characters .character {
        transform: scale(0.8);
    }

    .shape-purple-tall,
    .shape-orange-round,
    .shape-yellow-blob {
        transform: scale(0.65);
        opacity: 0.5;
    }

    .shape-pink-triangle,
    .shape-cyan-circle,
    .shape-purple-ring,
    .shape-orange-dot,
    .shape-cyan-strip {
        opacity: 0.35;
    }

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

    .home-highlights {
        padding: 4rem 0;
    }

    .portfolio-section {
        padding: 4.5rem 0;
    }

    .home-cta {
        padding-bottom: 4rem;
    }
}
