:root {
    --bg: #f4fbff;
    --surface: #ffffff;
    --surface-tint: #e8f7ff;
    --primary: #10aeea;
    --primary-dark: #1688d8;
    --heading: #155a9d;
    --text: #24384a;
    --muted: #60758a;
    --line: rgba(16, 174, 234, 0.18);
    --footer: #073a68;
    --footer-text: #eaf8ff;
    --gradient: linear-gradient(135deg, #35d7ff 0%, #1688d8 100%);
    --shadow: 0 18px 50px rgba(21, 90, 157, 0.10);
    --shadow-soft: 0 10px 30px rgba(21, 90, 157, 0.08);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--footer);
    color: #fff;
    transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.section-shell { width: min(100% - 32px, 1240px); margin-inline: auto; }
.site-main { padding-top: var(--header-height); }
.content-section { padding: clamp(56px, 7vw, 96px) 0; }
.content-section--tint { background: linear-gradient(180deg, rgba(232,247,255,.76), rgba(244,251,255,.78)); }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    height: var(--header-height);
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(21,90,157,.08); }
.header-inner {
    width: min(100% - 32px, 1360px);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.2vw, 22px);
}
.brand-logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand-logo img { width: clamp(118px, 10.8vw, 160px); height: auto; object-fit: contain; }
.desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, .58vw, 11px);
    overflow: hidden;
}
.desktop-nav a {
    position: relative;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px clamp(2px, .22vw, 5px);
    color: #355a76;
    font-size: clamp(12px, .85vw, 14px);
    font-weight: 600;
    transition: color .2s ease;
}
.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 25%; right: 25%; bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform .2s ease;
}
.desktop-nav a:hover, .desktop-nav a.active { color: var(--primary-dark); }
.desktop-nav a:hover::after, .desktop-nav a.active::after { transform: scaleX(1); }
.header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; }
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 22px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--gradient);
    box-shadow: 0 10px 24px rgba(22,136,216,.22);
    font-weight: 700;
    white-space: nowrap;
    transition: transform .2s ease, box-shadow .2s ease;
}
.main-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22,136,216,.28); }
.header-register { min-width: 78px; padding-inline: 20px; }
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--heading); }

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1090;
    background: rgba(3, 34, 61, .45);
    opacity: 0;
    transition: opacity .25s ease;
}
.drawer-backdrop.is-visible { opacity: 1; }
.mobile-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 1100;
    width: min(88vw, 380px);
    padding: 20px;
    overflow-y: auto;
    background: #fff;
    box-shadow: -20px 0 60px rgba(7,58,104,.20);
    transform: translateX(105%);
    transition: transform .28s ease;
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-logo img { width: 142px; height: auto; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--surface-tint); color: var(--heading); font-size: 28px; line-height: 1; }
.mobile-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px 0; }
.mobile-nav a { padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--heading); background: #fbfeff; font-weight: 600; }
.mobile-nav a:hover { background: var(--surface-tint); }
.drawer-register { width: 100%; }

.carousel-section { padding: 24px 0 0; }
.carousel {
    position: relative;
    width: min(100% - 32px, 1360px);
    margin-inline: auto;
    overflow: hidden;
    aspect-ratio: 16 / 6.15;
    min-height: 260px;
    border-radius: var(--radius-lg);
    background: #dff5ff;
    box-shadow: var(--shadow);
}
.carousel-track, .carousel-slide { position: absolute; inset: 0; }
.carousel-slide { opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s ease; }
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; background: #e8f7ff; }
.carousel-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    color: #fff;
    background: rgba(7,58,104,.38);
    backdrop-filter: blur(8px);
    transform: translateY(-50%);
    font-size: 26px;
    line-height: 1;
}
.carousel-control:hover { background: rgba(7,58,104,.62); }
.carousel-control--prev { left: 20px; }
.carousel-control--next { right: 20px; }
.carousel-dots { position: absolute; left: 50%; bottom: 18px; z-index: 4; display: flex; gap: 9px; transform: translateX(-50%); }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.64); box-shadow: 0 0 0 1px rgba(7,58,104,.12); }
.carousel-dot.is-active { width: 28px; border-radius: 999px; background: #fff; }

.home-intro { padding: clamp(56px, 7vw, 92px) 0 40px; }
.intro-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(28px, 4.5vw, 62px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #fff 0%, #f0fbff 100%);
    box-shadow: var(--shadow-soft);
}
.eyebrow { display: inline-flex; margin-bottom: 10px; color: var(--primary-dark); font-size: 13px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; color: var(--heading); line-height: 1.28; }
h1 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.03em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.02em; }
h3 { font-size: clamp(19px, 2vw, 24px); }
p { margin: 0; }
.hero-lead, .intro-panel__text p { margin-top: 18px; color: var(--muted); font-size: clamp(16px, 1.45vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--primary-dark); background: #fff; font-weight: 700; }
.intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.88); }
.stat-card strong { display: block; color: var(--primary-dark); font-size: 24px; }
.stat-card span { color: var(--muted); font-size: 14px; }

.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.card-grid { display: grid; gap: 18px; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.info-card, .review-card {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 2.8vw, 30px);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.info-card::before { content: ""; position: absolute; inset: 0 auto auto 0; width: 80px; height: 3px; border-radius: 0 3px 3px 0; background: var(--gradient); }
.info-card p { margin-top: 12px; color: var(--muted); }
.card-tag { display: inline-flex; align-items: center; min-height: 28px; margin-bottom: 12px; padding: 4px 11px; border-radius: 999px; color: var(--primary-dark); background: var(--surface-tint); font-size: 12px; font-weight: 800; }
.card-link { display: inline-flex; margin-top: 18px; color: var(--primary-dark); font-weight: 800; }
.card-link::after { content: "→"; margin-left: 7px; transition: transform .2s ease; }
.card-link:hover::after { transform: translateX(4px); }

.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.media-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-soft); }
.media-card__image { margin: 0; aspect-ratio: 16/10; background: var(--surface-tint); }
.media-card__image img { width: 100%; height: 100%; object-fit: contain; }
.media-card__body { padding: 24px; }
.media-card__body p { margin-top: 12px; color: var(--muted); }

