/* --- 全局基础样式 --- */
:root {
    --primary-color: #FF6600; /* 阿里巴巴橙 */
    --primary-hover-color: #E65C00; /* 橙色悬停 */
    --primary-light-bg: #FFF0E6; /* 浅橙色背景 */
    --text-color: #34495e; /* 深蓝灰色 */
    --heading-color: #2c3e50; /* 标题颜色 */
    --light-text-color: #7f8c8d; /* 浅色文字 */
    --border-color: #e9ecef; /* 边框颜色 */
    --dark-bg-color: #343a40; /* 深色背景 */
}

body {
    font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: var(--text-color);
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--primary-hover-color);
}

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

/* --- 网站头部和导航 --- */
.main-header {
    background-color: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--heading-color);
}
.logo img {
    height: 32px;
    margin-right: 12px;
}
.logo .logo-main-text {
    color: var(--heading-color);
}
.logo .logo-divider {
    margin: 0 10px;
    font-weight: 300;
    color: #bdc3c7;
}
.logo .logo-sub-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--light-text-color);
}
.logo:hover { 
    text-decoration: none;
}

.main-nav {
    display: none; /* 默认隐藏桌面导航 */
}
@media (min-width: 992px) {
    .main-nav {
        display: block; /* 在大屏幕上显示 */
    }
}
.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}
.main-nav li { margin-left: 30px; }
.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: var(--primary-color);
}
.main-nav li:not(.nav-cta) a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
.main-nav li:not(.nav-cta) a:hover::after { width: 100%; }

.nav-cta a {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.nav-cta a:hover {
    background-color: var(--primary-hover-color);
    color: #fff;
    transform: translateY(-2px);
}

/* --- 移动端导航样式 --- */
.hamburger {
    display: block;
    padding: 15px;
    cursor: pointer;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
}
@media (min-width: 992px) {
    .hamburger {
        display: none; /* 在大屏幕上隐藏汉堡按钮 */
    }
}
.hamburger-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}
.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1.5px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--heading-color);
    border-radius: 4px;
    position: absolute;
    transition: transform 0.2s ease-in-out;
}
.hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
}
.hamburger-inner::before { top: -10px; }
.hamburger-inner::after { bottom: -10px; }

.hamburger.is-active .hamburger-inner {
    transform: rotate(45deg);
}
.hamburger.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
}
.hamburger.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
}

.mobile-nav-menu {
    position: fixed;
    top: 76px; /* 头部高度 */
    left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    background-color: #fff;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 20px;
    overflow-y: auto;
}
.mobile-nav-menu.is-open {
    transform: translateX(0);
}
.mobile-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}
.mobile-nav-menu li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav-menu a {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--heading-color);
}


/* --- 通用区块样式 --- */
section {
    padding: 60px 0;
}
@media (min-width: 768px) {
    section {
        padding: 80px 0;
    }
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--heading-color);
}
.section-title p {
    font-size: 1.1rem;
    color: var(--light-text-color);
    max-width: 650px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .section-title h2 {
        font-size: 2.5rem;
    }
    .section-title p {
        font-size: 1.15rem;
    }
}

/* --- 按钮样式 --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border: none;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    text-decoration: none;
}
.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-primary:hover { 
    background-color: var(--primary-hover-color); 
    color: #fff;
}
.btn-secondary {
    background-color: #6c757d;
    color: #fff;
}
.btn-secondary:hover { 
    background-color: #5a6268; 
    color: #fff;
}
.btn-full-width {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 1.1rem;
}
.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* --- 交互动效 --- */
.feature-card, .service-card, .benefit-card-v2, .metric-card-v2, .step-card-v2, .timeline-card {
    transition: all 0.3s ease-in-out;
}
.feature-card:hover, .service-card:hover, .benefit-card-v2:hover, .metric-card-v2:hover, .step-card-v2:hover, .timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.1);
}

