/* Web Fonts - 隶书字体 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700&display=swap');

/* 自定义隶书字体 */
@font-face {
    font-family: 'CustomLiShu';
    src: url('../fonts/隶书.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles - 台达风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

/* Contact Form Styles */
.contact-form-loading {
    opacity: 0.7;
    pointer-events: none;
}

.contact-form-submit {
    background: #0087DC;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.contact-form-submit:hover {
    background: #006bb3;
}

.contact-form-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.form-success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.form-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

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

/* Header Styles - 台达官网样式 */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: #f8f8f8;
    padding: 8px 0;
    font-size: 12px;
    color: #666;
    border-bottom: 1px solid #e5e5e5;
}

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

.header-main {
    padding: 15px 0;
}

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

.header-divider {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    max-width: 400px;
    min-width: 200px;
}

.distributor-logo {
    height: 45px;
    width: auto;
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.distributor-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 6px rgba(0, 135, 220, 0.2));
}

/* 大屏幕时限制最大尺寸 */
@media (min-width: 1400px) {
    .header-divider {
        max-width: 450px;
    }
    
    .distributor-logo {
        height: 50px;
        max-height: 55px;
    }
}

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

.logo > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Shrink to content to avoid extra right-side space */
    flex: 0 0 auto;
    width: fit-content;
}

.logo-image {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.1);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo .company-name {
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0;
    font-family: 'CustomLiShu', '华文隶书', 'STLiti', 'Noto Serif SC', '方正隶书简体', '隶书', 'LiShu', 'KaiTi', serif;
    /* Use vertical-only scaling to avoid extra right-side whitespace from horizontal scaling */
    transform: scaleY(1.3);
    transform-origin: left center;
    display: inline-block;
    white-space: nowrap; /* keep on one line */
}

.logo .tagline {
    color: #666;
    font-size: 14px;
    margin: 0;
    margin-top: 4px;
    align-self: flex-start;
}

/* Navigation Styles - 台达官网导航 */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.main-nav > ul > li > a {
    display: block;
    padding: 15px 12px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    color: #0087DC;
    border-bottom-color: #0087DC;
}

/* Dropdown Menu - 台达风格 */
.dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid #e5e5e5;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    padding: 12px 15px;
    color: #333;
    font-size: 13px;
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f8f8f8;
    color: #0087DC;
}

/* Hero Section - 台达首页风格 */
.hero {
    position: relative;
    height: 400px;
    background: url('../images/delta/banner_product_ia.jpg') center/cover;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>') repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Button Styles - 台达风格 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: #0087DC;
    color: white;
    border-color: #0087DC;
}

.btn-primary:hover {
    background-color: #0066b3;
    border-color: #0066b3;
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #0087DC;
}

/* Page Header */
.page-header {
    background: url('../images/delta/banner_product_ia.jpg') center/cover;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

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

.page-header h1 {
    font-size: 36px;
    color: white;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 20px;
}

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: white;
    font-weight: 500;
}

/* Product Showcase */
/* 产品展示样式 */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin: 50px 0;
}

.product-showcase .product-image {
    text-align: center;
}

.product-showcase .product-info h2 {
    color: #333;
    font-size: 32px;
    margin-bottom: 20px;
}

/* 专业产品图标样式 */
.product-icon-plc {
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 8px;
    position: relative;
    margin: 20px auto;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.product-icon-plc::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 8px;
    background: #27ae60;
    border-radius: 4px;
}

.product-icon-plc::after {
    content: 'PLC';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 2px;
}

.product-icon-inverter {
    width: 100px;
    height: 120px;
    background: linear-gradient(135deg, #0087DC 0%, #0066b3 100%);
    border-radius: 12px;
    position: relative;
    margin: 20px auto;
    box-shadow: 0 8px 16px rgba(0, 135, 220, 0.3);
}

.product-icon-inverter::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 6px;
    background: #f39c12;
    border-radius: 3px;
    box-shadow: 0 15px 0 #f39c12, 0 30px 0 #f39c12;
}

.product-icon-inverter::after {
    content: 'VFD';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
}

.product-icon-servo {
    width: 110px;
    height: 90px;
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    border-radius: 10px;
    position: relative;
    margin: 20px auto;
    box-shadow: 0 8px 16px rgba(142, 68, 173, 0.3);
}

.product-icon-servo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 4px solid white;
    border-radius: 50%;
    border-top-color: #f1c40f;
}

.product-icon-servo::after {
    content: 'SERVO';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: bold;
    font-size: 10px;
    letter-spacing: 1px;
}

.product-icon-hmi {
    width: 130px;
    height: 90px;
    background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
    border-radius: 8px;
    position: relative;
    margin: 20px auto;
    box-shadow: 0 8px 16px rgba(22, 160, 133, 0.3);
}

