* {
    box-sizing: border-box;
}

:root {
    --bg: #080611;
    --bg-deep: #0d0918;
    --bg-soft: #151022;
    --card: #16111f;
    --primary: #c78bff;
    --primary-strong: #a96bff;
    --text: #f5f2ff;
    --text-soft: #c8bbdd;
    --muted: #9e8fb6;
    --border: rgba(199, 139, 255, 0.18);
    --shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
    --glow: 0 0 26px rgba(167, 99, 255, 0.28);
    --container: 1180px;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(122, 43, 255, 0.13), transparent 28%),
        radial-gradient(circle at 85% 32%, rgba(199, 139, 255, 0.08), transparent 24%),
        var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body.drawer-open {
    overflow: hidden;
}

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

img {
    display: block;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container,
.section-shell {
    width: min(var(--container), calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    background: rgba(8, 6, 17, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(199, 139, 255, 0.16);
}

.topbar {
    min-height: 76px;
    display: grid;
    grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
    align-items: center;
    gap: 24px;
}

.logo-text {
    width: max-content;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 2px;
    background: linear-gradient(180deg, #fff 0%, #c78bff 42%, #7a2bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 12px rgba(199, 139, 255, 0.62), 0 0 32px rgba(122, 43, 255, 0.46);
}

.nav-core {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.nav-core a {
    color: var(--text);
    padding: 9px 12px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: 0.2s ease;
}

.nav-core a:hover,
.nav-core a.active {
    color: var(--primary);
    background: rgba(199, 139, 255, 0.10);
    box-shadow: 0 0 18px rgba(199, 139, 255, 0.16);
}

.main-btn,
.ghost-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.main-btn {
    color: #fff;
    background: linear-gradient(180deg, #d9a8ff 0%, #8b45ff 55%, #5a19c9 100%);
    box-shadow: 0 12px 28px rgba(167, 99, 255, 0.24);
}

.main-btn:hover,
.ghost-btn:hover {
    transform: translateY(-2px);
}

.header-register {
    justify-self: end;
    flex: 0 0 auto;
    min-width: 88px;
}

.ghost-btn {
    color: var(--primary);
    border: 1px solid rgba(199, 139, 255, 0.32);
    background: rgba(199, 139, 255, 0.06);
}

.channel-nav {
    height: 55px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    background: rgba(13, 9, 24, 0.94);
    border-top: 1px solid rgba(199, 139, 255, 0.08);
}

.channel-inner {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.channel-nav a {
    padding: 7px 13px;
    color: var(--text-soft);
    border: 1px solid rgba(199, 139, 255, 0.14);
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.3;
    transition: 0.2s ease;
}

.channel-nav a:hover,
.channel-nav a.active {
    color: var(--primary);
    border-color: rgba(199, 139, 255, 0.45);
    background: rgba(199, 139, 255, 0.08);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--bg-deep);
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    border-radius: 4px;
    background: var(--primary);
}

.site-main {
    min-height: 60vh;
    padding-top: 155px;
}

.hero-banner,
.page-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        linear-gradient(115deg, rgba(21, 16, 34, 0.98), rgba(13, 9, 24, 0.88)),
        radial-gradient(circle at 80% 20%, rgba(167, 99, 255, 0.22), transparent 35%);
    box-shadow: var(--shadow), var(--glow);
}

.hero-banner {
    min-height: 510px;
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding: 56px;
}

.hero-copy,
.page-hero-copy {
    position: relative;
    z-index: 2;
}

.hero-copy h1,
.page-hero h1 {
    margin: 12px 0 18px;
    color: var(--primary);
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.16;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(199, 139, 255, 0.20);
}

.hero-copy p,
.lead {
    max-width: 680px;
    margin: 0;
    color: var(--text-soft);
    font-size: 17px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-strong);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--primary-strong);
    box-shadow: 0 0 10px rgba(167, 99, 255, 0.8);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-media,
.page-hero-media {
    min-width: 0;
}

.media-shell {
    position: relative;
    min-height: 180px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(199, 139, 255, 0.10), rgba(8, 6, 17, 0.44));
    border: 1px solid rgba(199, 139, 255, 0.12);
}

.media-shell.media-fallback::after {
    content: attr(data-fallback);
    color: var(--text-soft);
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-img,
.content-img,
.zone-card img,
.info-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 330px;
    object-fit: contain;
}

.hero-banner .media-shell {
    min-height: 360px;
}

.hero-banner .hero-img {
    max-height: 380px;
}

.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
    align-items: center;
    gap: 34px;
    margin-top: 28px;
    padding: 48px;
}

.page-hero h1 {
    font-size: clamp(34px, 4.5vw, 56px);
}

.page-hero-media .media-shell {
    min-height: 290px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 13px;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.content-section {
    padding-top: 86px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 30px;
}

.section-heading h2,
.compliance-panel h2,
.split-copy h2,
.promo-panel h2 {
    margin: 10px 0 12px;
    color: var(--primary);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.25;
    text-shadow: 0 0 20px rgba(199, 139, 255, 0.20);
}

.section-heading p,
.split-copy p,
.promo-panel p {
    margin: 0;
    color: var(--text-soft);
}

.service-summary,
.feature-grid,
.quick-grid,
.zone-grid,
.review-grid,
.steps-grid,
.notice-grid {
    display: grid;
    gap: 18px;
}

.service-summary {
    grid-template-columns: repeat(4, 1fr);
}

.feature-grid,
.quick-grid {
    grid-template-columns: repeat(4, 1fr);
}

.zone-grid,
.review-grid {
    grid-template-columns: repeat(2, 1fr);
}

.steps-grid {
    grid-template-columns: repeat(3, 1fr);
}

.summary-card,
.card,
.zone-card,
.info-card,
.review-card,
.step-card,
.notice-card,
.promo-panel,
.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 18px;
}

.summary-card,
.info-card,
.notice-card {
    padding: 26px;
}

.summary-card h3,
.info-card h3,
.zone-card h3,
.step-card h3,
.notice-card h3,
.quick-card h3 {
    margin: 8px 0 10px;
    color: var(--text);
    font-size: 20px;
}

.summary-card p,
.info-card p,
.zone-card p,
.step-card p,
.notice-card p,
.quick-card p {
    margin: 0;
    color: var(--text-soft);
}

.card-index {
    display: inline-flex;
    color: var(--primary-strong);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.text-link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 800;
}

.text-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.quick-card {
    min-height: 178px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(22, 17, 31, 0.98), rgba(13, 9, 24, 0.96));
    border: 1px solid var(--border);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 44px;
}

.split-section.reverse {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.split-section.reverse .split-media {
    order: 2;
}

.split-copy ul {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.split-copy li {
    position: relative;
    margin: 10px 0;
    padding-left: 22px;
    color: var(--text-soft);
}

.split-copy li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-strong);
    box-shadow: 0 0 12px rgba(167, 99, 255, 0.8);
}

.split-media .media-shell {
    min-height: 290px;
}

.zone-card {
    overflow: hidden;
}

.zone-card .media-shell {
    min-height: 210px;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
}

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

.promo-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) auto;
    align-items: center;
    gap: 30px;
    padding: 38px;
}