/* --- 首页特定样式 --- */
.hero-section {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 100px 0;
    background-image: url('../images/hero-background.webp');
    background-size: cover;
    background-position: center;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.hero-section .container {
    position: relative;
    z-index: 2;
}
.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    .hero-section {
        padding: 120px 0;
    }
    .hero-section h1 {
        font-size: 3.2rem;
    }
    .hero-section p {
        font-size: 1.3rem;
    }
}
.features-section { 
    background-color: #ffffff;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.feature-card {
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-light-bg);
    color: var(--primary-color);
    margin-bottom: 20px;
}
.feature-icon svg {
    width: 30px;
    height: 30px;
}
.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--heading-color);
}
.cta-section, .final-cta-section { 
    text-align: center;
    background-color: var(--dark-bg-color);
    color: #fff;
}
.cta-section h2, .final-cta-section h2 {
    color: #fff;
}
.cta-section p, .final-cta-section p { 
    margin-bottom: 30px; 
    color: #adb5bd;
}

/* =================================================================== */
/* --- About页英雄区 --- */
/* =================================================================== */
.intro-section {
    background-color: #f8f9fa;
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}
@media (min-width: 992px) {
    .about-hero-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 0;
        align-items: center;
    }
}

.about-hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('../images/about-us-visual.webp');
    background-size: cover;
    background-position: center;
    box-shadow: none;
    border-radius: 0;
}
.about-hero-image::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    bottom: 0; left: 50%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #fff 100%);
    display: none;
}
@media (min-width: 992px) {
    .about-hero-image::after {
        display: block;
    }
}

.about-hero-content {
    background-color: transparent;
    padding: 30px;
}
@media (min-width: 992px) {
    .about-hero-content {
        padding: 40px;
        margin-left: -60px;
        position: relative;
        z-index: 2;
    }
}

.about-hero-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color);
}
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}
.stat-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary-color);
}
.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
}
.stat-label { 
    font-size: 1rem; 
    color: #6c757d;
}
@media (min-width: 768px) {
    .stats-grid { gap: 20px; }
    .stat-number { font-size: 2rem; }
}

/* --- “一站式解决方案”区域样式 --- */
.services-overview-section {
    background-color: #f8f9fa;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 576px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    text-align: center;
}
.service-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-light-bg);
    color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 20px;
}
.service-card h3 { 
    margin-top: 0;
    color: var(--heading-color); 
}


/* =================================================================== */
/* --- 其他页面样式 (Benefits, Services, Contact etc.) --- */
/* =================================================================== */

/* --- Benefits页样式 --- */
.benefits-grid-v2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .benefits-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .benefits-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}
.benefit-card-v2 {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
}
.benefit-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.benefit-icon svg { width: 32px; height: 32px; }
.benefit-card-v2 h4 { margin-top: 0; margin-bottom: 10px; font-size: 1.3rem; color: var(--heading-color); }

