/* 开云官方网站公共样式 */
:root {
    --bg: #E6EBF2;
    --nav-bg: #F5F7FB;
    --white: #FFFFFF;
    --soft: #EEF2F7;
    --soft-2: #DDE4EE;
    --primary: #289CFF;
    --primary-dark: #1E90F0;
    --nav-text: #4E5F7A;
    --text: #243447;
    --muted: #66788A;
    --hint: #8A9AAF;
    --border: rgba(40, 156, 255, 0.16);
    --shadow: 0 14px 36px rgba(56, 92, 138, 0.12);
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1200px;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(245, 247, 251, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(56,92,138,0.10);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 72px;
}
.logo { flex: 0 0 auto; display: flex; align-items: center; min-width: 120px; }
.logo img { max-height: 52px; width: auto; }
.nav-wrap { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
.nav { display: flex; align-items: center; gap: 20px; white-space: nowrap; flex-wrap: nowrap; }
.nav > a, .nav-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 72px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--nav-text);
    font-weight: 700;
    cursor: pointer;
}
.nav > a::after, .nav-trigger::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 14px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width .2s ease;
}
.nav > a:hover, .nav > a.active, .nav-trigger:hover, .nav-trigger.active { color: var(--primary); }
.nav > a:hover::after, .nav > a.active::after, .nav-trigger:hover::after, .nav-trigger.active::after { width: 100%; }
.header-action { flex: 0 0 auto; display: flex; align-items: center; }
.main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #32D1F6 0%, #27B9F4 35%, #249BFF 100%);
    color: #FFFFFF;
    box-shadow: 0 10px 24px rgba(36,155,255,0.25);
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.main-btn:hover { background: linear-gradient(180deg, #48D9F7 0%, #1E90F0 100%); transform: translateY(-1px); box-shadow: 0 14px 28px rgba(36,155,255,0.30); }
.header-register { min-width: 92px; }
.dropdown, .more-dropdown { position: relative; }
.dropdown-menu, .more-menu {
    position: absolute;
    top: calc(100% - 8px);
    left: -18px;
    min-width: 188px;
    padding: 10px;
    background: #FFFFFF;
    border: 1px solid rgba(40,156,255,0.12);
    border-radius: 14px;
    box-shadow: 0 18px 38px rgba(56,92,138,0.16);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
}
.dropdown-menu-right { left: auto; right: -18px; }
.dropdown-menu a, .more-menu a { display: block; padding: 10px 12px; color: var(--nav-text); white-space: nowrap; border-radius: 10px; }
.dropdown-menu a:hover, .more-menu a:hover { color: var(--primary); background: rgba(40,156,255,0.08); }
.dropdown:hover .dropdown-menu, .dropdown.open .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.desktop-nav-compact { display: none; }
.mobile-menu-btn { display: none; }

.drawer-overlay { position: fixed; inset: 0; z-index: 10000; background: rgba(27, 45, 67, .42); opacity: 0; transition: opacity .22s ease; }
.drawer-overlay.show { opacity: 1; }
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10001;
    width: min(84vw, 320px);
    height: 100dvh;
    padding: 20px;
    background: #FFFFFF;
    box-shadow: 20px 0 50px rgba(36, 52, 71, .20);
    transform: translateX(-105%);
    transition: transform .25s ease;
    overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.drawer-logo img { max-height: 46px; width: auto; }
.drawer-close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--soft); color: var(--primary); font-size: 30px; line-height: 1; cursor: pointer; }
.drawer-nav { display: grid; gap: 4px; padding: 16px 0 24px; }
.drawer-nav a { padding: 11px 12px; border-radius: 10px; color: var(--nav-text); font-weight: 700; }
.drawer-nav a:hover { color: var(--primary); background: rgba(40,156,255,.08); }

