/* 全局优化 - 科技风格 */
:root {
    --primary-color: #1976d2;
    --secondary-color: #00bcd4;
    --dark-color: #263238;
    --light-color: #f5f7fa;
    --accent-color: #ff4081;
    --gradient-blue: linear-gradient(135deg, #1976d2, #00bcd4);
    --gradient-purple: linear-gradient(135deg, #7b1fa2, #e91e63);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    background-color: #f8fafc;
    margin: 0;
    padding: 0;
}

/* 主布局容器 */
.wrapper {
    /*padding-bottom: 60px;*/
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(25,118,210,0.02)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
    background-size: cover;
}

.layout-container {
    display: block;
    width: 100%;
    margin-top: 30px;
    max-width: 1500px;
    gap: 30px;
    padding: 0 20px;
}

/* 左侧菜单 - 科技感设计 */
.accordion-container {
    width: 280px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
}

.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    padding: 16px 20px;
    text-align: left;
    background-color: white;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s ease;
    position: relative;
}

.accordion-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(25,118,210,0.05);
    color: var(--primary-color);
}

.accordion-header:hover::after {
    width: 100%;
}

.accordion-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: rgba(245,247,250,0.5);
}

.accordion-content.active {
    max-height: 500px;
}

.subpage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.subpage-list li {
    padding: 12px 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s;
}

.subpage-list li:hover {
    background-color: rgba(25,118,210,0.05);
}

.subpage-list li a {
    color: #555;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: all 0.2s;
    position: relative;
    padding-left: 15px;
}

.subpage-list li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary-color);
    opacity: 0;
    transition: all 0.2s;
}

.subpage-list li a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.subpage-list li a:hover::before {
    opacity: 1;
}

.subpage-list li a.active {
    color: var(--primary-color);
    font-weight: 500;
    padding-left: 20px;
}

.subpage-list li a.active::before {
    opacity: 1;
    background: var(--primary-color);
}

/* 右侧内容区域 - 科技卡片风格 */
.content-container {
    flex-grow: 1;
    border-radius: 12px;
    padding: 30px;
    background: white;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    min-height: 600px;
}

.content-panel {
    display: block !important; /* 覆盖原有的display:none */
    margin-bottom: 40px; /* 增加面板间距 */
}

.content-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-panel h2 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-weight: 600;
    position: relative;
}

.content-panel h2::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--secondary-color);
}

/* 金融服务产品卡片 - 科技感设计 */
.finance-products {
}

.product-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(270px, 0fr));
    gap: 25px;
    margin-bottom: 25px;
}

.product-card {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    padding: 25px;
    background: white;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-blue);
    transition: height 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(25,118,210,0.2);
}

.product-card:hover::before {
    height: 100%;
}

.bank-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.bank-logo img {
    width: 48px;
    height: 48px;
    margin-right: 15px;
    font-size: 17px;
    object-fit: contain;
    filter: grayscale(30%);
    transition: filter 0.3s;
}

.product-card:hover .bank-logo img {
    filter: grayscale(0%);
}

.bank-logo span {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 18px;
}

.product-info {
    padding: 5px 0;
}

.product-info p {
    margin: 12px 0;
    color: #555;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.product-info strong {
    color: var(--dark-color);
    font-weight: 500;
}

.product-info-d {
    padding: 5px 0;
    float: left;
}

.product-info-d span {
    margin: 12px 0;
    color: #555;
    font-size: 14px;
    width: 200px;
    display: inline-block;
}

.product-info-d strong {
    color: var(--dark-color);
    font-weight: 500;
}
.apply-btn {
    display: block;
    width: 100%;
    padding: 12px 12px -1px 12px;
    margin-top: 20px;
    background: var(--gradient-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    height: 40px;
    z-index: 1;
}

.apply-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-purple);
    transition: width 0.3s ease;
    z-index: -1;
}

