/* ============================================
   登士柏节能科技官网 - 全局样式表
   ============================================ */

/* CSS变量定义 */
:root {
    /* 主色调 */
    --primary-color: #0052D4;
    --primary-dark: #003399;
    --primary-light: #4A80E8;
    
    /* 辅助色 */
    --accent-color: #FF6B35;
    --accent-dark: #E55A2B;
    --success-color: #28A745;
    
    /* 中性色 */
    --dark-color: #1A1A2E;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #999999;
    --gray-lighter: #F5F5F5;
    --white: #FFFFFF;
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #0052D4 0%, #4364E7 50%, #6FB1FC 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #FF8E53 100%);
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-primary: 0 4px 20px rgba(0, 82, 212, 0.3);
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* 间距 */
    --section-padding: 80px 0;
    --container-width: 1200px;
    
    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 重置与基础 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-color);
}

ul, ol {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

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

/* 页面标题 */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
    position: relative;
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    background: var(--gray-lighter);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-medium);
}

.breadcrumb a {
    color: var(--gray-medium);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    color: var(--gray-light);
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
    max-width: 100%;
    object-fit: contain;
}

.logo-img {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .company {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text .en {
    font-size: 10px;
    color: var(--gray-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
    justify-content: center;
    margin: 0 20px;
}

.nav-item {
    position: relative;
    padding: 8px 4px;
    font-size: 15px;
    color: var(--gray-dark);
    font-weight: 500;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-color);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.nav-item:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-light);
    border-radius: 2px;
    opacity: 0.5;
}

.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    padding: 10px 0;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--gray-dark);
}

.nav-dropdown a:hover {
    background: var(--gray-lighter);
    color: var(--primary-color);
}

/* 后台管理链接样式 */
.admin-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff !important;
    padding: 6px 16px !important;
    border-radius: 20px;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.admin-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    padding: 8px 16px;
    background: rgba(0, 82, 212, 0.08);
    border-radius: 25px;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.header-phone:hover {
    background: rgba(0, 82, 212, 0.15);
    transform: translateY(-1px);
}

.header-phone svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
    color: var(--white);
}

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

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
}

.btn-white:hover {
    background: var(--gray-lighter);
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    color: var(--white);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-lg {
    padding: 15px 36px;
    font-size: 16px;
}

/* 手机端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-dark);
    border-radius: 2px;
    transition: all var(--transition-normal);
    position: relative;
}

/* 汉堡菜单按钮active状态动画 - 变为关闭图标X */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Banner */
.banner.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0A2647 0%, #144272 100%);
    overflow: hidden;
    margin-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, #00D67E, #00FFB2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content .subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    max-width: 560px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* 车库场景动画 */
.garage-scene {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
}

.garage-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #050E1A 0%, #0A1A30 100%);
}

.garage-light {
    position: absolute;
    width: 80px;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.8s ease;
}

.garage-light.on {
    background: rgba(255, 255, 220, 0.95);
    box-shadow: 0 0 40px 15px rgba(0, 214, 126, 0.3), 0 20px 60px 20px rgba(255, 255, 200, 0.15);
}

.garage-light.dim {
    background: rgba(0, 214, 126, 0.08);
    box-shadow: 0 0 8px 2px rgba(0, 214, 126, 0.05);
}

.garage-car {
    position: absolute;
    bottom: 15%;
    width: 180px;
    height: 60px;
    transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-body {
    position: relative;
    width: 100%;
    height: 100%;
}

.car-body svg {
    width: 100%;
    height: 100%;
}

.garage-floor {
    position: absolute;
    bottom: 12%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.garage-pillar {
    position: absolute;
    bottom: 12%;
    width: 16px;
    height: 70%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-radius: 4px 4px 0 0;
}

/* Section通用样式 */
.section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
}

.section-header .highlight {
    color: var(--primary-color);
}

/* 核心业务卡片 */
.business-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.business-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.business-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.business-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(0, 82, 212, 0.1) 0%, rgba(67, 100, 231, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-icon svg,
.business-icon img {
    width: 40px;
    height: 40px;
}

.business-icon svg {
    color: var(--primary-color);
}

.business-icon img {
    object-fit: contain;
}

.business-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.business-card .tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 82, 212, 0.1);
    color: var(--primary-color);
    font-size: 13px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.business-card p {
    font-size: 14px;
    color: var(--gray-medium);
    line-height: 1.8;
}

/* 数据展示 */
.data-section {
    background: var(--gradient-dark);
    color: var(--white);
    padding: 80px 0;
}

.data-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
}

.data-item {
    text-align: center;
}

.data-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.data-unit {
    font-size: 24px;
}

.data-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 技术优势 */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.tech-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    display: flex;
    gap: 30px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.tech-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.tech-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon svg,
.tech-icon img {
    width: 40px;
    height: 40px;
}

.tech-icon svg {
    color: var(--white);
}

.tech-icon img {
    object-fit: contain;
}

