:root {
    --bg: #F4FBFF;
    --surface-soft: #E8F7FF;
    --surface: #FFFFFF;
    --primary: #11AEEA;
    --primary-strong: #1688D8;
    --deep-blue: #155A9D;
    --text: #24384A;
    --muted: #60758A;
    --border: rgba(17, 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.12);
    --shadow-soft: 0 12px 32px 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;
    padding-top: var(--header-height);
    background: var(--bg);
    color: var(--text);
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", 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, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(100% - 32px, 1180px); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 2000; padding: 10px 16px; border-radius: 10px; background: var(--footer); color: #fff; }
.skip-link:focus { top: 12px; }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(16px);
}
.header-inner {
    width: min(100% - 32px, 1360px);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: clamp(14px, 2vw, 30px);
}
.brand-logo, .drawer-logo { flex: 0 0 auto; }
.brand-logo img, .drawer-logo img, .footer-brand img { width: auto; height: 46px; object-fit: contain; }
.desktop-nav {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.15vw, 20px);
    overflow: hidden;
}
.desktop-nav a {
    position: relative;
    flex: 0 0 auto;
    white-space: nowrap;
    color: var(--deep-blue);
    font-size: clamp(12px, 0.88vw, 15px);
    font-weight: 700;
    padding: 10px 0;
}
.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 3px;
    height: 2px;
    border-radius: 999px;
    background: var(--gradient);
    transition: left .2s ease, right .2s ease;
}
.desktop-nav a:hover::after, .desktop-nav a.active::after { left: 0; right: 0; }
.desktop-nav a.active { color: var(--primary-strong); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(22, 136, 216, 0.22);
    transition: transform .2s ease, box-shadow .2s ease;
}
.main-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22, 136, 216, 0.28); }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface-soft);
    padding: 10px;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 999px; background: var(--deep-blue); }
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1300;
    width: min(86vw, 380px);
    height: 100dvh;
    padding: 20px;
    overflow-y: auto;
    background: #fff;
    transform: translateX(105%);
    transition: transform .28s ease;
    box-shadow: -20px 0 60px rgba(7, 58, 104, .18);
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-overlay { position: fixed; inset: 0; z-index: 1200; background: rgba(7, 58, 104, .38); opacity: 0; transition: opacity .25s ease; }
.drawer-overlay.open { opacity: 1; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.drawer-close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--surface-soft); color: var(--deep-blue); font-size: 28px; line-height: 1; }
.mobile-nav { display: grid; gap: 4px; padding: 18px 0; }
.mobile-nav a { padding: 12px 14px; border-radius: 12px; color: var(--deep-blue); font-weight: 700; }
.mobile-nav a:hover, .mobile-nav a.active { background: var(--surface-soft); color: var(--primary-strong); }
.drawer-register { width: 100%; }

main { min-height: 65vh; }
section { padding: clamp(56px, 7vw, 94px) 0; }
.section-soft { background: var(--surface-soft); }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; margin-bottom: 10px; color: var(--primary-strong); font-size: 14px; font-weight: 900; letter-spacing: .08em; }
h1, h2, h3 { margin: 0; color: var(--deep-blue); line-height: 1.25; }
h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.04em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.03em; }
h3 { font-size: clamp(18px, 2vw, 23px); }
p { margin: 0; }
.section-heading p, .page-hero-copy > p { margin-top: 16px; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); }

.carousel-section { padding: 26px 0 44px; }
.carousel {
    position: relative;
    width: min(100% - 32px, 1360px);
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, #fff, #edfaff);
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 5.8;
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility .45s ease; }
.carousel-slide.active { opacity: 1; visibility: visible; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; }
.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 50%;
    background: rgba(7, 58, 104, .45);
    color: #fff;
    font-size: 26px;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
}
.carousel-arrow:hover { background: rgba(7, 58, 104, .72); }
.carousel-arrow.prev { left: 18px; }
.carousel-arrow.next { right: 18px; }
.carousel-dots { position: absolute; z-index: 4; left: 50%; bottom: 16px; display: flex; gap: 8px; transform: translateX(-50%); }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .68); box-shadow: 0 0 0 1px rgba(7, 58, 104, .12); }
.carousel-dot.active { width: 28px; border-radius: 999px; background: var(--primary); }

