/* ============================================================
   NovaPay 前端全局样式
   配色参考 payful.com：靛蓝主色 + 渐变点缀 + 浅灰背景
   ============================================================ */

:root {
    --primary: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #EEF2FF;
    --accent: #7C3AED;
    --accent-pink: #EC4899;
    --gradient: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #EC4899 100%);
    --gradient-soft: linear-gradient(135deg, #EEF2FF 0%, #F5F3FF 100%);
    --dark: #0F172A;
    --text: #334155;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --border: #E2E8F0;
    --shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 60px rgba(79, 70, 229, 0.15);
    --radius: 16px;
}

/* ============ 基础 ============ */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-padding {
    padding: 96px 0;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============ 按钮 ============ */
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25);
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.35);
}

.btn-outline-light {
    border-radius: 10px;
    font-weight: 600;
    border-width: 2px;
    /* 覆盖 Bootstrap 默认浅色：在浅色 Hero 背景上保持主色文字可见 */
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-light:hover {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-link-ghost {
    color: var(--dark);
    font-weight: 600;
    padding: 0.5rem 1rem;
}

.btn-link-ghost:hover {
    color: var(--primary);
}

/* ============ 导航栏 ============ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.site-header .navbar {
    padding: 0.75rem 0;
}

/* 营销站顶部导航下拉（photonpay 风格）：悬停展开 + 平滑过渡 */
.site-nav-dropdown {
    position: relative;
}

.site-nav-dropdown .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    min-width: 220px;
    border-radius: 12px;
    border: 1px solid #eef2ff;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    padding: 8px;
    margin-top: 12px;
}

.site-nav-dropdown.open .dropdown-menu,
.site-nav-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.site-nav-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 14px;
    color: #334155;
}

.site-nav-dropdown .dropdown-item:hover {
    background: #eef2ff;
    color: #4f46e5;
}

.site-nav-dropdown .dropdown-toggle::after {
    transition: transform .18s ease;
}

.site-nav-dropdown.open .dropdown-toggle::after {
    transform: rotate(180deg);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--gradient);
    color: #fff;
    font-size: 0.9rem;
}

.brand-text {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    color: var(--text);
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
    background: var(--primary-light);
}

/* ============ Hero ============ */
.hero-section {
    position: relative;
    padding: 90px 0 80px;
    background:
        radial-gradient(60% 60% at 85% 10%, rgba(124, 58, 237, 0.10) 0%, transparent 60%),
        radial-gradient(50% 50% at 10% 20%, rgba(79, 70, 229, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, #FAFAFF 0%, #FFFFFF 100%);
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    letter-spacing: -1px;
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-trust {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-trust i {
    color: var(--primary);
}

/* Hero 右侧可视化 */
.hero-visual {
    position: relative;
    min-height: 420px;
}

.visual-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem;
}

.visual-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.visual-card-head i {
    color: var(--border);
}

.vc-label {
    font-weight: 500;
}

.vc-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.vc-change {
    font-size: 0.85rem;
    font-weight: 600;
}

.card-balance {
    top: 0;
    right: 5%;
    width: 300px;
    z-index: 2;
}

.card-tx {
    bottom: 10%;
    left: 0;
    width: 240px;
    z-index: 2;
}

.card-globe {
    display: flex;
    align-items: center;
    gap: 1rem;
    bottom: 5%;
    right: 8%;
    width: 250px;
    z-index: 3;
    background: var(--gradient);
    color: #fff;
}

.card-globe i {
    font-size: 2.2rem;
}

.vc-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

.vc-text strong {
    font-size: 1.2rem;
}

.vc-bar {
    margin-top: 0.75rem;
    height: 8px;
    border-radius: 50px;
    background: var(--primary-light);
    overflow: hidden;
}

.vc-bar span {
    display: block;
    height: 100%;
    border-radius: 50px;
    background: var(--gradient);
}

.visual-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
    z-index: 1;
}

.glow-1 {
    width: 240px;
    height: 240px;
    background: var(--primary);
    top: 15%;
    left: 10%;
}

.glow-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-pink);
    bottom: 0;
    right: 20%;
}

