*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffb31f;
    color: #1b2845;
    overflow-x: hidden;
}

.page-shell {
    width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
}

.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    background: #ffe37a;
    border-bottom: 4px solid #000;
    box-shadow: 0 6px 0 #000;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-mark {
    width: 50px;
    height: 50px;
    background: #18c9a5;
    border: 3px solid #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 0 #000;
    border-radius: 100px;
    overflow: hidden;
}

.nav-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-logo-text-main {
    font-size: 22px;
    letter-spacing: 6px;
    font-weight: 900;
}

.nav-logo-text-sub {
    font-size: 12px;
    opacity: 0.85;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
}

.nav-link {
    padding: 6px 14px;
    border: 2px solid #000;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 3px 0 #000;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
    transform: translateY(2px);
    box-shadow: 0 1px 0 #000;
    background: #ffe37a;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 60px;
}

.hero-inner {
    max-width: 1120px;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 2px solid #000;
    background: #ffffff;
    box-shadow: 0 4px 0 #000;
    font-size: 13px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 56px;
    line-height: 1.02;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-title-main {
    display: inline-block;
    padding: 8px 18px;
    background: #00c6ff;
    border-radius: 10px;
    border: 4px solid #000;
    box-shadow: 0 6px 0 #000;
}

.hero-title-shadow {
    position: relative;
    display: inline-block;
    margin-left: 10px;
}

.hero-title-shadow span {
    display: inline-block;
    padding: 8px 18px;
    background: #ff5c7a;
    border-radius: 10px;
    border: 4px solid #000;
    box-shadow: 0 6px 0 #000;
}

.hero-subtitle {
    font-size: 16px;
    max-width: 440px;
    margin-bottom: 20px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.hero-badge {
    padding: 6px 12px;
    border-radius: 999px;
    border: 2px solid #000;
    background: #fff8cc;
    box-shadow: 0 3px 0 #000;
    font-size: 12px;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero-btn-primary {
    padding: 10px 26px;
    border-radius: 999px;
    border: 3px solid #000;
    background: #ff5c7a;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 6px 0 #000;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hero-btn-primary:hover {
    transform: translateY(3px);
    box-shadow: 0 3px 0 #000;
    background: #ff7691;
}

.hero-cta-note {
    font-size: 12px;
    max-width: 210px;
}

.hero-visual {
    position: relative;
    height: 360px;
}

.hero-window-main {
    position: absolute;
    inset: 40px 0 0;
    margin: auto;
    max-width: 420px;
    height: 260px;
    background: #ffffff;
    border-radius: 16px;
    border: 4px solid #000;
    box-shadow: 0 14px 0 #000;
    overflow: hidden;
    transform-origin: center bottom;
}

.hero-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #00c6ff;
    border-bottom: 4px solid #000;
}

.hero-window-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #000;
}

.hero-dot.red {
    background: #ff5c7a;
}

.hero-dot.yellow {
    background: #ffe37a;
}

.hero-dot.green {
    background: #18c9a5;
}

.hero-window-title {
    font-size: 13px;
    font-weight: 700;
}

.hero-window-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    height: calc(100% - 40px);
}

