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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    min-height: 100vh;
}



.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 8px;
}

/* ========== 顶部导航 - 默认桌面样式 ========== */
.header {
    background: #fff;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
    flex-shrink: 0;
}

.logo h1 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo .tagline {
    color: #999;
    font-size: 11px;
    margin-top: 2px;
}

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

.nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 10px;
    transition: color 0.3s;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #2a5298;
}

.contact-buttons {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.contact-phone-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
    color: #333;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.contact-phone-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(189, 189, 189, 0.4);
}

.phone-icon {
    font-size: 16px;
}

/* ========== Hero轮播区域 - 移动端默认样式 ========== */
.hero {
    background: url('https://images.unsplash.com/photo-1534796636912-3b95b3ab5986?w=1920&h=600&fit=crop');
    background-size: cover;
    background-position: center bottom;
    padding: 200px 0 150px;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-content {
    display: none;
}

.carousel-fullimage {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 20px;
}

.carousel-fullimage img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.carousel-layers {
    position: relative;
    width: 100%;
    height: 100%;
}

.layer-back {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
}

.city-silhouette {
    width: 100%;
    height: 100%;
}

.layer-middle {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.25;
}

.product-overlay img {
    max-width: 600px;
    max-height: 400px;
    object-fit: contain;
}

.layer-front {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.company-info {
    text-align: center;
    color: #fff;
    padding: 15px 20px;
    max-width: 100%;
}

.company-info h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(255,255,255,0.3);
    color: #ffffff;
}

.company-desc {
    font-size: 12px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8), 0 0 15px rgba(255,255,255,0.2);
    color: #ffffff;
}

.company-intro-text {
    margin-bottom: 20px;
}

.company-intro-text p {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 8px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
    color: #ffffff;
    opacity: 1;
}

.company-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.company-features .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.company-features .feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #667eea;
}

.company-features .feature-text {
    font-size: 14px;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.business-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.business-items span {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    border: 1px solid rgba(255,255,255,0.8);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    color: #ffffff;
    background: rgba(255,255,255,0.1);
}

.carousel-products {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    height: 100%;
    padding: 30px 80px;
}

.carousel-product {
    flex: 1;
    max-width: 500px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
}

.carousel-product img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    border-radius: 8px;
}

.carousel-product.placeholder {
    background: #f5f5f5;
    border: 2px dashed #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 280px;
}

.placeholder-text {
    color: #999;
    font-size: 16px;
}

.carousel-controls {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 10;
    width: 95%;
    justify-content: space-around;
    max-width: 1400px;
}

.carousel-controls .feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 0;
}

.carousel-controls .feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
}

.carousel-controls .feature-text {
    font-size: 15px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    font-weight: 500;
}

.carousel-controls-center {
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-prev,
.carousel-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

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

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background: #fff;
    color: #2a5298;
}

.btn.primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========== 通用区块样式 ========== */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2a5298;
    margin-bottom: 10px;
}