.apply-btn:hover {
    box-shadow: 0 4px 15px rgba(25,118,210,0.3);
}

.apply-btn:hover::before {
    width: 100%;
}

/* 政策咨询表格优化 */
.tables-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.scrollable-table {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, box-shadow 0.3s;
}

.scrollable-table:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.scrollable-table h3 {
    padding: 16px 25px;
    background: var(--gradient-blue);
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: white;
    display: flex;
    align-items: center;
}

.scrollable-table h3 i {
    margin-right: 10px;
    font-size: 18px;
}

.content-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.content-table th {
    background-color: rgba(245,247,250,0.8);
    font-weight: 500;
    color: var(--dark-color);
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.content-table td {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
    color: #555;
}

.content-table tr:last-child td {
    border-bottom: none;
}

.content-table tr:hover td {
    background-color: rgba(25,118,210,0.03);
    color: var(--primary-color);
}

.view-detail {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.view-detail:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 产品详情页样式 - 科技感设计 */
.product-detail-container {
    width: 100%;
    min-height: 500px;
    background: white;
    padding: 20px;
    box-sizing: border-box;
    display: none;
}

.product-detail {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* 标题科技感下划线 */
.detail-title h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gradient-blue);
    margin-top: 10px;
}

.product-detail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-blue);
    border-radius: 12px 0 0 12px;
}

.detail-features:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .product-detail {
        padding: 20px;
    }

    .detail-content {
        grid-template-columns: 1fr;
    }

    .detail-features {
        position: static;
        margin-top: 30px;
    }
}

.product-detail.active {
    display: block !important;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.back-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.back-btn:hover {
    background-color: #1565c0;
    box-shadow: 0 3px 10px rgba(21,101,192,0.2);
}

.detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-left: 20px;
}

.detail-header img {
    width: 70px;
    height: 70px;
    margin-right: 25px;
    object-fit: contain;
}

.detail-title {
    flex-grow: 1;
}

.detail-title h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.8rem;
    width: 200px;
}

.detail-title p {
    margin: 8px 0 0;
    color: #666;
    font-size: 1rem;
}

.detail-content {
    max-width: 1500px;
    margin: 0 auto;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section h3 {
    color: var(--primary-color);
    margin-top: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-weight: 500;
    position: relative;
}

.detail-section h3::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.detail-features {
    background-color: rgba(245,247,250,0.5);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
}

.detail-features h3 {
    margin-top: 0;
}

.detail-features ul {
    padding-left: 20px;
}

.detail-features li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 15px;
}

.detail-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
}

.detail-table th, .detail-table td {
    padding: 14px 20px;
    border: 1px solid rgba(0,0,0,0.05);
    text-align: left;
}

.detail-table th {
    background-color: rgba(25,118,210,0.05);
    width: 30%;
    color: var(--dark-color);
    font-weight: 500;
}

.detail-table tr:hover td {
    background-color: rgba(25,118,210,0.03);
}

.application-process ol {
    padding-left: 20px;
}

.application-process li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

