/* ============================================
   银行小微企业续贷官网 - 样式表
   百度SEO友好 | 移动优先 | 响应式设计
   ============================================ */

/* CSS变量 - 统一品牌色 */
:root {
    --primary: #1a56a0;      /* 银行蓝 */
    --primary-dark: #134285;  /* 深蓝 */
    --primary-light: #e8f0fa;
    --accent: #e8a220;        /* 金色强调 */
    --accent-dark: #c98510;
    --text: #1a1a2e;
    --text-secondary: #555;
    --text-light: #888;
    --bg: #ffffff;
    --bg-gray: #f5f7fa;
    --border: #e0e6f0;
    --success: #2e8b57;
    --danger: #dc3545;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(26, 86, 160, 0.1);
    --shadow-lg: 0 8px 30px rgba(26, 86, 160, 0.15);
    --container: 1200px;
    --transition: all 0.3s ease;
}

/* 重置 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); text-decoration: underline; }
ul, ol { list-style: none; }

/* 通用容器 */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   导航
   ============================================ */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 20px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-icon { font-size: 28px; }
.logo-text {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}
.main-nav .nav-list {
    display: flex;
    gap: 4px;
}
.main-nav .nav-list a {
    display: block;
    padding: 8px 16px;
    border-radius: var(--radius);
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}
.main-nav .nav-list a:hover,
.main-nav .nav-list a.active {
    background: var(--primary-light);
    color: var(--primary);
    text-decoration: none;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: var(--transition);
}
.header-phone:hover {
    background: var(--primary-dark);
    color: #fff;
    text-decoration: none;
}
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 2px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 999;
    padding: 12px 0;
}
.mobile-menu.open { display: block; }
.mobile-menu ul li a {
    display: block;
    padding: 14px 24px;
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--bg-gray);
}
.mobile-phone { color: var(--primary) !important; font-weight: 700 !important; }

/* ============================================
   Banner区
   ============================================ */