.feature-band { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.feature-copy { padding: clamp(30px, 4vw, 52px); border-radius: var(--radius-lg); background: linear-gradient(135deg, #0faeea, #1688d8); color: #fff; box-shadow: var(--shadow); }
.feature-copy h2, .feature-copy h3 { color: #fff; }
.feature-copy p { margin-top: 16px; color: rgba(255,255,255,.88); }
.feature-copy .text-btn { margin-top: 24px; }
.feature-list { display: grid; gap: 15px; }
.feature-list article { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.feature-list p { margin-top: 8px; color: var(--muted); }

.page-hero { padding: clamp(48px, 6vw, 76px) 0 20px; }
.page-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(30px, 5vw, 68px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 88% 14%, rgba(53,215,255,.24), transparent 34%), linear-gradient(135deg, #fff, #eaf9ff);
    box-shadow: var(--shadow);
}
.page-hero__content--wide { grid-template-columns: 1fr; }
.page-hero__media { margin: 0; overflow: hidden; border-radius: 22px; background: rgba(255,255,255,.72); }
.page-hero__media img { width: 100%; max-height: 410px; object-fit: contain; }
.prose-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 36px; }
.prose-grid p { padding: 20px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 17px; }

.split-layout { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(34px, 6vw, 84px); align-items: start; }
.steps-list { display: grid; gap: 16px; }
.step-item { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: var(--gradient); font-weight: 800; }
.step-item p { margin-top: 8px; color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.review-card { min-height: 210px; display: flex; flex-direction: column; }
.review-mark { color: var(--primary); font-family: Georgia, serif; font-size: 64px; line-height: .8; }
.review-card p { flex: 1; margin: 14px 0 20px; color: var(--muted); }
.review-card strong { color: var(--heading); }

.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-soft); }
.faq-item summary { position: relative; padding: 20px 54px 20px 22px; color: var(--heading); font-weight: 800; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--primary-dark); font-size: 24px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 22px 22px; color: var(--muted); }

.compliance-panel { padding: 24px 0 clamp(64px, 8vw, 110px); }
.compliance-panel__inner { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 34px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.compliance-panel__inner p { color: var(--muted); }

.site-footer { padding-top: 60px; background: var(--footer); color: var(--footer-text); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.15fr; gap: 42px; padding-bottom: 44px; }
.footer-brand img { width: 160px; height: auto; object-fit: contain; }
.footer-brand p, .footer-note p { margin-top: 18px; color: rgba(234,248,255,.76); }
.footer-links h2, .footer-note h2 { margin-bottom: 16px; color: #fff; font-size: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(234,248,255,.78); }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 20px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(234,248,255,.68); font-size: 14px; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 18px; }
.back-top { position: fixed; right: 20px; bottom: 20px; z-index: 800; width: 46px; height: 46px; border: 0; border-radius: 50%; color: #fff; background: var(--gradient); box-shadow: 0 10px 26px rgba(22,136,216,.3); opacity: 0; visibility: hidden; transform: translateY(15px); transition: .2s ease; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

@media (max-width: 1180px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    .header-inner { justify-content: space-between; }
}
@media (max-width: 960px) {
    .quick-grid, .card-grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .card-grid--3, .media-grid, .review-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .intro-panel, .page-hero__content, .split-layout, .compliance-panel__inner, .feature-band { grid-template-columns: 1fr; }
    .page-hero__media { max-width: 680px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .carousel { aspect-ratio: 16/7.8; }
}
@media (max-width: 680px) {
    :root { --header-height: 68px; }
    .section-shell, .header-inner, .carousel { width: min(100% - 24px, 1240px); }
    .header-register { min-width: 70px; min-height: 40px; padding: 8px 16px; }
    .menu-toggle { width: 42px; height: 42px; }
    .brand-logo img { width: 116px; }
    .carousel-section { padding-top: 12px; }
    .carousel { min-height: 210px; aspect-ratio: 4/3; border-radius: 18px; }
    .carousel-control { width: 40px; height: 40px; }
    .carousel-control--prev { left: 10px; }
    .carousel-control--next { right: 10px; }
    .carousel-dots { bottom: 12px; }
    .intro-panel, .page-hero__content { padding: 26px 22px; border-radius: 22px; }
    .intro-stats, .prose-grid, .card-grid--2, .card-grid--3, .card-grid--4, .quick-grid, .media-grid, .review-grid, .footer-grid { grid-template-columns: 1fr; }
    .content-section { padding: 52px 0; }
    .section-heading { margin-bottom: 26px; }
    .step-item { grid-template-columns: 48px 1fr; padding: 18px; }
    .step-number { width: 44px; height: 44px; border-radius: 13px; }
    .footer-grid { gap: 28px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .mobile-nav { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
    .header-inner { gap: 8px; }
    .header-actions { gap: 6px; }
    .brand-logo img { width: 106px; }
    .header-register { padding-inline: 13px; min-width: 62px; }
    .mobile-drawer { width: 92vw; padding: 16px; }
    .mobile-nav { grid-template-columns: 1fr; }
    .carousel { min-height: 190px; }
}
