/* ============================================================
   汇通国际·全球身份规划中心 — 主样式表
   Design System: 高端金融/咨询风格
   ============================================================ */

/* ========== 基础重置 ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

::selection { background: #C9A84C; color: #fff; }

/* ========== 粒子背景 ========== */
.particles{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.particle{position:absolute;width:3px;height:3px;background:rgba(201,168,76,0.4);border-radius:50%;animation:particleFloat linear infinite}
.particle:nth-child(2n){width:2px;height:2px;background:rgba(255,255,255,0.15)}
.particle:nth-child(3n){width:4px;height:4px;background:rgba(201,168,76,0.2)}
@keyframes particleFloat{0%{transform:translateY(100vh) rotate(0deg);opacity:0}10%{opacity:1}90%{opacity:1}100%{transform:translateY(-10vh) rotate(720deg);opacity:0}}

/* ========== Hero特效 ========== */
.hero-overlay{background:linear-gradient(135deg,rgba(10,22,40,0.93)0%,rgba(27,58,107,0.7)50%,rgba(10,22,40,0.88)100%)}
.hero-text-glow{text-shadow:0 0 80px rgba(201,168,76,0.3)}
.hero-badge{backdrop-filter:blur(12px);background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.12)}
.stat-item{backdrop-filter:blur(10px);background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.12)}

/* ========== 滚动揭示动画 ========== */
.reveal{opacity:0;transform:translateY(40px);transition:all 0.8s cubic-bezier(0.16,1,0.3,1)}
.reveal.active{opacity:1;transform:translateY(0)}
.reveal-left{opacity:0;transform:translateX(-50px);transition:all 0.8s cubic-bezier(0.16,1,0.3,1)}
.reveal-left.active{opacity:1;transform:translateX(0)}
.reveal-right{opacity:0;transform:translateX(50px);transition:all 0.8s cubic-bezier(0.16,1,0.3,1)}
.reveal-right.active{opacity:1;transform:translateX(0)}
.stagger-1{transition-delay:0.1s}.stagger-2{transition-delay:0.2s}.stagger-3{transition-delay:0.3s}.stagger-4{transition-delay:0.4s}.stagger-5{transition-delay:0.5s}.stagger-6{transition-delay:0.6s}.stagger-7{transition-delay:0.7s}.stagger-8{transition-delay:0.8s}

/* ========== 国家卡片 ========== */
.country-card{position:relative;overflow:hidden;border-radius:1.25rem;display:block}
.country-card img.card-bg{transition:transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94)}
.country-card:hover img.card-bg{transform:scale(1.1)}
.country-card .card-overlay{background:linear-gradient(0deg,rgba(10,22,40,0.9)0%,rgba(10,22,40,0.3)50%,transparent 100%);transition:all 0.4s}
.country-card:hover .card-overlay{background:linear-gradient(0deg,rgba(10,22,40,0.95)0%,rgba(27,58,107,0.4)60%,rgba(201,168,76,0.1)100%)}
.country-card .card-content{transform:translateY(10px);transition:transform 0.4s}
.country-card:hover .card-content{transform:translateY(0)}
.country-card .card-arrow{opacity:0;transform:translateX(-10px);transition:all 0.3s}
.country-card:hover .card-arrow{opacity:1;transform:translateX(0)}

/* ========== 项目卡片 ========== */
.project-card{transition:all 0.5s cubic-bezier(0.25,0.46,0.45,0.94)}
.project-card:hover{transform:translateY(-10px);box-shadow:0 25px 60px rgba(0,0,0,0.18)}
.project-card .proj-img img{transition:transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94)}
.project-card:hover .proj-img img{transform:scale(1.08)}

/* ========== 新闻卡片 ========== */
.news-card{transition:all 0.4s}
.news-card:hover{transform:translateY(-5px);box-shadow:0 20px 50px rgba(0,0,0,0.12)}
.news-card .news-img img{transition:transform 0.7s ease}
.news-card:hover .news-img img{transform:scale(1.06)}

