* {
    box-sizing: border-box;
}

:root {
    --purple: #5F55F5;
    --deep-purple: #231A68;
    --darker-purple: #120B3D;
    --assist-purple: #3524B8;
    --yellow: #FFC400;
    --text: #222222;
    --muted: #5F6472;
    --light-muted: #8A90A3;
    --line: rgba(95,85,245,0.12);
    --shadow: 0 16px 40px rgba(35,26,104,0.10);
    --soft-shadow: 0 8px 24px rgba(35,26,104,0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background: #FFFFFF;
    color: var(--text);
    line-height: 1.75;
    overflow-x: hidden;
}

a {
    color: var(--purple);
    text-decoration: none;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(35,26,104,0.08);
}

.nav-shell {
    max-width: 1200px;
    min-height: 74px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.brand-logo img {
    width: 138px;
    max-height: 50px;
    object-fit: contain;
}

.footer-logo img {
    width: 148px;
    max-height: 58px;
    object-fit: contain;
}

.nav-core {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
}

.nav-core a {
    color: #231A68;
    background: rgba(95,85,245,0.06);
    border-radius: 999px;
    padding: 9px 16px;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.25s ease;
}

.nav-core a:hover,
.nav-core a.active {
    color: #5F55F5;
    background: linear-gradient(135deg, rgba(95,85,245,0.10), rgba(255,196,0,0.12));
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.overview-btn {
    border: 1px solid rgba(95,85,245,0.16);
    background: #FFFFFF;
    color: #231A68;
    font-size: 15px;
    font-weight: 700;
    border-radius: 999px;
    padding: 10px 17px;
    cursor: pointer;
    transition: 0.25s ease;
}

.overview-btn:hover {
    color: #5F55F5;
    background: #FFF8E6;
    border-color: rgba(255,196,0,0.42);
}

.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5F55F5 0%, #7668FF 48%, #FFC400 100%);
    color: #FFFFFF;
    border-radius: 999px;
    padding: 11px 22px;
    min-height: 42px;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 28px rgba(95,85,245,0.28);
    transition: 0.25s ease;
    white-space: nowrap;
}

.main-btn:hover {
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(95,85,245,0.34);
}

.mobile-nav,
.bottom-quick {
    display: none;
}

.mobile-menu-btn {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(95,85,245,0.16);
    background: #FFFFFF;
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: #231A68;
    border-radius: 3px;
}

.panel-mask {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(18,11,61,0.32);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.category-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10001;
    width: min(430px, 92vw);
    height: 100vh;
    background: #FFFFFF;
    box-shadow: 0 18px 48px rgba(35,26,104,0.14);
    transform: translateX(105%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
}

.panel-open .panel-mask,
.drawer-open .panel-mask {
    opacity: 1;
    pointer-events: auto;
}

.panel-open .category-panel {
    transform: translateX(0);
}

.panel-head,
.drawer-head {
    height: 78px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(95,85,245,0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-head strong {
    color: #231A68;
    font-size: 22px;
}

.panel-head button,
.drawer-head button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #F3F5FF;
    color: #231A68;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.panel-body {
    overflow-y: auto;
    padding: 20px 22px 30px;
}

.panel-group {
    padding: 16px 0;
    border-bottom: 1px solid rgba(95,85,245,0.10);
}

.panel-group h3 {
    margin: 0 0 12px;
    color: #231A68;
    font-size: 17px;
}

.panel-group a {
    display: block;
    padding: 11px 12px;
    border-radius: 14px;
    transition: 0.2s ease;
}

.panel-group a:hover {
    background: #F3F5FF;
}

.panel-group span {
    display: block;
    color: #231A68;
    font-weight: 800;
}

.panel-group small {
    display: block;
    color: #5F6472;
    font-size: 13px;
    margin-top: 2px;
}

.mobile-drawer {
    position: fixed;
    z-index: 10001;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(84vw, 320px);
    background: #FFFFFF;
    box-shadow: 18px 0 48px rgba(35,26,104,0.14);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
}

.drawer-open .mobile-drawer {
    transform: translateX(0);
}

.drawer-links {
    padding: 14px 16px 28px;
    overflow-y: auto;
}

.drawer-links a {
    display: flex;
    align-items: center;
    min-height: 45px;
    padding: 0 14px;
    color: #231A68;
    border-radius: 14px;
    font-weight: 700;
}

.drawer-links a:hover,
.drawer-links a.active {
    color: #5F55F5;
    background: linear-gradient(135deg, rgba(95,85,245,0.10), rgba(255,196,0,0.12));
}

.panel-open,
.drawer-open {
    overflow: hidden;
}

.site-main {
    min-height: 60vh;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.hero-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(95,85,245,0.12) 0%, rgba(95,85,245,0) 30%),
        radial-gradient(circle at 88% 18%, rgba(255,196,0,0.16) 0%, rgba(255,196,0,0) 28%),
        linear-gradient(135deg, #FFFFFF 0%, #F7F8FC 52%, #F3F5FF 100%);
    padding: 68px 0 34px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
    align-items: center;
    gap: 42px;
}

.section-kicker,
.tag,
.label,
.num,
.badge {
    color: #5F55F5;
    font-weight: 800;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(95,85,245,0.08);
    margin-bottom: 14px;
}

h1,
h2,
h3,
.section-title {
    color: #231A68;
    line-height: 1.24;
}

h1 {
    font-size: clamp(34px, 5vw, 58px);
    margin: 0 0 18px;
    letter-spacing: -0.03em;
}

h2,
.section-title {
    font-size: clamp(26px, 3.2vw, 38px);
    margin: 0 0 14px;
}

h3 {
    font-size: 21px;
}

.lead {
    font-size: 18px;
    color: #5F6472;
    margin: 0 0 24px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.text-link {
    color: #5F55F5;
    font-weight: 800;
}

.hero-visual {
    background: #FFFFFF;
    border: 1px solid rgba(95,85,245,0.12);
    border-radius: 34px;
    padding: 22px;
    box-shadow: 0 16px 40px rgba(35,26,104,0.10);
    position: relative;
    overflow: hidden;
}

.hero-visual:before,
.hero-visual:after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.hero-visual:before {
    width: 150px;
    height: 150px;
    background: rgba(95,85,245,0.11);
    top: -50px;
    right: -48px;
}

.hero-visual:after {
    width: 110px;
    height: 110px;
    background: rgba(255,196,0,0.16);
    left: -38px;
    bottom: -36px;
}

.hero-visual img {
    max-height: 330px;
    width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 34px;
}

.card,
.zone-card,
.info-card,
.stat-card,
.quote-card,
.faq-card,
.detail-card,
.notice-card {
    background: #FFFFFF;
    border: 1px solid rgba(95,85,245,0.12);
    box-shadow: 0 16px 40px rgba(35,26,104,0.10);
    border-radius: 24px;
}

.summary-cards .card {
    padding: 20px;
}

.summary-cards .card strong {
    color: #231A68;
    display: block;
    margin: 6px 0 5px;
    font-size: 18px;
}

.summary-cards .card p,
.zone-card p,
.info-card p,
.detail-card p,
.notice-card p,
.quote-card p,
.faq-card p,
.detail-hero p,
.footer-brand p {
    color: #5F6472;
}

.section {
    padding: 68px 0;
}

.section.soft {
    background: #F7F8FC;
}

.section.tint {
    background: #F9FAFF;
}

.category-pills {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 12px;
    scrollbar-width: none;
}

.category-pills::-webkit-scrollbar {
    display: none;
}

.category-pill {
    min-width: 212px;
    border-radius: 999px;
    border: 1px solid rgba(95,85,245,0.14);
    background: rgba(255,255,255,0.86);
    padding: 12px 18px;
    transition: 0.25s ease;
}

.category-pill:hover {
    border-color: rgba(255,196,0,0.72);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(35,26,104,0.08);
}

.category-pill span {
    color: #FFC400;
    font-weight: 900;
    margin-right: 8px;
}

.category-pill strong {
    color: #231A68;
    display: block;
    margin-bottom: 2px;
}

.category-pill small {
    color: #5F6472;
}

.service-strip {
    border-radius: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F3F5FF 58%, #FFF8E6 100%);
    border: 1px solid rgba(95,85,245,0.12);
    box-shadow: var(--shadow);
}

.service-strip p {
    margin: 0;
    color: #5F6472;
    font-size: 18px;
}

.two-col,
.app-band,
.notice-grid,
.safe-grid,
.detail-hero,
.detail-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.info-card {
    padding: 24px;
}

.info-card .content-img,
.zone-card img,
.app-section img,
.hero-visual img,
.detail-hero img,
.detail-card img,
.app-band img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.info-card .content-img {
    width: 100%;
    max-height: 230px;
    object-fit: contain;
    margin: 4px auto 18px;
    border-radius: 20px;
    background: #F9FAFF;
}

.info-card ul,
.detail-card ul,
.notice-card ul {
    margin: 16px 0 0;
    padding-left: 20px;
    color: #5F6472;
}

.info-card li,
.detail-card li,
.notice-card li {
    margin: 6px 0;
}

.zone-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.zone-card {
    overflow: hidden;
}

.zone-card img {
    width: 100%;
    max-height: 170px;
    object-fit: contain;
    background: #F9FAFF;
    padding: 10px;
}

.zone-card .zone-body {
    padding: 20px;
}

.app-band {
    align-items: center;
    border-radius: 32px;
    padding: 32px;
    background: linear-gradient(135deg, #F3F5FF 0%, #FFFFFF 54%, #FFF8E6 100%);
    border: 1px solid rgba(95,85,245,0.12);
    box-shadow: var(--shadow);
}

.app-band img {
    max-height: 300px;
    margin: 0 auto;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    list-style: none;
    margin: 18px 0;
}

.feature-list li {
    background: #FFFFFF;
    border: 1px solid rgba(95,85,245,0.10);
    border-radius: 16px;
    padding: 10px 12px;
    color: #231A68;
    font-weight: 700;
}

.notice-card {
    padding: 24px;
}

.safe-card {
    border-radius: 28px;
    border: 1px solid rgba(95,85,245,0.12);
    padding: 26px;
    background: #FFFFFF;
    box-shadow: var(--shadow);
}

.safe-card.with-image {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 22px;
    align-items: center;
}

.safe-card img {
    max-height: 260px;
    object-fit: contain;
    margin: auto;
}

.quote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.quote-card {
    padding: 22px;
}

.quote-card strong {
    color: #231A68;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-card {
    padding: 22px;
}

.faq-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.about-brief {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 28px;
    align-items: center;
}

.about-brief .stat-card {
    padding: 26px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F3F5FF 72%);
}

.compliance-box {
    border-radius: 30px;
    padding: 28px;
    background: #FFF8E6;
    border: 1px solid rgba(255,196,0,0.34);
}

.compliance-box p {
    margin: 0;
    color: #5F6472;
}

.detail-hero {
    padding: 64px 0;
    align-items: center;
}

.detail-hero .visual-card {
    background: #FFFFFF;
    border: 1px solid rgba(95,85,245,0.12);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 22px;
}

.detail-hero img {
    max-height: 300px;
    margin: 0 auto;
}

.detail-card {
    padding: 24px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.detail-split {
    align-items: start;
}

.step-list {
    counter-reset: step;
    display: grid;
    gap: 14px;
}

.step-list li {
    counter-increment: step;
    list-style: none;
    background: #FFFFFF;
    border: 1px solid rgba(95,85,245,0.12);
    border-radius: 20px;
    padding: 18px 18px 18px 58px;
    position: relative;
    color: #5F6472;
}

.step-list li:before {
    content: counter(step);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #5F55F5;
    color: #FFFFFF;
    display: grid;
    place-items: center;
    font-weight: 900;
}

.contact-list {
    display: grid;
    gap: 12px;
}

.contact-list div {
    border: 1px solid rgba(95,85,245,0.12);
    background: #FFFFFF;
    border-radius: 18px;
    padding: 16px;
}

.site-footer {
    background: #120B3D;
    color: #EDEBFF;
    padding: 54px 0 0;
}

.footer-inner {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 0.7fr);
    gap: 30px;
}

.footer-brand p,
.footer-col a,
.footer-bottom {
    color: #EDEBFF;
    opacity: 0.88;
}

.footer-note {
    font-size: 14px;
}

.footer-col h3 {
    color: #FFFFFF;
    margin-top: 0;
}

.footer-col a {
    display: block;
    margin: 9px 0;
}

.footer-bottom {
    border-top: 1px solid rgba(237,235,255,0.14);
    margin-top: 38px;
    padding: 18px max(20px, calc((100% - 1160px) / 2));
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
}

@media (max-width: 1040px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    .mobile-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-register {
        padding: 9px 14px;
        min-height: 38px;
        font-size: 14px;
    }

    .bottom-quick {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9998;
        height: 62px;
        background: #FFFFFF;
        border-top: 1px solid rgba(95,85,245,0.12);
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        box-shadow: 0 -8px 22px rgba(35,26,104,0.08);
    }

    .bottom-quick a {
        color: #5F6472;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
    }

    .bottom-quick a span {
        font-size: 16px;
        line-height: 1;
        margin-bottom: 3px;
    }

    .bottom-quick a.active {
        color: #5F55F5;
    }

    body {
        padding-bottom: 62px;
    }

    .hero-grid,
    .detail-hero,
    .two-col,
    .app-band,
    .notice-grid,
    .safe-grid,
    .detail-split,
    .about-brief {
        grid-template-columns: 1fr;
    }

    .summary-cards,
    .zone-grid,
    .detail-grid,
    .quote-grid,
    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .safe-card.with-image {
        grid-template-columns: 1fr;
    }

    .hero-section {
        padding-top: 42px;
    }

    .hero-visual img,
    .detail-hero img {
        max-height: 250px;
    }
}

@media (max-width: 640px) {
    .nav-shell {
        min-height: 64px;
        padding: 0 14px;
    }

    .brand-logo img {
        width: 112px;
        max-height: 42px;
    }

    .container {
        width: min(100% - 28px, 1160px);
    }

    .section {
        padding: 46px 0;
    }

    h1 {
        font-size: 34px;
    }

    .lead {
        font-size: 16px;
    }

    .summary-cards,
    .zone-grid,
    .detail-grid,
    .quote-grid,
    .footer-inner,
    .feature-list {
        grid-template-columns: 1fr;
    }

    .hero-visual,
    .service-strip,
    .app-band,
    .safe-card,
    .compliance-box,
    .detail-card,
    .notice-card,
    .quote-card,
    .faq-card {
        border-radius: 22px;
    }

    .hero-visual {
        padding: 16px;
    }

    .hero-visual img,
    .app-band img,
    .detail-hero img,
    .safe-card img {
        max-height: 210px;
    }

    .info-card .content-img,
    .zone-card img {
        max-height: 160px;
    }

    .app-band {
        padding: 22px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom span {
        display: block;
        margin: 6px 0;
    }
}