.section-desc {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

/* ========== 产品中心 - 移动端默认样式 ========== */
.products-section {
    padding: 60px 0;
}

.products-layout {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.products-sidebar {
    width: 100%;
    flex-shrink: 0;
}

.company-intro {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 10px;
    padding: 20px 18px;
    color: #fff;
}

.company-intro h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.company-intro > p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 18px;
}

.intro-features {
    margin-bottom: 18px;
}

.intro-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.intro-icon {
    font-size: 18px;
}

.intro-item span:last-child {
    font-size: 14px;
}

.intro-contact {
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.intro-contact p {
    font-size: 14px;
    margin-bottom: 6px;
}

.intro-phone {
    font-size: 16px;
    font-weight: 600;
}

.products-main {
    flex: 1;
}

.category-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 10px;
}

.category-tabs .tab {
    padding: 8px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-tabs .tab:hover,
.category-tabs .tab.active {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border-color: #2a5298;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 180px;
    background: #fff;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #f0f0f0;
}

.product-image::before {
    content: '';
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 12px;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.product-specs span {
    padding: 2px 6px;
    background: #f0f4f8;
    color: #666;
    border-radius: 3px;
    font-size: 10px;
}

.product-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-stats .sales {
    color: #999;
    font-size: 10px;
}

.product-stats .rating {
    color: #ffa502;
    font-size: 11px;
}

.product-card .view-detail {
    width: calc(100% - 16px);
    margin: 0 8px 8px;
    padding: 6px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 500;
    transition: background 0.3s;
}

.product-card .view-detail:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
}

/* ========== 关于我们 - 移动端默认样式 ========== */
.about-section {
    padding: 60px 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.feature-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
}

.feature-item span {
    font-weight: 500;
    color: #333;
}

/* ========== 服务流程 - 移动端默认样式 ========== */
.service-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.service-section .section-title,
.service-section .section-desc {
    color: #fff;
}

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

.step {
    text-align: center;
    color: #fff;
}

.step-number {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 12px;
    opacity: 0.8;
}

/* ========== 工程案例 - 移动端默认样式 ========== */
.cases-section {
    padding: 60px 0;
}

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

.case-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-image {
    height: 150px;
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.case-image::before {
    content: '🏗️';
    font-size: 36px;
    opacity: 0.6;
}

.case-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.case-item h4 {
    padding: 15px 15px 5px;
    font-size: 14px;
    color: #333;
}

.case-item p {
    padding: 0 15px 15px;
    font-size: 12px;
    color: #999;
}

/* ========== 联系我们 - 移动端默认样式 ========== */
.contact-section {
    padding: 60px 0;
    background: #fff;
}

.contact-content {
    display: flex;
    justify-content: center;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
}

.info-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item .icon {
    font-size: 24px;
}

.info-item h4 {
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
}

.info-item p {
    font-size: 14px;
    color: #666;
}

.contact-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.contact-form h3 {
    margin-bottom: 20px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.contact-form textarea {
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2a5298;
}

/* ========== 页脚 - 移动端默认样式 ========== */
.footer {
    background: #1a1a2e;
    padding: 40px 0;
    color: #fff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 16px;
}

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

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

.footer-section ul li a {
    color: #999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-section p {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 12px;
}

/* ========== 在线客服 - 移动端默认样式 ========== */
.kefu-wrapper {
    position: fixed;
    right: 10px;
    bottom: 20px;
    left: auto;
    z-index: 1000;
}

.kefu-toggle {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s;
    z-index: 999;
}

.kefu-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.kefu-icon {
    font-size: 14px;
}

.kefu-text {
    font-size: 12px;
    font-weight: 500;
}

.kefu-panel {
    position: fixed;
    top: auto;
    right: -100%;
    left: auto;
    bottom: 75px;
    transform: none;
    width: calc(100% - 30px);
    max-width: 320px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 1001;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-user-scalable: no;
    user-scalable: no;
}

.kefu-panel.active {
    right: 15px;
}

.kefu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: linear-gradient(135deg, #e0e0e0 0%, #bdbdbd 100%);
    color: #333;
    border-radius: 12px 12px 0 0;
}

.kefu-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.kefu-info {
    flex: 1;
    margin-left: 10px;
}

.kefu-title {
    font-size: 11px;
    font-weight: 600;
}

.kefu-close {
    background: none;
    border: none;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    width: 22px;
    height: 22px;
}

.kefu-body {
    display: flex;
    flex-direction: column;
    height: 260px;
    padding: 8px;
}

.chat-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    margin-bottom: 2px;
    padding: 0;
    max-width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
}

.message.agent {
    display: block;
    align-self: flex-start;
    background: transparent;
    border: none;
    box-shadow: none;
}

.message.agent .message-content {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.message.agent .message-content p {
    margin: 0;
    font-size: 11px;
    line-height: 1.3;
    color: #333;
}

.message-time {
    font-size: 9px;
    color: #999;
    margin-top: 2px;
    opacity: 0.6;
}

.form-message {
    margin-bottom: 4px;
}

.contact-form {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 2px;
}

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

.form-group label {
    display: block;
    font-size: 10px;
    color: #666;
    margin-bottom: 2px;
}

.form-group input {
    width: 100%;
    padding: 5px 7px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 11px;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.submit-btn {
    width: 100%;
    padding: 7px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 4px;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.contact-form-wrapper {
    margin-top: 0;
    padding: 0;
}

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

.form-row {
    display: flex;
    gap: 4px;
    justify-content: space-between;
}

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

.form-label {
    font-size: 10px;
    color: #666;
}

.underline-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 2px 0;
    font-size: 10px;
    outline: none;
    text-align: center;
    min-height: 18px;
}

.underline-input:focus {
    border-bottom-color: #667eea;
}

.submit-btn-inline {
    padding: 3px 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s;
    align-self: flex-end;
}

.submit-btn-inline:hover {
    opacity: 0.9;
}

.chat-input {
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    border-top: 1px solid #eee;
    background: #fff;
}

.chat-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-size: 13px;
    outline: none;
}

.send-btn {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.4);
}

.contact-icon {
    font-size: 18px;
}

.contact-label {
    display: block;
    font-size: 12px;
    color: #999;
}

.contact-value {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.kefu-form {
    background: #f5f5f5;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 4px;
}

.kefu-form h4 {
    font-size: 11px;
    margin-bottom: 6px;
    color: #333;
    padding: 0;
}

.kefu-form input,
.kefu-form textarea {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
}

.kefu-form textarea {
    resize: none;
    height: 60px;
}

.kefu-form input:focus,
.kefu-form textarea:focus {
    outline: none;
    border-color: #ff6b6b;
}

.kefu-form .btn {
    width: 100%;
    padding: 5px;
    font-size: 11px;
}

.kefu-shortcuts p {
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}

.shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shortcut-btn {
    padding: 6px 12px;
    background: #f0f4f8;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.shortcut-btn:hover {
    background: #2a5298;
    color: #fff;
}

/* ==========================================================================
   响应式设计 - min-width 媒体查询 (移动端优先)
   ========================================================================== */

/* 768px - 平板 */
@media (min-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .header {
        padding: 12px 0;
    }

    .header .container {
        flex-direction: row;
        gap: 30px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .logo .tagline {
        font-size: 11px;
    }

    .nav ul {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 10px;
    }

    .nav ul li a {
        font-size: 13px;
        padding: 8px 10px;
    }

    .contact-buttons {
        flex-direction: row;
        gap: 10px;
    }

    .contact-phone-btn {
        padding: 8px 18px;
        font-size: 14px;
    }

    .hero {
        padding: 220px 0 180px;
    }

    .company-info {
        padding: 20px 30px;
        max-width: 90%;
    }

    .company-info h2 {
        font-size: 26px;
        letter-spacing: 2px;
    }

    .company-desc {
        font-size: 14px;
    }

    .company-intro-text p {
        font-size: 13px;
    }

    .business-items span {
        padding: 5px 12px;
        font-size: 12px;
    }

    .products-layout {
        flex-direction: row;
    }

    .products-sidebar {
        width: 180px;
    }

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

    .product-image {
        height: 200px;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .service-steps {
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
    }

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

    .contact-info {
        grid-template-columns: 1fr 1fr;
        max-width: 900px;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        text-align: left;
    }

    .kefu-wrapper {
        right: 20px;
        bottom: 50px;
    }

    .kefu-toggle {
        padding: 12px 20px;
        border-radius: 30px;
        font-size: 13px;
    }

    .kefu-icon {
        font-size: 16px;
    }

    .kefu-text {
        font-size: 13px;
    }

    .kefu-panel {
        left: auto;
        right: -100%;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        width: 280px;
    }

    .kefu-panel.active {
        right: 20px;
        left: auto;
    }

    .kefu-body {
        height: 300px;
        padding: 10px;
    }

    .kefu-header {
        padding: 12px 15px;
    }

    .kefu-avatar {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .kefu-title {
        font-size: 13px;
    }

    .kefu-close {
        width: auto;
        height: auto;
        font-size: 20px;
    }

    .message {
        margin-bottom: 8px;
    }

    .message.agent .message-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    .message-time {
        font-size: 10px;
        opacity: 1;
    }

    .form-message {
        margin-bottom: 8px;
    }

    .kefu-form {
        padding: 12px;
        margin-bottom: 10px;
        background: #f8f9fa;
    }

    .kefu-form h4 {
        font-size: 13px;
        margin-bottom: 10px;
        padding: 0;
    }

    .form-group input {
        padding: 7px;
        font-size: 12px;
    }

    .kefu-form .btn {
        padding: 8px;
        font-size: 13px;
    }

    .chat-input {
        padding: 10px 15px;
    }

    .chat-input input {
        padding: 10px 15px;
        font-size: 14px;
    }

    .send-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .submit-btn {
        padding: 8px;
        font-size: 13px;
    }
}

/* 1024px - 桌面 */
@media (min-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .header {
        padding: 15px 0;
    }

    .hero {
        padding: 280px 0 200px;
    }

    .company-info {
        padding: 25px 40px;
        max-width: 85%;
    }

    .company-info h2 {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .company-desc {
        font-size: 15px;
    }

    .company-intro-text p {
        font-size: 14px;
    }

    .business-items {
        gap: 10px;
    }

    .business-items span {
        padding: 6px 14px;
        font-size: 13px;
    }

    .about-features {
        gap: 20px;
    }

    .service-steps {
        gap: 20px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .cases-grid {
        gap: 25px;
    }

    .contact-info {
        gap: 25px;
        max-width: 900px;
    }

    .footer-content {
        gap: 35px;
    }

    .kefu-wrapper {
        right: 20px;
        bottom: 50px;
    }

    .kefu-toggle {
        padding: 14px 24px;
    }

    .kefu-text {
        font-size: 14px;
    }

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

/* 1200px - 大屏 */
@media (min-width: 1200px) {
    .container {
        padding: 0 10px;
        max-width: 1500px;
    }

    .header {
        padding: 15px 0;
    }

    .header .container {
        gap: 30px;
    }

    .logo h1 {
        font-size: 18px;
    }

    .logo .tagline {
        font-size: 11px;
    }

    .nav ul {
        gap: 0;
    }

    .nav ul li a {
        font-size: 13px;
        padding: 8px 12px;
    }

    .contact-buttons {
        gap: 10px;
    }

    .contact-phone-btn {
        padding: 8px 18px;
        font-size: 14px;
    }

    .hero {
        padding: 350px 0 220px;
    }

    .company-info {
        padding: 30px 50px;
        max-width: 800px;
    }

    .company-info h2 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 10px;
        letter-spacing: 3px;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(255,255,255,0.3);
        color: #ffffff;
    }

    .company-desc {
        font-size: 15px;
        margin-bottom: 15px;
        letter-spacing: 1px;
        text-shadow: 1px 1px 6px rgba(0,0,0,0.8), 0 0 15px rgba(255,255,255,0.2);
        color: #ffffff;
    }

    .company-intro-text {
        margin-bottom: 20px;
    }

    .company-intro-text p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 8px;
        text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
        color: #ffffff;
        opacity: 1;
    }

    .company-features {
        gap: 25px;
        margin-bottom: 20px;
    }

    .company-features .feature-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .company-features .feature-text {
        font-size: 14px;
    }

    .business-items {
        gap: 10px;
    }

    .business-items span {
        padding: 6px 16px;
        font-size: 13px;
    }

    .carousel-controls {
        bottom: 15px;
    }

    .hero-buttons {
        gap: 20px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 10px;
    }

    .section-desc {
        margin-bottom: 40px;
    }

    .products-section {
        padding: 60px 0;
    }

    .products-layout {
        gap: 15px;
    }

    .products-sidebar {
        width: 200px;
    }

    .company-intro h3 {
        font-size: 18px;
    }

    .company-intro > p {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .intro-features {
        margin-bottom: 18px;
    }

    .intro-item {
        padding: 8px 0;
    }

    .intro-icon {
        font-size: 18px;
    }

    .intro-item span:last-child {
        font-size: 14px;
    }

    .intro-contact {
        padding-top: 15px;
    }

    .intro-contact p {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .intro-phone {
        font-size: 16px;
    }

    .category-tabs {
        gap: 10px;
        margin-bottom: 25px;
    }

    .category-tabs .tab {
        padding: 8px 16px;
        font-size: 13px;
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }

    .product-card {
        border-radius: 8px;
    }

    .product-image {
        height: 180px;
        border-bottom: 1px solid #f0f0f0;
    }

    .product-info {
        padding: 12px;
    }

    .product-name {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .product-specs {
        gap: 4px;
        margin-bottom: 8px;
    }

    .product-specs span {
        padding: 2px 6px;
        font-size: 10px;
    }

    .product-stats .sales {
        font-size: 10px;
    }

    .product-stats .rating {
        font-size: 11px;
    }

    .product-card .view-detail {
        width: calc(100% - 16px);
        margin: 0 8px 8px;
        padding: 6px;
        font-size: 11px;
    }

    .about-section {
        padding: 60px 0;
    }

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

    .about-text p {
        margin-bottom: 15px;
        line-height: 1.8;
    }

    .about-features {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .feature-item {
        padding: 15px;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

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

    .service-section {
        padding: 60px 0;
    }

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

    .step {
        text-align: center;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin: 0 auto 15px;
    }

    .step-content h4 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .step-content p {
        font-size: 12px;
    }

    .cases-section {
        padding: 60px 0;
    }

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

    .case-item {
        border-radius: 12px;
    }

    .case-image {
        height: 150px;
    }

    .case-item h4 {
        padding: 15px 15px 5px;
        font-size: 14px;
    }

    .case-item p {
        padding: 0 15px 15px;
        font-size: 12px;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-content {
        justify-content: center;
    }

    .contact-info {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        max-width: 800px;
    }

    .info-item {
        padding: 20px;
    }

    .info-item .icon {
        font-size: 24px;
    }

    .info-item h4 {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .info-item p {
        font-size: 14px;
    }

    .contact-form {
        padding: 30px;
        border-radius: 12px;
    }

    .contact-form h3 {
        margin-bottom: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        margin-bottom: 15px;
        font-size: 14px;
    }

    .footer {
        padding: 40px 0;
    }

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

    .footer-section h3 {
        margin-bottom: 20px;
        font-size: 16px;
    }

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

    .footer-section ul li a {
        font-size: 14px;
    }

    .footer-section p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 12px;
    }

    .kefu-wrapper {
        right: 20px;
        bottom: 50px;
    }

    .kefu-toggle {
        padding: 14px 24px;
        border-radius: 30px;
    }

    .kefu-icon {
        font-size: 18px;
    }

    .kefu-text {
        font-size: 14px;
    }

    .kefu-panel {
        width: 280px;
        top: 50%;
        right: -100%;
        transform: translateY(-50%);
    }

    .kefu-panel.active {
        right: 20px;
    }

    .kefu-header {
        padding: 15px 20px;
        border-radius: 12px 12px 0 0;
    }

    .kefu-avatar {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .kefu-info {
        margin-left: 10px;
    }

    .kefu-title {
        font-size: 14px;
        font-weight: 600;
    }

    .kefu-close {
        font-size: 20px;
    }

    .kefu-body {
        height: 380px;
    }

    .chat-messages {
        padding: 10px;
    }

    .message {
        margin-bottom: 10px;
    }

    .message.agent {
        display: flex;
        align-items: flex-start;
    }

    .message.agent .message-content {
        background: #fff;
        padding: 10px 14px;
        border-radius: 0 10px 10px 10px;
        max-width: 85%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .message.agent .message-content p {
        margin: 0 0 4px 0;
        font-size: 13px;
        line-height: 1.5;
        color: #333;
    }

    .message-time {
        font-size: 10px;
        color: #999;
    }

    .form-message {
        margin-top: 8px;
    }

    .contact-form {
        background: transparent;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 2px;
    }

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

    .form-group label {
        font-size: 12px;
        color: #666;
        margin-bottom: 3px;
    }

    .form-group input {
        padding: 7px;
        font-size: 13px;
        border-radius: 4px;
    }

    .form-group input:focus {
        border-color: #667eea;
    }

    .submit-btn {
        padding: 8px;
        font-size: 13px;
        margin-top: 4px;
    }

    .contact-form-wrapper {
        margin-top: 0;
        padding: 0;
    }

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

    .form-row {
        gap: 4px;
    }

    .form-group-inline {
        flex: 1;
        flex-direction: column;
        gap: 1px;
    }

    .form-label {
        font-size: 10px;
        color: #666;
    }

    .underline-input {
        padding: 2px 0;
        font-size: 10px;
        min-height: 18px;
    }

    .underline-input:focus {
        border-bottom-color: #667eea;
    }

    .submit-btn-inline {
        padding: 3px 8px;
        font-size: 10px;
    }

    .chat-input {
        gap: 8px;
        padding: 10px 15px;
    }

    .chat-input input {
        padding: 10px 15px;
        font-size: 14px;
        border-radius: 20px;
    }

    .send-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .send-btn:hover {
        transform: scale(1.05);
    }

    .contact-icon {
        font-size: 18px;
    }

    .contact-label {
        font-size: 12px;
        color: #999;
    }

    .contact-value {
        font-size: 14px;
        font-weight: 500;
        color: #333;
    }

    .kefu-form {
        background: #f8f9fa;
        padding: 15px;
        border-radius: 8px;
        margin-bottom: 15px;
    }

    .kefu-form h4 {
        font-size: 14px;
        margin-bottom: 12px;
        color: #333;
    }

    .kefu-form input,
    .kefu-form textarea {
        width: 100%;
        padding: 8px 10px;
        margin-bottom: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 13px;
        font-family: inherit;
        box-sizing: border-box;
    }

    .kefu-form textarea {
        resize: none;
        height: 60px;
    }

    .kefu-form input:focus,
    .kefu-form textarea:focus {
        outline: none;
        border-color: #ff6b6b;
    }

    .kefu-form .btn {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }

    .kefu-shortcuts p {
        font-size: 12px;
        color: #666;
        margin-bottom: 10px;
    }

    .shortcuts {
        gap: 8px;
    }

    .shortcut-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .shortcut-btn:hover {
        background: #2a5298;
        color: #fff;
    }
}
