/* 重置样式 + 商务暗黑科技风全局变量 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary: #165DFF;
    --primary-color: #165DFF;
    --primary-dark: #0E42D2;
    --primary-light: #4080FF;
    --primary-glow: rgba(22, 93, 255, 0.25);
    --bg-main: #0A0E17;
    --bg-card: #141925;
    --bg-hover: #1E2638;
    --text-main: #F0F2F5;
    --text-secondary: #9CA3AF;
    --border: #2D3748;
    --warning: #FF7D00;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: var(--bg-main);
    background-image:
        radial-gradient(circle at 15% 25%, rgba(22, 93, 255, 0.03) 0%, transparent 35%),
        radial-gradient(circle at 85% 75%, rgba(22, 93, 255, 0.03) 0%, transparent 35%);
    color: var(--text-main);
    line-height: 1.8;
    font-size: 16px;
    min-height: 100vh;
    padding-top: 88px;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}
ul, ol {
    list-style: none;
}
img {
    max-width: 100%;
    vertical-align: middle;
}
button {
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition);
}
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}



/* 顶部Banner */
.top-banner {
    background: linear-gradient(135deg, #0F1729 0%, #141925 100%);
    border-bottom: 1px solid var(--border);
    padding: 150px 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}
.top-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.jianguodun.com/static/jianguodun/images/cdn-logo.png') no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.04;
    z-index: 1;
}
.banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    text-align: center;
}
.banner-title {
    font-size: 46px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: 1px;
}
.banner-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.9;
}
.banner-highlight {
    color: var(--primary);
    font-weight: 500;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 36px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 16px;
    min-width: 160px;
    touch-action: manipulation; /* 修复移动端点击延迟 */
    -webkit-tap-highlight-color: transparent; /* 移除移动端点击高亮 */
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(22, 93, 255, 0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(22, 93, 255, 0.3);
}
.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}
.btn-secondary:hover {
    background: var(--bg-hover);
}

/* 联系我们头部 */
.contact-header {
    text-align: center;
    padding: 70px 0 50px;
    position: relative;
    z-index: 1;
}
.contact-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}
.contact-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.contact-header p {
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.9;
}

/* 联系方式主体 */
.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto 70px;
    position: relative;
    z-index: 1;
}

/* 联系信息卡片 */
.contact-info {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow);
}
.contact-info h2 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    letter-spacing: 0.5px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(22, 93, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}
.contact-content h3 {
    font-size: 19px;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: 500;
}
.contact-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}
.contact-content .value {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 500;
    margin-top: 6px;
}
.contact-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}
@media (max-width: 768px) {
    .contact-bottom {
        grid-template-columns: 1fr;
    }
}
.contact-qrcode {
    text-align: center;
    padding: 24px;
    background: var(--bg-main);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.contact-qrcode img {
    width: 190px;
    height: 190px;
    margin: 0 auto 14px;
    display: block;
    border: 2px solid var(--primary);
    padding: 10px;
    border-radius: var(--radius);
}
.contact-qrcode p {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}
.business-hours {
    padding: 26px;
    background: rgba(255, 125, 0, 0.05);
    border-left: 4px solid var(--warning);
    border-radius: var(--radius);
}
.business-hours h3 {
    color: var(--warning);
    font-size: 18px;
    margin-bottom: 14px;
    font-weight: 500;
}
.business-hours p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 6px;
}

/* 地图模块 */
.contact-map {
    max-width: 1000px;
    margin: 0 auto 70px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
}
.contact-map h2 {
    text-align: center;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 24px;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.map-placeholder {
    width: 100%;
    height: 420px;
    background: var(--bg-main);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 15px;
    border: 1px dashed var(--border);
}

/* 工具类 */
.hidden { display: none !important; }
.text-center { text-align: center; }
.mobile-menu.show {
    display: block !important;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .nav-links, .desktop-cta {
        display: none !important;
    }
    .hamburger {
        display: block !important;
    }
    .contact-header h1 {
        font-size: 30px;
    }
    .banner-title {
        font-size: 36px;
    }
    .top-banner {
        padding: 50px 0;
    }
    .contact-info {
        padding: 36px 28px;
    }
    .map-placeholder {
        height: 340px;
    }
}

@media (max-width: 576px) {
    .banner-title {
        font-size: 28px;
    }
    .contact-info h2 {
        font-size: 22px;
    }
    .contact-item {
        flex-direction: column;
        gap: 10px;
    }
    .contact-icon {
        align-self: flex-start;
    }
}




/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 修复Safari平滑滚动 */
@supports (-webkit-touch-callout: none) {
    html {
        scroll-behavior: auto !important;
    }
}

.tab-content {
  display: none;
}
.models-tabs {
  margin: 30px 0;
}
.tab-btn {
  padding: 12px 24px;
  margin: 0 6px;
  cursor: pointer;
  border: 1px solid #ddd;
  background: #fff;
}
.tab-btn.active {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}
