/* Royal Polymer 网站样式 */

/* CSS 变量定义 */
:root {
    --royal-blue: #4169E1;
    --royal-blue-dark: #2E4A9E;
    --royal-blue-light: #6B8EFF;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --gray: #6C757D;
    --dark-gray: #2C3E50;
    --success: #28A745;
    --warning: #FFC107;
    --error: #DC3545;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

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

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

.logo-text {
    height: 30px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-text:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--royal-blue);
    background-color: rgba(65, 105, 225, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--royal-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: var(--royal-blue);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
    background: var(--royal-blue);
}

/* 语言切换器 */
.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: none;
    border: 1px solid var(--royal-blue);
    color: var(--royal-blue);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--royal-blue);
    color: var(--white);
}

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--dark-gray);
    transition: all 0.3s ease;
}

/* 主页横幅 */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--dark-gray);
    position: relative;
    overflow: hidden;
}

/* 背景动画 */
@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    50% {
        background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    }
}

/* 浮动动画 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 滑入动画 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    text-align: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--royal-blue);
    text-shadow: none;
    animation: slideInUp 1s ease-out;
    animation-delay: 0.2s;
    text-align: center;
}

.hero-text p {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--royal-blue);
    opacity: 1;
    animation: slideInUp 1s ease-out;
    animation-delay: 0.4s;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--royal-blue);
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    animation: slideInUp 1s ease-out, pulse 2s ease-out infinite;
    animation-delay: 0.6s;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    animation: slideInUp 1s ease-out;
    animation-delay: 0.8s;
}

/* 产品展示 */
.products {
    padding: 80px 0;
    background: var(--white);
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark-gray);
}

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

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
}

.product-card:nth-child(1) {
    animation-delay: 0.2s;
}

.product-card:nth-child(2) {
    animation-delay: 0.4s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 250px;
    overflow: hidden;
}

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

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

.product-info {
    padding: 30px;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.product-info p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--royal-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.learn-more:hover {
    color: var(--royal-blue-dark);
    transform: translateX(5px);
}

.learn-more i {
    transition: transform 0.3s ease;
}

.learn-more:hover i {
    transform: translateX(3px);
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.main-products-section {
    margin: 40px 0;
}

.main-products-section h3 {
    color: var(--royal-blue);
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-align: center;
}

.products-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.product-overview-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    animation: fadeIn 1s ease-out;
}

.product-overview-item:nth-child(1) {
    animation-delay: 0.3s;
}

.product-overview-item:nth-child(2) {
    animation-delay: 0.5s;
}

.product-overview-item:nth-child(3) {
    animation-delay: 0.7s;
}

.product-overview-item:nth-child(4) {
    animation-delay: 0.9s;
}

.product-overview-item:hover {
    border-color: var(--royal-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.product-overview-item h4 {
    color: var(--royal-blue);
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-overview-item p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.advantages-section {
    margin: 40px 0;
}

.advantages-section h3 {
    color: var(--royal-blue);
    margin-bottom: 25px;
    font-size: 1.6rem;
    text-align: center;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.advantages-grid .advantage-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--light-gray);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    animation: fadeIn 1s ease-out;
}

.advantages-grid .advantage-item:nth-child(1) {
    animation-delay: 1.1s;
}

.advantages-grid .advantage-item:nth-child(2) {
    animation-delay: 1.3s;
}

.advantages-grid .advantage-item:nth-child(3) {
    animation-delay: 1.5s;
}

.advantages-grid .advantage-item:nth-child(4) {
    animation-delay: 1.7s;
}

.advantages-grid .advantage-item:hover {
    border-color: var(--royal-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.advantages-grid .advantage-item i {
    font-size: 2.5rem;
    color: var(--royal-blue);
    margin-bottom: 15px;
}

.advantages-grid .advantage-item h4 {
    color: var(--dark-gray);
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.advantages-grid .advantage-item p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--dark-gray);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--royal-blue);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.contact-item p {
    color: var(--gray);
    line-height: 1.6;
}

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

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

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--royal-blue);
}

.privacy-agreement {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray);
}

.privacy-agreement a {
    color: var(--royal-blue);
    text-decoration: none;
}

.privacy-agreement a:hover {
    text-decoration: underline;
}

.submit-btn {
    background: var(--royal-blue);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--royal-blue-dark);
    transform: translateY(-2px);
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--dark-gray);
    padding: 60px 0 20px;
    transition: all 0.3s ease;
}

.footer:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo-image {
    height: 35px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-logo-image:hover {
    transform: rotate(-5deg) scale(1.1);
}

.footer-logo-text {
    height: 25px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-logo-text:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

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

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

.footer-section ul li a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--royal-blue);
}

