* {
    box-sizing: border-box;
}

:root {
    --blue-950: var(--theme-primary-950, #0e2336);
    --blue-900: var(--theme-primary-900, #102f46);
    --blue-700: var(--theme-primary-dark, #102f46);
    --blue-600: var(--theme-primary, #153854);
    --blue-500: var(--theme-primary-500, #2f5d7e);
    --blue-100: var(--theme-primary-100, #e3ebf2);
    --slate-900: #0f172a;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --slate-200: #e2e8f0;
    --slate-100: #f1f5f9;
    --white: #ffffff;
    --bg-soft: #f8fafc;
    --shadow-xl: 0 26px 60px rgba(15, 23, 42, 0.18);
    --shadow-lg: 0 18px 38px rgba(15, 23, 42, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--slate-900);
    background: var(--bg-soft);
    -webkit-font-smoothing: antialiased;
}

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

button {
    font: inherit;
}

.narrow-shell {
    width: min(980px, calc(100% - 32px));
}

.language-button,
.nav-cta,
.button-primary,
.button-secondary,
.button-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 16px;
    border: 0;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button-arrow {
    width: 10px;
    height: 10px;
    margin-left: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.nav-cta,
.button-primary {
    background: var(--blue-600);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(var(--theme-primary-rgb, 21, 56, 84), 0.3);
}

.main-nav > a.nav-cta,
.main-nav > a.nav-cta:hover {
    color: var(--white);
}

.nav-cta:hover {
    background: var(--theme-primary-dark, #102f46);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
}

.button-light {
    background: var(--white);
    color: var(--blue-600);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.15);
}

.nav-cta:hover,
.button-primary:hover,
.button-secondary:hover,
.button-light:hover,
.language-button:hover {
    transform: translateY(-2px);
}

.language-button:hover {
    color: var(--blue-600);
}

.button-primary:hover .button-arrow,
.button-light:hover .button-arrow {
    transform: rotate(45deg) translate(2px, -2px);
}

.hero {
    position: relative;
    overflow: hidden;
    background: url("/home/images/bg_1.png") center center / cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.34));
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    pointer-events: none;
}

.hero::before {
    top: -120px;
    right: -70px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(var(--theme-primary-400-rgb, 79, 120, 153), 0.26), rgba(var(--theme-primary-400-rgb, 79, 120, 153), 0));
}

.hero::after {
    left: -100px;
    bottom: -140px;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(var(--theme-primary-accent-rgb, 43, 88, 120), 0.2), rgba(var(--theme-primary-accent-rgb, 43, 88, 120), 0));
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 36px;
    padding: 88px 0 96px;
    align-items: start;
}

.hero-copy {
    color: var(--white);
}

.hero-kicker-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(var(--theme-primary-400-rgb, 79, 120, 153), 0.5);
    border-radius: 999px;
    background: rgba(var(--theme-primary-rgb, 21, 56, 84), 0.22);
    font-size: 13px;
    font-weight: 600;
}

.hero-policy {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    font-weight: 700;
}

.hero-copy h1 {
    margin: 22px 0 20px;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.06;
    max-width: 900px;
}

.hero-emphasis {
    color: var(--theme-primary-400, #4f7899);
    text-shadow: 0 0 26px rgba(var(--theme-primary-500-rgb, 47, 93, 126), 0.28);
}

.hero-copy p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin: 34px 0 30px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
}

.hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.avatar-stack {
    display: inline-flex;
}

.avatar-stack img {
    display: block;
    width: 32px;
    height: 32px;
    margin-left: -8px;
    border: 2px solid rgba(15, 23, 42, 0.8);
    border-radius: 50%;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2);
    object-fit: cover;
    background: #1e293b;
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.stars {
    color: #facc15;
    letter-spacing: 2px;
}

.status-card {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.status-card-glow {
    position: absolute;
    right: -38px;
    top: -40px;
    width: 140px;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(var(--theme-primary-rgb, 21, 56, 84), 0.18), rgba(var(--theme-primary-rgb, 21, 56, 84), 0));
    pointer-events: none;
}

.status-card-bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 6px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(90deg, var(--blue-500), var(--theme-primary-accent-2, #3a6688));
}

.status-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 18px;
    font-size: 22px;
}

.live-dot {
    position: relative;
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #22c55e;
}

.live-dot::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.16);
    animation: pulseDot 1.8s ease-out infinite;
}