/* ========== 浮动动画 ========== */
.float-y{animation:floatY 3s ease-in-out infinite}
@keyframes floatY{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
.pulse-glow{animation:pulseGlow 2s ease-in-out infinite}
@keyframes pulseGlow{0%,100%{box-shadow:0 0 20px rgba(201,168,76,0.2)}50%{box-shadow:0 0 40px rgba(201,168,76,0.5)}}

/* ========== Shine光泽 ========== */
.shine{position:relative;overflow:hidden}
.shine::after{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:linear-gradient(45deg,transparent 42%,rgba(255,255,255,0.06)50%,transparent 58%);animation:shineAnim 5s ease-in-out infinite}
@keyframes shineAnim{0%,100%{transform:translateX(-100%) rotate(45deg)}50%{transform:translateX(100%) rotate(45deg)}}

/* ========== 磁性按钮 ========== */
.magnetic-btn{transition:all 0.3s cubic-bezier(0.25,0.46,0.45,0.94)}
.magnetic-btn:hover{transform:translateY(-3px) scale(1.02);box-shadow:0 15px 40px rgba(201,168,76,0.4)}
.magnetic-btn:active{transform:translateY(-1px) scale(0.98)}

/* ========== 波浪分割 ========== */
.wave-divider{position:absolute;bottom:-1px;left:0;width:100%;overflow:hidden;line-height:0}
.wave-divider svg{position:relative;display:block;width:calc(100% + 1.3px);height:80px}

/* ========== 视差 ========== */
.parallax-section{background-attachment:fixed;background-size:cover;background-position:center}
@media(max-width:768px){.parallax-section{background-attachment:scroll}}

/* ========== 标签悬浮 ========== */
.tag-pill{transition:all 0.3s}
.tag-pill:hover{background:#C9A84C;color:white;transform:translateY(-2px);box-shadow:0 4px 15px rgba(201,168,76,0.3)}

/* ========== 美化滚动条 ========== */
::-webkit-scrollbar{width:8px}
::-webkit-scrollbar-track{background:#f1f1f1}
::-webkit-scrollbar-thumb{background:linear-gradient(#C9A84C,#1B3A6B);border-radius:4px}

/* ========== Swiper自定义 ========== */
.swiper-pagination-bullet{background:#C9A84C!important;opacity:0.3!important;width:10px!important;height:10px!important;transition:all 0.3s!important}
.swiper-pagination-bullet-active{opacity:1!important;width:30px!important;border-radius:5px!important}

/* ========== 导航样式 ========== */
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    border-radius: 0.5rem;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: #C9A84C;
    background: rgba(201, 168, 76, 0.05);
}

.nav-link.active {
    color: #1B3A6B;
    font-weight: 700;
}

/* Desktop下拉菜单 */
.nav-dropdown-wrap {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 100;
}

.nav-dropdown-wrap:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: #4B5563;
    border-radius: 0.5rem;
    transition: all 0.15s;
}

.dropdown-item:hover {
    background: #F7F8FA;
    color: #C9A84C;
}

/* Mega Dropdown (多栏大面板) */
.nav-mega-dropdown {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: min(1100px, 92vw);
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.nav-dropdown-wrap:hover .nav-mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-mega-item {
    display: block;
    padding: 0.375rem 0.5rem;
    font-size: 0.8125rem;
    color: #4B5563;
    border-radius: 0.375rem;
    transition: all 0.15s;
}

.dropdown-mega-item:hover {
    background: linear-gradient(135deg, #FFF9E6, #F7F8FA);
    color: #C9A84C;
    padding-left: 0.75rem;
}

/* 移动端导航 */
.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1A1A2E;
    border-radius: 0.75rem;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    background: #F7F8FA;
    color: #C9A84C;
}

.mobile-nav-sub {
    padding-left: 1rem;
}

.mobile-sub-link {
    display: block;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    color: #6B7B8D;
    border-radius: 0.5rem;
    transition: all 0.15s;
}

.mobile-sub-link:hover {
    color: #C9A84C;
    background: #F7F8FA;
}

/* Header滚动效果 */
#main-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* ========== 面包屑 ========== */
.breadcrumb {
    padding: 1rem 0;
    background: #F7F8FA;
    border-bottom: 1px solid #E5E7EB;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    padding: 0 1.5rem;
    margin: 0 auto;
    max-width: 1280px;
    font-size: 0.8125rem;
}

.breadcrumb-item a {
    color: #6B7B8D;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: #C9A84C;
}

.breadcrumb-item:last-child span {
    color: #1B3A6B;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #D1D5DB;
    display: flex;
    align-items: center;
    padding: 0 0.25rem;
}

/* ========== 卡片动画 ========== */
.country-card,
.project-card,
.article-card,
.case-card,
.advantage-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.country-card.visible,
.project-card.visible,
.article-card.visible,
.case-card.visible,
.advantage-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Section header 动画 */
.section-header {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.section-header.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 文章正文样式 ========== */
.article-content {
    line-height: 1.8;
    color: #374151;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0A1628;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #F3F4F6;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1B3A6B;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content img {
    border-radius: 0.75rem;
    margin: 1.5rem 0;
}

.article-content a:not(.auto-link) {
    color: #C9A84C;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content a:hover {
    color: #1B3A6B;
}

/* 自动内链样式 */
.auto-link {
    color: #1B3A6B;
    font-weight: 500;
    border-bottom: 1px dashed #C9A84C;
    transition: all 0.2s;
    text-decoration: none;
}

.auto-link:hover {
    color: #C9A84C;
    border-bottom-color: #C9A84C;
    border-bottom-style: solid;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid #C9A84C;
    background: #FFFBF0;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    color: #6B7B8D;
    font-style: italic;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.875rem;
}

.article-content th,
.article-content td {
    border: 1px solid #E5E7EB;
    padding: 0.75rem 1rem;
    text-align: left;
}

.article-content th {
    background: #F7F8FA;
    font-weight: 600;
    color: #1B3A6B;
}

/* ========== 分页 ========== */
.pagination-nav {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    color: #6B7B8D;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    transition: all 0.2s;
}

.page-link:hover {
    color: #C9A84C;
    border-color: #C9A84C;
}

.page-link.active {
    color: white;
    background: #0A1628;
    border-color: #0A1628;
    font-weight: 600;
}

.page-dots {
    padding: 0 0.5rem;
    color: #D1D5DB;
}

/* ========== 表单 ========== */
.inquiry-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.inquiry-form .form-success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
    font-weight: 500;
}

.inquiry-form .form-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    padding: 1rem;
    border-radius: 0.75rem;
    text-align: center;
}

/* ========== 滚动条美化 ========== */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ========== 截断 ========== */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== Safe Area (iPhone底部) ========== */
.safe-area-bottom {
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
}

/* ========== 页面过渡 ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ========== 加载状态 ========== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

/* ========== 响应式调整 ========== */
@media (max-width: 768px) {
    .nav-mega-dropdown {
        width: calc(100vw - 2rem);
        left: 1rem;
        transform: translateX(0) translateY(8px);
    }
    .nav-dropdown-wrap:hover .nav-mega-dropdown {
        transform: translateX(0) translateY(0);
    }

    .breadcrumb-list {
        padding: 0 1rem;
        font-size: 0.75rem;
    }

    .article-content {
        font-size: 0.9375rem;
    }

    .article-content h2 {
        font-size: 1.25rem;
    }

    .article-content h3 {
        font-size: 1.125rem;
    }

    /* Hero badge 小屏自动换行 */
    .hero-badge {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.375rem 0.75rem;
        text-align: center;
    }

    /* 统计数字小屏缩小 */
    .stat-item .text-4xl {
        font-size: 1.75rem;
    }

    /* 页脚为移动端底部CTA栏留空间 */
    footer {
        padding-bottom: 4.5rem;
    }
}

/* 小屏幕适配 (≤640px) */
@media (max-width: 640px) {
    /* 新闻侧边卡片在小屏幕上垂直堆叠 */
    .news-card.flex {
        flex-direction: column;
    }
    .news-card.flex .news-img {
        width: 100% !important;
        aspect-ratio: 16/9;
    }

    /* Hero区域适配 */
    .hero-badge .w-px {
        display: none;
    }

    /* 移动端触控友好按钮尺寸 */
    .mobile-nav-link {
        min-height: 48px;
    }
    .mobile-sub-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* 确保Swiper不溢出 */
    .project-swiper {
        overflow: hidden;
    }
}

/* ========== 页面加载过渡 ========== */
body {
    opacity: 0;
    animation: bodyFadeIn 0.6s ease 0.1s forwards;
}
@keyframes bodyFadeIn { to { opacity: 1; } }

/* ========== 导航毛玻璃增强 ========== */
#main-header {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#main-header.scrolled {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    background: rgba(255,255,255,0.92) !important;
    box-shadow: 0 1px 30px rgba(0,0,0,0.08), 0 0 0 1px rgba(0,0,0,0.03);
}

/* ========== 增强卡片阴影体系 ========== */
.shadow-card {
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 6px 24px rgba(0,0,0,0.06);
}
.shadow-card-hover, .shadow-card:hover {
    box-shadow: 0 8px 40px rgba(27,58,107,0.12), 0 2px 8px rgba(0,0,0,0.04);
}

/* ========== 国家卡片增强 ========== */
.country-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255,255,255,0.1);
    pointer-events: none;
    transition: border-color 0.4s;
    z-index: 2;
}
.country-card:hover::after {
    border-color: rgba(201,168,76,0.4);
}

/* ========== 项目卡片增强 ========== */
.project-card {
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 1rem;
}
.project-card:hover {
    border-color: rgba(201,168,76,0.2);
    box-shadow: 0 25px 60px rgba(27,58,107,0.15), 0 0 0 1px rgba(201,168,76,0.1);
}

/* ========== 新闻卡片增强 ========== */
.news-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.04);
}
.news-card:hover {
    border-color: rgba(201,168,76,0.15);
    box-shadow: 0 20px 50px rgba(27,58,107,0.1);
}

