/*
Theme Name: Company Description Theme
Description: A modern and responsive WordPress theme for company introduction
Version: 1.0
Author: Your Name
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    font-size: 20px !important;
}

/* 段落样式 */
p {
    font-size: 1.1em !important;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* 标题样式 */
h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
}

h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0.8rem 0 0.4rem 0;
}

/* 电话链接样式 */
a[href^="tel:"] {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a[href^="tel:"]:hover {
    color: #667eea;
    text-decoration: underline;
}

.contact-info a[href^="tel:"] {
    color: white;
}

/* 邮箱链接样式 */
a[href^="mailto:"] {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a[href^="mailto:"]:hover {
    color: #667eea;
    text-decoration: underline;
}

/* 地址链接样式 */
.address-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
}

.address-link:hover {
    color: #667eea;
    text-decoration: underline;
}

.contact-info a[href^="mailto:"] {
    color: white;
}

.contact-info a[href^="tel:"]:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.5rem 0;
    padding-top: calc(env(safe-area-inset-top) + 0.5rem);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: saturate(1.2) blur(6px);
    transition: padding 0.2s ease-out, box-shadow 0.2s ease-out;
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.0rem;
}

.site-branding {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    flex: 0 0 auto;
}

.company-logo {
    height: 90px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: height 0.2s ease-out, transform 0.3s ease, box-shadow 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.site-info {
    flex: 1;
}

.site-title {
    font-size: 2rem;
    font-weight: 900;
    text-decoration: none;
    color: white;
    background: linear-gradient(45deg, #fff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: -0.5px;
    position: relative;
    margin: 0;
    transition: font-size 0.2s ease-out;
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.site-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #fff, transparent);
    transition: width 0.3s ease;
}

.site-title:hover::after {
    width: 100%;
}

.site-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0 0 0;
    font-weight: 300;
}

.site-header.scrolled {
    padding: 0.6rem 0;
    padding-top: calc(env(safe-area-inset-top) + 0.6rem);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.site-header.scrolled .company-logo { height: 72px; }
.site-header.scrolled .site-title { font-size: 1.7rem; }
.site-header.scrolled .site-description { display: none; }

.main-navigation {
    flex: 0 0 auto;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.main-navigation a:hover::before,
.main-navigation a:focus::before {
    transform: scale(1);
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    outline: none;
}

.main-navigation a:focus {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Active navigation link */
.main-navigation a.active {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.main-navigation a.active::before {
    transform: scale(1);
    transition: transform 0.2s ease;
}

/* Language Toggle Button */
.lang-toggle-item {
    margin-left: 1rem;
}

.lang-toggle-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lang-toggle-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
}

.lang-toggle-btn:hover::before,
.lang-toggle-btn:focus::before {
    transform: scale(1);
}

.lang-toggle-btn:hover,
.lang-toggle-btn:focus {
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    outline: none;
}

.lang-toggle-btn:focus {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.lang-text {
    display: inline-block;
    transition: transform 0.2s ease;
}

.lang-toggle-btn:active .lang-text {
    transform: scale(0.95);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 10px;
    min-width: 44px;
    min-height: 44px;
    transition: all 0.3s ease;
}

.menu-toggle:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header .container { flex-wrap: wrap; }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        flex: 1 1 100%;
        order: 3;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        margin-top: 0.5rem;
        display: none;
    }
    
    .main-navigation.active ul { display: flex; background: rgba(0,0,0,0.08); padding: 0.5rem; border-radius: 12px; }
    
    .company-logo { height: 52px; }
    .site-title { font-size: 1.4rem; }
    .site-header.scrolled .company-logo { height: 44px; }
    .site-header.scrolled .site-title { font-size: 1.2rem; }
    .site-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; white-space: normal; }
}

/* Main Content */
.site-main {
    margin-top: 0;
    min-height: calc(100vh - 160px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 160px 0 100px 0;
    text-align: center;
}

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

.hero-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #e3f2fd 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0,0,0,0.2);
    letter-spacing: -1px;
    line-height: 1.1;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 0 20px rgba(255,255,255,0.1);
    }
    100% {
        text-shadow: 0 4px 8px rgba(0,0,0,0.2), 0 0 30px rgba(255,255,255,0.3);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.3);
}

.cta-button:hover,
.cta-button:focus {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    outline: none;
}

.cta-button:focus {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 0 3px rgba(255, 255, 255, 0.4);
}

/* About Section */
.about-section {
    padding: 120px 0 80px 0;
    background: white;
}

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

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #333;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 3rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-radius: 2px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    padding-right: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-image {
    text-align: center;
    padding-left: 1rem;
}