.application-process li::before {
    content: counter(step);
    counter-increment: step;
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.faq-question {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 15px;
}

.faq-answer {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

/* 金融服务总览卡片 */
.service-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.overview-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
    text-align: center;
}

.overview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.overview-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    /*background: var(--gradient-blue);*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.overview-card h3 {
    margin: 0 0 15px;
    color: var(--dark-color);
    font-size: 18px;
}

.overview-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 标签页导航 */
.tab-nav {
    display: flex;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin: 5px 0;
}

.tab-nav::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 20%;
    height: 3px;
    background: var(--gradient-blue);
    transition: all 0.3s ease;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.tab-btn.active {
    border-bottom-color: #1890ff;
    color: #1890ff;
    font-weight: bold;
}


.tab-btn:hover:not(.active) {
    color: var(--secondary-color);
    background: rgba(0,188,212,0.05);
}

/* 标签页内容 */
.tab-content {
    min-height: 300px;
    padding-left: 30px;
}

.tab-pane {
    display: none;
    padding: 15px 0;
}

.tab-pane.active {
    display: block;
}
/* 动态下划线定位 */
.tab-nav[data-active-tab="conditions"]::after { left: 20%; }
.tab-nav[data-active-tab="materials"]::after { left: 40%; }
.tab-nav[data-active-tab="process"]::after { left: 60%; }
.tab-nav[data-active-tab="faq"]::after { left: 80%; }

/* 响应式调整 */
@media (max-width: 768px) {
    .tab-nav {
        flex-wrap: wrap;
    }

    .tab-btn {
        flex: 0 0 50%;
        padding: 12px 0;
        font-size: 14px;
    }

    .tab-nav::after {
        width: 50%;
    }

    /* 调整动态下划线位置 */
    .tab-nav[data-active-tab="materials"]::after { left: 50%; }
    .tab-nav[data-active-tab="process"]::after { left: 0%; top: 100%; }
    .tab-nav[data-active-tab="faq"]::after { left: 50%; top: 100%; }
}

/* 流程图容器 */
.flowchart {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 40px 0;
    position: relative;
}

/* 流程步骤 */
.flow-step {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.1);
    position: relative;
    z-index: 1;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(25, 118, 210, 0.15);
}

/* 步骤图标 */
.step-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 20px;
}

/* 步骤内容 */
.step-content h3 {
    margin: 0 0 8px 0;
    color: var(--primary-color);
    font-size: 18px;
}

.step-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* 连接箭头 */
.step-arrow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid rgba(25, 118, 210, 0.1);
}

/* 连接线（最后一步不需要） */
.flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(25,118,210,0.3), transparent);
}

/* 科技风格容器 */
.tech-style {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(25, 118, 210, 0.1);
    border: 1px solid rgba(25, 118, 210, 0.1);
}

/* 粒子背景效果 */
.tech-particle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 30%, rgba(0, 188, 212, 0.05) 0%, transparent 20%),
            radial-gradient(circle at 80% 70%, rgba(25, 118, 210, 0.05) 0%, transparent 20%);
    z-index: 0;
}

/* 标题样式 */
.tech-header {
    padding: 30px 40px 20px;
    position: relative;
}

.tech-header h2 {
    font-size: 2.2rem;
    margin: 0;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.tech-icon {
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

.tech-underline {
    width: 100px;
    height: 4px;
    background: var(--gradient-blue);
    margin-top: 15px;
    border-radius: 2px;
}

/* 内容区域 */
.tech-content {
    padding: 0 40px 40px;
    position: relative;
    z-index: 1;
}

.tech-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 40px;
    /*max-width: 800px;*/
}

/* 卡片网格布局 */
.tech-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* 科技卡片设计 */
.tech-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 2px solid rgba(25, 118, 210, 0.3);
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(25, 118, 210, 0.15);
}

.tech-card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.tech-card h3 {
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}

.tech-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* 卡片底部波纹效果 */
.tech-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg,
    var(--primary-color),
    var(--secondary-color),
    var(--primary-color));
    background-size: 200% auto;
    animation: wave 3s linear infinite;
}

