:root {
    color-scheme: light;
    --bg: #f6f8fc;
    --surface: #ffffff;
    --ink: #0f172a;
    --muted: #5b6b82;
    --line: #e3e9f3;
    --brand: #2563eb;
    --brand-soft: #eaf2ff;
    --radius-lg: 22px;
    --radius-md: 16px;
    --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.09);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
}

.icon {
    width: 1.18em;
    height: 1.18em;
    flex: none;
    display: inline-block;
    vertical-align: -0.2em;
}

.skip-link {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 14px;
}

.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(227, 233, 243, 0.85);
    background: rgba(246, 248, 252, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ea5e9, #4f46e5);
    color: #fff;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.26);
}

.brand-mark .icon {
    width: 20px;
    height: 20px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #42526b;
    font-size: 14.5px;
    font-weight: 500;
}

.site-nav a {
    transition: color 0.18s ease;
}

.site-nav a:hover {
    color: var(--brand);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #fff;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.24);
}

.btn-primary:hover {
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.3);
}

.btn-ghost {
    border-color: var(--line);
    background: #fff;
    color: #334155;
}

.btn-ghost:hover {
    border-color: #bfdbfe;
    color: var(--brand);
}

.btn-white {
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 14px 30px rgba(2, 20, 48, 0.22);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.btn-lg {
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 16px;
}

.btn .icon {
    width: 18px;
    height: 18px;
}

/* Shared section styles */
.section {
    padding: 96px 0;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-head h2 {
    margin: 12px 0 14px;
    font-size: clamp(28px, 3.2vw, 40px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 16.5px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.eyebrow-light {
    color: #7dd3fc;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 76px;
    background:
        radial-gradient(900px 520px at 10% -12%, rgba(14, 165, 233, 0.15), transparent 62%),
        radial-gradient(820px 520px at 92% -4%, rgba(99, 102, 241, 0.13), transparent 60%),
        linear-gradient(180deg, #f6f8fc 0%, #ffffff 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 64px;
}

.hero h1 {
    margin: 20px 0 22px;
    font-size: clamp(38px, 3.8vw, 54px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.hero h1 em {
    font-style: normal;
    background: linear-gradient(120deg, #2563eb, #0891b2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 560px;
    margin: 0 0 30px;
    color: #52627a;
    font-size: 17.5px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    color: #64748b;
    font-size: 13.5px;
}

.hero-trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust .icon {
    width: 15px;
    height: 15px;
    color: #0f9f6e;
}

/* Hero visual */
.hero-visual {
    position: relative;
    min-width: 0;
}

.mock-window {
    overflow: hidden;
    border: 1px solid #e5ebf5;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 40px 90px rgba(15, 23, 42, 0.16);
    transform: rotate(0.6deg);
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid #edf1f8;
    background: #fbfcff;
}

.mock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #e2e8f0;
}

.mock-dot:nth-child(1) {
    background: #fca5a5;
}

.mock-dot:nth-child(2) {
    background: #fcd34d;
}

.mock-dot:nth-child(3) {
    background: #86efac;
}

.mock-address {
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #94a3b8;
    font-size: 11px;
}

.mock-body {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 368px;
}

.mock-side {
    padding: 18px 12px;
    background: #0f172a;
    color: #cbd5e1;
    font-size: 11.5px;
}

.mock-side-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 0 6px;
    color: #f8fafc;
    font-size: 12.5px;
    font-weight: 700;
}

.mock-side-brand .icon {
    width: 18px;
    height: 18px;
    color: #38bdf8;
}

.mock-side-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    padding: 8px 10px;
    border-radius: 8px;
}

.mock-side-item .icon {
    width: 14px;
    height: 14px;
}

.mock-side-item.active {
    background: rgba(56, 189, 248, 0.15);
    color: #7dd3fc;
}

.mock-main {
    padding: 18px;
}

.mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 13px;
}

.mock-upload {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 7px;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 600;
}

.mock-upload .icon {
    width: 12px;
    height: 12px;
}

.mock-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mock-tile {
    padding: 8px;
    border: 1px solid #edf1f8;
    border-radius: 11px;
    background: #fff;
    font-size: 10.5px;
    color: #475569;
}

.mock-thumb {
    position: relative;
    display: grid;
    place-items: center;
    height: 62px;
    margin-bottom: 7px;
    overflow: hidden;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.92);
}

.mock-thumb .icon {
    width: 20px;
    height: 20px;
}

.thumb-a {
    background: linear-gradient(145deg, #fda4af, #fb7185 55%, #e11d48);
}

.thumb-b {
    background: linear-gradient(145deg, #93c5fd, #60a5fa 55%, #2563eb);
}

.thumb-c {
    background: linear-gradient(145deg, #fde68a, #fbbf24 55%, #d97706);
}

.thumb-d {
    background: linear-gradient(145deg, #c4b5fd, #a78bfa 55%, #7c3aed);
}

.thumb-e {
    background: linear-gradient(145deg, #a7f3d0, #34d399 55%, #059669);
}

.thumb-f {
    background: linear-gradient(145deg, #bae6fd, #38bdf8 55%, #0284c7);
}

.mock-progress {
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #edf1f8;
    border-radius: 10px;
    background: #fbfcff;
    font-size: 10.5px;
    color: #64748b;
}

.mock-progress-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 7px;
}

.mock-progress-track {
    height: 5px;
    overflow: hidden;
    border-radius: 99px;
    background: #e8eef7;
}

.mock-progress-track span {
    display: block;
    width: 68%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 15px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    font-size: 11.5px;
    color: #64748b;
    backdrop-filter: blur(8px);
}

.floating-card strong {
    display: block;
    margin-bottom: 1px;
    color: #0f172a;
    font-size: 12.5px;
}

.floating-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eaf2ff;
    color: #2563eb;
}

.floating-icon .icon {
    width: 18px;
    height: 18px;
}

.floating-upload {
    bottom: -20px;
    left: -28px;
}

.floating-shield {
    top: -20px;
    right: -16px;
}

.floating-shield .floating-icon {
    background: #e8fbf3;
    color: #0f9f6e;
}

/* Feature grid */
#features {
    background: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #c7ddfb;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 13px;
    background: var(--brand-soft);
    color: var(--brand);
}

.feature-icon .icon {
    width: 22px;
    height: 22px;
}

.feature-card h3 {
    margin: 0 0 8px;
    font-size: 17.5px;
    letter-spacing: -0.01em;
}

.feature-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
}

/* Security */
.security-section {
    padding-top: 20px;
}

.security-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding: 64px;
    border-radius: 30px;
    background:
        radial-gradient(700px 400px at 100% 0%, rgba(14, 165, 233, 0.18), transparent 60%),
        linear-gradient(155deg, #0b1220 0%, #12203a 58%, #0d1930 100%);
    color: #e2e8f0;
    box-shadow: 0 36px 80px rgba(11, 18, 32, 0.24);
}

.security-copy h2 {
    margin: 14px 0 16px;
    color: #f8fafc;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.security-copy > p {
    margin: 0;
    color: #a9b8cd;
    font-size: 15.5px;
}

.roadmap-card {
    display: flex;
    gap: 14px;
    margin-top: 30px;
    padding: 20px;
    border: 1px solid rgba(125, 211, 252, 0.24);
    border-radius: 14px;
    background: rgba(56, 189, 248, 0.08);
}

.roadmap-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(125, 211, 252, 0.16);
    color: #7dd3fc;
}

.roadmap-icon .icon {
    width: 19px;
    height: 19px;
}

.roadmap-card strong {
    display: block;
    margin-bottom: 4px;
    color: #f0f9ff;
    font-size: 14.5px;
}

.roadmap-card p {
    margin: 0;
    color: #a9b8cd;
    font-size: 13px;
}

.security-list {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.security-list li {
    display: flex;
    gap: 14px;
}

.security-item-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 11px;
    background: rgba(148, 163, 184, 0.1);
    color: #7dd3fc;
}

.security-item-icon .icon {
    width: 19px;
    height: 19px;
}

.security-list strong {
    display: block;
    margin-bottom: 2px;
    color: #f1f5f9;
    font-size: 14.5px;
}

.security-list span {
    color: #9fb0c6;
    font-size: 13px;
}

/* Scenarios */
#scenarios {
    background: #fff;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.scenario-card {
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.scenario-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 12px;
}

.scenario-icon .icon {
    width: 21px;
    height: 21px;
}

.tone-rose {
    background: #fff1f2;
    color: #e11d48;
}

.tone-blue {
    background: #eff6ff;
    color: #2563eb;
}

.tone-amber {
    background: #fffbeb;
    color: #d97706;
}

.tone-green {
    background: #ecfdf5;
    color: #059669;
}

.scenario-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.scenario-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* Steps */
.how-section {
    border-block: 1px solid var(--line);
    background: #fff;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.step {
    position: relative;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
}

.step-number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: #dbe4f2;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.step-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 13px;
    background: var(--brand-soft);
    color: var(--brand);
}

.step-icon .icon {
    width: 22px;
    height: 22px;
}

.step h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* FAQ */
.faq-wrap {
    max-width: 860px;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq-item[open] {
    border-color: #c7ddfb;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.faq-item summary {
    position: relative;
    padding: 19px 56px 19px 22px;
    color: #1e293b;
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #f1f5fb;
    color: #64748b;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 0.18s ease, color 0.18s ease;
}

.faq-item[open] summary::after {
    content: "−";
    background: var(--brand-soft);
    color: var(--brand);
}

.faq-item p {
    margin: 0;
    padding: 0 56px 20px 22px;
    color: var(--muted);
    font-size: 14.5px;
}

/* Final CTA */
.cta-section {
    padding-bottom: 88px;
}

.final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    padding: 56px;
    border-radius: 28px;
    background:
        radial-gradient(600px 320px at 92% -20%, rgba(125, 211, 252, 0.34), transparent 62%),
        linear-gradient(135deg, #1d4ed8, #0284c7);
    color: #fff;
    box-shadow: 0 34px 70px rgba(29, 78, 216, 0.24);
}

.final-cta h2 {
    margin: 12px 0 10px;
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.final-cta p {
    margin: 0;
    color: #dbeafe;
    font-size: 15.5px;
}

.cta-actions {
    display: flex;
    flex: none;
    flex-wrap: wrap;
    gap: 12px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 0 34px;
}

.footer-brand p {
    max-width: 380px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 13.5px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    color: #475569;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0 28px;
    border-top: 1px solid #eef2f8;
    color: #8a99ad;
    font-size: 12.5px;
}

/* Responsive */
@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .hero-copy {
        max-width: 720px;
    }

    .hero-visual {
        width: min(640px, 100%);
        margin-inline: auto;
    }

    .feature-grid,
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .scenario-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .security-panel {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 48px;
    }
}

@media (max-width: 900px) {
    .site-nav {
        display: none;
    }

    .section {
        padding: 76px 0;
    }

    .final-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 44px;
    }
}

@media (max-width: 720px) {
    .container {
        width: calc(100% - 32px);
    }

    .header-inner {
        height: 64px;
        gap: 12px;
    }

    .brand {
        font-size: 15.5px;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .header-actions .btn {
        padding: 9px 14px;
        font-size: 13.5px;
    }

    .hero {
        padding: 54px 0 62px;
    }

    .hero h1 {
        font-size: clamp(34px, 9vw, 44px);
    }

    .hero-lead {
        font-size: 16px;
    }

    .hero-lead br {
        display: none;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 15px;
    }

    .feature-grid,
    .scenario-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .section-head {
        margin-bottom: 38px;
    }

    .security-panel {
        padding: 32px 24px;
        border-radius: 22px;
    }

    .security-copy > p,
    .feature-card p,
    .scenario-card p,
    .step p {
        font-size: 14px;
    }

    .final-cta {
        padding: 34px 26px;
        border-radius: 22px;
    }

    .cta-actions {
        width: 100%;
    }

    .cta-actions .btn {
        flex: 1 1 180px;
    }

    .footer-main {
        flex-direction: column;
        gap: 26px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .floating-upload {
        left: -8px;
        bottom: -24px;
    }

    .floating-shield {
        right: -6px;
        top: -24px;
    }
}

@media (max-width: 520px) {
    .mock-body {
        grid-template-columns: 1fr;
    }

    .mock-side {
        display: none;
    }

    .mock-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .floating-card {
        display: none;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .faq-item summary {
        padding: 17px 52px 17px 18px;
        font-size: 14.5px;
    }

    .faq-item p {
        padding: 0 48px 18px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
