/* 开云全站样式 */
:root {
    --bg: #F4FBFF;
    --surface: #FFFFFF;
    --soft: #E8F7FF;
    --primary: #11AEEA;
    --accent: #1688D8;
    --deep: #155A9D;
    --text: #24384A;
    --muted: #60758A;
    --border: rgba(17, 174, 234, 0.18);
    --gradient: linear-gradient(135deg, #35D7FF 0%, #1688D8 100%);
    --footer: #073A68;
    --shadow: 0 18px 50px rgba(25, 126, 185, 0.12);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    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 { font: inherit; }
button { color: inherit; }

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--footer);
    color: #fff;
}
.skip-link:focus { top: 10px; }

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 34px rgba(12, 78, 120, .12); background: rgba(255,255,255,.98); }
.header-inner {
    width: min(100% - 32px, 1360px);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
}
.brand-logo { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand-logo img { width: clamp(104px, 9vw, 138px); height: 42px; object-fit: contain; }
.desktop-nav {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.05vw, 18px);
    white-space: nowrap;
}
.desktop-nav a {
    position: relative;
    padding: 10px 0;
    color: #36566E;
    font-size: clamp(13px, .93vw, 15px);
    font-weight: 650;
    transition: color .2s ease;
}
.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 50%; right: 50%; bottom: 4px;
    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(--accent); }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { left: 0; right: 0; }
.header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; }
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: var(--gradient);
    color: #fff;
    font-weight: 750;
    box-shadow: 0 10px 24px rgba(22, 136, 216, .24);
    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, .3); }
.menu-toggle {
    width: 44px; height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; border-radius: 99px; background: var(--deep); }

.drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 180;
    background: rgba(7, 58, 104, .34);
    backdrop-filter: blur(3px);
}
.mobile-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 200;
    width: min(86vw, 390px);
    padding: 18px;
    background: #fff;
    box-shadow: -28px 0 60px rgba(7, 58, 104, .16);
    transform: translateX(104%);
    visibility: hidden;
    transition: transform .28s ease, visibility .28s ease;
    overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.drawer-logo img { width: 122px; height: 40px; object-fit: contain; }
.drawer-close { width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 14px; background: var(--soft); font-size: 28px; line-height: 1; cursor: pointer; }
.mobile-nav { display: grid; gap: 6px; padding: 18px 0; }
.mobile-nav a { padding: 11px 14px; border-radius: 12px; color: var(--text); font-weight: 650; }
.mobile-nav a:hover { background: var(--soft); color: var(--accent); }
.drawer-register { width: 100%; }

main { padding-top: var(--header-h); }
.section-shell { width: min(100% - 32px, 1240px); margin-inline: auto; }
.content-section { padding-block: clamp(58px, 7vw, 94px); }
.content-section.soft-section { width: 100%; max-width: none; padding-inline: max(16px, calc((100vw - 1240px) / 2)); background: var(--soft); }
.section-heading { max-width: 760px; margin-bottom: 32px; }
.section-heading h2, .page-hero h1, .compliance h2 { margin: 8px 0 12px; color: var(--deep); line-height: 1.25; letter-spacing: -.02em; }
.section-heading h2 { font-size: clamp(28px, 4vw, 46px); }
.section-heading p { margin: 0; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 999px; background: var(--gradient); }
.lead { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); }

