/* ========================================
   北京天易数聚科技有限公司 - 官方网站样式
   ======================================== */

/* 基础重置与变量 */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #4a9eff;
    --secondary: #00c6ff;
    --accent: #00d4aa;
    --dark: #0a1628;
    --dark-light: #122040;
    --text: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --bg: #f8fafc;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(26, 115, 232, 0.3);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-full {
    width: 100%;
}

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

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

.header.scrolled .nav a {
    color: var(--text);
}

.header.scrolled .nav a:hover,
.header.scrolled .nav a.active {
    color: var(--primary);
}

.header.scrolled .logo-text h1,
.header.scrolled .logo-text span,
.header.scrolled .stock-code {
    color: var(--text);
}

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

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

.logo-icon {
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: auto;
    height: 36px;
}

.footer-logo img {
    display: block;
    width: auto;
    height: 28px;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.2;
    transition: var(--transition);
}

.logo-text span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav ul {
    display: flex;
    gap: 36px;
}

.nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    border-radius: 1px;
}

.nav a:hover,
.nav a.active {
    color: #fff;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stock-code {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-weight: 500;
    transition: var(--transition);
}

.header.scrolled .stock-code {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(26, 115, 232, 0.05);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

.header.scrolled .mobile-menu-btn span {
    background: var(--text);
}

/* ========================================
   首屏 Hero
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(26, 115, 232, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(0, 198, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 212, 170, 0.08) 0%, transparent 50%);
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(18, 32, 64, 0.9) 50%, rgba(10, 22, 40, 0.95) 100%);
}

.particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-content {
    max-width: 720px;
    padding-top: 80px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(26, 115, 232, 0.15);
    border: 1px solid rgba(26, 115, 232, 0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff 0%, #a5d8ff 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 28px;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.hero-desc {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
}

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

.stat-num {
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.stat-unit {
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary);
    margin-left: 2px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    letter-spacing: 1px;
}

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

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
}

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

/* ========================================
   通用区块样式
   ======================================== */
.section {
    padding: 100px 0;
}

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

.section-header.light .section-tag,
.section-header.light .section-title,
.section-header.light .section-desc {
    color: #fff;
}

.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   公司介绍
   ======================================== */
.about {
    background: var(--bg);
}

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

.about-card {
    background: var(--bg-white);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.about-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(26, 115, 232, 0.1) 0%, rgba(0, 198, 255, 0.1) 100%);
    border-radius: 16px;
    color: var(--primary);
    margin-bottom: 24px;
}

.about-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.about-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* 时间线 */
.timeline {
    text-align: center;
}

.timeline-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text);
}

.timeline-line {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 20px;
}

.timeline-line::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 8px;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: var(--bg-white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    position: relative;
    z-index: 2;
    margin-bottom: 16px;
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    background: var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.3);
}

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

.timeline-text {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    text-align: center;
}

/* 时间线悬停图片 */
.timeline-hover-img {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 220px;
    height: 150px;
    border-radius: var(--radius);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    z-index: 10;
}

.timeline-hover-img::before {
    content: '图片占位';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    z-index: 0;
}

.timeline-hover-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 小箭头 */
.timeline-hover-img::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #d1d5db;
    z-index: 1;
}