/* ============ 信任标识 ============ */
.trust-section {
    padding: 40px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-heading {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.trust-logos {
    row-gap: 1rem;
}

.logo-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #94A3B8;
    font-weight: 600;
    font-size: 1.05rem;
    transition: color 0.2s ease;
}

.logo-item:hover {
    color: var(--primary);
}

/* ============ 数据统计 ============ */
.stats-section {
    padding: 72px 0;
    background: #fff;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.stat-label {
    color: var(--text-muted);
    margin-top: 0.35rem;
}

/* ============ 通用区块标题 ============ */
.section-tag {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 0.75rem;
}

/* ============ 特性卡片 ============ */
.features-section {
    background: var(--bg-light);
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient);
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.feature-link:hover {
    color: var(--accent);
}

/* ============ 解决方案 ============ */
.solutions-section {
    background: #fff;
}

.solution-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: var(--gradient-soft);
    border-color: rgba(79, 70, 229, 0.2);
}

.solution-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: #fff;
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
    box-shadow: var(--shadow);
}

.solution-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.solution-card>p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.solution-points li {
    color: var(--text);
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
}

.solution-points i {
    color: var(--primary);
}

/* ============ 开发者 ============ */
.dev-section {
    background: var(--bg-light);
}

.dev-point {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.dp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 11px;
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.dev-point h6 {
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.dev-point p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* 代码卡片 */
.code-card {
    background: #0F172A;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.code-bar {
    padding: 0.85rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-bar .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-bar .dot:nth-child(1) {
    background: #F87171;
}

.code-bar .dot:nth-child(2) {
    background: #FBBF24;
}

.code-bar .dot:nth-child(3) {
    background: #34D399;
}

.code-file {
    color: #94A3B8;
    font-size: 0.8rem;
}

.code-body {
    padding: 1.5rem;
    margin: 0;
    font-family: "SF Mono", "JetBrains Mono", Consolas, monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #E2E8F0;
    overflow-x: auto;
}

.c-keyword {
    color: #C084FC;
}

.c-string {
    color: #86EFAC;
}

.c-comment {
    color: #64748B;
    font-style: italic;
}

.c-number {
    color: #FCA5A5;
}

/* ============ CTA ============ */
.cta-section {
    background: #fff;
    padding-bottom: 96px;
}

.cta-box {
    background: var(--gradient);
    border-radius: 24px;
    padding: 64px 32px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-box .btn-light {
    background: #fff;
    color: var(--primary);
    border: none;
    font-weight: 700;
    border-radius: 10px;
}

.cta-box .btn-outline-light {
    border-radius: 10px;
    font-weight: 700;
    /* 渐变盒（深色背景）内保持白色描边与白字 */
    color: #fff;
    border-color: #fff;
}

.cta-box .btn-outline-light:hover {
    color: var(--primary);
    background-color: #fff;
    border-color: #fff;
}

/* ============ 页脚 ============ */
.site-footer {
    background: #0B1120;
    color: #94A3B8;
    padding: 64px 0 0;
}

.site-footer .brand-text {
    color: #fff;
}

.footer-desc {
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 320px;
}

.footer-social .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    transition: all 0.2s ease;
}

.footer-social .social-btn:hover {
    background: var(--primary);
    color: #fff;
}

.footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    margin-top: 48px;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy {
    font-size: 0.85rem;
}

.footer-legal a {
    color: #94A3B8;
    font-size: 0.85rem;
}

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

/* ============ 响应式 ============ */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .card-balance {
        width: 260px;
    }

    .section-padding {
        padding: 64px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stats-section {
        padding: 48px 0;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 60px 0;
    }

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

    .card-balance {
        width: 230px;
        right: 0;
    }

    .card-tx {
        width: 200px;
    }

    .card-globe {
        width: 210px;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    .cta-box {
        padding: 48px 24px;
    }

    .cta-title {
        font-size: 1.6rem;
    }
}

/* ============================================================
   登录页（参考 PhotonPay 门户布局 + Payful 紫罗兰配色）
   body 需加 class="auth-login-body"
   ============================================================ */
.auth-login-body {
    background: #fff;
    min-height: 100vh;
}

.auth-login-body,
.auth-login-body * {
    box-sizing: border-box;
}

.login-layout {
    display: flex;
    min-height: 100vh;
}

/* 左侧品牌区 */
.brand-panel {
    flex: 1 1 52%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #8a5cf6 0%, #6a3df5 45%, #4b2bc9 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.brand-panel::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    top: -140px;
    right: -120px;
}

.brand-panel::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .14);
    bottom: -120px;
    left: -100px;
}

.brand-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
    pointer-events: none;
}

.brand-glow.g1 {
    width: 320px;
    height: 320px;
    background: #c4b4ff;
    top: 20%;
    left: 10%;
}

.brand-glow.g2 {
    width: 280px;
    height: 280px;
    background: #9d83f9;
    bottom: 15%;
    right: 15%;
}

.brand-content {
    position: relative;
    z-index: 1;
    max-width: 480px;
    width: 100%;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 36px;
}

.brand-logo .logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(201deg, #ffffff, #e8e0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

.brand-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}

.brand-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 40px;
}

