* {
    box-sizing: border-box;
}

:root {
    --gradient-main: linear-gradient(90deg, #3558F2 0%, #7B4EF1 50%, #B84DDA 100%);
    --blue: #2980FE;
    --blue-dark: #1768E8;
    --text: #1f2937;
    --muted: #667085;
    --light: #f5f7fb;
    --line: #e5e7eb;
    --panel: #ffffff;
    --soft-blue: #eef5ff;
    --radius-lg: 30px;
    --radius-md: 22px;
    --shadow: 0 18px 45px rgba(31, 41, 55, 0.10);
    --shadow-soft: 0 10px 30px rgba(41, 128, 254, 0.10);
}

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: #f8fafc;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 14px;
    color: var(--muted);
}

h1, h2, h3 {
    margin: 0;
    line-height: 1.25;
    color: #111827;
}

h1 {
    font-size: clamp(34px, 7vw, 64px);
    letter-spacing: -1.2px;
}

h2 {
    font-size: clamp(26px, 4vw, 42px);
}

h3 {
    font-size: 20px;
}

.container {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.header-inner {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #111827;
    white-space: nowrap;
}

.logo img,
.footer-logo img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    object-fit: cover;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav a {
    color: #4b5563;
    font-size: 14px;
    padding: 9px 12px;
    border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--blue);
    background: var(--soft-blue);
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: #fff;
}

.nav-toggle-label span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #1f2937;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    background: var(--blue);
    color: #ffffff;
    border-radius: 999px;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(41, 128, 254, 0.24);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.download-btn:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(23, 104, 232, 0.26);
}

.section {
    padding: 76px 0;
}

.section-sm {
    padding: 54px 0;
}

.section-head {
    max-width: 780px;
    margin-bottom: 28px;
}

.section-head.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-kicker,
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 12px;
    color: var(--blue);
    background: var(--soft-blue);
    border: 1px solid #d9e8ff;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.connection-workspace-hero {
    padding: 56px 0 34px;
    background: var(--gradient-main);
    color: #fff;
    border-bottom-left-radius: 34px;
    border-bottom-right-radius: 34px;
    position: relative;
    overflow: hidden;
}

.connection-workspace-hero:before,
.connection-workspace-hero:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    filter: blur(8px);
}

.connection-workspace-hero:before {
    width: 360px;
    height: 360px;
    top: -120px;
    right: -80px;
}

.connection-workspace-hero:after {
    width: 260px;
    height: 260px;
    left: -90px;
    bottom: -120px;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 28px;
    align-items: center;
}

.hero-copy h1,
.hero-copy p {
    color: #fff;
}

.hero-copy p {
    max-width: 640px;
    opacity: .92;
    font-size: 17px;
    margin: 18px 0 22px;
}

.hero-tags,
.inline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-tags span,
.inline-tags span {
    display: inline-flex;
    padding: 7px 12px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.24);
    border-radius: 999px;
    font-size: 13px;
    color: #fff;
}

.hero-visual {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
}

.hero-device {
    width: min(420px, 88%);
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.26);
    padding: 18px;
    border-radius: 34px;
    box-shadow: 0 28px 80px rgba(21, 26, 70, 0.25);
}

.hero-device img {
    margin: auto;
    border-radius: 26px;
}

.status-panel,
.float-card,
.mini-status {
    background: rgba(255,255,255,0.94);
    color: #1f2937;
    border: 1px solid rgba(255,255,255,0.74);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.status-panel {
    position: absolute;
    right: 0;
    bottom: 18px;
    width: min(260px, 76%);
    padding: 18px;
}

.float-card {
    position: absolute;
    left: 0;
    top: 22px;
    padding: 14px 16px;
}

.status-line,
.mini-status {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    color: var(--muted);
    font-size: 14px;
}

.status-line strong,
.mini-status strong {
    color: #111827;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #23c55e;
    box-shadow: 0 0 0 6px rgba(35, 197, 94, .13);
}

.quick-task-entries,
.risk-grid,
.faq-grid,
.card-grid,
.scenario-grid,
.info-grid {
    display: grid;
    gap: 18px;
}

.quick-task-entries {
    margin-top: -28px;
    position: relative;
    z-index: 2;
}

.task-entry,
.task-card,
.capability-card,
.info-card,
.risk-card,
.faq-item,
.step-card,
.content-panel,
.side-panel,
.download-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.task-entry,
.task-card,
.capability-card,
.info-card,
.risk-card,
.faq-item,
.step-card {
    padding: 22px;
}

.task-entry a,
.card-link,
.text-link {
    color: var(--blue);
    font-weight: 800;
}

.task-label,
.card-label {
    display: inline-flex;
    padding: 4px 9px;
    color: var(--blue);
    background: var(--soft-blue);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.connection-capability-overview {
    display: grid;
    gap: 18px;
}

.capability-card.featured {
    background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}

.capability-card p {
    margin-top: 10px;
}

.split-section,
.device-layout,
.route-layout,
.checkup-layout,
.data-layout,
.page-layout {
    display: grid;
    gap: 26px;
    align-items: center;
}

.visual-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.visual-card img {
    border-radius: 24px;
    margin: auto;
}

.feature-list,
.clean-list,
.check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 12px;
}

.feature-list li,
.clean-list li,
.check-list li {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 14px;
    color: #475467;
}

.feature-list li strong,
.clean-list li strong {
    color: #111827;
}

.encrypted-tunnel-section {
    background: #eef5ff;
}

.security-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 26px;
    box-shadow: var(--shadow-soft);
}