.promo-panel::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -110px;
    border-radius: 50%;
    background: rgba(167, 99, 255, 0.15);
    filter: blur(15px);
}

.promo-panel > * {
    position: relative;
    z-index: 1;
}

.review-card {
    margin: 0;
    padding: 26px;
}

.review-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 16px;
}

.review-card footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    color: var(--muted);
    font-size: 13px;
}

.review-card strong {
    color: var(--primary);
}

.step-card {
    display: flex;
    gap: 18px;
    padding: 24px;
}

.step-card > span {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    font-weight: 900;
    background: linear-gradient(180deg, #b878ff, #641fd6);
    box-shadow: 0 10px 24px rgba(167, 99, 255, 0.25);
}

.step-card h3 {
    margin-top: 0;
}

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

.faq-item {
    overflow: hidden;
}

.faq-item summary {
    position: relative;
    padding: 20px 54px 20px 22px;
    cursor: pointer;
    color: var(--text);
    font-weight: 800;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 17px;
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--text-soft);
}

.compliance-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 40px;
    margin-top: 86px;
    margin-bottom: 86px;
    padding: 38px;
    border-radius: 22px;
    border: 1px solid rgba(199, 139, 255, 0.24);
    background: linear-gradient(145deg, rgba(21, 16, 34, 0.96), rgba(8, 6, 17, 0.98));
    box-shadow: var(--shadow);
}

.compliance-grid {
    display: grid;
    gap: 12px;
}

.compliance-grid p {
    margin: 0;
    padding: 14px 16px;
    color: var(--text-soft);
    border-left: 2px solid var(--primary-strong);
    background: rgba(199, 139, 255, 0.05);
    border-radius: 0 12px 12px 0;
}