.brand-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, .95);
}

.brand-features .feat-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 右侧登录表单区 */
.form-panel {
    flex: 1 1 48%;
    background: linear-gradient(135deg, #f8f7ff 0%, #f1edff 50%, #ebe6ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
    overflow: hidden;
}

.form-panel .bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .4;
    pointer-events: none;
}

.form-panel .bg-glow.g3 {
    width: 300px;
    height: 300px;
    background: #c4b4ff;
    top: -80px;
    right: -80px;
}

.form-panel .bg-glow.g4 {
    width: 260px;
    height: 260px;
    background: #8567f6;
    bottom: -100px;
    left: -60px;
    opacity: .25;
}

.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 176, 255, .45);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(133, 103, 246, .16);
    padding: 44px 40px 36px;
}

.login-head {
    text-align: center;
    margin-bottom: 32px;
}

.login-head h1 {
    font-size: 24px;
    font-weight: 800;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.login-head p {
    font-size: 14px;
    color: #9d83f9;
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #47396e;
    margin-bottom: 8px;
}

.input-wrap {
    position: relative;
}

.input-wrap .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9d83f9;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.input-wrap input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 44px;
    font-size: 15px;
    color: #2c2c2c;
    background: #faf9ff;
    border: 1.5px solid #e2dcf5;
    border-radius: 12px;
    outline: none;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.input-wrap input::placeholder {
    color: #c1b8dd;
}

.input-wrap input:focus {
    border-color: #8567f6;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(133, 103, 246, .12);
}

/* 校验失败红框（配合 func.js 验证器 .is-invalid） */
.input-wrap input.is-invalid {
    border-color: #dc3545;
    background: #fff;
}

.input-wrap input.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, .12);
}

.login-btn {
    width: 100%;
    height: 50px;
    margin-top: 8px;
    background: linear-gradient(201deg, #bba0fb, #8567f6 78%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(133, 103, 246, .35);
    transition: transform .2s, box-shadow .2s, opacity .2s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(133, 103, 246, .45);
    opacity: .95;
}

.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 14px;
    color: #9d83f9;
}

.login-footer a {
    color: #8567f6;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
}

.login-footer a:hover {
    color: #6a3df5;
}

.login-card .error-tip {
    display: none;
    background: #fdf1f1;
    border: 1px solid #f5c6c6;
    color: #d64545;
    font-size: 13px;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .login-layout {
        flex-direction: column;
    }

    .brand-panel {
        flex: none;
        padding: 40px 24px;
        align-items: flex-start;
    }

    .brand-content {
        max-width: 100%;
    }

    .brand-title {
        font-size: 26px;
    }

    .brand-features {
        display: none;
    }

    .form-panel {
        flex: none;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 32px 22px 28px;
    }

    .brand-logo {
        margin-bottom: 24px;
    }
}

/* ============================================================
   错误页（参考 PhotonPay 门户风格 + Payful 紫罗兰配色）
   body 需加 class="error-body"
   ============================================================ */
.error-body {
    background: linear-gradient(135deg, #f8f7ff 0%, #f1edff 50%, #ebe6ff 100%);
    color: #333;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.error-body,
.error-body * {
    box-sizing: border-box;
}

.error-body .bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .45;
    pointer-events: none;
}

.error-body .bg-glow.g1 {
    width: 420px;
    height: 420px;
    background: #c4b4ff;
    top: -120px;
    left: -100px;
}

.error-body .bg-glow.g2 {
    width: 360px;
    height: 360px;
    background: #8567f6;
    bottom: -140px;
    right: -80px;
    opacity: .3;
}

.error-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 560px;
    padding: 24px;
}

.error-card {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 176, 255, .45);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(133, 103, 246, .16);
    padding: 56px 48px 48px;
    text-align: center;
}

.error-message {
    font-size: 24px;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 14px;
    word-break: break-all;
    line-height: 1.6;
}

