

/* 全局重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #007fff;
    text-decoration: none;
    z-index: 1002;
}

.nav-brand img {
    height: 70px;
}

.nav-brand span {
    white-space: nowrap;
}

/* 桌面端导航菜单 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12px 0;
}

.nav-menu a:hover {
    color: #007fff;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: #007fff;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1002;
    padding: 10px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* 手机端导航菜单样式 */
@media (max-width: 768px) {
    /* 导航栏品牌样式调整 */
    .navbar .container {
        padding: 1rem 20px; /* 导航栏高度 */
        min-height: 70px; /* 确保导航栏有固定高度 */
    }
    
    .nav-brand {
        font-size: 1rem;
        flex-direction: row; /* 水平排列图片和文字 */
        gap: 10px;
        position: static;
    }
    
    .nav-brand img {
        height: 50px;
        margin-bottom: 0;
    }
    
    .nav-brand span {
        display: block; /* 显示公司名称文字 */
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* 汉堡菜单按钮定位 */
    .nav-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* 显示汉堡菜单按钮 */
    .nav-toggle {
        display: flex;
    }
    
    /* 手机端菜单样式 */
    .nav-menu {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu a {
        padding: 15px 20px;
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }
    
    /* 手机端下拉菜单 */
    .dropdown-menu {
        position: static;
        background: rgba(240, 240, 240, 0.8);
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        max-height: 200px;
    }
}

/* 主轮播区样式 */
.hero {
    position: relative;
    /* 主轮播区样式 - 确保高度自适应 */
    height: 100vh; /* 使用全屏高度 */
    padding-top: 90px; /* 使用padding代替margin，确保背景覆盖全屏 */
    overflow: hidden;
    box-sizing: border-box; /* 确保padding计算在高度内 */
}

.hero-slider {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-bg1 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../image/robot.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.slide-bg2 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../image/machine1.png') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.slide-content {
    width: 100%;
    z-index: 2;
}

.hero-text {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #007fff;
    color: white;
    border-color: #007fff;
}

.btn-primary:hover {
    background: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 127, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #007fff;
    transform: translateY(-2px);
}

.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: white;
    transform: scale(1.2);
}

/* 节标题样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007fff, #00bfff);
    border-radius: 2px;
}

/* 产品优势样式 */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #007fff, #00bfff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* 产品中心样式 */
.products {
    padding: 100px 0;
    background: white;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid #007fff;
    border-radius: 50px;
    color: #007fff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-btn.active,
.tab-btn:hover {
    background: #007fff;
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-placeholder {
    color: white;
    font-size: 4rem;
    text-align: center;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4757;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.product-features {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #007fff;
    margin-bottom: 1.5rem;
}

/* 中医越人堂样式 */
.tcm-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.tcm-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #8B4513;
    margin-bottom: 1rem;
}

.tcm-header p {
    font-size: 1.2rem;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #8B4513;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8B4513, #CD853F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: #666;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.service-card li::before {
    content: '•';
    color: #8B4513;
    position: absolute;
    left: 0;
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

.about-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.about-features {
    display: flex;
    gap: 2rem;
}

.about-feature {
    text-align: center;
}

.about-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007fff;
    margin-bottom: 0.5rem;
}

.about-label {
    color: #666;
    font-weight: 500;
}

.about-image {
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-placeholder {
    text-align: center;
}

.about-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.about-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
}

/* 新闻动态样式 */
.news {
    padding: 100px 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.news-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.news-content {
    padding: 2rem;
}

.news-date {
    color: #007fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
    line-height: 1.4;
}

.news-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more {
    color: #007fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0066cc;
}

/* 解决方案样式 */
.solutions {
    padding: 100px 0;
    background: white;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.solution-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.solution-content {
    padding: 2rem;
}

.solution-date {
    color: #007fff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.solution-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.solution-card p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.solution-card .read-more {
    color: #007fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.solution-card .read-more:hover {
    color: #0066cc;
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #007fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-text p {
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #333;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007fff;
}

/* 页脚样式 */
.footer {
    background: #333;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #007fff;
}

.footer-section p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #007fff;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #007fff;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 2rem;
    text-align: center;
    color: #ccc;
}

.footer-bottom a {
    color: #007fff;
    text-decoration: none;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #007fff;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0066cc;
    transform: translateY(-2px);
}

/* 完整的手机端响应式设计 */
@media (max-width: 768px) {
    /* 基础间距调整 */
    .container {
        padding: 0 15px;
    }
    
    /* 主区域内边距调整 */
    .features,
    .products, 
    .about,
    .news,
    .contact {
        padding: 60px 0;
    }
    
    /* 主轮播区适配 */
    .hero {
        height: 100vh;
        min-height: 500px;
    }
    
    .hero-text {
        padding: 0 20px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 200px;
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    /* 标题适配 */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    /* 网格布局适配 */
    .features-grid,
    .products-grid,
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 卡片样式调整 */
    .feature-card,
    .product-card,
    .service-card,
    .news-card {
        padding: 2rem 1.5rem;
        margin: 0;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
    }
    
    /* 产品卡片适配 */
    .product-image {
        height: 200px;
    }
    
    .product-placeholder {
        font-size: 3rem;
    }
    
    .product-info {
        padding: 1.5rem;
    }
    
    .product-info h3 {
        font-size: 1.3rem;
    }
    
    .product-price {
        font-size: 1.5rem;
    }
    
    /* 产品标签页适配 */
    .product-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
        flex: 1;
        min-width: 120px;
    }
    
    /* 关于我们布局适配 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-intro {
        font-size: 1rem;
    }
    
    .about-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .about-image {
        height: 250px;
        order: -1;
    }
    
    /* 新闻卡片适配 */
    .news-image {
        height: 150px;
        font-size: 2.5rem;
    }
    
    .news-content {
        padding: 1.5rem;
    }
    
    .news-card h3 {
        font-size: 1.2rem;
    }
    
    /* 联系我们适配 */
    .contact-content {
        grid-template-columns: 1fr; 
        gap: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        order: -1;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    /* 页脚适配 */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
    }
    
    /* 返回顶部按钮适配 */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    /* 触摸优化 */
    .btn-primary,
    .btn-secondary,
    .tab-btn,
    .hero-dot {
        min-height: 44px;
        min-width: 44px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .navbar .container {
        padding: 0.6rem 10px;
    }
    
    .nav-brand {
        font-size: 0.9rem;
        gap: 3px;
    }
    
    .nav-brand img {
        height: 35px;
        margin-bottom: 1px;
    }
    
    .nav-brand span {
        font-size: 1.0rem;
        font-weight: 600;
        max-width: 220px;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-text p {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .feature-card,
    .product-card,
    .service-card,
    .news-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .product-tabs {
        flex-direction: column;
        width: 100%;
    }
    
    .tab-btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* 超小屏幕文字调整 */
    .tcm-header h3 {
        font-size: 1.5rem;
    }
    
    .service-card h4 {
        font-size: 1.2rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
}

/* 横屏手机适配 */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.product-card,
.service-card,
.news-card {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动效果 */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