.banner-slider {
    width: min(calc(100% - 40px), 1200px);
    margin: 28px auto 36px;
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: 0 18px 40px rgba(56,92,138,0.12);
    overflow: hidden;
    position: relative;
}
.slider-track { position: relative; width: 100%; aspect-ratio: 16 / 6.3; min-height: 300px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.slide.active { opacity: 1; visibility: visible; }
.banner-slider img { width: 100%; height: 100%; object-fit: contain; background: #FFFFFF; }
.banner-caption, .banner-text, .slide-title, .slide-desc, .slide-content, .slide-card, .banner-card { display: none !important; }
.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 50%;
    background: rgba(36,52,71,.32);
    color: #FFFFFF;
    font-size: 28px;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(6px);
}
.slider-arrow:hover { background: rgba(36,52,71,.52); }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots { position: absolute; left: 50%; bottom: 16px; z-index: 3; display: flex; gap: 9px; transform: translateX(-50%); }
.slider-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.65); box-shadow: 0 0 0 1px rgba(36,52,71,.16); cursor: pointer; }
.slider-dot.active { width: 26px; border-radius: 999px; background: var(--primary); }

.section-space { padding: 72px 0; }
.section-soft { background: rgba(245,247,251,.72); }
.eyebrow, .section-kicker, .card-tag { display: inline-flex; align-items: center; color: var(--primary); font-weight: 800; letter-spacing: .04em; }
.eyebrow::before { content: ""; width: 28px; height: 3px; margin-right: 10px; border-radius: 999px; background: var(--primary); }
h1, h2, h3, .section-title { margin-top: 0; color: var(--primary); line-height: 1.25; }
h1 { margin-bottom: 22px; font-size: clamp(34px, 5vw, 62px); }
h2 { margin-bottom: 16px; font-size: clamp(28px, 3.4vw, 42px); }
h3 { margin-bottom: 12px; font-size: 21px; }
p { margin-top: 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 800; }
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }

.home-welcome { padding-top: 42px; }
.home-welcome-grid, .split-layout, .app-layout, .security-layout, .about-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 42px; align-items: center; }
.home-copy p { font-size: 17px; }
.media-card { margin: 0; padding: 14px; border-radius: var(--radius-lg); background: #FFFFFF; border: 1px solid var(--border); box-shadow: var(--shadow); }
.media-card img { width: 100%; height: auto; max-height: 480px; object-fit: contain; border-radius: 14px; background: var(--soft); }
.section-heading-center { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.section-heading-center .eyebrow { justify-content: center; }
.section-heading-center p { margin-bottom: 0; }
.section-head { display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: start; margin-bottom: 34px; }
.section-kicker { width: 64px; height: 64px; justify-content: center; border-radius: 18px; background: rgba(40,156,255,.10); font-size: 20px; }
.section-head > div { max-width: 840px; }

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card-grid.three-col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .zone-card, .info-card, .review-card, .step-card, .notice-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--border);
    box-shadow: 0 14px 36px rgba(56,92,138,0.10);
    border-radius: var(--radius-md);
}
.info-card, .step-card, .notice-card { padding: 26px; }
.info-card { position: relative; overflow: hidden; }
.info-card::after { content: ""; position: absolute; width: 110px; height: 110px; right: -55px; bottom: -55px; border-radius: 50%; background: rgba(40,156,255,.06); }
.card-tag { margin-bottom: 12px; font-size: 13px; }
.zone-card { overflow: hidden; }
.zone-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--soft); }
.zone-card-body { padding: 22px; }
.feature-list { display: grid; gap: 14px; margin: 26px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 28px; color: var(--muted); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 900; }
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.step-card > span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 18px; border-radius: 12px; background: rgba(40,156,255,.10); color: var(--primary); font-weight: 900; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.review-card { margin: 0; padding: 26px; }
.review-card p { color: var(--text); font-size: 16px; }
.review-card footer { margin-top: 18px; color: var(--hint); font-size: 14px; }
.faq-list { display: grid; gap: 14px; max-width: 920px; }
.faq-list details { border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.88); box-shadow: 0 10px 28px rgba(56,92,138,.08); overflow: hidden; }
.faq-list summary { padding: 18px 22px; color: var(--text); font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--primary); font-size: 22px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 22px 20px; margin: 0; }

