/* ============================================================
   財定國際 首页专用样式 home.css
   板块：轮播Banner / 数据栏 / 服务卡片 / 公司简介 / 六大优势
         成功案例 / 资讯百科
   ============================================================ */

/* ---------- 1. 首屏（单屏 · 左文右图分屏） ---------- */
.hero-split {
    margin-top: 72px; /* 让出固定导航高度 */
    background: linear-gradient(120deg, #001d4d 0%, #002566 45%, #003384 100%);
    padding: 4.6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

/* 右上角金色光晕装饰 */
.hero-split::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -140px;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.16) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-split-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3.2rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: #fff;
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.18);
    border: 1px solid rgba(201, 162, 39, 0.6);
    color: #E3BC4A;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    margin-bottom: 1.3rem;
}

.hero-text h1 {
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.hero-text h1 .gold {
    color: #E3BC4A;
}

/* 主标题下方的金色标语（独立一行） */
.hero-text .hero-goldline {
    color: #E3BC4A;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.5px;
    margin: 0 0 1.2rem;
}

.hero-text .hero-goldline .gold {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFD86B;
    text-shadow: 0 0 14px rgba(255, 216, 107, 0.55);
}

.hero-text .hero-sub {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

/* 副标题中的关键词高亮（跨境电商） */
.hero-text .hero-sub .hl {
    color: #E3BC4A;
    font-weight: 700;
}

/* 信任要点（金色描边胶囊，一行排开） */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(201, 162, 39, 0.55);
    background: rgba(201, 162, 39, 0.12);
    color: #E3BC4A;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.42rem 1rem;
    border-radius: 50px;
    white-space: nowrap;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #C9A227, #E3BC4A);
    color: #002566;
    font-weight: 700;
    font-size: 1.02rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.45);
    transition: all 0.25s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(201, 162, 39, 0.6);
}

.hero-btn-ghost {
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    font-weight: 600;
    font-size: 1.02rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.hero-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* 右侧团队照片：干净呈现，不压任何文字 */
.hero-photo img {
    width: 100%;
    display: block;
    border-radius: 14px;
    border: 3px solid rgba(201, 162, 39, 0.45);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-photo .photo-caption {
    text-align: center;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    margin-top: 0.9rem;
    letter-spacing: 1px;
}

/* ---------- 2. 数据信任栏 ---------- */
.stats-bar {
    background: linear-gradient(135deg, #003384, #002566);
    padding: 2.8rem 1.5rem;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.stat-item .num {
    font-size: 2.6rem;
    font-weight: 800;
    color: #E3BC4A;
    line-height: 1.1;
}

.stat-item .num .suffix {
    font-size: 1.4rem;
    margin-left: 2px;
}

.stat-item .label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ---------- 3. 核心服务卡片 ---------- */
.services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.service-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    height: 300px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 51, 132, 0.18);
    border-color: #003384;
}

.service-card .flag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    background: linear-gradient(135deg, #C9A227, #E3BC4A);
    color: #002566;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
}

/* —— 卡片正面：图标 + 标题 + 金色定位语，悬停时淡出 —— */
.card-front {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.8rem;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-card:hover .card-front {
    opacity: 0;
    visibility: hidden;
}

.card-front .icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.card-front h3 {
    color: #003384;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.card-front .tagline {
    color: #C9A227;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* —— 卡片详情面板：默认藏在底部，悬停时从下方滑入 —— */
.card-detail {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #003384 0%, #002566 100%);
    padding: 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
    transform: translateY(101%);
    transition: transform 0.35s ease;
    pointer-events: none;
}

.service-card:hover .card-detail {
    transform: translateY(0);
    pointer-events: auto;
}

.card-detail h3 {
    color: #E3BC4A;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.card-detail .desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.card-detail ul {
    list-style: none;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.card-detail ul li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    padding: 0.22rem 0 0.22rem 1.3rem;
    position: relative;
}

.card-detail ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #E3BC4A;
    font-weight: 700;
}

.card-detail .card-cta {
    display: inline-block;
    align-self: flex-start;
    background: linear-gradient(135deg, #C9A227, #E3BC4A);
    color: #002566;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.card-detail .card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.5);
}

/* ---------- 4. 公司简介 + CTA ---------- */
.about-section {
    background: #f6f8fb;
    padding: 4.5rem 1.5rem;
}

.about-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: #003384;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.about-text p {
    color: #555;
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 1rem;
}

.about-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin: 1.4rem 0 1.8rem;
}

.about-points div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #333;
    font-size: 0.92rem;
    font-weight: 600;
}

.about-points .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #C9A227;
    flex-shrink: 0;
}

