/* 快连VPN中文官网 - 响应式视觉系统 */
:root {
    --brand-gradient: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #202533;
    --muted: #657083;
    --light: #F5F7FB;
    --line: #E5EAF3;
    --card: #FFFFFF;
    --soft-blue: #EEF5FF;
    --radius-lg: 32px;
    --radius-md: 24px;
    --shadow: 0 18px 48px rgba(31, 55, 110, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--text);
    background: #FFFFFF;
    line-height: 1.75;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}
.section { padding: 56px 0; }
.section-title { margin-bottom: 22px; }
.section-title .eyebrow,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #EAF2FF;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}
.section-title h2,
.guide-hero h1,
.simple-hero h1 {
    margin: 12px 0 12px;
    font-size: clamp(28px, 6vw, 48px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}
.section-title p,
.simple-hero p,
.guide-hero p { color: var(--muted); margin: 0; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229,234,243,.8);
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 16px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.logo img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
}
.site-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 20px;
    padding: 12px;
}
.site-nav.is-open { display: grid; }
.site-nav a {
    padding: 10px 12px;
    color: var(--muted);
    font-size: 14px;
    border-radius: 12px;
}
.site-nav a:hover,
.site-nav a.active {
    color: var(--blue);
    background: #EEF5FF;
}
.nav-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    display: grid;
    place-content: center;
    gap: 5px;
}
.nav-toggle span {
    width: 18px;
    height: 2px;
    background: #1E2636;
    display: block;
    border-radius: 99px;
}
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(41,128,254,.28);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.download-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(23,104,232,.32);
}
.network-manager-hero {
    padding: 34px 0 46px;
    background:
        radial-gradient(circle at top left, rgba(53,88,242,.15), transparent 28%),
        radial-gradient(circle at right 20%, rgba(184,77,218,.15), transparent 30%),
        #fff;
}
.hero-panel {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--brand-gradient);
    color: #fff;
    padding: 28px;
    position: relative;
}
.hero-panel:before {
    content: "";
    position: absolute;
    inset: auto -20% -45% 20%;
    height: 260px;
    background: rgba(255,255,255,.16);
    filter: blur(10px);
    border-radius: 50%;
}
.hero-grid {
    position: relative;
    display: grid;
    gap: 28px;
    align-items: center;
}
.hero-copy h1 {
    font-size: clamp(34px, 9vw, 64px);
    line-height: 1.04;
    margin: 0 0 18px;
    letter-spacing: -0.055em;
}
.hero-copy p { margin: 0 0 22px; color: rgba(255,255,255,.86); }
.hero-tags, .floating-tags, .tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-tags span,
.floating-tags span,
.tag-row span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.hero-tags span,
.floating-tags span { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.24); }
.hero-visual {
    position: relative;
    min-height: 260px;
}
.hero-device {
    width: min(360px, 82%);
    margin: 0 auto;
    border-radius: 30px;
    box-shadow: 0 26px 70px rgba(8,17,61,.28);
}
.status-card {
    position: absolute;
    background: rgba(255,255,255,.94);
    color: var(--text);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 18px;
    padding: 12px 14px;
    box-shadow: 0 18px 42px rgba(18,28,70,.16);
    font-size: 13px;
}
.status-card strong { display: block; font-size: 15px; }
.status-card.one { left: 0; top: 14px; }
.status-card.two { right: 0; bottom: 20px; }
.floating-tags { margin-top: 16px; justify-content: center; }
.daily-scenes {
    background: var(--light);
}
.scene-grid {
    display: grid;
    gap: 16px;
}
.scene-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: 0 12px 34px rgba(30,45,90,.05);
}
.scene-card .label,
.bento-card .label {
    color: var(--blue);
    font-weight: 800;
    font-size: 13px;
}
.scene-card h3,
.bento-card h3,
.info-card h3,
.risk-card h3 { margin: 8px 0 8px; }
.scene-card p,
.bento-card p,
.info-card p,
.risk-card p { color: var(--muted); margin: 0 0 14px; }
.text-link {
    color: var(--blue);
    font-weight: 800;
}
.bento-feature-center {
    background: #fff;
}
.bento-grid {
    display: grid;
    gap: 16px;
}
.bento-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 22px;
    min-height: 180px;
    box-shadow: 0 10px 34px rgba(21,42,92,.06);
}
.bento-card.featured {
    background: linear-gradient(145deg, #FFFFFF 0%, #F0F6FF 100%);
}
.service-split,
.safe-browsing-section .service-split,
.smart-route-section .service-split,
.multi-device-section .service-split {
    display: grid;
    gap: 22px;
    align-items: center;
}
.safe-browsing-section,
.privacy-guard-section,
.account-security-section { background: #fff; }
.smart-route-section,
.network-diagnosis-section,
.page-soft { background: var(--light); }
.service-panel,
.safety-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}
.service-panel img {
    border-radius: 26px;
    background: #F4F7FF;
}
.feature-list,
.check-list {
    padding: 0;
    margin: 18px 0;
    list-style: none;
    display: grid;
    gap: 10px;
}
.feature-list li,
.check-list li {
    padding: 12px 14px;
    border-radius: 16px;
    background: #F6F8FC;
    color: #394150;
}
.public-wifi-section {
    background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%);
}
.public-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}
.info-grid {
    display: grid;
    gap: 16px;
}
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px;
}
.info-card.blue-line,
.risk-card {
    border-left: 4px solid var(--blue);
}
.privacy-board {
    display: grid;
    gap: 16px;
}
.privacy-board .info-card {
    background: linear-gradient(180deg, #fff 0%, #F8FAFF 100%);
}
.device-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}
.device-mini {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: #fff;
}
.process-steps {
    display: grid;
    gap: 14px;
    counter-reset: steps;
}
.step-card {
    position: relative;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fff;
}
.step-card .num {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    margin-bottom: 10px;
}
.risk-grid {
    display: grid;
    gap: 16px;
}
.risk-card {
    background: #fff;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
}
.faq-list {
    display: grid;
    gap: 14px;
}
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px 20px;
}
.faq-item h3 { margin: 0 0 8px; }
.faq-item p { margin: 0; color: var(--muted); }
.cta-section {
    padding: 56px 0;
}
.cta-panel {
    background: var(--brand-gradient);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    overflow: hidden;
}
.cta-panel p { color: rgba(255,255,255,.85); }
.cta-panel .download-btn { background: #2980FE; }
.simple-hero,
.guide-hero {
    padding: 46px 0 28px;
    background:
        radial-gradient(circle at top right, rgba(41,128,254,.12), transparent 30%),
        linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%);
}
.simple-card,
.guide-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}
.guide-layout {
    display: grid;
    gap: 22px;
    align-items: start;
}
.guide-content {
    display: grid;
    gap: 16px;
}
.guide-content p { color: #4B5567; margin: 0; }
.guide-sidebar {
    display: grid;
    gap: 14px;
}
.notice-box {
    background: #F2F7FF;
    border: 1px solid #DCEAFF;
    border-radius: 24px;
    padding: 18px;
}
.download-page-grid {
    display: grid;
    gap: 22px;
}
.install-steps {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}
.install-steps div {
    background: #F6F8FC;
    border-radius: 18px;
    padding: 14px 16px;
}
.site-footer {
    background: #111827;
    color: rgba(255,255,255,.78);
    padding: 44px 0 24px;
}
.footer-grid {
    display: grid;
    gap: 24px;
}
.footer-brand {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
}
.site-footer h3 {
    color: #fff;
    margin: 0 0 12px;
}
.site-footer a {
    display: block;
    color: rgba(255,255,255,.72);
    margin: 8px 0;
}
.footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: grid;
    gap: 8px;
    font-size: 13px;
}
@media (min-width: 680px) {
    .scene-grid { grid-template-columns: repeat(2, 1fr); }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .risk-grid { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (min-width: 920px) {
    .container { width: min(1180px, calc(100% - 48px)); }
    .nav-toggle { display: none; }
    .site-nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 2px;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
    }
    .hero-panel { padding: 54px; }
    .hero-grid { grid-template-columns: 1.05fr .95fr; }
    .scene-grid { grid-template-columns: repeat(3, 1fr); }
    .bento-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: minmax(170px, auto);
    }
    .bento-card.featured { grid-column: span 2; }
    .bento-card.tall { grid-row: span 2; }
    .service-split { grid-template-columns: 1fr 1fr; }
    .privacy-board { grid-template-columns: repeat(3, 1fr); }
    .device-stack { grid-template-columns: repeat(3, 1fr); }
    .risk-grid { grid-template-columns: repeat(3, 1fr); }
    .guide-layout { grid-template-columns: minmax(0, 1fr) 330px; }
    .download-page-grid { grid-template-columns: 1fr .82fr; }
    .section { padding: 74px 0; }
}
@media (max-width: 420px) {
    .container { width: min(100% - 24px, 1120px); }
    .hero-panel,
    .cta-panel,
    .service-panel,
    .public-panel,
    .simple-card,
    .guide-card { border-radius: 24px; padding: 22px; }
    .download-btn { width: 100%; }
    .status-card { position: static; margin-top: 12px; }
    .hero-device { width: 100%; }
}