.status-window {
    position: relative;
    min-height: 254px;
    overflow: hidden;
    border-radius: 18px;
}

.status-window::before,
.status-window::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 38px;
    z-index: 2;
    pointer-events: none;
}

.status-window::before {
    top: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
}

.status-window::after {
    bottom: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0));
}

.status-ticker {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.status-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--slate-100);
    border-radius: 16px;
    background: var(--bg-soft);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.status-item.is-fresh {
    border-color: var(--theme-primary-200, #c8d7e3);
    box-shadow: 0 14px 28px rgba(var(--theme-primary-rgb, 21, 56, 84), 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
    animation: statusCardIn 0.45s ease;
}

.status-card:hover,
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 58px rgba(15, 23, 42, 0.16);
}

.status-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-primary-100, #e3ebf2), var(--theme-primary-200, #c8d7e3));
    position: relative;
}

.status-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 10px;
    height: 10px;
    margin: auto;
    border-radius: 50%;
    background: var(--blue-600);
}

.status-item--review .status-badge {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
}

.status-item--review .status-badge::before {
    background: #d97706;
}

.status-item--updated .status-badge {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
}

.status-item--updated .status-badge::before {
    background: var(--theme-primary-accent, #2b5878);
}

.status-item--issued .status-badge {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.status-item--issued .status-badge::before {
    background: #16a34a;
}

.status-item--pending .status-badge {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
}

.status-item--pending .status-badge::before {
    background: #dc2626;
}

.status-body strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.status-headline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--theme-primary-50, #f1f5f8);
    color: var(--blue-700);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.status-item--review .status-chip {
    background: #fffbeb;
    color: #b45309;
}

.status-item--updated .status-chip {
    background: #f5f3ff;
    color: var(--theme-primary-accent-2, #3a6688);
}

.status-item--issued .status-chip {
    background: #ecfdf3;
    color: #15803d;
}

.status-item--pending .status-chip {
    background: #fef2f2;
    color: #b91c1c;
}

.status-body p,
.status-note,
.section-head p,
.step-card p,
.faq-content p,
.cta-inner p,
.footer-brand p,
.footer-copy,
.footer-copy p,
.footer-copy a {
    margin: 0;
    color: var(--slate-500);
    line-height: 1.8;
}

.status-time {
    color: var(--slate-500);
    font-size: 12px;
}

.status-note {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--slate-100);
    font-size: 12px;
}

.section {
    padding: 88px 0;
    background: var(--white);
}

.section-soft {
    background: var(--slate-100);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-head h2,
.cta-inner h2 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.16;
}

.steps-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.steps-line {
    width: min(62%, 720px);
    height: 2px;
    margin: 12px auto 28px;
    background: linear-gradient(90deg, rgba(var(--theme-primary-rgb, 21, 56, 84), 0), rgba(var(--theme-primary-rgb, 21, 56, 84), 0.22), rgba(var(--theme-primary-rgb, 21, 56, 84), 0));
}

.step-card {
    position: relative;
    z-index: 1;
    padding: 32px 28px;
    border: 1px solid var(--slate-200);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    border: 4px solid var(--white);
    border-radius: 50%;
    background: var(--blue-600);
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(var(--theme-primary-rgb, 21, 56, 84), 0.26);
}

.step-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
}

.steps-guide {
    margin-top: 34px;
    text-align: center;
}

.steps-guide a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-600);
    font-weight: 700;
}

.steps-guide a::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.comparison-wrap {
    overflow-x: auto;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.comparison-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 22px 24px;
    border-bottom: 1px solid var(--slate-100);
    text-align: left;
    vertical-align: middle;
}

.comparison-table thead th {
    background: #eef2ff;
    color: var(--slate-700);
    font-size: 15px;
}

.comparison-table thead .featured {
    background: var(--blue-600);
    color: var(--white);
}

.comparison-table tbody td:nth-child(2) {
    background: rgba(var(--theme-primary-rgb, 21, 56, 84), 0.03);
}

