/* ========================================
   超图软件 - NX二次开发企业官网样式
   主色调: 科技蓝 #0066cc
   辅助色: 活力橙 #ff6b35
   ======================================== */

/* 基础变量 */
:root {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --primary-light: #3385d6;
    --secondary: #ff6b35;
    --secondary-dark: #e55a2b;
    --black: #1a1a1a;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #999999;
    --gray-500: #666666;
    --gray-600: #4a4a4a;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --container-width: 1200px;
    --section-padding: 100px;
}

/* 重置样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

/* ========================================
   按钮样式
   ======================================== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

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

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

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

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition-normal);
    padding: 20px 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
}

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

.logo-img {
    width: auto;
    height: 45px;
    object-fit: contain;
}

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

.logo-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.logo-subtitle {
    font-size: 12px;
    color: var(--gray-300);
    margin-top: 2px;
}

.navbar.scrolled .logo-title {
    color: var(--black);
}

.navbar.scrolled .logo-subtitle {
    color: var(--gray-600);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 15px;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.navbar.scrolled .nav-menu > li > a {
    color: var(--gray-600);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .nav-menu > li > a:hover,
.navbar.scrolled .nav-menu > li > a.active {
    color: var(--primary);
    background: rgba(0, 102, 204, 0.08);
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

.dropdown .arrow {
    font-size: 10px;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--gray-600);
    font-size: 14px;
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: var(--gray-100);
    color: var(--primary);
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-fast);
}

.navbar.scrolled .mobile-menu-toggle span {
    background: var(--black);
}

/* ========================================
   主视觉区 - 轮播图
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* 轮播容器 */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 轮播图片项 */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}



.hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* 轮播项内容区域 */
.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
}

.slide-content .container {
    margin: 0 auto;
}

/* 左右切换箭头 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 1000;
    opacity: 1;
    visibility: visible;
    transition: all 0.25s ease;
    pointer-events: auto;
}

/* 鼠标悬停在按钮上时的效果 */
.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* 点击效果 */
.slider-arrow:active {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-50%) scale(0.92);
}

.slider-arrow svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.slider-prev {
    left: 25px;
}

.slider-next {
    right: 25px;
}