.product-icon-hmi::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 25px;
    background: #2c3e50;
    border-radius: 4px;
}

.product-icon-hmi::after {
    content: 'HMI';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
}

.product-icon-robot {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #0087DC 0%, #0066b3 100%);
    border-radius: 50%;
    position: relative;
    margin: 20px auto;
    box-shadow: 0 8px 16px rgba(230, 126, 34, 0.3);
}

.product-icon-robot::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    background: white;
    border-radius: 50%;
}

.product-icon-robot::after {
    content: 'ROBOT';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    color: #0066b3;
    font-weight: bold;
    font-size: 10px;
    letter-spacing: 1px;
}

.product-highlights h3 {
    color: #0087DC;
    font-size: 20px;
    margin-bottom: 15px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.breadcrumb {
    font-size: 12px;
    color: #666;
}

.breadcrumb a {
    color: #0087DC;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Product Categories Grid - 台达产品页面风格 */
.product-categories {
    padding: 40px 0;
    background: #f8f8f8;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 40px;
}

/* 台达产品分类样式 */
.category-section {
    margin-bottom: 50px;
}

.category-title {
    background: #0087DC;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
}

.category-grid {
    background: white;
    border: 1px solid #e5e5e5;
    border-top: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 15px;
    max-width: 100%;
}

/* 确保单个产品卡片不会过宽 */
.category-grid .product-card {
    max-width: 300px;
    justify-self: start;
}

.product-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #0087DC;
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #e5e5e5;
}

.product-name {
    padding: 15px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    background: #f8f8f8;
    transition: all 0.3s ease;
}

.product-card:hover .product-name {
    background: #0087DC;
    color: white;
}

.product-link {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
    font-size: 14px;
}

.product-link:hover {
    background-color: #f0f0f0;
    color: #0087DC;
}

.product-link:last-child {
    border-right: none;
}

/* Footer - 台达官网风格 */
.main-footer {
    background: #2c2c2c;
    color: #ccc;
    padding: 40px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    color: #0087DC;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-section h3 {
    font-size: 18px;
}

.footer-section p {
    color: #999;
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 13px;
}

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

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

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

.footer-section ul a:hover {
    color: #0087DC;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #666;
    font-size: 12px;
    margin: 5px 0;
}

.delta-notice {
    color: #0087DC !important;
    font-weight: bold;
}

/* 台达产品详情页面风格 */
.products-main {
    padding: 40px 0;
    background: white;
}

.products-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.products-intro h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.products-intro p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-main .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-divider {
        order: 3;
        max-width: 280px;
        min-width: 180px;
        padding: 10px 0;
    }
    
    .distributor-logo {
        height: 35px;
    }
    
    .main-nav {
        order: 2;
    }
    
    .logo .company-name {
    /* Responsive: keep single line and fit narrower screens */
    font-size: clamp(14px, 4.5vw, 18px);
    letter-spacing: 0;
    /* Keep width unchanged on mobile as well */
    transform: scaleY(1.25);
        transform-origin: left center;
    display: inline-block;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden; /* safeguard if viewport is extremely narrow */
    text-overflow: ellipsis;
    }
    
    .logo .tagline {
        font-size: 10px;
    }
    
    .logo-image {
        height: 40px;
        transition: transform 0.3s ease;
    }
    
    .logo-image:hover {
        transform: scale(1.1);
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav > ul > li > a {
        padding: 12px 10px;
        font-size: 13px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px;
    }
    
    .product-card {
        border-radius: 6px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-name {
        padding: 12px;
        font-size: 13px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8f8f8;
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header-divider {
        max-width: 240px;
        min-width: 160px;
        padding: 8px 0;
    }
    
    .distributor-logo {
        height: 30px;
    }
    
    .hero {
        height: 300px;
    }
    
    .hero h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .product-link {
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Product Categories Section */
.product-categories {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.category-card h3 {
    color: #333;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.product-list {
    list-style: none;
    margin-bottom: 2rem;
}

.product-list li {
    margin-bottom: 0.5rem;
}

.product-list a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

.product-list a:hover {
    color: #0087DC;
    padding-left: 0.5rem;
}

.card-link {
    color: #0087DC;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: #b71c1c;
}

/* Solutions Preview Section */
.solutions-preview {
    padding: 5rem 0;
    background: white;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.solution-card h3 {
    color: #0087DC;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.solution-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-card a {
    color: #0087DC;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.solution-card a:hover {
    color: #b71c1c;
}

/* Company Info Section */
.company-info {
    padding: 5rem 0;
    background: #f8f9fa;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-text h2 {
    color: #333;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.info-text p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.company-features {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature h4 {
    color: #0087DC;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.info-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.main-footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #0087DC;
    margin-bottom: 1rem;
}

.footer-section h3 {
    font-size: 1.4rem;
}

.footer-section h4 {
    font-size: 1.1rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: #0087DC;
}

.contact-info p {
    margin-bottom: 0.8rem;
}

.wechat-qr {
    margin: 15px 0;
    text-align: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Replace footer QR sections with floating widget; keep page-content QR if any */
.main-footer .wechat-qr { display: none !important; }

/* 移动端响应式 */
@media (max-width: 768px) {
    .wechat-qr {
        margin: 10px 0;
    }
    
    .qr-code {
        width: 100px;
        height: 100px;
    }
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 0;
}

.delta-notice {
    color: #0087DC !important;
    font-weight: 600;
}

/* Floating WeChat widget */
.floating-wechat {
    position: fixed;
    right: 0;
    top: 40%;
    transform: translateY(-50%);
    z-index: 2000;
}

.floating-wechat-tab {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #0087DC;
    color: #fff;
    padding: 16px 12px;
    border-radius: 6px 0 0 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    writing-mode: horizontal-tb;
}

.floating-wechat-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.floating-wechat-tab span {
    writing-mode: horizontal-tb;
    text-orientation: upright;
    font-size: 12px;
    line-height: 1;
    text-align: center;
}

.floating-wechat-panel {
    position: absolute;
    right: -300px; /* hidden to the right by default */
    top: 50%;
    transform: translateY(-50%);
    width: 260px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transition: right 0.28s ease, opacity 0.2s ease;
}

.floating-wechat-panel img {
    width: 180px;
    height: 180px;
    display: block;
    margin: 0 auto 8px;
    border: 2px solid #eee;
    border-radius: 8px;
}

.floating-wechat-panel p {
    text-align: center;
    color: #333;
    font-weight: 600;
    margin: 4px 0 0;
}

/* Show panel on hover (desktop) or when opened via JS */
.floating-wechat:hover .floating-wechat-panel,
.floating-wechat.open .floating-wechat-panel {
    right: 56px;
    opacity: 1;
    pointer-events: auto;
}

/* Compact on small screens; use click to toggle */
@media (max-width: 768px) {
    .floating-wechat {
        top: auto;
        bottom: 20px;
        right: 20px;
        transform: none;
    }
    .floating-wechat-tab {
        position: static;
        writing-mode: horizontal-tb;
        letter-spacing: 0;
        padding: 10px 12px;
        border-radius: 20px;
        flex-direction: row;
        gap: 8px;
    }
    .floating-wechat-tab span {
        writing-mode: horizontal-tb;
        letter-spacing: 0;
    }
    .floating-wechat-icon {
        width: 20px;
        height: 20px;
    }
    .floating-wechat-panel {
        position: absolute;
        right: 0;
        bottom: 56px;
        top: auto;
        transform: none;
        width: 240px;
    }
    .floating-wechat-panel img {
        width: 160px;
        height: 160px;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #0087DC;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Products Main Section */
.products-main {
    padding: 4rem 0;
}

.products-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.products-intro h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.products-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Category Showcase */
.categories-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.category-showcase {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.category-header p {
    color: #666;
    font-size: 1.1rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.product-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-item:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.product-item h4 {
    margin-bottom: 0.8rem;
}

.product-item h4 a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.product-item h4 a:hover {
    color: #0087DC;
}

.product-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.category-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .category-showcase {
        padding: 2rem 1rem;
    }
    
    .office-showcase {
        padding: 40px 0;
    }
    
    .office-image {
        max-width: 100%;
        border-radius: 5px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 2rem 1.5rem;
    }
    
    .office-showcase {
        padding: 30px 0;
    }
    
    .office-image {
        border-radius: 3px;
    }
    
    .dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0.5rem;
    }
}

/* Office & Inventory Carousel Styles */
.office-inventory-carousel {
    padding: 60px 0;
    background: #f8f9fa;
}

.office-inventory-carousel .section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.office-inventory-carousel .section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: white;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

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

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

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 135, 220, 0.8);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(0, 135, 220, 1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.indicator.active,
.indicator:hover {
    background: #0087DC;
    border-color: white;
    transform: scale(1.2);
}

/* Responsive carousel */
@media (max-width: 768px) {
    .carousel-container {
        max-width: 100%;
        margin: 0 15px;
    }
    
    .carousel-wrapper {
        height: 250px;
    }
    
    .carousel-nav {
        padding: 10px 15px;
        font-size: 20px;
    }
    
    .carousel-nav.prev {
        left: 10px;
    }
    
    .carousel-nav.next {
        right: 10px;
    }
    
    .office-inventory-carousel .section-title {
        font-size: 24px;
    }
}

/* Partner Logos Section */
.partner-logos {
    padding: 50px 0 80px 0;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.partner-logos .section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
    font-weight: 600;
    position: relative;
}

.partner-logos .section-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background: #0087DC;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 120px;
    position: relative;
    overflow: hidden;
}

.partner-item:hover {
    border-color: #0087DC;
    box-shadow: 0 8px 25px rgba(0, 135, 220, 0.15);
    transform: translateY(-5px);
}

.partner-logo {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(20%) opacity(0.85);
}

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

/* Responsive Partner Logos */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 600px;
    }
    
    .partner-logos {
        padding: 40px 0 60px 0;
    }
    
    .partner-logos .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 100%;
        padding: 0 15px;
    }
    
    .partner-item {
        height: 100px;
        padding: 15px;
    }
    
    .partner-logo {
        max-height: 60px;
    }
    
    .partner-logos {
        padding: 30px 0 50px 0;
    }
    
    .partner-logos .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .partner-item {
        height: 80px;
        padding: 10px;
    }
    
    .partner-logo {
        max-height: 50px;
    }
}

/* Solutions Page Specific Styles */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.solution-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 135, 220, 0.15);
}

.solution-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.solution-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.solution-content {
    padding: 30px;
}

.solution-content h3 {
    color: #0087DC;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.solution-content > p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.solution-features {
    list-style: none;
    margin: 20px 0;
    color: #555;
}

.solution-features li {
    padding: 5px 0;
    font-size: 14px;
    line-height: 1.6;
}

.solution-products {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-link {
    display: inline-block;
    padding: 6px 12px;
    background: #f8f9fa;
    color: #0087DC;
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-link:hover {
    background: #0087DC;
    color: white;
    transform: translateY(-1px);
}

/* Service Advantages Section */
.service-advantages {
    margin-top: 80px;
    padding: 60px 0;
    background: #f8f9fa;
    border-radius: 15px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.advantage-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 135, 220, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #0087DC;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantage-item h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.advantage-item p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Responsive Design for Solutions Page */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .solution-card {
        margin: 0 10px;
    }
    
    .solution-image {
        height: 180px;
    }
    
    .solution-content {
        padding: 25px 20px;
    }
    
    .solution-content h3 {
        font-size: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .advantage-item {
        padding: 30px 20px;
    }
    
    .service-advantages {
        margin: 40px 0 0 0;
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .solution-content {
        padding: 20px 15px;
    }
    
    .solution-content h3 {
        font-size: 18px;
    }
    
    .product-link {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
    }
    
    .advantage-item h3 {
        font-size: 18px;
    }
}

/* Services Page Specific Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: flex;
    min-height: 300px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 135, 220, 0.15);
}

.service-icon {
    width: 200px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: #0087DC;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-content > p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.service-features {
    list-style: none;
    margin: 20px 0;
    color: #555;
    flex: 1;
}

.service-features li {
    padding: 5px 0;
    font-size: 14px;
    line-height: 1.6;
}

.service-brands {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand-tag {
    display: inline-block;
    padding: 4px 8px;
    background: #f8f9fa;
    color: #0087DC;
    border-radius: 15px;
    font-size: 11px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.brand-tag:hover {
    background: #0087DC;
    color: white;
    transform: translateY(-1px);
}

/* Service Process Styles */
.service-process {
    margin-top: 80px;
    padding: 60px 0;
    background: #f8f9fa;
    border-radius: 15px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 135, 220, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0087DC, #006bb3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 0 auto 20px;
}

.process-step h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.process-step p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Additional Services */
.additional-services {
    margin-top: 60px;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.additional-item {
    padding: 30px 25px;
    background: white;
    border-radius: 12px;
    border-left: 4px solid #0087DC;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.additional-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 135, 220, 0.1);
    border-left-color: #006bb3;
}

.additional-item h3 {
    color: #0087DC;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.additional-item p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

/* Service Statistics */
.service-stats {
    margin-top: 60px;
    padding: 60px 0;
    background: linear-gradient(135deg, #0087DC, #006bb3);
    border-radius: 15px;
    color: white;
}

.service-stats .section-title {
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Responsive Design for Services Page */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .service-icon {
        width: 100%;
        height: 200px;
    }
    
    .service-content {
        padding: 25px 20px;
    }
    
    .service-content h3 {
        font-size: 20px;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .process-step {
        padding: 25px 15px;
    }
    
    .additional-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .service-process,
    .service-stats {
        margin: 40px 0 0 0;
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .service-content {
        padding: 20px 15px;
    }
    
    .service-content h3 {
        font-size: 18px;
    }
    
    .brand-tag {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .process-step {
        padding: 20px 10px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .process-step h3 {
        font-size: 16px;
    }
    
    .additional-item {
        padding: 20px 15px;
    }
    
    .additional-item h3 {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}