/* ========== 按钮光晕增强 ========== */
.magnetic-btn {
    position: relative;
    overflow: hidden;
}
.magnetic-btn::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(201,168,76,0.4), transparent, rgba(201,168,76,0.2));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}
.magnetic-btn:hover::before { opacity: 1; }

/* ========== 链接动态下划线 ========== */
.animated-underline {
    position: relative;
    text-decoration: none;
}
.animated-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #C9A84C, #E8D48B);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.animated-underline:hover::after { width: 100%; }

/* ========== 图片加载渐显 ========== */
.img-reveal {
    opacity: 0;
    transition: opacity 0.6s ease;
}
.img-reveal.loaded {
    opacity: 1;
}

/* ========== 渐变分割线 ========== */
.gradient-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
    border: none;
    margin: 0;
}

/* ========== 区域标题装饰 ========== */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #C9A84C;
}
.section-tag::before,
.section-tag::after {
    content: '';
    width: 2.5rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C9A84C);
}
.section-tag::after {
    background: linear-gradient(90deg, #C9A84C, transparent);
}

/* ========== 国家详情页 — 办理流程时间线增强 ========== */
.process-step-circle {
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step-circle::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px dashed rgba(201,168,76,0.3);
    opacity: 0;
    transition: all 0.4s;
}
.group:hover .process-step-circle::after {
    opacity: 1;
    inset: -8px;
}

/* ========== 国家详情页 — FAQ手风琴增强 ========== */
.faq-toggle {
    position: relative;
    transition: all 0.3s;
}
.faq-toggle:hover {
    background: linear-gradient(135deg, #FFFBF0, #F7F8FA) !important;
}
.faq-toggle:hover span {
    color: #C9A84C;
}
.faq-content {
    animation: faqSlideDown 0.3s ease;
}
@keyframes faqSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== 国家详情页 — 画廊图片增强 ========== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,22,40,0.7) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s;
}
.gallery-item:hover::before { opacity: 1; }

