:root {
    --bg: #F4FBFF;
    --surface: #FFFFFF;
    --surface-soft: #E8F7FF;
    --primary: #10AEEA;
    --primary-strong: #1688D8;
    --text-strong: #155A9D;
    --text: #24384A;
    --muted: #60758A;
    --border: rgba(16, 174, 234, 0.18);
    --footer: #073A68;
    --footer-text: #EAF8FF;
    --gradient: linear-gradient(135deg, #35D7FF 0%, #1688D8 100%);
    --shadow: 0 18px 50px rgba(22, 136, 216, 0.12);
    --shadow-soft: 0 10px 30px rgba(7, 58, 104, 0.08);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --header-height: 76px;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% 0%, rgba(53, 215, 255, 0.12), transparent 28%),
        var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--footer);
    color: #fff;
    transform: translateY(-160%);
    transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.section-shell {
    width: min(100% - 32px, 1180px);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(7, 58, 104, 0.06);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(100% - 32px, 1360px);
    min-height: var(--header-height);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 28px);
}

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

.brand-logo img { width: clamp(132px, 11vw, 180px); height: auto; }

.desktop-nav {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(7px, .75vw, 14px);
}

.desktop-nav a {
    position: relative;
    flex: 0 0 auto;
    white-space: nowrap;
    color: #31536f;
    font-size: clamp(12px, .88vw, 14px);
    font-weight: 700;
    line-height: 1;
    padding: 13px 2px;
    transition: color .2s ease;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: var(--gradient);
    transition: left .2s ease, right .2s ease;
}
.desktop-nav a:hover,
.desktop-nav a.is-active { color: var(--primary-strong); }
.desktop-nav a:hover::after,
.desktop-nav a.is-active::after { left: 0; right: 0; }

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

.main-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 24px rgba(22, 136, 216, .22);
    transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.main-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(22, 136, 216, .28); }
.main-btn:focus-visible, .text-btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(16,174,234,.28); outline-offset: 3px; }

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 99px; background: var(--text-strong); }

.drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(7, 58, 104, .38);
    opacity: 0;
    transition: opacity .22s ease;
}
.drawer-overlay.is-visible { opacity: 1; }

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1300;
    width: min(86vw, 360px);
    padding: 20px;
    overflow-y: auto;
    background: #fff;
    box-shadow: -20px 0 50px rgba(7, 58, 104, .16);
    transform: translateX(105%);
    transition: transform .24s ease;
}
.mobile-drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.drawer-logo img { width: 150px; height: auto; }
.drawer-close { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-soft); color: var(--text-strong); font-size: 28px; line-height: 1; }
.mobile-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 18px 0; }
.mobile-nav a { padding: 11px 12px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); font-weight: 700; background: #fff; }
.mobile-nav a.is-active { color: var(--primary-strong); background: var(--surface-soft); }
.drawer-register { width: 100%; }

main { display: block; }

.carousel-wrap { padding: 24px 0 0; }
.carousel {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 6.2;
    min-height: 250px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #dff5ff, #fff);
    box-shadow: var(--shadow);
}
.carousel-track { position: absolute; inset: 0; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s ease; }
.carousel-slide.is-active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.carousel-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    background: rgba(7,58,104,.64);
    color: #fff;
    font-size: 24px;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
}
.carousel-control.prev { left: 18px; }
.carousel-control.next { right: 18px; }
.carousel-dots { position: absolute; left: 50%; bottom: 16px; z-index: 3; display: flex; gap: 9px; transform: translateX(-50%); }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 1px solid rgba(255,255,255,.92); border-radius: 50%; background: rgba(7,58,104,.45); }
.carousel-dot.is-active { width: 28px; border-radius: 999px; background: #fff; }

.home-intro,
.page-hero {
    margin-top: 34px;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
    padding: clamp(34px, 5vw, 72px);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(232,247,255,.94));
    box-shadow: var(--shadow-soft);
}