.tech-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
}

.tech-content p {
    font-size: 15px;
    color: var(--gray-medium);
    line-height: 1.8;
}

/* 解决方案入口 */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.solution-item {
    position: relative;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    group: true;
}

.solution-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.solution-item:hover .solution-bg {
    transform: scale(1.1);
}

.solution-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 82, 212, 0.8) 100%);
    transition: background var(--transition-normal);
}

.solution-item:hover .solution-bg::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 82, 212, 0.95) 100%);
}

.solution-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: var(--white);
}

.solution-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.solution-icon svg,
.solution-icon img {
    width: 100%;
    height: 100%;
}

.solution-icon img {
    object-fit: contain;
}

.solution-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.solution-content p {
    font-size: 13px;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
}

.solution-item:hover .solution-content p {
    opacity: 0.9;
    transform: translateY(0);
}

/* 案例卡片 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.case-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.case-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 12px;
    border-radius: 20px;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.case-content p {
    font-size: 14px;
    color: var(--gray-medium);
    margin-bottom: 15px;
}

.case-stats {
    display: flex;
    gap: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-lighter);
}

.case-stat {
    text-align: center;
    flex: 1;
}

.case-stat .number {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.case-stat .label {
    font-size: 12px;
    color: var(--gray-light);
}

/* 咨询表单 */
.consultation-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.consultation-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.consultation-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

.consultation-form h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.consultation-form > p {
    font-size: 15px;
    color: var(--gray-medium);
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E0E0E0;
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 82, 212, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.consultation-info {
    color: var(--white);
}

.consultation-info h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.consultation-info > p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg,
.contact-icon img {
    width: 24px;
    height: 24px;
}

.contact-icon img {
    object-fit: contain;
}

.contact-item .label {
    font-size: 13px;
    opacity: 0.8;
}

.contact-item .value {
    font-size: 18px;
    font-weight: 600;
}

/* 合作品牌 */
.brands-section {
    padding: 60px 0;
    background: var(--gray-lighter);
}

.brands-title {
    text-align: center;
    font-size: 16px;
    color: var(--gray-medium);
    margin-bottom: 40px;
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.brand-item {
    padding: 15px 30px;
    background: var(--white);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-medium);
    transition: all var(--transition-normal);
}

.brand-item:hover {
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

/* 底部 */
.footer {
    background: #060F1D;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #00D67E, #00FFB2);
    color: #060F1D;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}

.footer-brand .logo span {
    color: #00D67E;
    font-size: 12px;
    font-weight: 400;
    vertical-align: super;
    margin-left: 2px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-normal);
}

.footer-col a:hover {
    color: #00D67E;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom a {
    color: #00D67E;
}

.brand-strip {
    color: rgba(255, 255, 255, 0.5);
}

.brand-strip a {
    color: #00D67E;
}

/* 页面特定样式 - 关于我们 */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 100px;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    color: var(--gray-medium);
    line-height: 1.8;
    margin-bottom: 25px;
}

.core-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.value-item {
    text-align: center;
    padding: 25px;
    background: var(--gray-lighter);
    border-radius: var(--radius-lg);
}

.value-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.value-item p {
    font-size: 14px;
    color: var(--gray-medium);
}

/* 发展历程 */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
    padding-left: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 0;
    width: 14px;
    height: 14px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--gray-medium);
}

/* 资质认证 */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cert-item {
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    border-radius: var(--radius-lg);
    padding: 25px;
    text-align: center;
    transition: all var(--transition-normal);
}

.cert-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.cert-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon svg {
    width: 30px;
    height: 30px;
    color: var(--white);
}

.cert-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
}

/* 产品中心 */
.products-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--white);
    border: 1px solid var(--gray-lighter);
    border-radius: 30px;
    font-size: 15px;
    color: var(--gray-medium);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: var(--white);
}

.product-image svg,
.product-image img {
    width: 80px;
    height: 80px;
}