.hero-banner {
    background: linear-gradient(135deg, #0d3a7a 0%, #1a56a0 40%, #2a6fc0 100%);
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 80px 0;
}
.hero-content {
    color: #fff;
    max-width: 680px;
}
.hero-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0.85;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
}
.hero-desc {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 36px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.hero-manager {
    font-size: 14px;
    opacity: 0.75;
}
.hero-manager strong { color: var(--accent); font-size: 18px; }

/* ============================================
   按钮
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; border-color: var(--accent-dark); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; border-color: #fff; }
.btn-white { background: #fff; color: var(--primary); border-color: #fff; }
.btn-white:hover { background: var(--bg-gray); color: var(--primary-dark); }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-xl { padding: 16px 40px; font-size: 17px; }

/* ============================================
   通用区块
   ============================================ */
.section { padding: 72px 0; }
.section-gray { background: var(--bg-gray); }
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-title {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.3;
}
.section-desc { font-size: 16px; color: var(--text-secondary); }

/* ============================================
   特色卡片
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}
.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}
.feature-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* ============================================
   产品介绍
   ============================================ */
.product-intro { line-height: 1.9; font-size: 16px; color: var(--text); }
.product-intro p { margin-bottom: 16px; }
.problem-list { margin: 20px 0; }
.problem-list li {
    padding: 14px 20px;
    background: var(--bg-gray);
    border-radius: var(--radius);
    margin-bottom: 10px;
    font-size: 15px;
}
.target-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
   痛点卡片
   ============================================ */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.pain-card {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 32px 28px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}
.pain-card:hover { border-color: var(--primary); background: var(--primary-light); }
.pain-icon { font-size: 48px; margin-bottom: 16px; }
.pain-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.pain-card p { font-size: 14px; color: var(--text-secondary); }

/* ============================================
   数据展示
   ============================================ */
.section-stats { background: var(--primary); padding: 48px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-item { color: #fff; }
.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 6px;
}
.stat-label { font-size: 14px; opacity: 0.85; }

/* ============================================
   申请流程
   ============================================ */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    counter-reset: flow;
}
.flow-steps li {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: relative;
}
.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
}
.flow-steps h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.flow-steps p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* ============================================
   页面标题区
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, #0d3a7a 0%, #1a56a0 100%);
    padding: 56px 0 48px;
    color: #fff;
}
.page-title {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.page-desc { font-size: 16px; opacity: 0.85; }
.breadcrumb {
    font-size: 14px;
    margin-bottom: 16px;
    opacity: 0.8;
}
.breadcrumb a { color: #fff; }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================
   产品详情页
   ============================================ */
.product-detail { max-width: 860px; margin: 0 auto; }
.detail-block {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.detail-block h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}
.detail-block p { font-size: 15px; line-height: 1.9; color: var(--text); margin-bottom: 14px; }
.detail-block ul { padding-left: 20px; }
.detail-block ul li { font-size: 15px; line-height: 1.8; color: var(--text-secondary); list-style: disc; margin-bottom: 6px; }
.notice-box {
    background: #fff8e6;
    border: 1px solid #ffe4a0;
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 14px;
    color: #8a5a00;
    margin-top: 16px;
}
.condition-table { overflow-x: auto; margin: 16px 0; }
.condition-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.condition-table th {
    background: var(--primary);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}
.condition-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}
.condition-table tr:nth-child(even) td { background: var(--bg-gray); }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: var(--radius);
    margin-bottom: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item[open] { border-color: var(--primary-light); box-shadow: var(--shadow); }
.faq-item summary {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 48px;
    transition: var(--transition);
}
.faq-item summary:hover { background: var(--primary-light); color: var(--primary); }
.faq-item summary::after {
    content: '▼';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item p { padding: 0 24px 18px; font-size: 15px; color: var(--text-secondary); line-height: 1.8; }

/* ============================================
   CTA区块
   ============================================ */
.section-cta { background: var(--bg-gray); }
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #1e4f9a 100%);
    border-radius: 16px;
    padding: 56px 40px;
    text-align: center;
    color: #fff;
}
.cta-box h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; color: #fff; }
.cta-box p { font-size: 16px; opacity: 0.9; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.cta-note { font-size: 13px; opacity: 0.7; margin-top: 12px; }

/* ============================================
   关于页
   ============================================ */
.about-content { max-width: 860px; margin: 0 auto; }
.contact-list { margin: 16px 0 24px; }
.contact-list li { font-size: 16px; line-height: 2; color: var(--text-secondary); }

/* ============================================
   联系表单
   ============================================ */
.contact-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: start;
}
.contact-info h2,
.contact-form-wrap h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}
.info-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.info-icon { font-size: 28px; flex-shrink: 0; margin-top: 2px; }
.info-item strong { display: block; font-size: 14px; color: var(--text-light); margin-bottom: 4px; }
.info-item p { font-size: 15px; color: var(--text); margin-bottom: 4px; }
.phone-link {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
}
.contact-form-wrap { background: #fff; border-radius: 12px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.required { color: var(--danger); }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    transition: var(--transition);
    background: #fff;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 160, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.form-note { font-size: 13px; color: var(--text-light); }
.form-success {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: var(--radius);
    padding: 14px 20px;
    color: var(--success);
    font-size: 15px;
    margin-bottom: 20px;
}
.form-error {
    background: #ffebee;
    border: 1px solid #ef9a9a;
    border-radius: var(--radius);
    padding: 14px 20px;
    color: var(--danger);
    font-size: 15px;
    margin-bottom: 20px;
}

/* ============================================
   底部
   ============================================ */
.risk-notice {
    background: #fff8e6;
    border-top: 2px solid #ffe4a0;
    padding: 28px 0;
}
.risk-notice h3 { font-size: 15px; font-weight: 700; color: #8a5a00; margin-bottom: 12px; }
.risk-notice ol { padding-left: 20px; }
.risk-notice ol li { font-size: 13px; color: #7a4a00; line-height: 1.8; list-style: decimal; margin-bottom: 4px; }
.risk-notice a { color: var(--primary); }

.site-footer { background: #1a1a2e; color: rgba(255,255,255,0.75); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ============================================
   悬浮CTA
   ============================================ */
.fixed-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 998;
}
.cta-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: var(--transition);
}
.cta-btn:hover { transform: translateY(-2px); text-decoration: none; }
.cta-phone { background: var(--primary); color: #fff; }
.cta-form { background: var(--accent); color: #fff; }

/* ============================================
   响应式
   ============================================ */
@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .header-phone { display: none; }
    .mobile-menu-btn { display: flex; }
    .section { padding: 48px 0; }
    .hero-banner { min-height: 420px; }
    .hero-content { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .fixed-cta { bottom: 16px; right: 16px; }
    .cta-btn { padding: 10px 14px; font-size: 13px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-box { padding: 36px 24px; }
    .detail-block { padding: 24px 20px; }
    .contact-form-wrap { padding: 24px 20px; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-num { font-size: 28px; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; justify-content: center; }
    .flow-steps { grid-template-columns: 1fr; }
}
