/* ========================================
   盛越物流官网样式表
   shengyue56.com
   ======================================== */

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

:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --secondary-color: #f97316;
    --secondary-dark: #ea580c;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f3f4f6;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部通知栏 */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

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

.top-bar-left span {
    margin-right: 24px;
}

.top-bar-left i {
    margin-right: 6px;
    color: var(--secondary-color);
}

.top-bar-right a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

.top-bar-right a:hover,
.top-bar-right a.active {
    color: var(--secondary-color);
}

/* 导航栏 */
.header {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 32px;
    margin-right: 10px;
    color: var(--secondary-color);
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s;
}

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

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

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

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

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

.btn-large {
    padding: 14px 32px;
    font-size: 18px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-full {
    width: 100%;
}

/* 输入框样式 */
input, select, textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.input-group {
    display: flex;
    gap: 12px;
}

.input-group input {
    flex: 1;
}

/* 首页英雄区 */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 50%, #3b82f6 100%);
    padding: 80px 0 60px;
    color: white;
    overflow: hidden;
}

.hero-intl {
    padding: 60px 0 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 100px 100px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* 快速查询框 */
.quick-search {
    background: white;
    border-radius: var(--radius-xl);
    padding: 8px;
    box-shadow: var(--shadow-xl);
}

.search-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.tab-btn {
    flex: 1;
    padding: 16px 24px;
    background: transparent;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn i {
    margin-right: 8px;
}

.tab-btn.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.tab-btn:hover:not(.active) {
    background: rgba(0, 0, 0, 0.02);
}

.search-content {
    padding: 16px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.pricing-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr auto;
    gap: 12px;
}

/* 首页统计 - 国际版 */
.hero-stats-intl {
    margin-top: 60px;
    padding-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    background: white;
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.stat-item {
    text-align: center;
    padding: 16px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

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

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

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* 服务特色 - 国际版 */
.features-intl {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.feature-card {
    background: white;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-icon i {
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* 服务范围 */
.services {
    padding: 80px 0;
}

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

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-image {
    height: 160px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image i {
    font-size: 64px;
    color: white;
    opacity: 0.9;
}

.service-content {
    padding: 24px;
}

.service-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 6px;
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(4px);
}

/* 物流追踪演示 */
.tracking-demo {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.tracking-demo-text h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.tracking-demo-text p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.tracking-features {
    list-style: none;
    margin-bottom: 32px;
}

.tracking-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
}

.tracking-features i {
    color: var(--success-color);
    margin-right: 12px;
}

.tracking-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tracking-no {
    font-weight: 500;
}

.tracking-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.status-delivering {
    background: #dbeafe;
    color: #1e40af;
}

.tracking-timeline {
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    position: relative;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 28px;
    bottom: -4px;
    width: 2px;
    background: var(--border-color);
}

.timeline-item.active .timeline-dot {
    background: var(--secondary-color);
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--border-color);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.timeline-time {
    font-size: 13px;
    color: var(--text-light);
}

.timeline-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* API推广区 */
.api-promo {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

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

.api-promo-text h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.api-promo-text p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.api-features {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}

.api-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.api-feature i {
    color: var(--secondary-color);
}

.api-code-preview {
    background: #1e1e1e;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #2d2d2d;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ef4444; }
.code-dot.yellow { background: #f59e0b; }
.code-dot.green { background: #10b981; }

.code-title {
    margin-left: 8px;
    font-size: 14px;
    color: #9ca3af;
}

.code-content {
    padding: 16px;
    margin: 0;
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #d4d4d4;
    overflow-x: auto;
}

.code-content code {
    color: #d4d4d4;
}

/* 合作伙伴 */
.partners {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.partner-logo {
    background: white;
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

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

.partner-logo i {
    display: block;
    font-size: 32px;
    margin-bottom: 8px;
}

/* 页脚 */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    margin-right: 10px;
    color: var(--secondary-color);
}

.footer-section p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #94a3b8;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

/* 页面标题区 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.page-header p {
    opacity: 0.9;
    margin-bottom: 16px;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 8px;
}

/* 物流查询页面 */
.tracking-section {
    padding: 60px 0;
}

.tracking-search-box {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
}

.tracking-search-box h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.tracking-search-box h2 i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.tracking-search-box > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

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

.tracking-tips {
    font-size: 14px;
    color: var(--text-secondary);
}

.tracking-tips i {
    color: var(--warning-color);
}

.tracking-results-demo {
    margin-top: 40px;
}

.results-title {
    font-size: 20px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.tracking-result-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.result-header {
    padding: 20px 24px;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tracking-number {
    font-weight: 500;
}

.tracking-status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.status-delivered {
    background: #d1fae5;
    color: #065f46;
}

.result-meta {
    display: flex;
    gap: 24px;
    color: var(--text-secondary);
    font-size: 14px;
}

.result-meta i {
    margin-right: 6px;
    color: var(--primary-color);
}

.result-timeline {
    padding: 24px;
}

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

.result-timeline .timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 40px;
    bottom: -20px;
    width: 2px;
    background: var(--border-color);
}

.result-timeline .timeline-item.completed::before {
    background: var(--success-color);
}

.timeline-icon {
    position: absolute;
    left: 0;
    width: 32px;
    height: 32px;
    background: var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.timeline-item.completed .timeline-icon {
    background: var(--success-color);
}

.timeline-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 4px;
}

.timeline-time {
    color: var(--text-light);
    font-size: 13px;
}

/* 查询指南 */
.tracking-guide {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.guide-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.guide-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.guide-icon i {
    font-size: 28px;
    color: white;
}

.guide-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.guide-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 价格查询页面 */
.pricing-calculator {
    padding: 60px 0;
}

.calculator-box {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
}

.calculator-box h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.calculator-box h2 i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.calculator-box > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-group label i {
    color: var(--primary-color);
    margin-right: 6px;
}

.form-group select,
.form-group input {
    width: 100%;
}

/* 价格结果 */
.pricing-result {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.pricing-result h3 {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

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

.quote-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s;
}

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

.quote-card.recommended {
    border-color: var(--secondary-color);
    transform: scale(1.05);
}

.quote-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.quote-header h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.quote-price {
    margin-bottom: 20px;
}

.quote-price .currency {
    font-size: 24px;
    color: var(--text-secondary);
}

.quote-price .amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
}

.quote-features {
    margin-bottom: 24px;
}

.quote-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.quote-feature:last-child {
    border-bottom: none;
}

.quote-feature i {
    color: var(--success-color);
}

.quote-note {
    background: #fef3c7;
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #92400e;
}

.quote-note i {
    font-size: 20px;
}

/* 价格说明 */
.pricing-info {
    padding: 60px 0;
    background: var(--bg-light);
}

.info-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    justify-content: center;
}

.info-tab {
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.info-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.info-tab:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.price-table-wrapper {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.price-table-wrapper h3 {
    margin-bottom: 20px;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.price-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-primary);
}

.price-table tr:hover td {
    background: #f9fafb;
}

/* 附加费用 */
.extra-fees {
    padding: 60px 0;
}

.extra-fees .section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 32px;
}

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

.fee-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.fee-item:hover {
    box-shadow: var(--shadow-md);
}

.fee-name {
    font-weight: 500;
}

.fee-price {
    color: var(--primary-color);
    font-weight: 600;
}

/* 特殊服务 */
.special-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.special-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.special-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.special-card h4 i {
    margin-right: 8px;
}

.special-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* 服务详情页面 */
.core-services {
    padding: 60px 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-detail-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 24px;
    transition: all 0.3s;
}

.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-large i {
    font-size: 40px;
    color: white;
}

.service-detail-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-detail-content > p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.service-features-list {
    list-style: none;
    margin-bottom: 20px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 15px;
}

.service-features-list i {
    color: var(--success-color);
}

/* 增值服务 */
.value-added-services {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.vas-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
}

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

.vas-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.vas-icon i {
    font-size: 28px;
    color: white;
}

.vas-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.vas-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* 服务网络 */
.service-network {
    padding: 60px 0;
}

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

.network-text h2 {
    font-size: 32px;
    margin-bottom: 16px;
}

.network-text > p {
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 32px;
}

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

.network-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 24px;
    color: white;
}

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

.map-placeholder {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.map-placeholder i {
    font-size: 64px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.map-placeholder p {
    font-size: 18px;
    font-weight: 500;
}

.map-placeholder span {
    font-size: 14px;
    margin-top: 8px;
}

/* 服务流程 */
.service-process {
    padding: 60px 0;
    background: var(--bg-light);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.process-step {
    text-align: center;
    flex: 1;
    max-width: 200px;
}

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

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: var(--shadow-md);
}

.step-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.process-step h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-secondary);
    font-size: 14px;
}

.process-arrow {
    color: var(--primary-color);
    font-size: 24px;
}

/* API文档页面 */
.api-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.api-docs {
    padding: 60px 0;
}

.api-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.api-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.sidebar-nav {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
}

.sidebar-nav h3 {
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 4px;
}

.sidebar-nav a {
    display: block;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: all 0.3s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.api-contact {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.api-contact h4 {
    margin-bottom: 8px;
}

.api-contact p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.api-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.api-section {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-color);
}

.api-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.api-section h2 {
    font-size: 28px;
    margin-bottom: 16px;
}

.api-section h4 {
    font-size: 18px;
    margin: 24px 0 12px;
}

.api-section p,
.api-section ul,
.api-section ol {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.api-section ul,
.api-section ol {
    padding-left: 24px;
}

.api-section li {
    margin-bottom: 8px;
}

.api-base-info {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.info-item {
    display: flex;
    margin-bottom: 8px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    width: 100px;
    flex-shrink: 0;
    font-weight: 500;
}

.info-value {
    color: var(--text-secondary);
}

.api-endpoint {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.method {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.method.get {
    background: #10b981;
}

.method.post {
    background: #3b82f6;
}

.url {
    font-family: monospace;
    font-size: 16px;
    color: var(--text-primary);
}

.api-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.api-table th,
.api-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.api-table th {
    background: var(--bg-light);
    font-weight: 600;
}

.code-block {
    margin: 20px 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.code-block .code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2d2d2d;
    padding: 12px 16px;
}

.code-block .code-header span {
    color: #9ca3af;
    font-size: 13px;
}

.copy-btn {
    background: transparent;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.3s;
}

.copy-btn:hover {
    color: white;
}

.code-block pre {
    margin: 0;
    background: #1e1e1e;
    padding: 20px;
    overflow-x: auto;
}

.code-block code {
    font-family: 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    line-height: 1.6;
}

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

.sdk-card {
    background: var(--bg-light);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s;
}

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

.sdk-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.sdk-card h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.sdk-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* 关于我们页面 */
.about-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.company-intro {
    padding: 60px 0;
}

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

.intro-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.intro-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.intro-features {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.intro-feature i {
    color: var(--secondary-color);
}

.image-placeholder {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.image-placeholder i {
    font-size: 80px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

/* 发展历程 */
.company-history {
    padding: 60px 0;
    background: var(--bg-light);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

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

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.timeline-content {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: calc(100% - 60px);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 30px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 30px;
}

.timeline-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* 企业文化 */
.company-culture {
    padding: 60px 0;
}

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

.culture-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

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

.culture-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.culture-icon i {
    font-size: 36px;
    color: white;
}

.culture-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.culture-card p {
    color: var(--text-secondary);
    font-size: 16px;
}

.values-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.values-list span {
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 20px;
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

/* 核心优势 */
.core-advantages {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.advantage-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

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

.advantage-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 16px;
}

.advantage-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.advantage-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* 团队展示 */
.team-section {
    padding: 60px 0;
}

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

.team-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s;
}

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

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.team-avatar i {
    font-size: 48px;
    color: var(--primary-color);
}

.team-card h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.team-position {
    display: block;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* 荣誉资质 */
.honors-section {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.honor-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.honor-item:hover {
    box-shadow: var(--shadow-md);
}

.honor-item i {
    font-size: 32px;
    color: var(--secondary-color);
}

.honor-item span {
    font-weight: 500;
}

/* 联系我们页面 */
.contact-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.contact-info-section {
    padding: 60px 0;
    transform: translateY(-40px);
    margin-bottom: -40px;
}

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

.contact-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s;
}

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

.contact-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 28px;
    color: white;
}

.contact-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.contact-detail {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.contact-time {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 联系主体 */
.contact-main {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.contact-form-section,
.contact-map-section {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.contact-form-section h2,
.contact-map-section h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.contact-form-section > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

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

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

.contact-form .form-group:last-child {
    margin-bottom: 24px;
}

.map-container {
    margin: 24px 0;
}

.map-info {
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.map-info h4 {
    margin-bottom: 16px;
}

.map-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.map-info i {
    color: var(--primary-color);
}

/* 分支机构 */
.branches-section {
    padding: 60px 0;
}

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

.branch-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
}

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

.branch-card h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.branch-card h4 i {
    margin-right: 8px;
}

.branch-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.branch-info strong {
    color: var(--text-primary);
}

/* FAQ */
.faq-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question i {
    color: var(--text-secondary);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 热门线路 */
.popular-routes {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.route-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

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

.route-flag {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.route-flag i {
    color: white;
    font-size: 20px;
}

.route-info h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.route-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.tag {
    padding: 4px 10px;
    background: #e0e7ff;
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.route-price {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 16px;
}

/* ========== 微信浏览器 & 移动端特殊优化 ========== */

/* 微信浏览器底部安全区域适配 */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(24px + env(safe-area-inset-bottom));
    }
}

/* 微信内置浏览器字体大小不被缩放 */
body {
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
}

/* 移除移动端点击高亮 */
* {
    -webkit-tap-highlight-color: transparent;
}

/* 微信浏览器输入框优化 */
input, select, textarea {
    -webkit-appearance: none;
    appearance: none;
    font-size: 16px; /* 防止iOS缩放 */
}

/* 微信浏览器按钮优化 */
button {
    -webkit-appearance: none;
    appearance: none;
}

/* 移除微信分享时的默认样式干扰 */
img {
    pointer-events: none;
}

/* 允许图片点击（如果需要） */
img.clickable {
    pointer-events: auto;
}

/* 微信浏览器下拉刷新禁止 */
body {
    overscroll-behavior-y: none;
}

/* 安卓微信浏览器输入框被遮挡问题 */
@supports (-webkit-touch-callout: none) {
    /* iOS设备 */
    input, select, textarea {
        transform: translateZ(0);
    }
}

/* 微信浏览器固定定位抖动问题修复 */
.header {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

/* 微信浏览器弹窗层穿透问题 */
.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid,
    .services-grid,
    .guide-grid,
    .partners-grid,
    .routes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail-grid,
    .quote-cards,
    .special-services,
    .advantages-grid,
    .team-grid,
    .honors-grid,
    .contact-layout,
    .intro-content,
    .network-content,
    .api-promo-content,
    .tracking-demo-content {
        grid-template-columns: 1fr;
    }
    
    .api-layout {
        grid-template-columns: 1fr;
    }
    
    .api-sidebar {
        position: static;
    }
    
    .pricing-inputs {
        grid-template-columns: 1fr;
    }
    
    .pricing-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .vas-grid,
    .fees-grid,
    .branches-grid,
    .sdk-grid,
    .contact-cards,
    .routes-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-card.recommended {
        transform: none;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-arrow {
        display: none;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 80px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* 小平板设备 */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .top-bar {
        font-size: 12px;
    }
    
    .top-bar-left span:first-child {
        display: none;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow-lg);
        z-index: 1000;
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .nav li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 20px;
    }
    
    .hero {
        padding: 40px 0 30px;
    }
    
    .hero-intl {
        padding: 30px 0 20px;
    }
    
    .hero-content {
        padding: 0 4px;
    }
    
    .hero h1 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .hero p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    
    .quick-search {
        border-radius: var(--radius-lg);
    }
    
    .search-tabs {
        flex-direction: row;
    }
    
    .tab-btn {
        padding: 12px 8px;
        font-size: 14px;
    }
    
    .tab-btn i {
        margin-right: 4px;
    }
    
    .search-content {
        padding: 12px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .input-group input {
        border-radius: var(--radius-md);
        margin-bottom: 8px;
    }
    
    .input-group .btn {
        border-radius: var(--radius-md);
        width: 100%;
    }
    
    .pricing-inputs {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .pricing-inputs select,
    .pricing-inputs input {
        border-radius: var(--radius-md);
    }
    
    .pricing-inputs .btn {
        border-radius: var(--radius-md);
        margin-top: 8px;
    }
    
    .hero-stats-intl {
        margin-top: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }
    
    .stat-item {
        padding: 12px 8px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .features-intl {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 24px;
    }
    
    .section-header h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    .features-grid,
    .services-grid,
    .guide-grid,
    .partners-grid,
    .vas-grid,
    .fees-grid,
    .branches-grid,
    .culture-grid,
    .advantages-grid,
    .team-grid,
    .honors-grid,
    .contact-cards,
    .sdk-grid,
    .routes-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card,
    .service-card,
    .guide-card,
    .vas-card {
        padding: 24px 20px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon i {
        font-size: 24px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    .service-image {
        height: 120px;
    }
    
    .service-image i {
        font-size: 48px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-content h3 {
        font-size: 18px;
    }
    
    .quote-cards {
        grid-template-columns: 1fr;
    }
    
    .quote-card {
        padding: 24px 20px;
    }
    
    .quote-card.recommended {
        transform: none;
    }
    
    .quote-price .amount {
        font-size: 36px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-section li {
        margin-bottom: 8px;
    }
    
    .footer-social {
        margin-top: 16px;
    }
    
    .footer-bottom {
        font-size: 12px;
        padding: 16px 0;
    }
    
    .info-tabs {
        flex-wrap: wrap;
    }
    
    .api-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .intro-features {
        flex-direction: column;
    }
    
    .network-stats {
        grid-template-columns: 1fr;
    }
}


/* ========== 超小屏幕手机优化 (iPhone SE, 小屏安卓) ========== */
@media (max-width: 375px) {
    .container {
        padding: 0 12px;
    }
    
    .hero h1 {
        font-size: 20px;
    }
    
    .hero p {
        font-size: 13px;
    }
    
    .tab-btn {
        padding: 10px 6px;
        font-size: 13px;
    }
    
    .stats-grid {
        gap: 8px;
        padding: 12px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .feature-card h3,
    .service-content h3 {
        font-size: 16px;
    }
    
    .feature-card p,
    .service-content p {
        font-size: 13px;
    }
}

/* ========== 微信内置浏览器特殊修复 ========== */

/* 微信浏览器底部导航栏适配 */
@supports (height: constant(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(24px + constant(safe-area-inset-bottom));
    }
}

/* 微信分享卡片优化 */
@media screen and (max-width: 768px) {
    /* 确保微信分享时页面内容不被截断 */
    body {
        min-height: 100vh;
    }
    
    /* 微信浏览器中更好的滚动体验 */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* 微信浏览器横屏提示 */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero-content {
        padding-top: 20px;
    }
    
    .hero h1 {
        font-size: 22px;
    }
    
    .quick-search {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* 微信浏览器夜间模式适配 */
@media (prefers-color-scheme: dark) {
    /* 强制保持浅色主题，因为网站本身没有暗黑模式 */
    body {
        background-color: var(--bg-white);
        color: var(--text-primary);
    }
}

/* 微信浏览器字体大小调整适配 */
@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    /* 确保在微信中文字不会过小 */
    .btn,
    input,
    select,
    textarea {
        font-size: 16px;
    }
}

/* 微信浏览器点击延迟修复 */
@media screen and (max-width: 768px) {
    a, button {
        touch-action: manipulation;
    }
}