.hero-window-left {
    padding: 16px;
    background: linear-gradient(145deg, #fffdf4, #ffe8bf);
}

.hero-window-right {
    padding: 16px;
    background: #1b2845;
    color: #fff8cc;
    border-left: 3px solid #000;
}

.hero-window-main-title {
    font-size: 22px;
    margin-bottom: 8px;
}

.hero-window-main-sub {
    font-size: 12px;
    margin-bottom: 12px;
}

.hero-window-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.hero-window-tag {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 2px solid #000;
    background: #ffffff;
}

.hero-window-stat {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 2px solid #000;
    background: #18c9a5;
    display: inline-block;
}

.hero-window-checker {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 14px;
    gap: 2px;
    margin-bottom: 12px;
}

.hero-window-checker span {
    background: #fff;
    border-radius: 3px;
    border: 2px solid #000;
}

.hero-window-strip {
    height: 40px;
    background: repeating-linear-gradient(45deg,
            #ff5c7a,
            #ff5c7a 10px,
            #ffe37a 10px,
            #ffe37a 20px);
    border-radius: 10px;
    border: 3px solid #000;
}

.hero-window-sub {
    position: absolute;
    left: -36px;
    bottom: -20px;
    width: 220px;
    height: 120px;
    background: #18c9a5;
    border-radius: 16px;
    border: 4px solid #000;
    box-shadow: 0 10px 0 #000;
    overflow: hidden;
}

.hero-window-sub-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: #ffe37a;
    border-bottom: 4px solid #000;
}

.hero-window-sub-body {
    padding: 10px;
    font-size: 11px;
    line-height: 1.4;
    background: #fdfdfd;
}

.hero-window-floating {
    position: absolute;
    right: -24px;
    top: 45px;
    background: #ffffff;
    border-radius: 14px;
    border: 2px solid #000;
    box-shadow: 0 4px 0 #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding: 6px 14px;
    box-sizing: border-box;
}

.hero-floor {
    position: absolute;
    left: 50%;
    bottom: -80px;
    transform: translateX(-50%);
    width: 520px;
    height: 40px;
    background: #000;
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    overflow: hidden;
}

.hero-floor span:nth-child(odd) {
    background: #fff;
}

.hero-floor span:nth-child(even) {
    background: #000;
}

.hero-parallax-shape {
    position: absolute;
    border-radius: 40px;
    border: 4px solid #000;
    box-shadow: 0 8px 0 #000;
    background: #ff5c7a;
}

.shape-blob {
    width: 120px;
    height: 80px;
    right: 12%;
    bottom: 60px;
    background: #ff8ac0;
}

.shape-pill {
    width: 160px;
    height: 40px;
    left: 8%;
    top: 100px;
    background: #18c9a5;
}

.shape-square {
    width: 60px;
    height: 60px;
    left: 3%;
    bottom: 160px;
    background: #ffe37a;
}

.section {
    position: relative;
    padding: 80px 40px 120px;
}

#section-units,
#section-service,
#section-bank,
#section-chef {
    scroll-margin-top: 100px;
    padding-top: 40px;
    padding-bottom: 80px;
}