.about-img {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 51, 132, 0.18);
    position: relative;
}

.about-img img {
    width: 100%;
    display: block;
}

.about-img .exp-badge {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    background: linear-gradient(135deg, #C9A227, #E3BC4A);
    color: #002566;
    font-weight: 800;
    padding: 0.7rem 1.3rem;
    border-radius: 10px;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* ---------- 5. 六大优势 ---------- */
.advantages-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem;
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.adv-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-top: 4px solid #C9A227;
    border-radius: 12px;
    padding: 1.8rem 1.6rem;
    transition: all 0.3s ease;
}

.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 51, 132, 0.12);
}

.adv-card .adv-num {
    color: #C9A227;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.adv-card h3 {
    color: #003384;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.adv-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ---------- 6. 成功案例 ---------- */
.cases-section {
    background: linear-gradient(135deg, #002566, #003384);
    padding: 4.5rem 1.5rem;
}

.cases-section .section-head h2 {
    color: #fff;
}

.cases-section .section-head .sub {
    color: rgba(255, 255, 255, 0.75);
}

.cases-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}

.case-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 2.2rem 2rem;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.case-card:hover {
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-4px);
}

.case-card .tag {
    display: inline-block;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid rgba(201, 162, 39, 0.5);
    color: #E3BC4A;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 1.1rem;
}

.case-card .metric {
    color: #E3BC4A;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.4rem;
}

.case-card .metric-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    margin-bottom: 1.1rem;
}

.case-card p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* ---------- 7. 资讯百科 ---------- */
.news-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 1.5rem;
}

.news-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.news-col {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.news-col .col-head {
    background: #003384;
    color: #fff;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-col .col-head h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
}

.news-col .col-head a {
    color: #E3BC4A;
    font-size: 0.82rem;
    text-decoration: none;
}

.news-col ul {
    list-style: none;
    padding: 0.6rem 0;
}

.news-col ul li a {
    display: block;
    padding: 0.65rem 1.4rem;
    color: #444;
    font-size: 0.9rem;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-col ul li a:hover {
    color: #003384;
    background: #f6f8fb;
    border-left-color: #C9A227;
}

.news-empty {
    padding: 1.2rem 1.4rem;
    color: #999;
    font-size: 0.88rem;
}

/* ---------- 8. 底部 CTA ---------- */
.bottom-cta {
    background: linear-gradient(135deg, #C9A227, #E3BC4A);
    padding: 3.5rem 1.5rem;
    text-align: center;
}

.bottom-cta h2 {
    color: #002566;
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
}

.bottom-cta p {
    color: rgba(0, 37, 102, 0.8);
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
}

.bottom-cta .cta-btn {
    display: inline-block;
    background: #002566;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.9rem 2.6rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 37, 102, 0.35);
    transition: all 0.25s ease;
}

.bottom-cta .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 37, 102, 0.5);
}

/* ---------- 滚动渐显动画 ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .services-grid,
    .adv-grid,
    .news-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-wrap {
        grid-template-columns: 1fr;
    }

    .hero-split-inner {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
    }

    .services-grid,
    .adv-grid,
    .news-cols,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .about-points {
        grid-template-columns: 1fr;
    }
}