.home-intro-grid, .split-grid, .page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); align-items: center; gap: clamp(28px, 5vw, 70px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.text-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--border); border-radius: 999px; color: var(--deep-blue); background: #fff; font-weight: 800; }
.text-btn:hover { border-color: var(--primary); color: var(--primary-strong); }
.visual-card, .page-hero-media {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
}
.visual-card img, .page-hero-media img { width: 100%; max-height: 480px; object-fit: contain; }
.page-hero { padding-top: clamp(56px, 8vw, 100px); background: radial-gradient(circle at 85% 15%, rgba(53, 215, 255, .22), transparent 34%), linear-gradient(180deg, #F7FDFF, #EAF8FF); }
.page-hero-panel { padding: 34px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(255,255,255,.8); box-shadow: var(--shadow); }
.page-hero-panel strong { display: block; margin-bottom: 12px; color: var(--deep-blue); font-size: 24px; }
.page-hero-panel p { color: var(--muted); }

.cards { display: grid; gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: clamp(22px, 2.7vw, 30px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
}
.info-card p { margin-top: 12px; color: var(--muted); }
.card-tag { display: inline-flex; align-self: flex-start; margin-bottom: 14px; padding: 5px 10px; border-radius: 999px; background: var(--surface-soft); color: var(--primary-strong); font-size: 13px; font-weight: 800; }
.card-link { margin-top: auto; padding-top: 18px; color: var(--primary-strong); font-weight: 800; }
.card-link::after { content: " →"; }

.media-sections { display: grid; gap: 24px; }
.media-row { display: grid; grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr); gap: 32px; align-items: center; padding: clamp(24px, 4vw, 44px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.media-row:nth-child(even) { grid-template-columns: minmax(0, 1.18fr) minmax(280px, .82fr); }
.media-row:nth-child(even) .media-row-image { order: 2; }
.media-row-image { overflow: hidden; border-radius: var(--radius-md); background: var(--surface-soft); }
.media-row-image img { width: 100%; max-height: 360px; object-fit: contain; }
.media-row-copy p { margin-top: 14px; color: var(--muted); }
.media-row-copy .card-link { display: inline-block; }

.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; }
.steps li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 900; }
.steps p { margin-top: 8px; color: var(--muted); }

.notice-board { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.notice-card, .support-card { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.notice-card p, .support-card p { margin-top: 14px; color: var(--muted); }
.notice-list { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.notice-list li { padding: 14px 16px; border-radius: 14px; background: var(--surface-soft); color: var(--deep-blue); font-weight: 700; }

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-card { margin: 0; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-soft); }
.review-card p { color: var(--text); }
.review-card footer { margin-top: 18px; color: var(--primary-strong); font-weight: 800; }

.faq-list { display: grid; gap: 14px; }
.faq-list details { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; box-shadow: 0 8px 24px rgba(21, 90, 157, .06); }
.faq-list summary { position: relative; padding: 20px 54px 20px 22px; color: var(--deep-blue); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 22px; top: 50%; color: var(--primary-strong); font-size: 26px; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 22px 22px; color: var(--muted); }

.compliance-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.compliance-grid article { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.8); }
.compliance-grid p { margin-top: 10px; color: var(--muted); }

.electronic-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.product-visual { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-soft); }
.product-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: var(--surface-soft); }
.product-visual figcaption { padding: 20px; }
.product-visual figcaption p { margin-top: 8px; color: var(--muted); }

.contact-form { display: grid; gap: 16px; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-soft); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-form label { display: grid; gap: 8px; color: var(--deep-blue); font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--border); border-radius: 12px; background: #fbfeff; color: var(--text); padding: 13px 14px; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(17,174,234,.12); }
.contact-form textarea { min-height: 150px; resize: vertical; }

.site-reminder { padding: 24px 0; background: #DDF5FF; border-top: 1px solid var(--border); }
.reminder-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.reminder-inner strong { color: var(--deep-blue); }
.reminder-inner p { color: var(--muted); }
.site-footer { padding: 58px 0 24px; background: var(--footer); color: var(--footer-text); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .75fr .75fr 1fr; gap: 34px; }
.site-footer h2 { margin-bottom: 14px; color: #fff; font-size: 18px; }
.site-footer p, .site-footer a { color: rgba(234, 248, 255, .82); }
.site-footer a:hover { color: #fff; }
.site-footer ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-brand img { margin-bottom: 16px; padding: 6px 12px; border-radius: 12px; background: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(234,248,255,.16); color: rgba(234,248,255,.72); }

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

@media (max-width: 960px) {
    .home-intro-grid, .split-grid, .page-hero-grid, .notice-board { grid-template-columns: 1fr; }
    .cards-4, .compliance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards-3, .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .media-row, .media-row:nth-child(even) { grid-template-columns: 1fr; }
    .media-row:nth-child(even) .media-row-image { order: 0; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .carousel { aspect-ratio: 16 / 7.5; }
}

@media (max-width: 640px) {
    :root { --header-height: 68px; --radius-lg: 22px; }
    .container, .header-inner, .carousel { width: min(100% - 24px, 1180px); }
    .brand-logo img { height: 38px; }
    .header-actions .main-btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
    .menu-toggle { width: 40px; height: 40px; }
    section { padding: 52px 0; }
    .carousel-section { padding-top: 18px; }
    .carousel { aspect-ratio: 16 / 10; border-radius: 18px; }
    .carousel-arrow { width: 38px; height: 38px; font-size: 22px; }
    .carousel-arrow.prev { left: 10px; }
    .carousel-arrow.next { right: 10px; }
    .carousel-dots { bottom: 10px; }
    .cards-2, .cards-3, .cards-4, .reviews, .compliance-grid, .electronic-gallery, .footer-grid, .form-row { grid-template-columns: 1fr; }
    .page-hero-copy { text-align: left; }
    .media-row { padding: 20px; }
    .reminder-inner { grid-template-columns: 1fr; gap: 6px; }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 420px) {
    .header-inner { width: min(100% - 16px, 1360px); }
    .brand-logo img { height: 34px; }
    .header-actions { gap: 7px; }
    .header-actions .main-btn { padding: 0 13px; }
    .menu-toggle { width: 38px; height: 38px; padding: 8px; }
}

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