.about-image img {
    max-width: 100%;
    width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    object-fit: cover;
}

.about-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: #444;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-section {
    padding: 120px 0 80px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.service-description {
    color: #444;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 120px 0 80px 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    flex: 1;
    padding: 0.5rem 0;
}

.contact-item i {
    font-size: 1.5rem;
    color: white;
    margin-right: 1rem;
    width: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-item h4 {
    margin: 0;
    line-height: 1.5rem;
}

.contact-item p {
    margin: 0.25rem 0 0 0;
}

.contact-icon {
    font-size: 1.5rem;
    color: white;
    margin-right: 1rem;
    width: 30px;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.submit-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.submit-button:hover,
.submit-button:focus {
    transform: translateY(-2px);
    outline: none;
}

.submit-button:focus {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3), 0 0 0 3px rgba(102, 126, 234, 0.4);
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Gallery Section Styles */
.gallery-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.gallery-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
}

.gallery-content {
    padding: 1.5rem;
}

.gallery-content h4 {
    color: #667eea;
    margin-bottom: 0.5rem;
}

.gallery-controls {
    text-align: center;
    margin-top: 2rem;
}

/* Wireless Products Section Styles */
.wireless-products-section {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
}

.subsection-title {
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.wireless-content {
    display: grid;
    gap: 2rem;
}

.company-info {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.company-info h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.product-categories {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.category-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.category-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.category-item h5 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.application-areas {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.application-card {
    background: rgba(255,255,255,0.15);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.application-card h5 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.wireless-product-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.wireless-product-image:hover {
    transform: scale(1.05);
}

.technical-specs {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.spec-item {
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.spec-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
}

.product-gallery-preview {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.gallery-preview-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: contain;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    background: rgba(255,255,255,0.1);
}

.gallery-preview-grid img:hover {
    transform: scale(1.05);
}

.view-more-products {
    text-align: center;
    margin-top: 1rem;
}

.view-more-products .cta-button {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
}

.view-more-products .cta-button:hover {
    background: white;
    color: #667eea;
}

/* Image Modal for Wireless Products */
.wireless-image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wireless-image-modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.wireless-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.wireless-modal-image {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.wireless-close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

.wireless-close-modal:hover {
    color: #ccc;
}

/* 天线产品导航按钮样式 */
.wireless-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.wireless-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.wireless-prev-btn {
    left: -70px;
}

.wireless-next-btn {
    right: -70px;
}

.wireless-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.wireless-nav-btn:disabled:hover {
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.wireless-modal-caption {
    text-align: center;
    color: white;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-preview-grid img {
        height: auto;
        max-width: 300px;
        margin: 0 auto;
        aspect-ratio: 4/3;
        object-fit: contain;
    }
    
    .wireless-product-image {
        max-width: 250px;
        height: auto;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text {
        padding-right: 0;
        text-align: center;
    }
    
    .about-image {
        padding-left: 0;
        margin-top: 1rem;
    }
    
    .about-image img {
        width: 30%;
        max-width: 117px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .site-main {
        margin-top: 120px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .applications-grid {
        gap: 1rem;
    }
    
    .categories-grid {
        gap: 1rem;
    }
    
    .gallery-preview-grid {
        gap: 1rem;
    }
    
    .gallery-preview-grid img {
        height: auto;
        max-width: 250px;
        aspect-ratio: 4/3;
        object-fit: contain;
    }
    
    .wireless-product-image {
        max-width: 200px;
        height: 150px;
    }
    
    .about-text p {
        text-align: center;
        font-size: 1rem;
    }
    
    .about-image img {
        width: 32%;
        max-width: 100px;
    }
}

/* PDF截图展示样式 */
.pdf-screenshots-section {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pdf-screenshots-section h4 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.pdf-screenshots-section p {
    color: #6c757d;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* 咏业科技图片2x2网格样式 */
.yongye-images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 1rem;
}

.yongye-image-item {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.yongye-image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.yongye-image-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.yongye-image-item:hover img {
    transform: scale(1.05);
}

.view-complete-catalog {
    margin-top: 2rem;
    text-align: center;
}

.view-complete-catalog .cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.view-complete-catalog .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.pdf-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem;
    scrollbar-width: thin;
    scrollbar-color: #007bff #f1f1f1;
}

.pdf-screenshots-grid::-webkit-scrollbar {
    width: 8px;
}

.pdf-screenshots-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.pdf-screenshots-grid::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 10px;
}

.pdf-screenshots-grid::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

.pdf-screenshot-item {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.pdf-screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pdf-screenshot-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pdf-screenshot-item:hover img {
    transform: scale(1.05);
}

.pdf-screenshot-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

/* PDF模态框样式 */
.pdf-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.pdf-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.pdf-close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.pdf-close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.pdf-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 2001;
}

.pdf-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.pdf-prev-btn {
    left: 20px;
}

.pdf-next-btn {
    right: 20px;
}

.pdf-modal-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    text-align: center;
    max-width: 80%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .yongye-images-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
    }
    
    .yongye-image-item {
        margin-bottom: 1rem;
    }
    
    .pdf-screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        max-height: 400px;
    }
    
    .pdf-screenshot-item img {
        height: 200px;
    }
    
    .pdf-modal-content {
        width: 95%;
        height: 85vh;
    }
    
    .pdf-nav-btn {
        padding: 10px 15px;
        font-size: 20px;
    }
    
    .pdf-close-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .pdf-screenshots-section {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .pdf-screenshots-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        max-height: 300px;
    }
    
    .pdf-screenshot-item img {
        height: 150px;
    }
}


  html, body {
            margin: 0 !important;
            padding: 0 !important;
            box-sizing: border-box;
            background-color: #f8f9fa !important;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        .antenna-header {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 4rem 0;
            text-align: center;
            margin: 0 !important;
            position: relative;
            top: 0;
        }
        
        .antenna-header h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
        
        .antenna-header {
            font-size: 1.2rem;
            margin-top: 1rem;
            opacity: 0.9;
        }

        .antenna-header .contact-info {
            font-size: 1.2rem;
            margin-top: 1rem;
            opacity: 0.9;
            color: #fcfcfc;
            display: flex !important;
            align-items: center !important;
            gap: 0.5rem;
            flex-direction: row !important;
            background: none !important;
            padding: 0 !important;
            border-radius: 0 !important;
            min-height: auto !important;
            justify-content: center !important;
        }
        
        .antenna-header .contact-info span {
            margin: 0;
            display: inline !important;
            white-space: nowrap;
        }
        
        .pdf-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }
        
        .page-section {
            background: white;
            margin: 3rem 0;
            padding: 2.5rem;
            border-radius: 16px;
            box-shadow: 0 8px 30px rgba(0,0,0,0.08);
            border-left: 5px solid #667eea;
            position: relative;
            overflow: hidden;
        }
        
        .page-section::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            border-radius: 0 0 0 100px;
        }
        
        .page-header {
            display: flex;
            align-items: center;
            margin-bottom: 2rem;
            padding-bottom: 1.5rem;
            border-bottom: 3px solid #f8f9fa;
            position: relative;
            z-index: 1;
        }
        
        .page-number {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 0.8rem 1.5rem;
            border-radius: 25px;
            font-weight: bold;
            margin-right: 1.5rem;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            position: relative;
            z-index: 1;
        }
        
        .page-content {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 3rem;
            align-items: start;
            min-height: 400px;
        }
        
        .text-content {
            line-height: 1.9;
            font-size: 1.15rem;
            color: #2c3e50;
            padding: 1.5rem;
            background: rgba(255,255,255,0.95);
            border-radius: 10px;
            letter-spacing: 0.3px;
        }
        
        .text-content h3 {
            color: #667eea;
            margin: 2.5rem 0 1.5rem 0;
            font-size: 1.5rem;
            font-weight: 600;
            border-bottom: 3px solid #e9ecef;
            padding-bottom: 0.8rem;
            letter-spacing: 0.5px;
        }
        
        .text-content ul {
            margin: 1.5rem 0;
            padding-left: 2rem;
        }
        
        .text-content li {
            margin-bottom: 1rem;
            line-height: 1.8;
            position: relative;
        }
        
        .text-content li::before {
            content: "▸";
            color: #667eea;
            font-weight: bold;
            position: absolute;
            left: -1.2rem;
        }
        
        .text-content li strong {
            color: #34495e;
            font-weight: 700;
            background: linear-gradient(120deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .image-content {
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 300px;
        }
        
        .page-image {
            max-width: 90%;
            width: auto;
            height: auto;
            max-height: 400px;
            object-fit: contain;
            border-radius: 12px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            transition: all 0.3s ease;
            cursor: pointer;
            background: white;
            padding: 10px;
        }
        
        .page-image:hover {
            transform: scale(1.05);
        }
        
        .applications-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .application-card {
            background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
            padding: 1.5rem;
            border-radius: 12px;
            border-left: 4px solid #667eea;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }
        
        .application-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }
        
        .application-card:hover::before {
            transform: scaleX(1);
        }
        
        .application-card:hover {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
            border-left-color: #764ba2;
        }
        
        .application-card h4 {
            color: #667eea;
            margin: 0 0 0.5rem 0;
            font-size: 1.1rem;
        }
        
        .application-card p {
            margin: 0;
            color: #666;
            font-size: 0.9rem;
        }
        
        .application-card img {
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .application-card img:hover {
            transform: scale(1.02);
        }
        
        .product-specs {
            background: #f8f9ff;
            padding: 1.5rem;
            border-radius: 10px;
            margin: 1rem 0;
        }
        
        .spec-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 1rem;
        }
        
        .spec-table th,
        .spec-table td {
            padding: 0.8rem;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }
        
        .spec-table th {
            background: #667eea;
            color: white;
        }
        
        .back-to-home {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-radius: 50%;
            text-decoration: none;
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            z-index: 1000;
            border: 3px solid rgba(255, 255, 255, 0.2);
        }
        
        .back-to-home:hover {
            background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
            transform: translateY(-3px) scale(1.1);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
            border-color: rgba(255, 255, 255, 0.4);
        }
        
        .back-to-home:active {
            transform: translateY(-1px) scale(1.05);
        }
        
        .back-to-home i {
            transition: transform 0.3s ease;
        }
        
        .back-to-home:hover i {
            transform: scale(1.2);
        }
        
        /* 图片放大模态框样式 */
        .image-modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            animation: fadeIn 0.3s ease;
        }
        
        .image-modal.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .modal-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            margin: auto;
            animation: zoomIn 0.3s ease;
        }
        
        .modal-image {
            width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        }
        
        .close-modal {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 2rem;
            font-weight: bold;
            cursor: pointer;
            background: rgba(0,0,0,0.5);
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }
        
        .close-modal:hover {
            background: rgba(0,0,0,0.8);
        }
        
        /* 导航按钮样式 */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0,0,0,0.5);
            color: white;
            border: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            font-size: 1.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            z-index: 1001;
        }
        
        .nav-btn:hover {
            background: rgba(0,0,0,0.8);
            transform: translateY(-50%) scale(1.1);
        }
        
        .prev-btn {
            left: -60px;
        }
        
        .next-btn {
            right: -60px;
        }
        
        .nav-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }
        
        .nav-btn:disabled:hover {
            background: rgba(0,0,0,0.5);
            transform: translateY(-50%);
        }
        
        .modal-caption {
            color: white;
            text-align: center;
            margin-top: 1rem;
            font-size: 1.1rem;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes zoomIn {
            from { transform: scale(0.8); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }
        
        /* 应用领域图片样式 */
        .application-area-image {
            text-align: center;
            margin: 3rem 0;
            padding: 1.5rem;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
            border-radius: 15px;
            border: 1px solid rgba(102, 126, 234, 0.1);
        }
        
        /* 产品概览图片样式 */
        .product-overview-image {
            text-align: center;
            margin: 3rem 0;
            padding: 1.5rem;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
            border-radius: 15px;
            border: 1px solid rgba(102, 126, 234, 0.1);
        }
        
        .page-image-large {
            max-width: 85%;
            width: auto;
            height: auto;
            max-height: 650px;
            object-fit: contain;
            border-radius: 18px;
            box-shadow: 0 12px 35px rgba(0,0,0,0.15);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            background: white;
            padding: 20px;
            border: 1px solid rgba(102, 126, 234, 0.1);
        }
        
        .page-image-large:hover {
            transform: scale(1.03) translateY(-5px);
            box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
            border-color: rgba(102, 126, 234, 0.3);
        }
        
        /* 响应式布局优化 */
        @media (max-width: 768px) {
            .page-content {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .text-content {
                order: 2;
            }
            
            .image-content {
                order: 1;
            }
            
            .application-area-image {
                margin: 2rem 0;
                padding: 1rem;
                background: rgba(102, 126, 234, 0.03);
                border-radius: 10px;
            }
            
            .page-image-large {
                max-width: 98%;
                max-height: 450px;
                margin-bottom: 1.5rem;
                border-radius: 12px;
                padding: 15px;
            }
            
            .product-overview-image {
                margin: 2rem 0;
                padding: 1rem;
                background: rgba(102, 126, 234, 0.03);
                border-radius: 10px;
            }
            
            .applications-grid {
                grid-template-columns: 1fr;
                gap: 0.8rem;
            }
            
            .antenna-header h1 {
                font-size: 2rem;
            }
            
            .pdf-content {
                padding: 1rem;
            }
            
            .page-section {
                padding: 1.5rem;
                margin: 1rem 0;
            }
            
            .modal-content {
                max-width: 95%;
                max-height: 85%;
            }
            
            .close-modal {
                top: -35px;
                font-size: 1.5rem;
                width: 35px;
                height: 35px;
            }
        }
        
        @media (max-width: 480px) {
            .antenna-header {
                padding: 2rem 0;
            }
            
            .antenna-header h1 {
                font-size: 1.8rem;
            }
            
            .page-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }
            
            .page-number {
                margin-right: 0;
                margin-bottom: 0.5rem;
            }
            
            .text-content {
                font-size: 1rem;
            }
            
            .text-content h3 {
                font-size: 1.2rem;
            }
        }
/* ICP 备案链接颜色设置为白色 */
.beian-link {
  color: #ffffff;
}
.beian-link:visited {
  color: #ffffff;
}
/* 提高优先级，覆盖浏览器默认链接颜色与潜在全局规则 */
.site-footer .beian-link,
.site-footer .beian-link:link,
.site-footer .beian-link:visited,
.site-footer .beian-link:hover,
.site-footer .beian-link:active {
  color: #ffffff !important;
}