/* 轮播指示器 */
.slider-dots {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 1000;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    pointer-events: auto;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.dot.active {
    background: var(--secondary);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-title .line {
    display: block;
}

.hero-title .highlight {
    color: var(--secondary);
    position: relative;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    text-align: center;
    opacity: 0.35;
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 0.7;
}

.scroll-indicator span {
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
    margin: 0 auto;
}

/* ========================================
   合作企业Logo走马灯
   ======================================== */
.client-logo-marquee {
    padding: 60px 0 50px;
    background: var(--white);
    overflow: hidden;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-top:30px;
    margin-bottom:0px;
}

.client-logo-marquee .section-header {
    margin-bottom: 40px;
}

.client-logo-marquee .marquee-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.client-logo-marquee .marquee-track {
    display: flex;
    gap: 80px;
    animation: marquee 25s linear infinite;
    align-items: center;
}

.logo-item {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    opacity: 0.7;
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

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

/* ========================================
   区块标题
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6b35;
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    margin-top: 12px;
}

.section-line {
    display: block;
    width: 60px;
    height: 3px;
    background: #ff6b35;
    margin: 12px auto;
    border-radius: 2px;
}

/* ========================================
   解决方案
   ======================================== */
.solutions {
    padding: var(--section-padding) 0;
    background: var(--white);
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
}

.empty-state-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
}

.empty-state-icon svg {
    width: 40px;
    height: 40px;
}

.empty-state-title {
    font-size: 20px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.empty-state-desc {
    font-size: 15px;
    color: #64748b;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.solutions-grid.centered {
    grid-template-columns: repeat(auto-fit, minmax(280px, 300px));
    justify-content: center;
}

.solution-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

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

.card-image {
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.solution-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--black);
}

.card-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.card-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* ========================================
   核心优势
   ======================================== */
.advantages {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

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

.advantage-item {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.advantage-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: transform 0.6s ease;
}

.advantage-item:hover .advantage-icon {
    transform: rotateY(180deg);
}

.advantage-icon svg,
.advantage-icon i {
    width: 28px;
    height: 28px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--black);
}

.advantage-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========================================
   产品展示
   ======================================== */
.product-showcase {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.showcase-content .section-title {
    text-align: left;
    margin-bottom: 24px;
}

.showcase-content .section-title::after {
    display: none;
}

.showcase-desc {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 32px;
}

.feature-list {
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--gray-600);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

.showcase-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.showcase-image img {
    width: 100%;
    height: auto;
}

.showcase-video {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
    background: var(--black);
}

.showcase-video iframe,
.showcase-video video {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

/* 视频区域左右交替布局 */
.showcase-wrapper.reversed {
    direction: rtl;
}

.showcase-wrapper.reversed > * {
    direction: ltr;
}

/* 多个视频项之间的间距 */
.product-showcase .showcase-wrapper {
    margin-bottom: 80px;
}

.product-showcase .showcase-wrapper:last-child {
    margin-bottom: 0;
}

/* ========================================
   数据统计
   ======================================== */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number,
.stat-suffix {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}

.stat-number {
    display: inline;
}

.stat-suffix {
    display: inline;
    color: var(--secondary);
}

.stat-label {
    font-size: 16px;
    margin-top: 12px;
    opacity: 0.9;
}

/* ========================================
   客户案例
   ======================================== */
.cases {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

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

.case-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    border: 1px solid var(--gray-200);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.case-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.case-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
}

.case-tag {
    font-size: 12px;
    padding: 4px 12px;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-weight: 500;
}

.case-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 24px;
}

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

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

.case-stat .stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.case-stat .stat-label {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px;
}

.case-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.case-bottom .case-stats {
    padding-top: 0;
    border-top: none;
}

.case-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.case-link:hover {
    color: var(--primary-dark);
}

/* ========================================
   新闻资讯
   ======================================== */
.news {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

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

.news-card.featured {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 280px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    font-size: 12px;
    padding: 4px 12px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    margin-bottom: 12px;
    width: fit-content;
}

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

.news-card.featured .news-content h3 {
    font-size: 22px;
}

.news-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    flex: 1;
}

.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.news-date {
    font-size: 13px;
    color: var(--gray-400);
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.read-more:hover {
    color: var(--primary-dark);
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   CTA区域
   ======================================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
}

.cta-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-wrapper h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

.cta-wrapper p {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 32px;
}

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

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 80px 0 30px;
}

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

.footer-brand .logo-wrapper {
    margin-bottom: 20px;
}

.footer-brand .logo-title {
    color: var(--white);
}

.footer-brand .logo-subtitle {
    color: var(--gray-400);
}

.footer-desc {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-contact-info {
    margin-top: 20px;
}

.footer-contact-info p {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-contact-info i {
    color: var(--primary);
    width: 16px;
}

.footer-contact p {
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 8px;
}

.footer-contact strong {
    color: var(--white);
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-links ul li a:hover {
    color: var(--primary-light);
}

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

.qr-code {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.qr-placeholder {
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
}

.footer-qr p {
    font-size: 12px;
    color: var(--gray-400);
}

/* Footer QR Codes - 公司二维码 */
.footer-qr-codes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-code-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: var(--white);
    border-radius: 8px;
    padding: 0px;
}

.qr-code-title {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 8px;
    text-align: left;
}

.qr-code-hint {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 16px;
    text-align: left;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.footer-bottom .beian-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-fast);
    vertical-align: middle;
}

.footer-bottom .beian-link:hover {
    color: var(--white);
}

.footer-bottom .beian-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    display: inline-block;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    font-size: 14px;
    color: var(--gray-400);
}

.footer-legal a:hover {
    color: var(--white);
}

/* ========================================
   悬浮按钮
   ======================================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.floating-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    transition: var(--transition-normal);
}

.floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
}

.floating-btn svg {
    width: 20px;
    height: 20px;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .showcase-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu > li {
        width: 100%;
    }
    
    .nav-menu > li > a {
        color: var(--gray-600) !important;
        padding: 15px 0;
        border-bottom: 1px solid var(--gray-200);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .solutions-grid,
    .advantages-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .news-card.featured {
        grid-row: auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number,
    .stat-suffix {
        font-size: 36px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   解决方案详情页
   ======================================== */
.solution-detail-page .page-header {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.solution-detail-page .page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.solution-detail-page .page-header p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.solution-detail-section {
    padding: 80px 0;
    background: var(--white);
}

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

.solution-detail-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.solution-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.solution-detail-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 24px;
}

.solution-detail-content .description {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 32px;
}

.solution-detail-content .description h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin: 24px 0 12px 0;
}

.solution-detail-content .description ul {
    list-style: none;
    margin-bottom: 16px;
}

.solution-detail-content .description ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.solution-detail-content .description ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.solution-detail-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.solution-detail-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.solution-detail-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-500);
    text-decoration: none;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.back-link:hover {
    color: var(--primary);
}

@media (max-width: 1024px) {
    .solution-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}