.error-code {
    font-size: 26px;
    font-weight: 500;
    color: #9d83f9;
    letter-spacing: 1px;
    margin-bottom: 36px;
}

.error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.error-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 34px;
    background: linear-gradient(201deg, #bba0fb, #8567f6 78%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s, opacity .2s;
    box-shadow: 0 8px 20px rgba(133, 103, 246, .35);
}

.error-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(133, 103, 246, .45);
    opacity: .95;
}

.error-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #fff;
    color: #8567f6;
    text-decoration: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    border: 1.5px solid #c4b4ff;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.error-back:hover {
    background: #f8f7ff;
    border-color: #8567f6;
}

.error-tip {
    margin-top: 20px;
    font-size: 13px;
    color: #9d83f9;
}

.error-footer {
    margin-top: 24px;
    font-size: 12px;
    color: #9d83f9;
    letter-spacing: .5px;
}

@media (max-width: 480px) {
    .error-card {
        padding: 40px 24px 36px;
    }

    .error-message {
        font-size: 20px;
    }
}

/* ============================================================
   全局 Toast 提示框（配合 static/js/func.js 使用）
   配色：紫罗兰系
   ============================================================ */
#toast-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.toast-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 240px;
    max-width: 420px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #2c2c2c;
    background: #fff;
    border: 1px solid #e2dcf5;
    box-shadow: 0 12px 32px rgba(133, 103, 246, .18);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease;
}

.toast-item.show {
    opacity: 1;
    transform: translateY(0);
}

.toast-item.hide {
    opacity: 0;
    transform: translateY(-12px);
}

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.toast-success .toast-icon {
    background: #e8f7e9;
    color: #1ac90c;
}

.toast-success {
    border-color: rgba(26, 201, 12, .35);
}

.toast-error .toast-icon {
    background: #fdf1f1;
    color: #d64545;
}

.toast-error {
    border-color: rgba(214, 69, 69, .35);
}

.toast-info .toast-icon {
    background: #f1edff;
    color: #8567f6;
}

.toast-info {
    border-color: rgba(133, 103, 246, .35);
}

/* ============================================================
   产品中心（product/index、product/detail）
   布局参考 PhotonPay (https://www.photonpay.com/hk)
   配色沿用 Payful 系（--primary 靛蓝 + 渐变点缀），与全站统一
   ============================================================ */

/* ---- 面包屑 ---- */
.product-breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.product-breadcrumb a {
    color: var(--text-muted);
}

.product-breadcrumb a:hover {
    color: var(--primary);
}

/* ============ 总览页 Hero ============ */
.product-hero {
    position: relative;
    padding: 88px 0 76px;
    background:
        radial-gradient(55% 55% at 88% 8%, rgba(124, 58, 237, 0.10) 0%, transparent 60%),
        radial-gradient(45% 45% at 6% 18%, rgba(79, 70, 229, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, #FAFAFF 0%, #FFFFFF 100%);
    overflow: hidden;
}

.product-hero-title {
    font-size: 2.9rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -1px;
    line-height: 1.18;
    margin: 1.25rem 0 1rem;
}

.product-hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 680px;
    margin-bottom: 0;
}

/* ============ 总览页产品卡片 ============ */
.product-list-section {
    background: var(--bg-light);
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.75rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* 顶部渐变描边（PhotonPay 卡片风格） */
.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 15px;
    background: var(--gradient);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.22);
}

