/* ===================================
   深圳市迈盛科技有限公司 - 网站样式表
   橙色黑色主题版本
   =================================== */

/* CSS 变量定义 */
:root {
    /* 核心品牌色 - 橙色系 */
    --primary-color: #FF8C00;
    --primary-dark: #E67E00;
    --primary-light: #FF9F33;
    --accent-color: #FF6B00;

    /* 结构深色 - 黑蓝色系 */
    --secondary-dark: #1a1a2e;
    --secondary-color: #16213e;
    --secondary-light: #0F3460;

    /* 中性色 */
    --text-dark: #333333;
    --text-gray: #666666;
    --text-light: #999999;
    --text-on-dark: #FFFFFF;
    --text-muted: #888888;

    /* 背景色 */
    --bg-dark: #1a1a2e;
    --bg-light: #F5F5F7;
    --bg-white: #FFFFFF;
    --bg-card: #FFFFFF;

    /* 边框与分隔 */
    --border-color: #E5E7EB;
    --border-dark: #2D2D44;

    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-orange: 0 4px 15px rgba(255, 140, 0, 0.3);

    /* 过渡动画 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* 圆角 */
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

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

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

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

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   按钮样式
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    cursor: pointer;
    white-space: nowrap;
}

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

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

.btn-light {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--bg-white);
}

.btn-light:hover {
    background: transparent;
    color: var(--bg-white);
    transform: translateY(-2px);
}

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

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

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

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

.btn-block {
    width: 100%;
}

/* ===================================
   头部导航 - 橙色黑色主题
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-dark);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

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

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

.logo-en {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-on-dark);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 140, 0, 0.1);
}

.nav-link.active {
    font-weight: 600;
    color: var(--primary-color);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-dark);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    z-index: 100;
    border: 1px solid var(--border-dark);
}

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

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-on-dark);
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    background: rgba(255, 140, 0, 0.1);
    color: var(--primary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-on-dark);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.search-btn:hover {
    background: rgba(255, 140, 0, 0.2);
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    color: var(--text-on-dark);
    border-radius: var(--border-radius);
}

/* ===================================
   英雄区域 - 橙色黑色主题
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255, 140, 0, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(255, 140, 0, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,140,0,0.15)"/><circle cx="80" cy="40" r="1.5" fill="rgba(255,140,0,0.1)"/><circle cx="40" cy="70" r="1" fill="rgba(255,140,0,0.12)"/><circle cx="90" cy="80" r="1.2" fill="rgba(255,140,0,0.08)"/></svg>');
    background-size: 100px 100px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--bg-white);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.3s;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.hero-prev,
.hero-next {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 0, 0.2);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 140, 0, 0.3);
    transition: all var(--transition-normal);
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 140, 0, 0.3);
    transform: scale(1.1);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-dots .dot.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.2);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.hero-prev,
.hero-next {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    border-radius: 50%;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.hero-dots {
    display: flex;
    gap: 10px;
}

.hero-dots .dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.hero-dots .dot.active {
    background: var(--bg-white);
    transform: scale(1.2);
}

/* ===================================
   通用区块标题
   =================================== */

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   核心业务概览 - 橙色黑色主题
   =================================== */

.services-overview {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1) 0%, rgba(255, 140, 0, 0.05) 100%);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: scale(1.1);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

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

/* ===================================
   行业应用
   =================================== */

.industries {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.industry-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
}

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

.industry-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius);
    font-size: 1.8rem;
    color: var(--bg-white);
}

.industry-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.industry-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===================================
   为什么选择我们 - 橙色黑色主题
   =================================== */

.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(255, 140, 0, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.why-us-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-us-text .section-title {
    color: var(--bg-white);
    text-align: left;
}

.why-us-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-us-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-us-list li i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 4px;
}

.why-us-list li h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 4px;
}

.why-us-list li p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.why-us-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* ===================================
   服务与支持
   =================================== */

