/* 通用业务页面样式模板 - 基于business9设计标准 */
:root {
    --primary-red: #ff4757;
    --primary-blue: #3742fa;
    --secondary-blue: #70a1ff;
    --accent-cyan: #12cbc4;
    --accent-purple: #a55eea;
    --primary-black: #0a0a0a;
    --dark-gray: #57606f;
    --medium-gray: #2f3542;
    --light-gray: #1e272e;
    --light-text: #f1f2f6;
    --medium-text: #a4b0be;
    --dark-text: #747d8c;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.5);
    --gradient-primary: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    --gradient-secondary: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    --gradient-card: linear-gradient(145deg, rgba(38, 41, 48, 0.95), rgba(48, 52, 63, 0.95));
    --gradient-button: linear-gradient(135deg, var(--primary-red), var(--accent-purple));
    --gradient-button-hover: linear-gradient(135deg, var(--accent-purple), var(--primary-red));
    --gradient-hero: linear-gradient(135deg, rgba(55, 66, 250, 0.8), rgba(255, 71, 87, 0.8));
}

/* 英雄区统计数据样式 */
.hero-stats {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
    margin-top: 3rem !important;
    flex-wrap: wrap !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.stat-item {
    text-align: center !important;
    flex: 1 1 150px !important;
    min-width: 150px !important;
    max-width: 200px !important;
    padding: 1.5rem 1rem !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.stat-item:hover {
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 900;
    display: block;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ff4757, #a55eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
}

.stat-item .stat-label {
    font-size: 1rem;
    color: var(--light-text);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
    background-color: var(--primary-black);
    color: var(--light-text);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    letter-spacing: 0.5px;
    word-spacing: 1px;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(230, 57, 70, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(29, 53, 87, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(168, 218, 220, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

/* 通用容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 导航栏样式 - 统一标准 */
header {
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(230, 57, 70, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo span {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--medium-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-blue));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 导航栏激活状态 - 统一标准 */
.nav-links a.active {
    color: var(--primary-red);
}

.nav-links a.active::after {
    width: 100%;
}

/* 类目说明卡片样式 - 统一标准 */
.category-info-card {
    background-color: rgba(230, 57, 70, 0.1);
    border: 1px solid var(--primary-red);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.category-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.2);
    background-color: rgba(230, 57, 70, 0.15);
}

.category-info-card h4 {
    color: var(--primary-red);
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.category-info-card p {
    margin: 0.8rem 0;
    line-height: 1.6;
}

/* 推荐子类目样式 - 统一标准 */
.recommended-categories {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid rgba(230, 57, 70, 0.2);
    margin-top: 1rem;
}

/* 经营类目样式 - 统一标准 */
.business-categories {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid rgba(230, 57, 70, 0.1);
}

.business-categories p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

.business-categories strong {
    color: var(--primary-red);
}

.recommended-categories strong {
    color: var(--primary-red);
}

.recommended-categories span {
    color: var(--dark-gray);
}

/* 汉堡菜单 - 统一标准 */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: space-between;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--primary-red);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* 英雄区样式 - 统一标准 */
.hero {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(36, 36, 36, 0.98));
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(230, 57, 70, 0.1), transparent 50%);
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary-red), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--medium-text);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero .cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* CTA按钮 - 统一标准 */
.cta-button {
    display: inline-block;
    background: var(--gradient-button);
    color: var(--light-text);
    padding: 1.1rem 3rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(230, 57, 70, 0.5);
    background: var(--gradient-button-hover);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary-red);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.15);
}

.cta-button.secondary:hover {
    background: var(--gradient-button);
    border-color: transparent;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 通用板块样式 - 统一标准 */
.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* 板块标题 - 统一标准 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 0 3rem 0;
    position: relative;
    font-weight: 700;
    line-height: 1.3;
}

.section-title span {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 统计数据 - 统一标准 */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(29, 53, 87, 0.1));
    transition: top 0.6s ease;
}

.stat-card:hover::before {
    top: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(230, 57, 70, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: block;
    position: relative;
    z-index: 1;
}

.stat-label {
    color: var(--dark-gray);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* 服务卡片 - 统一标准 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1), rgba(29, 53, 87, 0.1));
    transition: top 0.6s ease;
}