.page-hero { min-height: 420px; }
.page-hero__content h1,
.home-intro h1 {
    margin: 12px 0 18px;
    color: var(--text-strong);
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.14;
    letter-spacing: -.04em;
}
.page-hero__content > p,
.home-intro__content > p { margin: 0; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }
.page-hero__media,
.home-intro__media { margin: 0; min-width: 0; }
.page-hero__media img,
.home-intro__media img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-strong); font-weight: 900; letter-spacing: .08em; font-size: 13px; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 99px; background: var(--gradient); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 26px; }
.text-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--border); border-radius: 999px; color: var(--primary-strong); font-weight: 800; background: #fff; }

.content-section { padding-top: clamp(66px, 8vw, 104px); }
.section-heading { max-width: 760px; margin-bottom: 28px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.section-heading.center .eyebrow { justify-content: center; }
.section-heading h2 { margin: 10px 0 12px; color: var(--text-strong); font-size: clamp(28px, 4vw, 44px); line-height: 1.2; letter-spacing: -.02em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 16px; }

.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.quick-card,
.info-card,
.review-card,
.faq-card,
.service-card,
.product-card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.quick-card { padding: 24px; transition: transform .2s ease, box-shadow .2s ease; }
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quick-card__index { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; background: var(--surface-soft); color: var(--primary-strong); font-weight: 900; }
.quick-card h3 { margin: 18px 0 8px; color: var(--text-strong); font-size: 20px; }
.quick-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.quick-card a { color: var(--primary-strong); font-weight: 800; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card, .service-card { padding: 28px; }
.info-card h3, .service-card h3 { margin: 0 0 10px; color: var(--text-strong); font-size: 21px; }
.info-card p, .service-card p { margin: 0; color: var(--muted); }
.info-card a, .service-card a { display: inline-flex; margin-top: 14px; color: var(--primary-strong); font-weight: 800; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.product-card { overflow: hidden; }
.product-card__image { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 14px; background: var(--surface-soft); }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; }
.product-card__body { padding: 24px; }
.product-card__body h3 { margin: 0 0 9px; color: var(--text-strong); font-size: 22px; }
.product-card__body p { margin: 0; color: var(--muted); }
.product-card__body a { display: inline-flex; margin-top: 15px; color: var(--primary-strong); font-weight: 900; }

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    padding: clamp(32px, 5vw, 56px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.split-section.reverse .split-media { order: 2; }
.split-copy h2 { margin: 10px 0 14px; color: var(--text-strong); font-size: clamp(28px, 3.6vw, 42px); line-height: 1.2; }
.split-copy p { margin: 0 0 14px; color: var(--muted); }
.split-copy .text-btn { margin-top: 8px; }
.split-media { margin: 0; min-width: 0; }
.split-media img { width: 100%; max-height: 360px; object-fit: contain; border-radius: var(--radius-lg); background: var(--surface-soft); }

.check-list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--text); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; display: inline-grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--primary-strong); font-size: 12px; font-weight: 900; }
.compact-list { margin-top: 0; }

.stats-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.stat-item { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.88); }
.stat-item strong { display: block; color: var(--primary-strong); font-size: 22px; }
.stat-item span { color: var(--muted); font-size: 14px; }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review-card { padding: 24px; }
.review-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--text-strong); }
.avatar-mark { display: inline-grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 900; }
.review-card p { margin: 0; color: var(--muted); }

.faq-list { display: grid; gap: 14px; }
.faq-card { padding: 26px 28px; }
.faq-card h3 { margin: 0 0 9px; color: var(--text-strong); font-size: 19px; }
.faq-card p { margin: 0; color: var(--muted); }

.compliance {
    margin-top: clamp(68px, 8vw, 104px);
    margin-bottom: clamp(68px, 8vw, 104px);
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 32px;
    padding: clamp(30px, 5vw, 52px);
    border: 1px solid rgba(16,174,234,.24);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #e6f8ff 0%, #fff 100%);
    box-shadow: var(--shadow-soft);
}
.compliance h2 { margin: 10px 0 12px; color: var(--text-strong); font-size: clamp(26px, 3.6vw, 38px); line-height: 1.2; }
.compliance p { margin: 0; color: var(--muted); }