.footer-section p {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #dee2e6;
    padding-top: 20px;
    text-align: center;
    color: var(--dark-gray);
}

.footer-bottom a {
    color: var(--royal-blue-light);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    margin-top: 80px;
}

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

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

/* 响应式设计 */
@media (max-width: 768px) {
    /* 确保基础样式正确 */
    * {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    
    body {
        -webkit-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
        text-size-adjust: 100%;
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 15px 60px;
        min-height: auto;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        line-height: 1.4;
        margin-bottom: 25px;
    }
    
    .hero-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 0 15px;
    }
    
    .product-card {
        margin: 0;
        max-width: 100%;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin: 0 15px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* 导航栏移动端优化 */
    .nav-container {
        padding: 15px;
    }
    
    .nav-logo {
        gap: 8px;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .logo-text {
        height: 25px;
    }
    
    /* 语言切换器移动端优化 */
    .language-switcher {
        gap: 3px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 80px 10px 40px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .products h2,
    .about h2,
    .contact h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .product-card {
        margin: 0;
        padding: 20px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-info h3 {
        font-size: 1.3rem;
    }
    
    .product-info p {
        font-size: 0.9rem;
    }
    
    /* 关于我们部分移动端优化 */
    .about-text p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .products-overview {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-overview-item {
        padding: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .advantage-item {
        padding: 20px;
    }
    
    /* 联系表单移动端优化 */
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* 防止iOS缩放 */
        padding: 12px;
    }
    
    .submit-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* 页脚移动端优化 */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
    }
}

/* 触摸友好的交互优化 */
@media (hover: none) and (pointer: coarse) {
    /* 触摸设备上的交互优化 */
    .nav-link:hover {
        background-color: transparent;
    }
    
    .nav-link:active {
        background-color: rgba(65, 105, 225, 0.1);
        transform: scale(0.95);
    }
    
    .cta-button:hover {
        transform: none;
    }
    
    .cta-button:active {
        transform: scale(0.95);
        background: var(--royal-blue-dark);
    }
    
    .product-card:hover {
        transform: none;
    }
    
    .product-card:active {
        transform: scale(0.98);
    }
    
    /* 触摸设备上的按钮优化 */
    .agree-button:hover,
    .disagree-button:hover {
        transform: none;
    }
    
    .agree-button:active,
    .disagree-button:active {
        transform: scale(0.95);
    }
    
    /* 触摸设备上的链接优化 */
    .footer-section ul li a:hover {
        color: var(--dark-gray);
    }
    
    .footer-section ul li a:active {
        color: var(--royal-blue);
    }
}

    .feature:hover {
        transform: none;
    }
    
    .feature:active {
        transform: scale(0.95);
    }
    
    .learn-more:hover {
        transform: none;
    }
    
    .learn-more:active {
        transform: scale(0.95);
    }
    
    .submit-btn:hover {
        transform: none;
    }
    
    .submit-btn:active {
        transform: scale(0.95);
        background: var(--royal-blue-dark);
    }
    
    .lang-btn:hover {
        transform: none;
    }
    
    .lang-btn:active {
        transform: scale(0.95);
    }
    
    /* 触摸设备上的按钮优化 */
    .nav-link,
    .cta-button,
    .learn-more,
    .submit-btn,
    .lang-btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* 触摸设备上的表单优化 */
    .contact-form input,
    .contact-form textarea,
    .download-form input,
    .download-form textarea,
    .download-form select {
        min-height: 44px;
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    /* 触摸设备上的间距优化 */
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 15px 20px;
    }
    
    .products-grid {
        gap: 25px;
    }
    
    .features {
        gap: 20px;
    }
    
    /* 触摸设备上的隐私弹窗优化 */
    .privacy-modal-content {
        width: calc(100% - 40px);
        max-height: 90vh;
        border-radius: 10px;
        bottom: 10px;
        left: 20px;
    }
    
    .privacy-modal-body {
        max-height: calc(90vh - 80px);
        padding: 15px;
    }
    
    .privacy-modal-header h2 {
        font-size: 1.2rem;
    }
    
    .privacy-section h3 {
        font-size: 1.1rem;
    }
    
    /* 触摸设备上的按钮优化 */
    .agree-button,
    .disagree-button {
        min-height: 48px;
        min-width: 120px;
        font-size: 1.1rem;
    }
}

/* 移动端性能优化 */
@media (max-width: 768px) {
    /* 减少动画以提高性能 */
    .product-card,
    .feature,
    .application-item,
    .advantage-item {
        animation: none;
    }
    
    /* 优化触摸滚动 */
    .container {
        -webkit-overflow-scrolling: touch;
    }
    
    /* 优化图片加载 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* 优化字体渲染 */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* 移动端触摸优化 */
    .nav-link,
    .cta-button,
    .learn-more,
    .submit-btn,
    .lang-btn {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    /* 移动端表单优化 */
    .contact-form input,
    .contact-form textarea,
    .download-form input,
    .download-form textarea,
    .download-form select {
        min-height: 44px;
        font-size: 16px; /* 防止iOS缩放 */
        touch-action: manipulation;
    }
    
    /* 移动端间距优化 */
    .hero {
        padding: 80px 20px 40px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    /* 移动端产品卡片优化 */
    .product-card {
        margin: 0 10px 20px;
        padding: 20px;
    }
    
    .product-card h3 {
        font-size: 1.3rem;
    }
    
    .product-card p {
        font-size: 0.95rem;
    }
    
    /* 移动端关于我们部分优化 */
    .main-products-section,
    .advantages-section {
        padding: 20px 0;
    }
    
    .products-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 横屏模式优化 */
@media (orientation: landscape) and (max-height: 500px) {
    .page-header {
        padding: 40px 0 30px;
    }
    
    .hero {
        padding: 80px 20px 40px;
    }
    
    .products,
    .about,
    .contact,
    .applications,
    .technical-advantages {
        padding: 40px 0;
    }
    
    .product-category {
        padding: 40px 0;
    }
}

/* 隐私声明弹窗 */
.privacy-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.privacy-modal-content {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 400px;
    max-height: 80vh;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideInUp 0.3s ease-out;
}

.privacy-modal-header {
    background: linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-dark) 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 15px 15px 0 0;
}

.privacy-modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.privacy-close {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.privacy-close:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.privacy-modal-body {
    max-height: calc(80vh - 80px);
    overflow-y: auto;
    padding: 20px;
    line-height: 1.6;
}

.privacy-modal-body::-webkit-scrollbar {
    width: 8px;
}

.privacy-modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.privacy-modal-body::-webkit-scrollbar-thumb {
    background: var(--royal-blue);
    border-radius: 4px;
    border-radius: 4px;
}

.privacy-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--royal-blue-dark);
}

.privacy-section {
    margin-bottom: 25px;
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h3 {
    color: var(--royal-blue);
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 600;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 8px;
}

.privacy-section p {
    color: var(--gray);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.privacy-section ul {
    margin: 10px 0;
    padding-left: 20px;
}

.privacy-section li {
    color: var(--gray);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.privacy-section li:before {
    content: "•";
    color: var(--royal-blue);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.last-updated {
    background: var(--light-gray);
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 0.9rem;
}

.contact-info {
    background: var(--light-gray);
    padding: 16px;
    border-radius: 8px;
    margin-top: 15px;
}

.contact-info p {
    margin: 6px 0;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.privacy-agreement {
    text-align: center;
    margin-top: 20px;
}

.agree-button,
.disagree-button {
    padding: 12px 30px;
    margin: 0 10px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.agree-button {
    background: var(--royal-blue);
    color: white;
}

.agree-button:hover {
    background: var(--royal-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.disagree-button {
    background: var(--light-gray);
    color: var(--dark-gray);
    border: 2px solid var(--light-gray);
}

.disagree-button:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .privacy-modal-content {
        width: calc(100% - 40px);
        max-height: 90vh;
        border-radius: 10px;
        bottom: 10px;
        left: 20px;
    }
    
    .privacy-modal-body {
        max-height: calc(90vh - 80px);
        padding: 15px;
    }
    
    .privacy-modal-header h2 {
        font-size: 1.2rem;
    }
    
    .privacy-section h3 {
        font-size: 1.1rem;
    }
}

/* 关键移动端修复 */
@media screen and (max-width: 768px) {
    /* 确保所有图片响应式 */
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* 修复可能的水平滚动问题 */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* 确保容器不会超出屏幕 */
    .container, .nav-container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* 修复导航栏在移动端的显示 */
    .navbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
    
    /* 修复主横幅在移动端的布局 */
    .hero {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding-top: 100px !important;
        padding-bottom: 60px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px !important;
    }
    
    .hero-image {
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    /* 修复产品网格 */
    .products-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        margin: 0 15px !important;
    }
    
    /* 修复关于我们部分 */
    .about-content {
        max-width: 100% !important;
        padding: 0 15px !important;
    }
    
    .products-overview,
    .advantages-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* 修复联系表单 */
    .contact-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        margin: 0 15px !important;
    }
    
    /* 修复页脚 */
    .footer-content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
}

/* 超小屏幕优化 */
@media screen and (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-text p {
        font-size: 0.95rem !important;
    }
    
    .cta-button {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
    
    .product-card {
        margin: 0 !important;
        padding: 15px !important;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px !important; /* 防止iOS自动缩放 */
    }
}