.timeline-item:hover .timeline-hover-img {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   核心业务板块
   ======================================== */
.business {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.business::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(26, 115, 232, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(0, 198, 255, 0.08) 0%, transparent 50%);
}

.business .container {
    position: relative;
    z-index: 2;
}

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

.business-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.business-card:hover {
    transform: translateY(-8px);
    border-color: rgba(26, 115, 232, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.business-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.business-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.business-overlay h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.business-overlay p {
    font-size: 13px;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.business-content {
    padding: 24px;
}

.business-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.business-content p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.business-link:hover {
    color: var(--secondary);
    gap: 8px;
}

/* ========================================
   业务详情
   ======================================== */
.business-detail {
    background: var(--bg-white);
}

.business-detail.alt {
    background: var(--bg);
}

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

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

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

.detail-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(26, 115, 232, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(26, 115, 232, 0.15);
}

.detail-text h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.detail-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
}

.list-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    flex-shrink: 0;
}

.detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 图片全屏查看 */
.image-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
    padding: 40px;
}

.image-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.image-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.image-lightbox.active img {
    transform: scale(1);
}

/* AI大数据区块 */
.ai-bigdata {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    position: relative;
    overflow: hidden;
}

.ai-bigdata::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 115, 232, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.ai-bigdata .detail-text h3,
.ai-bigdata .detail-text p,
.ai-bigdata .detail-list li {
    color: #fff;
}

.ai-bigdata .detail-text p {
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   典型案例
   ======================================== */
.cases {
    background: var(--bg);
}

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

.case-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

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

.case-img {
    height: 220px;
    overflow: hidden;
}

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

.case-card:hover .case-img img {
    transform: scale(1.03);
}

.case-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-content h4 {
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.case-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 16px;
}

.case-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(26, 115, 232, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid rgba(26, 115, 232, 0.15);
    align-self: flex-start;
}

/* ========================================
   合作伙伴
   ======================================== */
.partners {
    background: var(--bg-white);
}

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

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px 16px;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.partner-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.partner-logo {
    width: 100px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: var(--transition);
}

.partner-item:hover .partner-logo img {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-item span {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    font-weight: 500;
}

/* ========================================
   荣誉资质
   ======================================== */
.honors {
    background: var(--bg);
}

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

.honors-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.honors-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.honors-image img {
    width: 100%;
    display: block;
}

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

.honor-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.honor-item:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.honor-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.honor-text h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.honor-text p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========================================
   联系我们
   ======================================== */
.contact {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 198, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 115, 232, 0.1);
    border: 1px solid rgba(26, 115, 232, 0.2);
    border-radius: 12px;
    color: var(--primary-light);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.map-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
    text-align: center;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group select {
    color: rgba(255, 255, 255, 0.7);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--dark);
    color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: #070f1e;
    padding: 60px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 2px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-stock {
    color: var(--secondary) !important;
    font-weight: 500;
}

.footer-links h4 {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

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

.footer-links li,
.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

/* ========================================
   动画类
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-white);
        padding: 80px 32px 32px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav.open {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .nav a {
        color: var(--text);
        font-size: 16px;
    }

    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

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

    .header.scrolled .mobile-menu-btn span,
    .mobile-menu-btn.active span {
        background: var(--text);
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-num {
        font-size: 32px;
    }

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

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

    .detail-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .detail-block.reverse {
        direction: ltr;
    }

    .detail-image {
        aspect-ratio: 16 / 10;
        order: 2;
    }

    .detail-text {
        order: 1;
    }

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

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

    .honors-content {
        grid-template-columns: 1fr;
    }

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

    .map-wrapper {
        height: 320px;
    }

    .timeline-line {
        flex-direction: column;
        gap: 16px;
        padding-left: 28px;
        position: relative;
    }

    .timeline-line::before {
        display: block;
        left: 6px;
        top: 8px;
        bottom: 8px;
        width: 2px;
        height: auto;
    }

    .timeline-item {
        flex: none;
        background: var(--bg-white);
        padding: 20px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        position: relative;
        align-items: flex-start;
    }

    .timeline-dot {
        display: block;
        position: absolute;
        left: -28px;
        top: 28px;
        margin-bottom: 0;
        width: 14px;
        height: 14px;
        border-width: 3px;
    }

    .timeline-year {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .timeline-text {
        font-size: 15px;
        text-align: left;
    }

    .timeline-hover-img {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

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

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

/* ========================================
   回到顶部按钮
   ======================================== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.35);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(26, 115, 232, 0.5);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.95);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    pointer-events: none;
}

@media (max-width: 768px) {
    .back-to-top {
        right: 16px;
        bottom: 16px;
        width: 48px;
        height: 48px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .hero-btns {
        flex-direction: column;
    }

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

    .hero-title {
        font-size: 28px;
    }

    .stock-code {
        display: none;
    }
}