.notice-bar { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-soft); }
.notice-bar strong { color: var(--text-strong); }
.notice-bar p { margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; }
.contact-panel, .contact-form { padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-soft); }
.contact-panel h2, .contact-form h2 { margin-top: 0; color: var(--text-strong); }
.contact-form { display: grid; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field label { color: var(--text-strong); font-weight: 800; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 13px 14px; border: 1px solid var(--border); border-radius: 12px; background: #fbfeff; color: var(--text); }
.form-field textarea { min-height: 140px; resize: vertical; }

.site-footer { margin-top: 0; background: var(--footer); color: var(--footer-text); }
.footer-inner { display: grid; grid-template-columns: 1.05fr 1.95fr; gap: clamp(36px, 7vw, 90px); padding-top: 60px; padding-bottom: 52px; }
.footer-logo { padding: 8px 12px; border-radius: 14px; background: #fff; }
.footer-logo img { width: 170px; height: auto; }
.footer-brand p { max-width: 420px; margin: 20px 0 0; color: rgba(234,248,255,.78); }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.footer-links h2 { margin: 0 0 14px; color: #fff; font-size: 16px; }
.footer-links a { display: block; margin: 8px 0; color: rgba(234,248,255,.78); }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(234,248,255,.12); }
.footer-bottom__inner { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: rgba(234,248,255,.72); font-size: 14px; }
.footer-bottom__inner p { margin: 0; }
.footer-bottom__inner a { color: #fff; font-weight: 700; }

@media (max-width: 1180px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
    .header-inner { gap: 14px; }
    .brand-logo { margin-right: auto; }
}

@media (max-width: 960px) {
    .quick-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .card-grid.four { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .home-intro, .page-hero, .split-section, .compliance, .contact-grid { grid-template-columns: 1fr; }
    .page-hero__media, .home-intro__media { max-width: 680px; width: 100%; margin-inline: auto; }
    .split-section.reverse .split-media { order: initial; }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    :root { --header-height: 68px; }
    .section-shell { width: min(100% - 24px, 1180px); }
    .header-inner { width: min(100% - 24px, 1360px); }
    .brand-logo img { width: 132px; }
    .header-register { min-height: 40px; padding: 0 18px; }
    .menu-toggle { width: 40px; height: 40px; }
    .carousel-wrap { padding-top: 14px; }
    .carousel { min-height: 210px; border-radius: 20px; aspect-ratio: 16 / 8.5; }
    .carousel-control { width: 40px; height: 40px; }
    .carousel-control.prev { left: 10px; }
    .carousel-control.next { right: 10px; }
    .home-intro, .page-hero { margin-top: 22px; padding: 28px 22px; border-radius: 22px; }
    .page-hero { min-height: auto; }
    .quick-grid, .card-grid, .product-grid, .review-grid, .stats-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .split-section { padding: 26px 22px; border-radius: 22px; }
    .content-section { padding-top: 62px; }
    .compliance { margin-top: 62px; margin-bottom: 62px; padding: 28px 22px; border-radius: 22px; }
    .footer-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-bottom__inner { align-items: flex-start; flex-direction: column; padding-top: 18px; padding-bottom: 18px; }
}

@media (max-width: 520px) {
    .header-inner { gap: 8px; }
    .brand-logo img { width: 118px; }
    .header-register { min-width: 62px; padding: 0 14px; font-size: 14px; }
    .mobile-nav { grid-template-columns: 1fr; }
    .carousel { min-height: 180px; aspect-ratio: 16 / 10; }
    .carousel-control { width: 36px; height: 36px; font-size: 20px; }
    .carousel-dots { bottom: 10px; }
    .page-hero__content h1, .home-intro h1 { font-size: 34px; }
    .quick-grid, .card-grid, .card-grid.two, .card-grid.four, .product-grid, .review-grid, .stats-strip, .footer-links { grid-template-columns: 1fr; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .main-btn, .hero-actions .text-btn { width: 100%; }
    .quick-card, .info-card, .service-card, .review-card, .faq-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