.metrics-grid-v2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
}
@media (min-width: 992px) {
    .metrics-grid-v2 { grid-template-columns: repeat(3, 1fr); }
}
.metric-card-v2 {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid;
    box-shadow: 0 5px 20px rgba(44,62,80,0.08);
}
.metric-card-v2 .metric-icon { 
    color: #fff; 
    border-radius: 50%; 
    width: 50px; 
    height: 50px; 
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
    margin-bottom: 15px;
}
.metric-card-v2 .metric-icon svg { width: 24px; height: 24px; }
.metric-card-v2.marketing { border-color: #007bff; }
.metric-card-v2.marketing .metric-icon { background-color: #007bff; }
.metric-card-v2.transaction { border-color: #28a745; }
.metric-card-v2.transaction .metric-icon { background-color: #28a745; }
.metric-card-v2.service { border-color: #ffc107; }
.metric-card-v2.service .metric-icon { background-color: #ffc107; }
.metric-card-v2 h3 { font-size: 1.8rem; margin-top: 0; }
.metric-card-v2 .metric-weight {
    display: inline-block;
    background-color: #f8f9fa;
    color: #6c757d;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
    margin: 10px 0 15px;
}

.how-to-improve-section .container { max-width: 900px; }
.step-section { margin-bottom: 30px; }
.step-section h3 {
    font-size: 1.6rem;
    color: var(--heading-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}
.step-section h3 span {
    background-color: var(--primary-color);
    color: white;
    padding: 2px 10px;
    border-radius: 5px;
    margin-right: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}
.faq-section .container { max-width: 900px; }
.faq-list { border-top: 1px solid var(--border-color); }
.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}
.faq-item dt {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.faq-item dd { margin-left: 0; color: var(--text-color); }

/* --- Services页样式 --- */
.services-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
@media (min-width: 992px) {
    .services-hero-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 60px;
    }
}
.services-hero-image {
    grid-row: 1;
    margin-bottom: 30px;
}
@media (min-width: 992px) {
    .services-hero-image {
        grid-row: auto;
        margin-bottom: 0;
    }
}
.services-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.services-hero-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-top: 0;
}
.benefits-list-account {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}
.benefits-list-account li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}
.benefit-icon-wrapper {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}
.benefit-icon-wrapper svg {
    width: 24px;
    height: 24px;
}
.benefit-text-wrapper strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 2px;
}
.benefit-text-wrapper span {
    font-size: 1rem;
    color: var(--text-color);
}
.process-timeline-v2 {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}
.process-timeline-v2::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}
.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 40px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-point {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px var(--primary-color);
}
.timeline-card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    border: 1px solid var(--border-color);
}
.timeline-card h4 {
    margin-top: 0;
    font-size: 1.3rem;
    color: var(--heading-color);
}
.timeline-card p {
    margin-bottom: 0;
}

.documents-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}
@media (min-width: 992px) {
    .documents-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}
.documents-list ul {
    list-style: none;
    padding-left: 0;
}
.documents-list li {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24" stroke-width="2" stroke="%2328a745" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M5 12l5 5l10 -10" /></svg>') no-repeat left center;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
}
.documents-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* =================================================================== */
/* --- Checklist页样式 --- */
/* =================================================================== */
.checklist-section {
    background-color: #ffffff;
}

.checklist-grid-v2 {
    display: grid;
    grid-template-columns: 1fr; /* 移动端默认1列 */
    gap: 30px;
}

@media (min-width: 768px) {
    .checklist-grid-v2 {
        grid-template-columns: repeat(2, 1fr); /* 平板端2列 */
    }
}

@media (min-width: 992px) {
    .checklist-grid-v2 {
        grid-template-columns: repeat(4, 1fr); /* 桌面端4列 */
    }
}

.step-card-v2 {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%; /* 确保同行卡片等高 */
}

.step-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.step-card-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-light-bg);
    color: var(--primary-color);
}

.step-card-num {
    font-size: 3rem;
    font-weight: 700;
    color: #e9ecef; /* 使用边框颜色作为数字颜色，更有设计感 */
    line-height: 1;
}

.step-card-body h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--heading-color);
}

.step-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-color);
}

.step-card-body li {
    position: relative;
    padding-left: 25px; /* 为自定义符号留出空间 */
    margin-bottom: 10px;
}
.step-card-body li:last-child {
    margin-bottom: 0;
}