.service-card:hover::before {
    top: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(230, 57, 70, 0.3);
}

.service-card h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-red);
}

.service-card p {
    color: var(--medium-text);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* 表格包装器样式 - 统一标准 */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
}

/* 资质容器样式 - 统一标准 */
.qualification-container {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-top: 2rem;
}

.qualification-container h3 {
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.qualification-container h4 {
    color: var(--light-text);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

/* 表格样式 - 统一标准 */
.data-table, .category-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    background: transparent;
    margin: 0;
}

.data-table thead, .category-table thead {
    background: var(--gradient-primary);
}

.data-table th, .category-table th {
    padding: 1.25rem;
    text-align: left;
    border-bottom: none;
    color: var(--light-text);
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td, .category-table td {
    padding: 1.25rem;
    vertical-align: top;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--medium-text);
    line-height: 1.6;
}

.data-table tbody tr, .category-table tbody tr {
    transition: background-color 0.3s ease;
}

.data-table tbody tr:hover, .category-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.data-table tbody tr:nth-child(even), .category-table tbody tr:nth-child(even) {
    background-color: rgba(230, 57, 70, 0.03);
}

/* 规范总则内容容器样式 */
.content-container {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

/* 规则区块样式 */
.rule-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rule-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rule-section h3 {
    color: var(--primary-red);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rule-section h4 {
    color: var(--light-text);
    font-size: 1.1rem;
    margin: 1.5rem 0 1rem;
    font-weight: 600;
}

.rule-section p {
    color: var(--medium-text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* 服务平台样式 - 统一标准 */
.service-platforms {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.platform-card {
    background: var(--gradient-card);
    padding: 1.5rem;
    border-radius: 10px;
    width: 200px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    color: var(--white);
    font-weight: bold;
    text-align: center;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(230, 57, 70, 0.3);
    background: linear-gradient(145deg, rgba(36, 36, 36, 0.95), rgba(46, 46, 46, 0.95));
}

/* 服务介绍样式 - 统一标准 */
.services-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    color: var(--medium-text);
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 流程卡片 - 统一标准 */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
    position: relative;
}

/* 流程连接线（仅在桌面端显示） */
@media (min-width: 1024px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 30%;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--primary-red), var(--primary-blue), transparent);
        z-index: 0;
    }
}

.process-card {
    background: var(--gradient-card);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 1;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.1), transparent);
    transition: left 0.6s ease;
}

.process-card:hover::before {
    left: 100%;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(230, 57, 70, 0.3);
}

.process-number {
    position: absolute;
    top: -25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-text);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
}

.process-card:hover .process-number {
    transform: scale(1.2) rotate(360deg);
}

.process-card h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
    margin-top: 1rem;
}

.process-card p {
    color: var(--medium-text);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* 成功案例卡片 - 统一标准 */
.success-card {
    background: var(--gradient-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.success-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(230, 57, 70, 0.3);
}

.success-card h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.success-card p {
    color: var(--medium-text);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* 立即咨询板块 - 统一标准 */
.contact-container {
    max-width: 700px;
    margin: 3rem auto;
    text-align: center;
    background: var(--gradient-card);
    padding: 4rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.contact-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(230, 57, 70, 0.3);
}

.contact-container p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--medium-text);
}

/* 页脚样式 - 通版设计 */
footer {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 3rem 2rem 1rem;
    border-top: 1px solid rgba(230, 57, 70, 0.3);
    margin-top: 4rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    box-sizing: border-box;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.footer-section p {
    color: var(--medium-text);
    line-height: 1.6;
}

.footer-section a {
    display: block;
    color: var(--medium-text);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-red);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--dark-gray);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏响应式 */
    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-bottom: 1px solid rgba(230, 57, 70, 0.3);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* 英雄区响应式 */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    /* 通用样式响应式 */
    .section,
    .services,
    .news-section {
        padding: 2.5rem 1.5rem;
    }
    
    /* 表格响应式 */
    .data-table {
        min-width: 600px;
    }
    
    /* 服务卡片响应式 */
    .services-grid,
    .process-steps,
    .customer-groups {
        grid-template-columns: 1fr;
    }
    
    /* 流程卡片响应式 */
    .process-steps::before {
        display: none;
    }
}

/* 滚动条样式 - 统一标准 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-secondary);
}