/* ============================================
   VePay Card - 金黄色主题
   主色 --accent-gold: #F4D04E
   ============================================ */

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #0d1117;
    /* 保留变量名以兼容既有 class，数值已改为金色 */
    --text-green: #F4D04E;
    --text-light: #e5e7eb;
    --accent-green: #F4D04E;
    --accent-green-dim: #c9a028;
    --accent-green-bright: #ffe082;
    --gradient-primary: linear-gradient(135deg, #F4D04E 0%, #ffe082 100%);
    --gradient-secondary: linear-gradient(135deg, #0a0a0a 0%, #18120a 100%);
    --logo-green: #F4D04E;
    --accent-gold: #F4D04E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-primary);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(244, 208, 78, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-green) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.navbar-brand-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-green);
    letter-spacing: 0.02em;
}

.nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--text-green) !important;
}

.nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:not(.dropdown-toggle):hover::after {
    width: 80%;
}

.navbar .dropdown-menu {
    border: 1px solid rgba(244, 208, 78, 0.28);
    background: #121212;
    margin-top: 0.35rem;
}

.navbar .dropdown-item {
    color: rgba(229, 231, 235, 0.92);
    font-size: 0.95rem;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(244, 208, 78, 0.12);
    color: var(--accent-gold);
}

.hero-section {
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 5rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .hero-section .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .hero-section .row.min-vh-100 {
        min-height: auto;
        padding-top: 1.5rem;
        padding-bottom: 2.5rem;
    }
    .hero-section .col-lg-6:first-child {
        padding-left: 0.5rem;
    }
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(244, 208, 78, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 品牌旁白：标题与副标题之间，弱化不抢主文案 */
.hero-brand-line {
    font-size: 0.95rem;
    color: var(--text-light);
    opacity: 0.75;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 0;
}

.hero-illustration {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 长方形光圈，与卡片图比例一致（800×427），套在卡片外；低调、频率较慢 */
.glow-effect {
    width: min(440px, calc(100% - 1rem));
    aspect-ratio: 800 / 427;
    height: auto;
    max-width: calc(100% - 1rem);
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        rgba(244, 208, 78, 0.2) 0%,
        rgba(244, 208, 78, 0.1) 50%,
        rgba(244, 208, 78, 0.04) 100%
    );
    box-shadow: 0 0 40px rgba(244, 208, 78, 0.18), 0 0 80px rgba(244, 208, 78, 0.1);
    animation: glowBreath 6s ease-in-out infinite;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 576px) {
    .glow-effect {
        width: min(340px, calc(100% - 1rem));
        border-radius: 20px;
    }
}

@media (max-width: 400px) {
    .glow-effect {
        width: min(300px, calc(100% - 1rem));
    }
}

.hero-card-wrap {
    position: relative;
    z-index: 2;
    max-width: min(420px, calc(100% - 1.5rem));
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 800 / 427;
}

@media (max-width: 576px) {
    .hero-card-wrap {
        max-width: min(360px, calc(100% - 1rem));
    }
}

@media (max-width: 400px) {
    .hero-card-wrap {
        max-width: min(320px, calc(100% - 0.75rem));
    }
}

.hero-card-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.8; }
}

/* 卡片光圈呼吸：幅度小、频率慢，不抢眼 */
@keyframes glowBreath {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
        box-shadow: 0 0 35px rgba(244, 208, 78, 0.15), 0 0 70px rgba(244, 208, 78, 0.08);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.85;
        box-shadow: 0 0 50px rgba(244, 208, 78, 0.22), 0 0 100px rgba(244, 208, 78, 0.12);
    }
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: #0a0a0a;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(244, 208, 78, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 208, 78, 0.5);
    color: #0a0a0a;
}

.btn-outline-primary {
    border: 2px solid var(--text-green);
    color: var(--text-green);
    background: transparent;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: rgba(244, 208, 78, 0.15);
    color: var(--accent-green-bright);
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.85;
}