/* ========== 主推横幅脉冲边框 ========== */
@keyframes borderPulse {
    0%, 100% { border-color: rgba(201,168,76,0.2); }
    50% { border-color: rgba(201,168,76,0.5); }
}
.featured-banner {
    border: 1px solid rgba(201,168,76,0.2);
    animation: borderPulse 3s ease-in-out infinite;
}

/* ========== 计数器动画优化 ========== */
[data-count] {
    font-variant-numeric: tabular-nums;
}

/* ========== 页脚增强 ========== */
footer {
    position: relative;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}

/* ========== 回到顶部按钮增强 ========== */
#back-to-top {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.4);
}

/* ========== 表单输入框聚焦效果 ========== */
.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    border-color: #C9A84C !important;
    box-shadow: 0 0 0 3px rgba(201,168,76,0.1);
    outline: none;
}

/* ========== 标签悬浮增强 ========== */
.tag-pill {
    border: 1px solid transparent;
}
.tag-pill:hover {
    border-color: rgba(201,168,76,0.3);
}

/* ========== 响应式额外优化 ========== */
@media (max-width: 768px) {
    /* 移动端卡片阴影减轻（性能） */
    .project-card:hover,
    .news-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    /* 移动端主推横幅紧凑 */
    .featured-banner .text-5xl {
        font-size: 2rem;
    }
}

/* ========== 暗色区域链接高亮 ========== */
.bg-brand-navy a:not(.magnetic-btn):not([class*="bg-"]):hover {
    color: #E8D48B;
}

/* ========== 项目详情页Tab高亮 ========== */
.tab-btn {
    transition: all 0.3s;
    position: relative;
}
.tab-btn.bg-brand-navy::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: #C9A84C;
    border-radius: 1px;
}

/* ========== 打印样式 ========== */
@media print {
    #main-header,
    #top-bar,
    #mobile-cta-bar,
    #mobile-menu,
    .inquiry-form,
    footer {
        display: none !important;
    }
    
    main {
        padding-top: 0 !important;
    }
}