.product-card-tag {
    display: inline-block;
    align-self: flex-start;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.product-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.product-card-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-card:hover .product-card-link {
    color: var(--accent);
}

/* ============ 详情页 Hero ============ */
.product-detail-hero {
    position: relative;
    padding: 72px 0 80px;
    background:
        radial-gradient(55% 55% at 88% 8%, rgba(124, 58, 237, 0.10) 0%, transparent 60%),
        radial-gradient(45% 45% at 8% 12%, rgba(79, 70, 229, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, #FAFAFF 0%, #FFFFFF 100%);
    overflow: hidden;
}

.product-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.product-detail-hero .product-hero-desc {
    max-width: 620px;
}

/* ---- Hero 右侧产品展示面板 ---- */
.product-showcase {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.4;
    z-index: 0;
}

.ps-blob.blob-1 {
    width: 280px;
    height: 280px;
    background: var(--primary);
    top: 8%;
    left: 6%;
}

.ps-blob.blob-2 {
    width: 240px;
    height: 240px;
    background: var(--accent-pink);
    bottom: 4%;
    right: 6%;
}

.ps-panel {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(79, 70, 229, 0.16);
    padding: 2.5rem 2rem;
    text-align: center;
}

.ps-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 24px;
    background: var(--gradient);
    color: #fff;
    font-size: 2.4rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 14px 34px rgba(79, 70, 229, 0.3);
}

.ps-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.ps-tag {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.ps-chips {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.ps-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--gradient-soft);
    color: var(--primary);
    font-size: 1.05rem;
}

/* 漂浮小卡片 */
.ps-float {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #fff;
    color: var(--primary);
    font-size: 1.25rem;
    box-shadow: var(--shadow);
    animation: floaty 4s ease-in-out infinite;
}

.ps-float.fc-1 {
    top: 12%;
    right: 4%;
    color: var(--accent);
}

.ps-float.fc-2 {
    bottom: 12%;
    left: 4%;
    color: #10B981;
    animation-delay: 1.5s;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* ============ 数据条 ============ */
.product-stats {
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

/* ============ 核心功能（复用首页 .features-section / .feature-card） ============ */

/* ============ 三步开启 ============ */
.steps-section {
    background: #fff;
}

.steps-row {
    position: relative;
}

.step-card {
    position: relative;
    height: 100%;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.9rem 1.75rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-soft);
    border-color: transparent;
}

/* 步骤间连接线 */
.steps-row>[class*='col-']:not(:last-child) .step-card::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -24px;
    width: 48px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--primary) 0 6px, transparent 6px 12px);
    opacity: 0.45;
    z-index: 1;
}

.step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    color: var(--primary);
    font-size: 1.15rem;
    box-shadow: var(--shadow);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============ 优势 ============ */
.benefits-section {
    background: var(--bg-light);
}

.benefit-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.9rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--gradient);
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.22);
}

.benefit-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.benefit-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============ FAQ ============ */
.faq-section {
    background: #fff;
}

.product-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.product-accordion .accordion-button {
    font-weight: 600;
    color: var(--dark);
    background: var(--bg-light);
    padding: 1rem 1.25rem;
}

.product-accordion .accordion-button:not(.collapsed) {
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: none;
}

.product-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.product-accordion .accordion-body {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ============ 相关产品 ============ */
.related-section {
    background: var(--bg-light);
}

.product-mini-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.product-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-mini-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--gradient-soft);
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.9rem;
}

.product-mini-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.product-mini-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============ 响应式 ============ */
@media (max-width: 991.98px) {
    .product-hero-title {
        font-size: 2.1rem;
    }

    .product-showcase {
        min-height: 340px;
    }

    .ps-panel {
        max-width: 320px;
    }

    /* 移动端去除步骤连接线 */
    .steps-row>[class*='col-']:not(:last-child) .step-card::after {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .product-hero {
        padding: 56px 0;
    }

    .product-hero-title {
        font-size: 1.75rem;
    }

    .product-showcase {
        min-height: 280px;
    }

    .ps-panel {
        max-width: 280px;
        padding: 1.75rem 1.25rem;
    }

    .ps-icon {
        width: 76px;
        height: 76px;
        font-size: 1.9rem;
    }
}

/* ============================================================
   关于我们（about/index）
   布局参考 PhotonPay，配色沿用 Payful 系（与全站统一）
   ============================================================ */

/* ---- 使命 ---- */
.about-mission {
    background: #fff;
}

.mission-card {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    background: var(--gradient-soft);
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 24px;
    padding: 3rem 2.5rem;
}

.mission-card .section-title {
    font-size: 2rem;
}

.mission-desc {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.9;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* ---- 发展历程（时间线） ---- */
.about-milestones {
    background: var(--bg-light);
}

.about-timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
}

.about-timeline::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, var(--primary), var(--accent-pink));
    opacity: 0.35;
}