/* 板块留白：信任点、卡特权等更疏朗 */
.section-spacious {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

@media (min-width: 992px) {
    .section-spacious {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

.section-spacious .section-title-row {
    margin-bottom: 3.5rem;
}

@media (min-width: 992px) {
    .section-spacious .section-title-row {
        margin-bottom: 4rem;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(244, 208, 78, 0.2);
    border-radius: 15px;
    padding: 2.25rem 2rem;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--text-green);
    box-shadow: 0 10px 30px rgba(244, 208, 78, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: #0a0a0a;
    flex-shrink: 0;
}

.feature-card h4 {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--text-green);
    padding: 2.25rem 2rem;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.value-card h4 {
    color: var(--text-green);
    margin-bottom: 1rem;
}

.value-card h4 i {
    margin-right: 0.5rem;
}

/* ---------- 费率说明 ---------- */
.fee-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(244, 208, 78, 0.18);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.fee-card:hover {
    border-color: rgba(244, 208, 78, 0.35);
    box-shadow: 0 8px 24px rgba(244, 208, 78, 0.12);
    transform: translateY(-4px);
}

.fee-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(244, 208, 78, 0.25) 0%, rgba(255, 224, 130, 0.2) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-green);
}

.fee-card-title {
    color: var(--text-green);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.fee-card-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.88;
    line-height: 1.5;
}

.supported-assets-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    padding: 1.25rem 1.5rem;
    background: rgba(244, 208, 78, 0.06);
    border: 1px dashed rgba(244, 208, 78, 0.25);
    border-radius: 12px;
}

.supported-label {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
    margin-right: 0.25rem;
}

.asset-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(244, 208, 78, 0.15);
    color: var(--text-green);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
}

/* ---------- 安全与合规 ---------- */
.security-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(244, 208, 78, 0.15);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.security-card:hover {
    border-color: rgba(244, 208, 78, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 6px 20px rgba(244, 208, 78, 0.1);
}

.security-icon-wrap {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.25rem;
    background: rgba(244, 208, 78, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-green);
}

.security-card-title {
    color: var(--text-green);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.security-card-desc {
    color: var(--text-light);
    font-size: 0.88rem;
    opacity: 0.85;
    line-height: 1.5;
    margin-bottom: 0;
}

.partners-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.partners-label {
    color: var(--text-light);
    font-size: 0.85rem;
    opacity: 0.7;
}

.partners-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 展位图占位：预留插图区域，减少版面过素 */
.block-figure {
    aspect-ratio: 4 / 3;
    max-width: 280px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(244, 208, 78, 0.08) 0%, rgba(244, 208, 78, 0.02) 100%);
    border: 2px dashed rgba(244, 208, 78, 0.25);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.block-figure-icon {
    font-size: 3rem;
    color: var(--text-green);
    opacity: 0.6;
}

.block-figure-caption {
    font-size: 0.85rem;
    color: var(--text-light);
    opacity: 0.6;
}

.step-num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #0a0a0a;
    font-weight: 800;
    font-size: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* FAQ 手风琴：点击展开/收起，绿色主题 */
.accordion-faq .accordion-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(244, 208, 78, 0.2);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.accordion-faq .accordion-item:last-child {
    margin-bottom: 0;
}

.accordion-faq .accordion-button {
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border: none;
    box-shadow: none;
}

.accordion-faq .accordion-button:not(.collapsed) {
    background: rgba(244, 208, 78, 0.08);
    color: var(--text-green);
}

.accordion-faq .accordion-button:hover {
    color: var(--text-green);
}

.accordion-faq .accordion-button::after {
    filter: invert(1);
    opacity: 0.8;
}

.accordion-faq .accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

.accordion-faq .accordion-body {
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    padding: 1.25rem 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(244, 208, 78, 0.15);
}

.accordion-faq .accordion-body p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer {
    border-top: 1px solid rgba(244, 208, 78, 0.2);
    background: var(--bg-secondary);
}

.footer-pro {
    padding-top: 0;
    padding-bottom: 0;
}

.footer-col-title {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    margin-bottom: 1.1rem;
    text-transform: none;
}

.footer-col-title-sub {
    margin-bottom: 0.85rem;
}

.footer-nav-list li {
    margin-bottom: 0.55rem;
}

.footer-nav-list li:last-child {
    margin-bottom: 0;
}

.footer-menu-link {
    color: rgba(229, 231, 235, 0.82);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-menu-link:hover {
    color: var(--accent-gold);
}

.footer-tagline {
    color: rgba(229, 231, 235, 0.75);
    line-height: 1.6;
    max-width: 18rem;
}

.footer-domain {
    letter-spacing: 0.02em;
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(244, 208, 78, 0.18);
    margin: 2.25rem 0 1.25rem;
    opacity: 1;
}

.footer-bottom .footer-copyright {
    opacity: 0.85;
}

.footer-link {
    color: var(--text-green);
}

.footer-link:hover {
    color: var(--accent-green-bright);
}

.bg-dark {
    background: var(--bg-secondary) !important;
}

/* 品牌区：与其它板块一致的留白 */
.brand-block .section-title-row {
    margin-bottom: 0;
}

.brand-block .section-subtitle {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.brand-block .brand-ctas {
    margin-top: 0.5rem;
}

/* Bootstrap 默认 success 为绿色，统一改为金黄色主题 */
.text-success {
    color: var(--accent-gold) !important;
}

.border-success {
    border-color: rgba(244, 208, 78, 0.45) !important;
}