.security-grid {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.security-card {
    padding: 18px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid var(--line);
}

.route-optimization-section,
.connection-checkup-section {
    background: #f5f7fb;
}

.route-status {
    display: grid;
    gap: 12px;
}

.route-status .mini-status {
    padding: 14px 16px;
}

.device-stack {
    display: grid;
    gap: 14px;
}

.device-chip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow-soft);
}

.data-band {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 24px;
    box-shadow: var(--shadow-soft);
}

.process-steps {
    display: grid;
    gap: 16px;
    counter-reset: step;
}

.step-card {
    position: relative;
    padding-left: 66px;
}

.step-card:before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 22px;
    top: 22px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
}

.risk-card {
    border-left: 4px solid var(--blue);
}

.risk-card .suggest {
    color: #344054;
    background: #f8fafc;
    border-radius: 14px;
    padding: 10px 12px;
    margin-top: 10px;
}

.faq-item h3 {
    margin-bottom: 8px;
}

.cta-section {
    padding: 68px 0;
    background: var(--gradient-main);
    color: #fff;
    text-align: center;
    border-radius: 34px 34px 0 0;
}

.cta-section h2,
.cta-section p {
    color: #fff;
}

.cta-section p {
    max-width: 660px;
    margin: 14px auto 22px;
    opacity: .94;
}

.page-hero {
    padding: 54px 0 26px;
    background: linear-gradient(180deg, #eef5ff 0%, #f8fafc 100%);
}

.page-hero .summary {
    max-width: 780px;
    font-size: 17px;
    margin-top: 14px;
}

.content-panel {
    padding: 26px;
}

.side-panel {
    padding: 22px;
    align-self: start;
}

.side-panel h3 {
    margin-bottom: 10px;
}

.side-panel a {
    display: block;
    color: var(--blue);
    font-weight: 800;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.side-panel a:last-child {
    border-bottom: 0;
}

.operation-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    margin-top: 22px;
}

.operation-box ol {
    margin: 0;
    padding-left: 22px;
    color: #475467;
}

.operation-box li {
    margin: 8px 0;
}

.download-panel {
    padding: 28px;
    text-align: center;
    margin-top: 22px;
}

.download-panel p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.site-footer {
    background: #111827;
    color: #d1d5db;
    padding-top: 56px;
}

.footer-grid {
    display: grid;
    gap: 28px;
}

.footer-logo {
    color: #fff;
    margin-bottom: 12px;
}

.site-footer p,
.site-footer a {
    color: #c7ced8;
}

.site-footer h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 16px;
}

.site-footer a {
    display: block;
    padding: 5px 0;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 38px;
    padding: 18px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.10);
    color: #98a2b3;
    font-size: 14px;
}

@media (min-width: 640px) {
    .quick-task-entries,
    .security-grid,
    .info-grid,
    .card-grid,
    .faq-grid,
    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .risk-grid,
    .scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .hero-grid,
    .split-section,
    .route-layout,
    .device-layout,
    .checkup-layout,
    .data-layout {
        grid-template-columns: 1.02fr .98fr;
    }

    .page-layout {
        grid-template-columns: minmax(0, 1fr) 310px;
        align-items: start;
    }

    .quick-task-entries {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .connection-capability-overview {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .capability-card.featured {
        grid-column: span 2;
        min-height: 210px;
    }

    .risk-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .scenario-grid,
    .info-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.4fr .8fr .8fr .8fr;
    }

    .section {
        padding: 90px 0;
    }
}

@media (max-width: 860px) {
    .header-inner {
        height: 66px;
    }

    .nav-toggle-label {
        display: flex;
    }

    .site-nav {
        position: absolute;
        left: 14px;
        right: 14px;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 20px;
        box-shadow: var(--shadow);
    }

    .site-nav a {
        padding: 12px 14px;
    }

    .nav-toggle:checked ~ .site-nav {
        display: flex;
    }

    .connection-workspace-hero {
        padding-top: 42px;
    }

    .hero-visual {
        min-height: 320px;
    }

    .status-panel,
    .float-card {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        margin-top: 12px;
    }

    .hero-device {
        width: 100%;
    }

    .section {
        padding: 58px 0;
    }

    .container {
        width: min(100% - 28px, 1120px);
    }

    .download-btn {
        width: 100%;
    }

    .cta-section {
        border-radius: 28px 28px 0 0;
    }
}