.timeline-item {
    position: relative;
    padding: 0 0 1.5rem 64px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 28px;
    top: 6px;
    width: 18px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--gradient);
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.timeline-content {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.15rem 1.35rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.timeline-year {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.timeline-desc {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---- 资质合规 ---- */
.about-compliance {
    background: #fff;
}

/* ============================================================
   联系我们（contact/index）
   配色沿用 Payful 系（与全站统一）
   ============================================================ */

/* 联系渠道卡片中的联系方式值 */
.contact-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
}

/* 留言表单卡片 */
.contact-form-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.contact-form .cf-group {
    margin-bottom: 1rem;
}

.contact-form .cf-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-form .cf-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--text);
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .cf-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.contact-form textarea.cf-control {
    min-height: 140px;
    resize: vertical;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 10px;
    background: var(--gradient);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(79, 70, 229, 0.35);
    opacity: 0.95;
}

/* 表单结果提示 */
.contact-alert {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.1rem;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
}

.contact-alert-success {
    background: #e8f7e9;
    border: 1px solid rgba(26, 201, 12, 0.35);
    color: #15803d;
}

.contact-alert-invalid {
    background: #fdf1f1;
    border: 1px solid rgba(214, 69, 69, 0.35);
    color: #b91c1c;
}

@media (max-width: 575.98px) {
    .contact-form-card {
        padding: 1.5rem;
    }
}

/* ============================================================
   全站响应式增强（PC / 平板 / 手机自适应）
   断点口径：991.98px（平板竖屏及以下）、767.98px、575.98px
   ============================================================ */

/* ---------- 1. 顶部导航：窄屏折叠态重排 ---------- */
@media (max-width: 991.98px) {

    /* 折叠面板：限高可滚动，避免菜单项过多时撑出视口 */
    .site-header .navbar-collapse {
        padding: 8px 0 16px;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }

    /* 一级菜单：去除左右外边距，加大点击热区 */
    .site-header .navbar-nav .nav-link {
        margin: 0;
        padding: 11px 6px;
        font-size: 15px;
    }

    /* 二级菜单：由绝对定位浮层改为静态展开，用左侧竖线表达层级 */
    .site-header .site-nav-dropdown .dropdown-menu {
        display: none;
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        min-width: 0;
        margin: 0 0 6px;
        padding: 2px 0 2px 12px;
        border: 0;
        border-left: 2px solid var(--primary-light);
        border-radius: 0;
        box-shadow: none;
    }

    /* 折叠态下同时兼容 hover：触屏/鼠标均可展开，避免只有点击才生效 */
    .site-header .site-nav-dropdown.open .dropdown-menu,
    .site-header .site-nav-dropdown:hover .dropdown-menu {
        display: block;
    }

    .site-header .site-nav-dropdown .dropdown-item {
        padding: 10px 12px;
    }

    .site-header .site-nav-dropdown .dropdown-toggle::after {
        float: right;
        margin-top: 7px;
    }

    /* 右上操作区（语言切换 / 登录 / 注册）：整行铺满，按钮等宽 */
    .site-header .header-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 12px;
        padding-top: 14px;
        border-top: 1px solid var(--border);
    }

    .site-header .header-actions>.btn,
    .site-header .header-actions>.dropdown,
    .site-header .header-actions>.dropdown>.dropdown-toggle {
        width: 100%;
    }

    .site-header .header-actions .dropdown-toggle {
        text-align: left;
    }

    .site-header .header-actions .btn-primary {
        padding: 10px 16px;
    }

    /* ---------- 2. Hero 视觉卡片：绝对定位改流式，防止窄屏互相重叠 ---------- */
    .hero-visual {
        position: static;
        min-height: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 6px;
    }

    .hero-visual .visual-card {
        position: static;
        width: auto;
        flex: 1 1 240px;
    }

    .hero-visual .visual-glow {
        display: none;
    }

    /* ---------- 3. 容器留白收敛 ---------- */
    .trust-section {
        padding: 32px 0;
    }

    .cta-section {
        padding-bottom: 64px;
    }
}

/* ---------- 4. 小屏（手机）细节 ---------- */
@media (max-width: 575.98px) {

    /* 顶栏品牌与汉堡按钮：小屏下略微收敛，保证一行放得下 */
    .site-header .navbar {
        padding: 0.6rem 0;
    }

    .brand-text {
        font-size: 1.15rem;
    }

    .site-header .navbar-toggler {
        padding: 4px 8px;
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: 1.85rem;
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-visual .visual-card {
        flex: 1 1 100%;
    }

    .section-title {
        font-size: 1.55rem;
    }

    .cta-title {
        font-size: 1.45rem;
    }

    .cta-desc {
        font-size: 1rem;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-bottom {
        margin-top: 32px;
    }

    /* 商户中心筛选行：类型下拉 + 关键字输入竖排，避免输入框被压扁 */
    .site-main form.row .col-md-5.d-flex {
        flex-direction: column;
    }

    .site-main form.row .col-md-5.d-flex .form-select {
        max-width: 100%;
    }
}