.services-section {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.feature-item {
    padding: 30px;
    border-radius: var(--border-radius-lg);
    background: var(--bg-light);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1.5rem;
    color: var(--bg-white);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===================================
   新闻资讯
   =================================== */

.news-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.main-news {
    grid-row: span 2;
}

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

.main-news .news-image {
    height: 320px;
}

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.news-content {
    padding: 24px;
}

.main-news .news-content {
    padding: 30px;
}

.news-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 68, 129, 0.1);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 12px;
}

.news-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 12px;
}

.main-news .news-title {
    font-size: 1.4rem;
}

.news-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 16px;
}

.main-news .news-desc {
    font-size: 1rem;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

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

/* ===================================
   成功案例
   =================================== */

.cases-section {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.case-card {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: all var(--transition-normal);
}

.case-card:hover {
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

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

.case-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--border-radius);
    font-size: 1.3rem;
    color: var(--bg-white);
}

.case-industry {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    padding: 4px 12px;
    background: rgba(0, 68, 129, 0.1);
    border-radius: 20px;
}

.case-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.case-desc {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: all var(--transition-fast);
}

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

/* ===================================
   合作伙伴
   =================================== */

.partners-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    align-items: center;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    transition: all var(--transition-normal);
}

.partner-item:hover {
    transform: scale(1.05);
}

.partner-logo {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.partner-name {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* ===================================
   联系我们
   =================================== */

.contact-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-desc {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 68, 129, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--text-gray);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--text-gray);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-4px);
}

.contact-form-wrapper {
    background: var(--bg-light);
    border-radius: var(--border-radius-lg);
    padding: 40px;
}

.form-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    text-align: center;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: all var(--transition-fast);
}

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

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

/* ===================================
   在线客服
   =================================== */

.online-service {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.service-toggle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--bg-white);
    font-size: 1.5rem;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.service-toggle:hover {
    transform: scale(1.1);
}

.service-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.service-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--primary-color);
    color: var(--bg-white);
}

.service-header h4 {
    font-size: 1rem;
    font-weight: 600;
}

.service-close {
    font-size: 1.2rem;
    color: var(--bg-white);
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.service-close:hover {
    opacity: 1;
}

.service-content {
    padding: 20px;
}

.service-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    margin-bottom: 16px;
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.service-option:hover {
    background: rgba(0, 68, 129, 0.1);
}

.service-option i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.service-option span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* ===================================
   页脚
   =================================== */

.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
}

.footer-content {
    padding-bottom: 40px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo-image {
    height: 60px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.footer-logo .logo-text {
    font-size: 1.8rem;
    color: var(--bg-white);
}

.footer-logo .logo-en {
    color: rgba(255, 255, 255, 0.6);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--bg-white);
    padding-left: 8px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--primary-color);
    margin-top: 4px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-4px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

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

.footer-legal a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition-fast);
}

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

.icp-info a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.icp-info a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ===================================
   响应式设计
   =================================== */

@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: var(--shadow-lg);
        transition: left var(--transition-normal);
        z-index: 1001;
        padding: 80px 20px 20px;
    }

    .main-nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-link {
        width: 100%;
        padding: 14px 16px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        display: none;
        border-radius: var(--border-radius);
        margin-top: 8px;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .why-us-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .why-us-text .section-title {
        text-align: center;
    }

    .why-us-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 2rem;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-btns .btn {
        width: 100%;
    }

    .hero-nav {
        bottom: 20px;
    }

    .services-overview,
    .industries,
    .why-us,
    .services-section,
    .news-section,
    .cases-section,
    .contact-section {
        padding: 60px 0;
    }

    .services-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .why-us-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-features,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .main-news {
        grid-row: span 1;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .online-service {
        bottom: 20px;
        right: 20px;
    }

    .service-panel {
        width: 280px;
    }
}

@media (max-width: 479px) {
    .container {
        padding: 0 16px;
    }

    .header-content {
        height: 70px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

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

    .partner-logo {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }
}