.page-hero {
    min-height: 470px;
    padding-block: clamp(62px, 8vw, 104px);
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr);
    gap: clamp(34px, 7vw, 86px);
    align-items: center;
}
.page-hero__content { max-width: 680px; }
.page-hero h1 { font-size: clamp(38px, 6vw, 68px); }
.page-hero__media {
    margin: 0;
    min-height: 300px;
    display: grid;
    place-items: center;
    padding: clamp(16px, 2vw, 26px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #fff, #e8f7ff);
    box-shadow: var(--shadow);
}
.page-hero__media img { width: 100%; max-height: 430px; object-fit: contain; border-radius: calc(var(--radius-lg) - 10px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.text-btn, .text-link { color: var(--accent); font-weight: 750; }
.text-btn:hover, .text-link:hover { text-decoration: underline; }

.carousel-section { padding: 28px 0 10px; }
.carousel {
    position: relative;
    width: min(100% - 32px, 1360px);
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: clamp(20px, 3vw, 34px);
    background: #dff5ff;
    box-shadow: var(--shadow);
    aspect-ratio: 16 / 6.35;
    min-height: 230px;
}
.carousel-track { height: 100%; display: flex; transition: transform .55s cubic-bezier(.22,.7,.2,1); }
.carousel-slide { min-width: 100%; height: 100%; margin: 0; display: grid; place-items: center; background: var(--soft); }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; }
.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: clamp(40px, 4.5vw, 54px);
    height: clamp(40px, 4.5vw, 54px);
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    background: rgba(7, 58, 104, .48);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
}
.carousel-arrow.prev { left: clamp(10px, 2vw, 24px); }
.carousel-arrow.next { right: clamp(10px, 2vw, 24px); }
.carousel-dots { position: absolute; z-index: 4; left: 50%; bottom: 15px; display: flex; gap: 8px; transform: translateX(-50%); }
.carousel-dot { width: 10px; height: 10px; padding: 0; border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(7,58,104,.38); cursor: pointer; }
.carousel-dot.is-active { width: 28px; border-radius: 999px; background: #fff; }

.brand-intro { padding-block: clamp(58px, 8vw, 96px); display: grid; grid-template-columns: 1fr .92fr; gap: clamp(34px, 6vw, 76px); align-items: center; }
.brand-intro__media { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); border: 1px solid var(--border); box-shadow: var(--shadow); }
.brand-intro__media img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.brand-intro__copy h1 { margin: 10px 0 18px; color: var(--deep); font-size: clamp(38px, 5vw, 64px); line-height: 1.18; }
.brand-intro__copy p { color: var(--muted); }

.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 {
    position: relative;
    min-height: 210px;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 36px rgba(27, 120, 175, .08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.info-card:hover { transform: translateY(-4px); border-color: rgba(17,174,234,.35); box-shadow: 0 18px 42px rgba(27,120,175,.14); }
.info-card h3 { margin: 8px 0 10px; color: var(--deep); font-size: 21px; }
.info-card p { margin: 0 0 16px; color: var(--muted); }
.card-tag { display: inline-flex; padding: 5px 10px; border-radius: 999px; background: var(--soft); color: var(--accent); font-size: 13px; font-weight: 750; }

.split-section { padding-block: clamp(58px, 8vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: clamp(36px, 7vw, 86px); align-items: center; }
.split-section.is-reverse .split-media { order: -1; }
.split-copy h2 { margin: 8px 0 16px; color: var(--deep); font-size: clamp(30px, 4vw, 48px); line-height: 1.25; }
.split-copy p { color: var(--muted); }
.split-copy ul { padding-left: 20px; color: var(--text); }
.split-copy li + li { margin-top: 8px; }
.split-media { margin: 0; min-height: 280px; display: grid; place-items: center; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(145deg, #fff, var(--soft)); border: 1px solid var(--border); box-shadow: var(--shadow); }
.split-media img { width: 100%; max-height: 430px; object-fit: contain; border-radius: calc(var(--radius-lg) - 10px); }

.product-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: 0 12px 36px rgba(27,120,175,.08); }
.product-card figure { margin: 0; aspect-ratio: 4/3; display: grid; place-items: center; background: var(--soft); }
.product-card img { width: 100%; height: 100%; object-fit: contain; }
.product-card__body { padding: 22px; }
.product-card h3 { margin: 0 0 8px; color: var(--deep); }
.product-card p { margin: 0; color: var(--muted); }

.notice-panel { padding: clamp(24px, 4vw, 42px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff, var(--soft)); box-shadow: var(--shadow); }
.notice-panel h2, .notice-panel h3 { color: var(--deep); }
.notice-panel p { color: var(--muted); }
.notice-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; margin-top: 24px; }
.notice-list article { padding: 20px; border-radius: 16px; background: rgba(255,255,255,.82); border: 1px solid var(--border); }
.notice-list h3 { margin: 0 0 8px; font-size: 18px; }
.notice-list p { margin: 0; }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.review-card { margin: 0; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: 0 12px 34px rgba(27,120,175,.08); }
.review-card p { margin: 0 0 20px; color: var(--text); }
.review-card footer { color: var(--accent); font-weight: 750; }

.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: #fff; overflow: hidden; }
.faq-item summary { padding: 20px 56px 20px 22px; cursor: pointer; color: var(--deep); font-weight: 750; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0; padding: 0 22px 22px; color: var(--muted); }

.compliance {
    margin-top: 24px;
    margin-bottom: clamp(64px, 8vw, 100px);
    padding: clamp(28px, 5vw, 52px);
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 32px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, #DDF6FF 0%, #FFFFFF 72%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.compliance h2 { font-size: clamp(28px, 3.8vw, 44px); }
.compliance__content p { margin: 0; color: var(--muted); }
.compliance__content p + p { margin-top: 14px; }

.site-footer { background: var(--footer); color: #EAF8FF; }
.footer-inner { width: min(100% - 32px, 1240px); margin-inline: auto; padding: 64px 0 46px; display: grid; grid-template-columns: 1.1fr 1.9fr; gap: 70px; }
.footer-brand img { width: 132px; height: 44px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 480px; margin: 20px 0 0; color: rgba(234,248,255,.78); }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 30px; }
.footer-links h2 { margin: 0 0 16px; font-size: 17px; color: #fff; }
.footer-links a { display: block; padding: 5px 0; color: rgba(234,248,255,.76); }
.footer-links a:hover { color: #fff; }
.footer-bottom { width: min(100% - 32px, 1240px); margin-inline: auto; padding: 22px 0 30px; border-top: 1px solid rgba(234,248,255,.16); display: flex; justify-content: space-between; gap: 24px; color: rgba(234,248,255,.68); font-size: 14px; }
.footer-bottom p { margin: 0; }

.service-steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.service-step { counter-increment: step; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; }
.service-step::before { content: "0" counter(step); display: inline-block; margin-bottom: 16px; color: var(--primary); font-size: 30px; font-weight: 850; }
.service-step h3 { margin: 0 0 8px; color: var(--deep); }
.service-step p { margin: 0; color: var(--muted); }

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

.age-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at top, #E8F7FF, #F4FBFF 60%); }
.age-card { width: min(100%, 620px); padding: clamp(28px, 5vw, 54px); border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); text-align: center; }
.age-card img { width: 132px; height: 44px; object-fit: contain; margin: 0 auto 24px; }
.age-card h1 { color: var(--deep); }
.age-card p { color: var(--muted); }
.age-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 24px; }
.secondary-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); background: var(--soft); font-weight: 750; }

@media (max-width: 1180px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: flex; }
    .header-inner { gap: 16px; }
    .brand-logo { margin-right: auto; }
}
@media (max-width: 960px) {
    .page-hero, .brand-intro, .split-section, .compliance { grid-template-columns: 1fr; }
    .page-hero { min-height: auto; }
    .page-hero__media { min-height: 240px; }
    .split-section.is-reverse .split-media { order: 0; }
    .card-grid, .review-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .card-grid.four, .product-gallery, .service-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .notice-list { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 42px; }
    .carousel { aspect-ratio: 16 / 8; }
}
@media (max-width: 640px) {
    :root { --header-h: 68px; }
    .header-inner { width: min(100% - 22px, 1360px); }
    .brand-logo img { width: 105px; height: 38px; }
    .header-actions .main-btn { min-height: 40px; padding-inline: 16px; }
    .menu-toggle { width: 40px; height: 40px; border-radius: 12px; }
    .section-shell { width: min(100% - 24px, 1240px); }
    .content-section.soft-section { padding-inline: 12px; }
    .carousel-section { padding-top: 16px; }
    .carousel { width: min(100% - 20px, 1360px); min-height: 180px; aspect-ratio: 4 / 3; border-radius: 18px; }
    .carousel-arrow { width: 38px; height: 38px; font-size: 22px; }
    .carousel-dots { bottom: 10px; }
    .brand-intro { padding-top: 48px; }
    .brand-intro__copy h1, .page-hero h1 { font-size: clamp(34px, 10vw, 48px); }
    .page-hero { padding-block: 48px 62px; }
    .card-grid, .card-grid.two, .card-grid.four, .review-grid, .product-gallery, .service-steps { grid-template-columns: 1fr; }
    .info-card { min-height: 0; }
    .split-section { grid-template-columns: 1fr; padding-block: 54px; }
    .split-media { min-height: 220px; }
    .footer-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-bottom { flex-direction: column; }
    .contact-form { grid-template-columns: 1fr; }
    .contact-form label.full { grid-column: auto; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .main-btn, .hero-actions .text-btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