.site-footer {
    padding: 60px 0 28px;
    color: var(--text-soft);
    background: #05030a;
    border-top: 1px solid rgba(199, 139, 255, 0.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 34px;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 16px;
}

.footer-grid a:not(.logo-text) {
    display: block;
    margin: 8px 0;
    color: var(--text-soft);
    font-size: 14px;
}

.footer-grid a:hover {
    color: var(--primary);
}

.footer-brand p {
    max-width: 460px;
    margin: 18px 0 0;
    color: var(--muted);
}

.footer-notice {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding-top: 22px;
    border-top: 1px solid rgba(199, 139, 255, 0.10);
    color: var(--muted);
    font-size: 12px;
}

.footer-notice p {
    margin: 0;
}

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

@media (max-width: 1080px) {
    .topbar {
        grid-template-columns: minmax(150px, 1fr) auto minmax(120px, 1fr);
        gap: 12px;
    }

    .nav-core {
        gap: 2px;
    }

    .nav-core a {
        padding-inline: 9px;
        font-size: 14px;
    }

    .hero-banner {
        padding: 42px;
    }

    .feature-grid,
    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .site-header {
        min-height: 68px;
    }

    .topbar {
        min-height: 68px;
        grid-template-columns: 48px 1fr auto;
        gap: 12px;
    }

    .topbar > .logo-text {
        justify-self: center;
        font-size: 25px;
    }

    .nav-core,
    .channel-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .header-register {
        min-width: 72px;
        min-height: 40px;
        padding: 8px 16px;
    }

    .site-main {
        padding-top: 68px;
    }

    .hero-banner,
    .page-hero {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        min-height: 0;
        margin-top: 18px;
        padding: 38px;
    }

    .hero-media {
        order: -1;
    }

    .hero-banner .media-shell,
    .page-hero-media .media-shell {
        min-height: 250px;
    }

    .page-hero {
        padding: 36px;
    }

    .service-summary {
        grid-template-columns: repeat(2, 1fr);
    }

    .split-section,
    .split-section.reverse {
        grid-template-columns: 1fr;
    }

    .split-section.reverse .split-media {
        order: 0;
    }

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

    .compliance-panel {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .drawer-overlay {
        position: fixed;
        z-index: 1190;
        inset: 0;
        display: block;
        opacity: 0;
        visibility: hidden;
        background: rgba(0, 0, 0, 0.68);
        transition: 0.25s ease;
    }

    .mobile-drawer {
        position: fixed;
        z-index: 1200;
        inset: 0 auto 0 0;
        width: min(84vw, 320px);
        display: flex;
        flex-direction: column;
        transform: translateX(-103%);
        background: #0d0918;
        border-right: 1px solid var(--border);
        box-shadow: 24px 0 60px rgba(0, 0, 0, 0.58);
        transition: transform 0.28s ease;
    }

    .drawer-open .drawer-overlay {
        opacity: 1;
        visibility: visible;
    }

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

    .drawer-head {
        min-height: 70px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        border-bottom: 1px solid var(--border);
    }

    .drawer-head .logo-text {
        font-size: 25px;
    }

    .drawer-close {
        width: 40px;
        height: 40px;
        border: 1px solid var(--border);
        border-radius: 12px;
        color: var(--primary);
        background: var(--bg-soft);
        font-size: 28px;
        line-height: 1;
    }

    .drawer-nav {
        flex: 1;
        overflow-y: auto;
        padding: 16px;
    }

    .drawer-nav a {
        display: block;
        margin: 4px 0;
        padding: 11px 14px;
        border-radius: 12px;
        color: var(--text-soft);
        font-weight: 700;
    }

    .drawer-nav a:hover,
    .drawer-nav a.active {
        color: var(--primary);
        background: rgba(199, 139, 255, 0.10);
    }

    .drawer-note {
        padding: 16px 20px 22px;
        color: var(--muted);
        font-size: 12px;
        border-top: 1px solid var(--border);
    }
}

@media (max-width: 640px) {
    .container,
    .section-shell {
        width: min(100% - 28px, var(--container));
    }

    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }

    .logo-text {
        letter-spacing: 1px;
    }

    .hero-banner,
    .page-hero {
        border-radius: 22px;
    }

    .hero-banner {
        padding: 24px;
    }

    .page-hero {
        padding: 26px;
    }

    .hero-copy h1,
    .page-hero h1 {
        font-size: 36px;
    }

    .hero-copy p,
    .lead {
        font-size: 15px;
    }

    .hero-banner .media-shell,
    .page-hero-media .media-shell,
    .split-media .media-shell {
        min-height: 190px;
    }

    .hero-banner .hero-img,
    .hero-img,
    .content-img {
        max-height: 230px;
    }

    .content-section {
        padding-top: 64px;
    }

    .service-summary,
    .feature-grid,
    .quick-grid,
    .zone-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .summary-card,
    .info-card,
    .notice-card,
    .review-card,
    .quick-card,
    .zone-card-body,
    .step-card {
        padding: 21px;
    }

    .promo-panel {
        grid-template-columns: 1fr;
        padding: 26px;
    }

    .compliance-panel {
        gap: 22px;
        margin-top: 64px;
        margin-bottom: 64px;
        padding: 26px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-notice {
        flex-direction: column;
    }

    .mobile-bottom-nav {
        position: fixed;
        z-index: 980;
        left: 10px;
        right: 10px;
        bottom: max(10px, env(safe-area-inset-bottom));
        height: 58px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border: 1px solid rgba(199, 139, 255, 0.22);
        border-radius: 18px;
        background: rgba(13, 9, 24, 0.96);
        backdrop-filter: blur(16px);
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 800;
    }

    .mobile-bottom-nav a span {
        color: var(--text-soft);
        font-size: 18px;
        line-height: 1;
    }

    .mobile-bottom-nav a.active,
    .mobile-bottom-nav a.active span {
        color: var(--primary);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