.step-card-body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* =================================================================== */
/* --- 【已修复】Contact页样式 --- */
/* =================================================================== */
.contact-section {
    background-color: #f8f9fa;
}
.contact-grid-v2 {
    display: grid;
    grid-template-columns: 1fr; /* 移动端默认1列 */
    gap: 40px;
    align-items: flex-start; /* 顶部对齐 */
}
@media (min-width: 992px) {
    .contact-grid-v2 {
        grid-template-columns: 1.2fr 1fr; /* 桌面端：左侧表单，右侧信息卡片 */
    }
    .contact-form-wrapper {
        order: 1; /* 表单在左 */
    }
    .contact-info-wrapper {
        order: 2; /* 信息在右 */
    }
}
.contact-form-wrapper,
.contact-info-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
}
.contact-form-wrapper h3,
.contact-info-wrapper h3 {
    margin-top: 0;
    font-size: 1.6rem;
    color: var(--heading-color);
    margin-bottom: 10px;
}
.contact-form-wrapper p {
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--light-text-color);
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--heading-color);
}
.form-group label span {
    color: #e74c3c;
    margin-left: 4px;
}
.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    box-sizing: border-box; /* 确保 padding 不会撑开宽度 */
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
}
.form-group textarea {
    min-height: 100px;
    resize: vertical;
    margin-top: 10px;
}

/* 自定义复选框 */
.needs-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 1rem;
    user-select: none;
}
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #eee;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.2s;
}
.custom-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}
.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}
.custom-checkbox .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}


/* 联系信息卡片 */
.contact-info-list {
    margin-bottom: 30px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.info-item:last-child {
    margin-bottom: 0;
}
.info-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 4px;
}
.info-icon svg {
    width: 24px;
    height: 24px;
}
.info-text strong {
    display: block;
    font-weight: 700;
    color: var(--heading-color);
}
.info-text span {
    color: var(--text-color);
}
.qr-code-box {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.qr-code-box img {
    max-width: 150px;
    height: auto;
    margin-bottom: 10px;
}
.qr-code-box p {
    margin: 0;
    color: var(--text-color);
}


/* --- 网站底部 --- */
.main-footer {
    background-color: #212529;
    color: #adb5bd;
    padding: 60px 0 40px 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #495057;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        text-align: left;
    }
}
.footer-widget h5 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.footer-widget p, .footer-widget a, .footer-widget li {
    font-size: 0.95rem;
    color: #adb5bd;
    line-height: 1.8;
}
.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-widget li {
    margin-bottom: 10px;
}
.footer-widget a {
    transition: color 0.3s ease;
}
.footer-widget a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

/* --- 联系页面表单布局优化 --- */

/* 1. 为并排布局创建一个基础网格容器 */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 在桌面端创建两列 */
    gap: 20px; /* 设置两列之间的间距 */
}

/* 2. 将“您的需求”复选框区域也改为两列布局 */
.needs-group {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 两列显示 */
    gap: 12px 20px; /* 设置行和列的间距 */
}

/* 3. 为了整体间距更和谐，统一由 form 的 flex gap 控制 */
.contact-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 20px; /* 统一设置表单内元素的垂直间距 */
}
.contact-form-wrapper .form-group {
    margin-bottom: 0; /* 取消原先的下边距，避免间距冲突 */
}

/* 4. 移动端适配：在小屏幕上，所有项目恢复单列显示 */
@media (max-width: 767px) {
    .form-row, .needs-group {
        grid-template-columns: 1fr; /* 恢复单列 */
    }
}
/* --- 联系页面布局优化 (PC端单屏显示 & 标题行优化) --- */

/* 仅在桌面端（宽度大于992px）应用单屏布局 */
@media (min-width: 992px) {
    .contact-section {
        /* 1. 设置最小高度以填充浏览器视口 */
        /* 100vh 代表视口高度的100%，减去大约76px的顶部导航栏高度 */
        min-height: calc(100vh - 76px);

        /* 2. 使用Flexbox布局，让内容垂直居中 */
        display: flex;
        flex-direction: column;
        justify-content: center; /* 垂直居中 */
        
        /* 3. 为内容预留一些上下内边距，以防万一 */
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* 解决标题下方描述文字在PC端强制换行的问题 */
.contact-section .section-title p {
    max-width: none; /* 移除最大宽度限制，让文字自然伸展 */
}