/* 动画效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes wave {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tech-header {
        padding: 25px 25px 15px;
    }

    .tech-content {
        padding: 0 25px 25px;
    }

    .tech-card-grid {
        grid-template-columns: 1fr;
    }
}

/* 响应式设计 */
@media (max-width: 900px) {
    .product-row {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .tables-container {
        grid-template-columns: 1fr;
    }

    .detail-content {
        grid-template-columns: 1fr;
    }

    .detail-features {
        position: static;
    }
}

@media (max-width: 992px) {
    .layout-container {
        flex-direction: column;
    }

    .accordion-container {
        width: 100%;
        margin-bottom: 30px;
        position: static;
    }
}

@media (max-width: 768px) {
    .banner4 {
        padding: 40px 0;
    }

    .banner4 h1 {
        font-size: 2rem;
    }

    .content-container {
        padding: 20px;
    }

    .product-row {
        grid-template-columns: 1fr;
    }

    .service-overview {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .detail-header {
        flex-direction: column;
        text-align: center;
    }

    .detail-header img {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .detail-title h2 {
        font-size: 1.5rem;
    }
}

/* 确保产品详情容器样式正确 */
.product-detail-container {
    display: none;
    width: 100%;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-detail {
    width: 100%;
}

/* 申请弹窗样式 */
.apply-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.modal-content {
    background-color: #fff;
    max-height: 80vh;
    margin: 5% auto;
    padding: 20px;
    border-radius: 5px;
    width: 1000px;
    max-width: 90%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-body {
    overflow-y: auto; /* 内容超出时显示垂直滚动条 */
    padding-right: 10px; /* 为滚动条留出空间 */
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    min-height: 32px; /* 保持最小行高 */
}

.form-row label {
    width: 120px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 10px;
}

.form-control {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    min-height: 32px;
}

textarea.form-control {
    min-height: 60px;
    resize: vertical;
}

.required {
    color: red;
    margin-left: 2px;
}

.checkbox-group {
    display: flex;
    gap: 20px;
}

.checkbox-group label {
    width: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

.submit-btn {
    background: #1890ff;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 130px;
}

.textarea-row {
    align-items: flex-start;
}

.textarea-row label {
    padding-top: 8px;
}

/* 自定义滚动条样式 */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 申请按钮容器 */
.apply-now-container {
    text-align: center;
    margin: 30px 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 我要申请按钮样式 */
.apply-now-btn {
    align-content: center;
    display: block;
    width: 25%;
    padding: 12px 12px -1px 12px;
    margin-top: 20px;
    margin-left: 250px;
    height: 40px;
    background: var(--gradient-blue);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.apply-now-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--gradient-purple);
    transition: width 0.3s ease;
    z-index: -1;
}

.apply-now-btn:hover {
    box-shadow: 0 4px 15px rgba(25,118,210,0.3);
}

.apply-now-btn:hover::before {
    width: 100%;
}

/* 分页基础样式 */
.pagination-container {
    margin: 30px 0;
    text-align: center;
    font-family: "Microsoft YaHei", sans-serif;
    display: inline-block;
}

/* 分页按钮组 */
.pagination-controls {
    display: inline-block;
    margin-right: 15px;
    margin-left: 400px;
}

/* 通用按钮样式 */
.page-btn {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    margin: 0 3px;
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #666;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s;
}

/* 当前页高亮 */
.page-btn.current {
    background: #1890ff;
    color: #fff;
    border-color: #1890ff;
}

/* 禁用状态 */
.page-btn.disabled {
    color: #ccc;
    background: #f5f5f5;
    cursor: not-allowed;
}

/* 跳转输入框 */
.jump-input {
    width: 50px;
    height: 32px;
    margin: 0 5px;
    padding: 0 5px;
    border: 1px solid #d9d9d9;
    text-align: center;
    border-radius: 4px;
}

/* 跳转按钮 */
.jump-btn {
    height: 32px;
    padding: 0 15px;
    margin-left: 10px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.ckgd {
    float: right;
    display: inline-block;
}

.cp {
    display: inline-block;
}
/* 返回按钮样式 - 与标题对齐 */
.back-to-list {
    float: right;
    margin: 5px 0 0 0;
    padding: 6px 15px;
    background: linear-gradient(90deg, #1890ff, #46a6ff);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(24, 144, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.5;
}
.back-to-list:hover {
    background: linear-gradient(90deg, #46a6ff, #1890ff);
    box-shadow: 0 3px 8px rgba(24, 144, 255, 0.4);
}

/* 标题容器样式 */
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

/* 产品详情容器样式 */
.product-detail-container {
    display: none;
    margin-top: 15px;
}

/* 列表和详情切换时的动画效果 */
.content-transition {
    transition: all 0.3s ease;
}
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    /*background-color: #f8f9fa;*/
}

.wrapper {
    max-width: 1200px;
    margin: 20px auto;
    /*background: #fff;*/
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* 产品头部样式 */
.detail-header {
    display: flex;
    padding: 30px;
    border-bottom: 1px solid #eaeef2;
    background: linear-gradient(135deg, #f9fbfd 0%, #ffffff 100%);
}

.detail-header img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-right: 25px;
    border: 1px solid #f0f0f0;
    /*background: white;*/
    padding: 8px;
}

.detail-title {
    flex: 1;
}

.detail-title h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.detail-title p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.product-info-d {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3498ff;
}

.product-info-d span {
    font-size: 15px;
    color: #444;
    min-width: 280px;
}

.product-info-d strong {
    color: #2c3e50;
    font-weight: 600;
}

/* 标签导航样式 */
.tab-nav {
    display: flex;
    border-bottom: 1px solid #eaeef2;
    background: #fff;
    padding: 0 30px;
}

.tab-btn {
    padding: 16px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #67748b;
    position: relative;
    transition: all 0.3s ease;
    outline: none;
}

.tab-btn:hover {
    color: #3498ff;
}

.tab-btn.active {
    color: #3498ff;
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3498ff;
    border-radius: 3px 3px 0 0;
}

/* 标签内容样式 */
.tab-content {
    padding: 0 30px;
}

.tab-pane {
    display: none;
    padding: 25px 0;
    line-height: 1.8;
    color: #444;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tab-pane p {
    margin-bottom: 15px;
    text-align: justify;
}

/* 申请按钮容器 */
.apply-now-container {
    text-align: center;
    padding: 30px 0;
}

.apply-now-btn {
    background: linear-gradient(135deg, #3498ff 0%, #2c78d6 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 255, 0.3);
}

.apply-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 255, 0.4);
}

.apply-now-btn:active {
    transform: translateY(0);
}

/* 上下文导航 */
.context {
    display: flex;
    justify-content: space-between;
    padding: 25px 30px;
    background: #f8fafc;
    border-top: 1px solid #eaeef2;
}

.context .left, .context .right {
    display: flex;
    align-items: center;
}

.context span {
    color: #67748b;
    margin-right: 10px;
}

.context a {
    color: #3498ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.context a:hover {
    color: #2c78d6;
    text-decoration: underline;
}

/* 模态框样式 */
.apply-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: slideUp 0.4s ease;
}

.modal-content h3 {
    padding: 20px 25px;
    font-size: 20px;
    color: #1a1a1a;
    border-bottom: 1px solid #eaeef2;
    background: #fbfcfd;
    border-radius: 12px 12px 0 0;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dce2e8;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3498ff;
    box-shadow: 0 0 0 3px rgba(52, 152, 255, 0.2);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.required {
    color: #ff4757;
}

.action-row {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: linear-gradient(135deg, #3498ff 0%, #2c78d6 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(52, 152, 255, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2c78d6 0%, #2563c7 100%);
    box-shadow: 0 6px 16px rgba(52, 152, 255, 0.4);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detail-header {
        flex-direction: column;
        padding: 20px;
    }

    .detail-header img {
        margin-right: 0;
        margin-bottom: 20px;
        align-self: center;
    }

    .tab-nav {
        overflow-x: auto;
        padding: 0 15px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .tab-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        padding: 14px 20px;
        white-space: nowrap;
        font-size: 15px;
    }

    .tab-content {
        padding: 0 20px;
    }

    .context {
        flex-direction: column;
        gap: 15px;
    }

    .product-info-d span {
        min-width: 100%;
    }

    .modal-content {
        width: 95%;
        margin: 20px;
    }
}



/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    /*background-color: #f8f9fa;*/
}

.wrapper {
    max-width: 1200px;
    margin: 20px auto;
    /*background: #fff;*/
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* 产品头部样式 */
.detail-header {
    display: flex;
    padding: 30px;
    border-bottom: 1px solid #eaeef2;
    background: linear-gradient(135deg, #f9fbfd 0%, #ffffff 100%);
}

.detail-header img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-right: 25px;
    border: 1px solid #f0f0f0;
    /*background: white;*/
    padding: 8px;
}

.detail-title {
    flex: 1;
}

.detail-title h2 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.detail-title p {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
}

.product-info-d {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid #3498ff;
}

.product-info-d span {
    font-size: 15px;
    color: #444;
    min-width: 280px;
}

.product-info-d strong {
    color: #2c3e50;
    font-weight: 600;
}

/* 标签导航样式 */
.tab-nav {
    display: flex;
    border-bottom: 1px solid #eaeef2;
    background: #fff;
    padding: 0 30px;
}

.tab-btn {
    padding: 16px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #67748b;
    position: relative;
    transition: all 0.3s ease;
    outline: none;
}

.tab-btn:hover {
    color: #3498ff;
}

.tab-btn.active {
    color: #3498ff;
    font-weight: 600;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #3498ff;
    border-radius: 3px 3px 0 0;
}

/* 标签内容样式 */
.tab-content {
    padding: 0 30px;
}

.tab-pane {
    display: none;
    padding: 25px 0;
    line-height: 1.8;
    color: #444;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.tab-pane p {
    margin-bottom: 15px;
    text-align: justify;
}

/* 申请按钮容器 */
.apply-now-container {
    text-align: center;
    padding: 30px 0;
}

.apply-now-btn {
    background: linear-gradient(135deg, #3498ff 0%, #2c78d6 100%);
    color: white;
    border: none;
    padding: 14px 40px;
    margin: 0 auto;
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(52, 152, 255, 0.3);
}

.apply-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(52, 152, 255, 0.4);
}

.apply-now-btn:active {
    transform: translateY(0);
}

/* 上下文导航 */
.context {
    display: flex;
    justify-content: space-between;
    padding: 25px 30px;
    background: #f8fafc;
    border-top: 1px solid #eaeef2;
}

.context .left, .context .right {
    display: flex;
    align-items: center;
}

.context span {
    color: #67748b;
    margin-right: 10px;
}

.context a {
    color: #3498ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.context a:hover {
    color: #2c78d6;
    text-decoration: underline;
}

/* 模态框样式 */
.apply-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: slideUp 0.4s ease;
}

.modal-content h3 {
    padding: 20px 25px;
    font-size: 20px;
    color: #1a1a1a;
    border-bottom: 1px solid #eaeef2;
    background: #fbfcfd;
    border-radius: 12px 12px 0 0;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dce2e8;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #3498ff;
    box-shadow: 0 0 0 3px rgba(52, 152, 255, 0.2);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.required {
    color: #ff4757;
}

.action-row {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: linear-gradient(135deg, #3498ff 0%, #2c78d6 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(52, 152, 255, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2c78d6 0%, #2563c7 100%);
    box-shadow: 0 6px 16px rgba(52, 152, 255, 0.4);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detail-header {
        flex-direction: column;
        padding: 20px;
    }

    .detail-header img {
        margin-right: 0;
        margin-bottom: 20px;
        align-self: center;
    }

    .tab-nav {
        overflow-x: auto;
        padding: 0 15px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .tab-nav::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        padding: 14px 20px;
        white-space: nowrap;
        font-size: 15px;
    }

    .tab-content {
        padding: 0 20px;
    }

    .context {
        flex-direction: column;
        gap: 15px;
    }

    .product-info-d span {
        min-width: 100%;
    }

    .modal-content {
        width: 95%;
        margin: 20px;
    }
}