.comparison-table tbody tr:hover td {
    background: rgba(248, 250, 252, 0.88);
}

.comparison-table tbody tr:hover td:nth-child(2) {
    background: rgba(var(--theme-primary-rgb, 21, 56, 84), 0.07);
}

.comparison-table .good {
    color: #15803d;
    font-weight: 700;
}

.comparison-table .muted {
    color: var(--slate-500);
}

.table-mark {
    display: inline-block;
    position: relative;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: -3px;
}

.table-mark.is-good::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border-right: 3px solid #16a34a;
    border-bottom: 3px solid #16a34a;
    transform: rotate(45deg);
}

.table-mark.is-bad::before,
.table-mark.is-bad::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 1px;
    width: 3px;
    height: 16px;
    border-radius: 999px;
    background: #ef4444;
}

.table-mark.is-bad::before {
    transform: rotate(45deg);
}

.table-mark.is-bad::after {
    transform: rotate(-45deg);
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--slate-200);
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    border-color: var(--theme-primary-200, #c8d7e3);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 22px 24px;
    border: 0;
    background: #f8fafc;
    color: var(--slate-900);
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    transition: transform 0.2s ease;
}

.faq-content {
    display: none;
    padding: 0 24px 22px;
    background: var(--white);
}

.faq-item.is-open .faq-content {
    display: block;
}

.faq-item.is-open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.cta-band {
    padding: 0 0 84px;
    background: var(--white);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 38px;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--blue-600), var(--theme-primary-accent, #2b5878));
    color: var(--white);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.cta-inner::after {
    content: "";
    position: absolute;
    left: -40px;
    bottom: -60px;
    width: 180px;
    height: 180px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.cta-inner > * {
    position: relative;
    z-index: 1;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 720px;
}

.site-footer {
    padding: 56px 0;
    background: var(--slate-900);
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.footer-brand {
    grid-column: span 2;
}

.footer-brand img {
    height: 40px;
    width: auto;
    margin-bottom: 18px;
}

.footer-brand p {
    margin-bottom: 14px;
}

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.payment-badges span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
}

.footer-copy,
.footer-copy p,
.footer-copy a {
    color: rgba(255, 255, 255, 0.68);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    margin: 0 0 6px;
    color: var(--white);
    font-size: 18px;
}

.footer-links a:hover,
.footer-button:hover {
    color: var(--white);
}

.footer-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.78);
    text-align: left;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.46);
    font-size: 12px;
}

.footer-bottom p {
    margin: 0;
}

.legal-modal[hidden] {
    display: none;
}

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
}

.legal-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.68);
}

.legal-panel {
    position: relative;
    width: min(780px, calc(100% - 24px));
    max-height: 82vh;
    margin: 7vh auto 0;
    padding: 30px;
    overflow: auto;
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-xl);
}

.legal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--slate-100);
    cursor: pointer;
}

.legal-panel h3,
.legal-panel h4 {
    margin: 0 0 14px;
}

.legal-panel p {
    margin: 0 0 14px;
    color: var(--slate-600);
    line-height: 1.8;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.75);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes statusCardIn {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .hero-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .steps-line {
        display: none;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 900px) {
    .topbar {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px;
        border: 1px solid var(--slate-200);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-lg);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a,
    .nav-cta {
        justify-content: center;
    }

    .language-menu {
        position: static;
        margin-top: 10px;
        border-radius: 12px;
        box-shadow: none;
    }

    .hero-grid {
        padding: 64px 0 70px;
    }

    .hero {
        background-attachment: scroll;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

@media (max-width: 640px) {
    .page-shell,
    .narrow-shell {
        width: min(100% - 20px, 1180px);
    }

    .hero-copy h1 {
        font-size: 32px;
    }

    .hero-copy p {
        font-size: 16px;
    }

    .hero-actions,
    .hero-trust,
    .hero-kicker-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .button-primary,
    .button-secondary,
    .button-light {
        width: 100%;
    }

    .status-card,
    .step-card,
    .cta-inner,
    .legal-panel {
        padding: 22px;
    }

    .status-item {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .status-item > span {
        grid-column: 2;
    }
}