.inner-hero { padding-top: 56px; }
.inner-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.inner-hero-grid.no-image { grid-template-columns: 1fr; }
.inner-hero-copy { max-width: 760px; }
.inner-hero-copy p { font-size: 17px; }
.inner-hero-media { margin: 0; padding: 12px; border-radius: var(--radius-lg); background: #FFFFFF; box-shadow: var(--shadow); border: 1px solid var(--border); }
.inner-hero-media img { width: 100%; max-height: 480px; object-fit: contain; border-radius: 14px; background: var(--soft); }
.compliance-section { padding-top: 0; }
.compliance-card { display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 28px; align-items: center; padding: 34px; border-radius: 20px; background: #243447; box-shadow: var(--shadow); }
.compliance-card h2, .compliance-card p { color: #EAF3FF; margin-bottom: 0; }
.compliance-card .eyebrow { color: #7CC8FF; }
.compliance-card .eyebrow::before { background: #7CC8FF; }
.light-link { color: #7CC8FF; white-space: nowrap; }

.notice-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.notice-card strong { display: block; margin-bottom: 8px; color: var(--primary); }
.news-list { display: grid; gap: 12px; }
.news-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; align-items: center; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.9); border: 1px solid var(--border); }
.news-date { color: var(--hint); font-size: 14px; }
.news-item h3 { margin-bottom: 4px; font-size: 18px; }
.news-item p { margin: 0; font-size: 14px; }

.site-footer { padding-top: 58px; background: #243447; color: #EAF3FF; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 36px; padding-bottom: 40px; }
.footer-brand img { max-height: 52px; width: auto; margin-bottom: 18px; }
.site-footer h2 { color: #EAF3FF; font-size: 18px; }
.site-footer p { color: #BFD0E2; }
.site-footer a { display: block; margin: 8px 0; color: #D7E7F6; }
.site-footer a:hover { color: #7CC8FF; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(234,243,255,.12); color: #BFD0E2; font-size: 14px; }

@media (max-width: 1180px) {
    .desktop-nav-full { display: none; }
    .desktop-nav-compact { display: flex; }
    .nav { gap: 18px; }
    .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
    .home-welcome-grid, .split-layout, .app-layout, .security-layout, .about-layout, .inner-hero-grid { grid-template-columns: 1fr; }
    .inner-hero-media { max-width: 720px; }
    .card-grid, .card-grid.three-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps-grid, .review-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .compliance-card { grid-template-columns: 1fr; }
    .slider-track { min-height: 260px; }
    .notice-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .container { width: min(calc(100% - 28px), var(--container)); }
    .header-inner { min-height: 64px; gap: 12px; }
    .desktop-nav-full, .desktop-nav-compact { display: none; }
    .mobile-menu-btn { display: inline-flex; width: 42px; height: 42px; flex: 0 0 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 0; border-radius: 12px; background: rgba(40,156,255,.09); cursor: pointer; }
    .mobile-menu-btn span { width: 20px; height: 2px; border-radius: 999px; background: var(--primary); }
    .logo { justify-content: center; min-width: 0; flex: 1 1 auto; }
    .logo img { max-height: 42px; }
    .header-action { flex: 0 0 auto; }
    .header-register { min-width: 72px; min-height: 40px; padding: 0 16px; }
    .banner-slider { width: calc(100% - 28px); margin-top: 18px; margin-bottom: 22px; border-radius: 14px; }
    .slider-track { aspect-ratio: 16 / 9; min-height: 0; }
    .slider-arrow { width: 38px; height: 38px; font-size: 23px; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    .slider-dots { bottom: 10px; }
    .section-space { padding: 52px 0; }
    .home-welcome { padding-top: 28px; }
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    .section-head { grid-template-columns: 1fr; }
    .section-kicker { width: 54px; height: 54px; }
    .card-grid, .card-grid.three-col, .card-grid.two-col, .steps-grid, .review-grid, .notice-strip { grid-template-columns: 1fr; }
    .inner-hero { padding-top: 36px; }
    .inner-hero-grid { gap: 28px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
    .news-item { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 390px) {
    .header-inner { gap: 8px; }
    .header-register { min-width: 64px; padding-inline: 13px; }
    .logo img { max-width: 112px; }
}
