* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-transparent {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.quick-nav-link {
    position: relative;
}

.quick-nav-link.is-active {
    color: #f97316;
}

.quick-nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.4rem;
    height: 2px;
    border-radius: 999px;
    background: #f97316;
}

.zipeng-hero-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #334155;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.zipeng-hero-control:hover {
    transform: translateY(-1px);
    border-color: rgba(249, 115, 22, 0.28);
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.hero-indicator {
    width: 0.7rem;
    height: 0.7rem;
    border: 0;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.45);
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.hero-indicator.is-active {
    width: 1.9rem;
    background: #f97316;
}

.hero-indicator:hover {
    transform: translateY(-1px);
}

.case-card {
    display: none;
}

.case-card.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.blob,
.zipeng-blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
    animation: float 8s infinite ease-in-out alternate;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(20px, -30px) scale(1.1);
    }
}

body.modal-open {
    overflow: hidden;
}

.zipeng-richtext {
    line-height: 1.95;
}

.zipeng-richtext p,
.zipeng-richtext ul,
.zipeng-richtext ol,
.zipeng-richtext blockquote {
    margin: 0 0 1.25rem;
}

.zipeng-richtext h1,
.zipeng-richtext h2,
.zipeng-richtext h3,
.zipeng-richtext h4 {
    margin: 0 0 1rem;
    color: #0f172a;
    line-height: 1.25;
}

.zipeng-richtext ul,
.zipeng-richtext ol {
    padding-left: 1.25rem;
}

.zipeng-richtext li + li {
    margin-top: 0.4rem;
}

.zipeng-richtext img {
    border-radius: 24px;
    margin: 1.5rem 0;
}

.zipeng-richtext blockquote {
    border-left: 4px solid #f97316;
    background: #fff7ed;
    padding: 1rem 1.25rem;
    border-radius: 0 18px 18px 0;
    color: #9a3412;
}

.zipeng-input {
    width: 100%;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 0.95rem 1rem;
    font: inherit;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.zipeng-input::placeholder {
    color: #94a3b8;
}

.zipeng-input:focus {
    outline: none;
    border-color: rgba(249, 115, 22, 0.45);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
    transform: translateY(-1px);
}

.zipeng-textarea {
    resize: vertical;
    min-height: 180px;
}
