/* ==========================================================================
   湖北金福实业集团有限公司 - 官方一页式网页核心样式表
   文件名称：style.css
   设计风格：现代高端商务、极致留白、流畅交互、响应式优先
   ========================================================================== */

/* 1. 基础重置与全局变量
   ========================================================================== */
:root {
    --primary-dark: #0F2027;
    --primary-mid: #203A43;
    --primary-light: #2C5364;
    --accent-gold: #D4AF37;
    --accent-gold-hover: #AA7C11;
    --text-main: #2C3E50;
    --text-muted: #7F8C8D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --font-sans: 'Helvetica Neue', Arial, 'Noto Sans CJK SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* 2. 统一排版与核心骨架
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

h1 { font-size: 2.25rem; } /* 36pt */
h2 { font-size: 1.75rem; } /* 28pt */
h3 { font-size: 1.25rem; } /* 20pt */

p {
    font-size: 1rem;
    color: var(--text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--transition-smooth);
}

ul {
    list-style: none;
}

.section-padding {
    padding: 90px 24px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* SEO 优雅的区块标题组件 */
.section-title-box {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-box h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: inline-block;
}

.section-title-box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
}

/* 高级商业按钮 (CTA) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--transition-smooth);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), #B8860B);
    color: var(--bg-white);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, #E6C250, var(--accent-gold));
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* 3. Header 导航栏（吸顶式）
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 32, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    display: table;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 24px;
}

.logo-area {
    display: table-cell;
    vertical-align: middle;
    width: 250px;
}

.logo-area a {
    display: flex;
    align-items: center;
    color: var(--bg-white);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-svg {
    width: 35px;
    height: 35px;
    margin-right: 10px;
    fill: var(--accent-gold);
}

.nav-area {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
}

.nav-menu {
    display: inline-block;
    vertical-align: middle;
}

.nav-item {
    display: inline-block;
    margin-right: 30px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-cta {
    display: inline-block;
    vertical-align: middle;
}

/* 汉堡菜单按钮（手机端） */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--bg-white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 4. Hero 英雄区（核心主张）
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 180px 24px 120px 24px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid), var(--primary-light));
    color: var(--bg-white);
    overflow: hidden;
}

/* 纯 CSS 科技感背景纹理，替代传统大图，性能极佳 */
.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: radial-gradient(var(--accent-gold) 1px, transparent 0);
    background-size: 24px 24px;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 850px;
    text-align: center;
    margin: 0 auto;
}

.hero-section h1 {
    color: var(--bg-white);
    font-size: 3rem;
    line-height: 1.25;
    margin-bottom: 24px;
}

.hero-section h1 span {
    color: var(--accent-gold);
}

.hero-slogan {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.hero-btns .btn {
    margin: 0 10px;
}

/* 5. Pain Points 痛点与情境
   ========================================================================== */
.pain-section {
    background-color: var(--bg-light);
}

.pain-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 20px 0;
}

.pain-card {
    display: table-cell;
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 6px;
    border-top: 4px solid var(--text-muted);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: transform 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-5px);
    border-top-color: #E74C3C; /* 警戒红直击痛点 */
}

.pain-icon-wrapper {
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    fill: #E74C3C;
}

.pain-card h3 {
    margin-bottom: 15px;
}

/* 6. Solutions 解决方案
   ========================================================================== */
.solutions-section {
    background-color: var(--bg-white);
}

.sol-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 24px 0;
}

.sol-card {
    display: table-cell;
    background-color: var(--bg-light);
    padding: 45px 35px;
    border-radius: 8px;
    transition: all 0.3s var(--transition-smooth);
    border: 1px solid var(--border-color);
}

.sol-card:hover {
    background-color: var(--bg-white);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: var(--accent-gold);
}

.sol-icon-wrapper {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    fill: var(--accent-gold);
}

.sol-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.sol-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.sol-features li {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.sol-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* 7. Social Proof 信任背书
   ========================================================================== */
.proof-section {
    background: linear-gradient(rgba(15, 32, 39, 0.97), rgba(15, 32, 39, 0.97)), repeating-linear-gradient(45deg, #11252f 0, #11252f 2px, transparent 0, transparent 12px);
    color: var(--bg-white);
}

.proof-section .section-title-box h2 {
    color: var(--bg-white);
}

.counter-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
    text-align: center;
}

.counter-item {
    display: table-cell;
    padding: 20px;
}

.counter-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 8. About Us 关于我们（本地 SEO 增强区）
   ========================================================================== */
.about-section {
    background-color: var(--bg-white);
}

.about-layout {
    display: table;
    width: 100%;
}

.about-text, .about-info {
    display: table-cell;
    vertical-align: top;
    width: 50%;
}

.about-text {
    padding-right: 50px;
}

.about-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.about-info {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

.info-item {
    margin-bottom: 20px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
    display: block;
}

/* 9. FAQ 常见问题（手风琴结构）
   ========================================================================== */
.faq-section {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-white);
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.01);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-trigger {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-trigger:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.faq-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    fill: var(--primary-mid);
    transition: transform 0.3s ease;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--transition-smooth);
    background-color: var(--bg-white);
}

.faq-content-inner {
    padding: 0 25px 20px 25px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* FAQ 激活状态 */
.faq-item.active .faq-content {
    max-height: 300px; /* 预设安全阀值 */
}

.faq-item.active .faq-icon {
    transform: translateY(-50%) rotate(180deg);
    fill: var(--accent-gold);
}

/* 10. Final CTA 终极呼吁
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-mid), var(--primary-dark));
    color: var(--bg-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--bg-white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 11. Footer 页尾
   ========================================================================== */
.site-footer {
    background-color: #0A151A;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    padding: 40px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-layout {
    display: table;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-left, .footer-right {
    display: table-cell;
    vertical-align: middle;
}

.footer-right {
    text-align: right;
}

.footer-links a {
    margin-left: 20px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.beian-link {
    color: var(--accent-gold) !important;
}

/* ==========================================================================
   12. 极致响应式媒体查询 (Mobile-First / Adaptations)
   ========================================================================== */
@media (max-width: 992px) {
    .pain-grid, .sol-grid, .counter-grid, .about-layout {
        display: block;
        width: 100%;
    }
    
    .pain-card, .sol-card, .counter-item, .about-text, .about-info {
        display: block;
        width: 100% !important;
        padding-right: 0;
        margin-bottom: 24px;
    }
    
    .pain-card:last-child, .sol-card:last-child, .counter-item:last-child, .about-info:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    html { font-size: 14px; }
    
    .section-padding { padding: 60px 16px; }
    
    /* 汉堡菜单激活逻辑 */
    .menu-toggle {
        display: inline-block;
    }
    
    .nav-area {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-dark);
        display: none;
        text-align: center;
        padding: 20px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .site-header.nav-open .nav-area {
        display: block;
    }
    
    .nav-menu, .nav-item {
        display: block;
        margin: 15px 0;
    }
    
    .header-cta {
        display: block;
        margin: 15px auto 0 auto;
        max-width: 200px;
    }
    
    .hero-section h1 { font-size: 2.2rem; }
    
    .footer-layout, .footer-left, .footer-right {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .footer-right {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}