.section-heading {
    max-width: 1120px;
    margin: 0 auto 40px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.section-title-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.section-kicker {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    border: 2px solid #000;
    background: #fff8cc;
    font-size: 12px;
    box-shadow: 0 3px 0 #000;
    width: fit-content;
}

.section-title {
    font-size: 32px;
    letter-spacing: 4px;
}

.section-subtitle {
    font-size: 14px;
    max-width: 360px;
}

.section-tag {
    padding: 6px 12px;
    border-radius: 999px;
    border: 2px dashed #000;
    font-size: 12px;
    background: #ffffff;
    box-shadow: 0 3px 0 #000;
}

.features-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.feature-card {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    border: 4px solid #000;
    box-shadow: 0 10px 0 #000;
    padding: 18px 16px 18px;
    overflow: hidden;
}

.feature-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.feature-title {
    font-size: 18px;
}

.feature-tag {
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #18c9a5;
    border: 2px solid #000;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #000;
    background: #ffe37a;
}

.feature-ribbon {
    position: absolute;
    right: -34px;
    top: 16px;
    width: 120px;
    transform: rotate(18deg);
    background: #ff5c7a;
    color: #fff;
    text-align: center;
    font-size: 11px;
    padding: 4px 0;
    border: 3px solid #000;
}

.features-pin-wrapper {
    position: relative;
}

.features-pin {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    background: #1b2845;
    border-radius: 22px;
    border: 4px solid #000;
    box-shadow: 0 16px 0 #000;
    padding: 22px 22px 32px;
    color: #fff8cc;
    overflow: hidden;
}

.features-pin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.features-pin-title {
    font-size: 20px;
}

.features-pin-strip {
    height: 22px;
    background: repeating-linear-gradient(90deg,
            #ff5c7a,
            #ff5c7a 10px,
            #ffe37a 10px,
            #ffe37a 20px);
    border-radius: 8px;
    border: 3px solid #000;
}

.features-pin-cards {
    position: relative;
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.features-pin-card {
    background: #ffffff;
    color: #1b2845;
    border-radius: 18px;
    border: 3px solid #000;
    box-shadow: 0 10px 0 #000;
    padding: 14px 14px 16px;
}

.features-pin-card-title {
    font-size: 15px;
    margin-bottom: 8px;
}

.features-pin-card-body {
    font-size: 12px;
    line-height: 1.5;
}



.footer {
    position: relative;
    padding: 40px 20px 24px;
    background: #1b2845;
    color: #fdfdfd;
    border-top: 4px solid #000;
    box-shadow: 0 -10px 0 #000;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0px;
}

.footer-col {
        flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-info {
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.footer-icp-wrapper {
    display: none;
}

.footer-icp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 999px;
    border: 3px solid #000;
    background: #ffe37a;
    box-shadow: 0 6px 0 #000;
}

.footer-icp a {
    color: #1b2845;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.footer-icp a:hover {
    text-decoration: underline;
}

.footer-badge {
    padding: 6px 12px;
    border-radius: 999px;
    border: 2px solid #fff8cc;
    font-size: 11px;
    color: #fff8cc;
}

.footer-bottom {
    max-width: 960px;
    margin: 18px auto 0;
    font-size: 11px;
    opacity: 0.7;
    text-align: center;
}

@media (max-width: 900px) {
    .nav-bar {
        padding: 8px 18px;
    }

    .hero-window-floating{
        top:15px
    }

    /* 移动端导航栏适配：横向滚动条 */
    .nav-links {
        /* display: none;  <-- 删除隐藏 */
        display: flex;
        position: fixed;
        top: 56px;
        /* 紧贴 Header 底部 */
        left: 0;
        right: 0;
        background: #ffe37a;
        padding: 10px 18px;
        overflow-x: auto;
        white-space: nowrap;
        border-bottom: 3px solid #000;
        gap: 10px;
        z-index: 90;
        -webkit-overflow-scrolling: touch;
        /* 隐藏滚动条但保留功能 */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .hero-btn-primary {
        transform: translate(0px) !important;
    }

    .hero-floor {
        display: none;
    }

    .nav-link {
        flex-shrink: 0;
        font-size: 13px;
        padding: 5px 12px;
        background: rgba(255, 255, 255, 0.6);
    }

    .nav-link.active {
        /* 预留激活态样式 */
        background: #fff;
        font-weight: 700;
    }

    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding: 130px 20px 60px;
        /* 增加顶部 padding 避开双层导航 */
    }

    .hero-visual {
        order: -1;
        height: 280px;
        /* 稍微调小高度 */
        margin-bottom: 20px;
    }

    .section {
        padding: 60px 20px 80px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .features-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .features-pin-cards {
        grid-template-columns: minmax(0, 1fr);
    }



    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .footer-col {
        align-items: center;
    }

    .footer-badge {
        align-self: center;
    }
}

@media (max-width: 520px) {
    .hero-title {
        font-size: 36px;
        /* 稍微缩小 */
        letter-spacing: 2px;
    }

    .section {
        padding: 50px 16px 80px;
        /* 减小左右 padding */
    }

    .hero-window-main {
        max-width: 100%;
        height: 240px;
        /* 稍微调小高度 */
    }

    /* 调整 Ribbon 位置，避免遮挡文字 */
    .feature-ribbon {
        right: -38px;
        top: 14px;
        width: 130px;
        font-size: 10px;
        transform: rotate(20deg);
    }

    .hero-window-sub {
        display: none;
    }



    /* 调整 Hero 按钮布局 */
    .hero-cta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hero-cta-note {
        max-width: 100%;
    }
}