.product-image svg {
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.product-image img {
    object-fit: contain;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.product-info p {
    font-size: 14px;
    color: var(--gray-medium);
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag {
    padding: 4px 10px;
    background: var(--gray-lighter);
    font-size: 12px;
    color: var(--gray-medium);
    border-radius: 4px;
}

/* 解决方案详情 */
.solution-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
}

.solution-detail.reverse {
    direction: rtl;
}

.solution-detail.reverse > * {
    direction: ltr;
}

.solution-visual {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-visual svg,
.solution-visual img {
    width: 150px;
    height: 150px;
}

.solution-visual svg {
    color: rgba(255, 255, 255, 0.5);
}

.solution-visual img {
    object-fit: contain;
}

.solution-detail-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.solution-detail-content p {
    font-size: 16px;
    color: var(--gray-medium);
    line-height: 1.8;
    margin-bottom: 25px;
}

.problem-list,
.feature-list {
    margin-bottom: 25px;
}

.problem-list h4,
.feature-list h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.problem-list h4 svg,
.feature-list h4 svg {
    width: 20px;
    height: 20px;
}

.problem-list li,
.feature-list li {
    font-size: 14px;
    color: var(--gray-medium);
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
}

.problem-list li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: 700;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* 服务流程 */
.service-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.service-step {
    text-align: center;
    position: relative;
}

.service-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -10px;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
}

.service-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    font-weight: 700;
}

.service-step h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.service-step p {
    font-size: 13px;
    color: var(--gray-medium);
}

/* 新闻列表 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    transition: all var(--transition-normal);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.news-image {
    width: 200px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image svg {
    width: 50px;
    height: 50px;
    color: rgba(255, 255, 255, 0.5);
}

.news-content {
    padding: 25px;
    flex: 1;
}

.news-date {
    font-size: 13px;
    color: var(--gray-light);
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content h3:hover {
    color: var(--primary-color);
}

.news-content p {
    font-size: 14px;
    color: var(--gray-medium);
    line-height: 1.6;
}

/* 咨询入口 */
.cta-section {
    background: var(--gradient-dark);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* 浮动咨询按钮 */
.float-consult {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-btn {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.float-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.float-btn svg {
    width: 24px;
    height: 24px;
}

.float-btn.phone {
    background: var(--accent-color);
}

.float-tooltip {
    position: absolute;
    right: 70px;
    background: var(--white);
    color: var(--gray-dark);
    padding: 8px 15px;
    border-radius: var(--radius-md);
    font-size: 14px;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.float-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

/* 响应式 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .business-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .data-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .nav {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .banner {
        height: 500px;
    }
    
    .banner-content h2 {
        font-size: 36px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .consultation-wrapper {
        grid-template-columns: 1fr;
    }
    
    .consultation-info {
        text-align: center;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .solution-detail {
        grid-template-columns: 1fr;
    }
    
    .service-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-step::after {
        display: none;
    }
}

@media (max-width: 768px) {
    .header .container {
        height: 60px;
    }
    
    .banner {
        height: 450px;
        margin-top: 60px;
    }
    
    .banner-content h2 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .banner-buttons {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .business-cards {
        grid-template-columns: 1fr;
    }
    
    .data-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .data-number {
        font-size: 36px;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-image {
        width: 100%;
        height: 150px;
    }
    
    .service-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .float-consult {
        right: 15px;
        bottom: 80px;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .banner.hero {
        min-height: auto;
        padding: 80px 0 50px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-item {
        height: 200px;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
    }
    
    .consultation-form {
        padding: 30px 20px;
    }
    
    .service-steps {
        grid-template-columns: 1fr;
    }
}

/* 移动端菜单遮罩层 */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* 移动端菜单 */
.mobile-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 60px);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    padding: 20px;
    overflow-y: auto;
    transform: translateY(-10px);
    opacity: 0;
    transition: all var(--transition-normal);
}

.mobile-nav.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 10px;
    font-size: 16px;
    color: var(--gray-dark);
    border-bottom: 1px solid var(--gray-lighter);
    transition: all var(--transition-fast);
}

.mobile-nav a:hover {
    color: var(--primary-color);
    background: var(--gray-lighter);
    padding-left: 20px;
}

.mobile-nav a::after {
    content: '›';
    font-size: 20px;
    color: var(--gray-light);
    transition: all var(--transition-fast);
}

.mobile-nav a:hover::after {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* 电子名片导航高亮样式 */
.nav-item.highlight a {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-item.highlight a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.mobile-nav a.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* 电子名片推广区样式 */
.card-promo {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.card-promo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 15s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.card-promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.card-promo-text {
    flex: 1;
    color: var(--white);
    padding-right: 60px;
}

.card-promo-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.card-promo-text p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 30px;
}

.card-promo-text .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--white);
    color: #4F46E5;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-promo-text .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.card-promo-text .btn svg {
    width: 20px;
    height: 20px;
}

.card-promo-preview {
    flex-shrink: 0;
}

.mini-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: all 0.5s ease;
}

.mini-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.mini-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.mini-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-avatar svg {
    width: 28px;
    height: 28px;
    color: white;
}

.mini-name {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
}

.mini-position {
    font-size: 13px;
    color: #6B7280;
}

.mini-info {
    border-top: 1px solid #E5E7EB;
    padding-top: 16px;
}

.mini-info-item {
    font-size: 13px;
    color: #374151;
    padding: 6px 0;
}

/* 响应式 */
@media (max-width: 991px) {
    .card-promo-content {
        flex-direction: column;
        text-align: center;
    }
    
    .card-promo-text {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .card-promo-preview {
        margin-top: 20px;
    }
    
    .mini-card {
        transform: none;
    }
}

@media (max-width: 768px) {
    .card-promo {
        padding: 50px 0;
    }
    
    .card-promo-text h2 {
        font-size: 28px;
    }
    
    .card-promo-text p {
        font-size: 14px;
    }
}
