/* ============================================================
   style.css - Shandong Mutian Bearing - Global Styles
   ============================================================ */

/* ---------- Reset ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: #333;
    background: #f8f9fa;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%; /* 防止iOS自动调整字体大小 */
}

a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Navbar ---------- */
.navbar {
    background: #1a3a5c;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.nav-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}
.nav-logo img {
    height: 40px;
    width: auto;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.nav-menu li a {
    color: rgba(255,255,255,0.85);
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-block;
}
.nav-menu li a:hover,
.nav-menu li a.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
}
.nav-toggle {
    display: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 4px 8px;
    background: transparent;
    border: none;
    line-height: 1;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-block;
    padding: 14px 40px;
    background: #e8a838;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 52px;
    min-width: 44px;
}
.btn-primary:hover {
    background: #d4942e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232,168,56,0.4);
}
.btn-secondary {
    display: inline-block;
    padding: 10px 30px;
    background: transparent;
    color: #1a3a5c;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid #1a3a5c;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 48px;
    min-width: 44px;
}
.btn-secondary:hover {
    background: #1a3a5c;
    color: #fff;
}
.btn-small {
    display: inline-block;
    padding: 6px 20px;
    background: #1a3a5c;
    color: #fff;
    font-size: 13px;
    border-radius: 20px;
    transition: all 0.3s;
    min-height: 36px;
    min-width: 44px;
}
.btn-small:hover {
    background: #2a5f8a;
}

/* ---------- Section Titles ---------- */
.section-title {
    text-align: center;
    font-size: 32px;
    color: #1a3a5c;
    margin-bottom: 12px;
}
.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}
.text-center {
    text-align: center;
    margin-top: 30px;
}

/* ---------- Banner ---------- */
.banner {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a3a5c 0%, #2a5f8a 100%);
}
.banner-slider {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.6s ease;
}
.banner-slide {
    width: 33.333%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    background-size: cover !important;
    background-position: center !important;
    position: relative;
}
.banner-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}
.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.banner-content h1 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.banner-content p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 28px;
}
.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}
.banner-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
    min-width: 14px;
    min-height: 14px;
}
.banner-dots .dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* ---------- Advantages ---------- */
.advantages-section {
    padding: 60px 0;
    background: #fff;
}
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.advantage-item {
    background: #f8f9fa;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid #e8a838;
}
.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}
.advantage-icon {
    font-size: 40px;
    margin-bottom: 15px;
}
.advantage-item h3 {
    font-size: 18px;
    color: #1a3a5c;
    margin-bottom: 10px;
}
.advantage-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ---------- Applications ---------- */
.applications {
    padding: 60px 0;
    background: #fff;
}
.app-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}
.app-item {
    text-align: center;
    padding: 28px 12px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}
.app-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.app-icon {
    font-size: 40px;
    margin-bottom: 12px;
}
.app-item h3 {
    font-size: 16px;
    color: #1a3a5c;
    margin-bottom: 6px;
}
.app-item p {
    font-size: 13px;
    color: #888;
}

/* ---------- About Intro ---------- */
.about-intro {
    padding: 60px 0;
    background: #f0f4f8;
}
.about-intro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-intro-text h2 {
    font-size: 30px;
    color: #1a3a5c;
    margin-bottom: 20px;
}
.about-intro-text p {
    color: #555;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}
.about-intro-image img {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
}

/* ---------- Hot Products ---------- */
.hot-products {
    padding: 60px 0;
    background: #fff;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0f4f8;
}
.product-card h3 {
    font-size: 18px;
    color: #1a3a5c;
    margin: 16px 0 4px;
    padding: 0 12px;
}
.product-card p {
    color: #888;
    font-size: 14px;
    margin-bottom: 14px;
    padding: 0 12px;
}
.product-card .product-category {
    color: #e8a838;
    font-weight: 600;
}
.product-card .product-desc {
    color: #777;
    font-size: 14px;
    padding: 0 16px;
    margin-bottom: 16px;
    line-height: 1.6;
    flex: 1;
}
.product-grid-full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ---------- News ---------- */
.news-section {
    padding: 60px 0;
    background: #f8f9fa;
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.news-item {
    display: flex;
    gap: 24px;
    background: #fff;
    padding: 20px 24px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s;
}
.news-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.news-date {
    text-align: center;
    min-width: 70px;
    padding: 8px 0;
    background: #1a3a5c;
    color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
}
.news-date .day {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
}
.news-date .month {
    font-size: 14px;
}
.news-content {
    flex: 1;
}
.news-content h3 {
    font-size: 18px;
    margin-bottom: 6px;
}
.news-content h3 a {
    color: #1a3a5c;
}
.news-content h3 a:hover {
    color: #e8a838;
}
.news-content p {
    color: #777;
    font-size: 14px;
    line-height: 1.7;
}
.read-more {
    color: #e8a838;
    font-weight: 600;
    font-size: 14px;
}
.read-more:hover {
    text-decoration: underline;
}
.news-list-full {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.news-item-full {
    display: flex;
    gap: 30px;
    padding: 24px 28px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}
.news-item-full:hover {
    background: #f0f4f8;
    transform: translateX(4px);
}
.news-date-full {
    text-align: center;
    min-width: 80px;
    padding: 10px 0;
    background: #1a3a5c;
    color: #fff;
    border-radius: 10px;
    align-self: flex-start;
    flex-shrink: 0;
}
.news-date-full .day {
    display: block;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}
.news-date-full .month {
    font-size: 14px;
}
.news-date-full .year {
    font-size: 12px;
    opacity: 0.8;
}
.news-content-full {
    flex: 1;
}
.news-content-full h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.news-content-full h3 a {
    color: #1a3a5c;
}
.news-content-full h3 a:hover {
    color: #e8a838;
}
.news-content-full p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* ---------- News Detail ---------- */
.news-detail {
    padding: 60px 0;
    background: #fff;
}
.news-detail-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.news-detail-wrapper h2 {
    font-size: 28px;
    color: #1a3a5c;
    margin-bottom: 8px;
}
.news-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}
.news-detail-content {
    font-size: 16px;
    color: #444;
    line-height: 2;
    margin-bottom: 30px;
}

/* ---------- Product Detail ---------- */
.product-detail {
    padding: 60px 0;
    background: #fff;
}
.product-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.product-detail-image img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 100%;
    height: auto;
}
.product-detail-info h2 {
    font-size: 28px;
    color: #1a3a5c;
    margin-bottom: 12px;
}
.product-detail-info .product-category {
    color: #e8a838;
    font-weight: 600;
    margin-bottom: 16px;
}
.product-detail-info .product-description {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}
.product-detail-info p {
    color: #555;
    margin-bottom: 10px;
}
.product-detail-info .btn-primary,
.product-detail-info .btn-secondary {
    margin-top: 16px;
    margin-right: 12px;
}

/* ---------- Contact ---------- */
.contact-page {
    padding: 60px 0;
    background: #fff;
}
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}
.contact-info h2,
.contact-form h2 {
    font-size: 24px;
    color: #1a3a5c;
    margin-bottom: 24px;
}
.contact-item {
    display: flex;
    gap: 18px;
    margin-bottom: 20px;
}
.contact-icon {
    font-size: 28px;
    min-width: 40px;
}
.contact-item h4 {
    font-size: 16px;
    color: #1a3a5c;
}
.contact-item p {
    color: #666;
    font-size: 14px;
}
.contact-form .form-group {
    margin-bottom: 18px;
}
.contact-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.contact-form .required {
    color: #e74c3c;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
    -webkit-appearance: none;
    appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1a3a5c;
    box-shadow: 0 0 0 3px rgba(26,58,92,0.1);
}
.contact-form textarea {
    resize: vertical;
}
.alert {
    padding: 12px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ---------- Inner Page Header ---------- */
.page-header {
    background: linear-gradient(135deg, #1a3a5c, #2a5f8a);
    padding: 50px 0;
    text-align: center;
    color: #fff;
}
.page-header h1 {
    font-size: 36px;
    margin-bottom: 8px;
}
.page-header p {
    font-size: 18px;
    opacity: 0.85;
}

/* ---------- About Page ---------- */
.about-detail {
    padding: 60px 0;
    background: #fff;
}
.about-detail-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
}
.about-detail-text h2 {
    font-size: 28px;
    color: #1a3a5c;
    margin-bottom: 16px;
}
.about-detail-text h3 {
    font-size: 20px;
    color: #1a3a5c;
    margin: 24px 0 12px;
}
.about-detail-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
}
.about-detail-text ul {
    list-style: none;
    padding: 0;
}
.about-detail-text ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #444;
}
.about-detail-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.about-detail-image img {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    width: 100%;
    height: auto;
}

/* ---------- Honors ---------- */
.honors {
    padding: 60px 0;
    background: #f8f9fa;
}
.honor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.honor-item {
    background: #fff;
    padding: 24px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #1a3a5c;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* ---------- Pagination ---------- */
.pagination {
    text-align: center;
    margin-top: 30px;
}
.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 4px;
    background: #f0f4f8;
    color: #1a3a5c;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 36px;
    min-width: 36px;
}
.pagination a:hover {
    background: #1a3a5c;
    color: #fff;
}
.pagination span {
    background: transparent;
    border: none;
}

/* ---------- Footer ---------- */
footer {
    background: #0f1f30;
    color: rgba(255,255,255,0.7);
    padding: 40px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 16px;
}
.footer-col p {
    font-size: 14px;
    line-height: 1.8;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}
.footer-col ul li a:hover {
    color: #e8a838;
}
.footer-bottom {
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a {
    color: rgba(255,255,255,0.5);
}
.footer-bottom a:hover {
    color: #e8a838;
}

/* ---------- Admin Panel ---------- */
.admin-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a3a5c;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 12px;
}
.admin-header h1 {
    font-size: 22px;
}
.admin-header a {
    color: #fff;
    background: #e74c3c;
    padding: 6px 16px;
    border-radius: 4px;
    text-decoration: none;
    margin-left: 10px;
}
.admin-header a:hover {
    background: #c0392b;
}
.admin-container table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 20px;
}
.admin-container th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
}
.admin-container td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}
.admin-container .status-unread {
    background: #f8d7da;
    color: #721c24;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
}
.admin-container .status-read {
    background: #d4edda;
    color: #155724;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 12px;
}
.admin-container .actions a {
    margin-right: 8px;
    text-decoration: none;
    font-size: 14px;
}
.admin-container .read-btn {
    color: #28a745;
}
.admin-container .delete-btn {
    color: #dc3545;
}
.admin-container .empty {
    text-align: center;
    padding: 40px;
    color: #999;
}
.admin-container form div {
    margin-bottom: 15px;
}
.admin-container form label {
    display: inline-block;
    width: 100px;
    font-weight: 600;
}
.admin-container form input,
.admin-container form textarea {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
    font-size: 14px;
}
.admin-container form textarea {
    width: 500px;
    height: 100px;
}
.admin-container form button {
    padding: 8px 24px;
    background: #1a3a5c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ============================================================
   ========== 响应式设计 - 移动端优化 ==========
   ============================================================ */

/* ---------- 平板及以下 (≤1024px) ---------- */
@media (max-width: 1024px) {
    .app-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }
    .honor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-detail-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .product-detail-wrapper {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---------- 手机 (≤768px) ---------- */
@media (max-width: 768px) {
    /* --- 导航 --- */
    .nav-menu {
        display: none;
        flex-direction: column;
        background: #1a3a5c;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        padding: 16px 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        gap: 2px;
        width: 100%;
        z-index: 999;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu li {
        width: 100%;
    }
    .nav-menu li a {
        padding: 12px 16px;
        font-size: 16px;
        white-space: normal;
        display: block;
        width: 100%;
        border-radius: 6px;
    }
    .nav-menu li a[style*="background:#e8a838"] {
        text-align: center;
        margin-top: 4px;
    }
    .nav-toggle {
        display: block;
    }
    .lang-switch {
        margin-left: 0;
        margin-top: 6px;
        justify-content: center;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        padding: 6px 14px;
        border-radius: 24px;
    }
    .lang-switch a {
        font-size: 14px;
        padding: 4px 10px;
    }

    /* --- Banner --- */
    .banner {
        height: 400px;
    }
    .banner-content {
        padding: 0 16px;
    }
    .banner-content h1 {
        font-size: 30px;
    }
    .banner-content p {
        font-size: 16px;
    }
    .banner-dots .dot {
        width: 12px;
        height: 12px;
        min-width: 12px;
        min-height: 12px;
    }

    /* --- 优势 --- */
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .advantage-item {
        padding: 20px 16px;
    }
    .advantage-icon {
        font-size: 32px;
    }
    .advantage-item h3 {
        font-size: 16px;
    }

    /* --- 应用领域 (原applications区域，保留兼容) --- */
    .app-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .app-item {
        padding: 20px 12px;
    }
    .app-icon {
        font-size: 32px;
    }

    /* --- 关于我们 --- */
    .about-intro-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-intro-text h2 {
        font-size: 26px;
    }

    /* --- 产品 --- */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .product-grid-full {
        grid-template-columns: 1fr;
    }
    .product-card img {
        height: 160px;
    }
    .product-card h3 {
        font-size: 16px;
    }

    /* --- 新闻 --- */
    .news-item {
        flex-direction: column;
        gap: 12px;
        padding: 16px 18px;
    }
    .news-item-full {
        flex-direction: column;
        gap: 12px;
        padding: 18px 20px;
    }
    .news-date,
    .news-date-full {
        align-self: flex-start;
        min-width: 60px;
        padding: 6px 12px;
    }
    .news-date .day,
    .news-date-full .day {
        font-size: 22px;
    }
    .news-content h3 {
        font-size: 16px;
    }
    .news-content-full h3 {
        font-size: 18px;
    }

    /* --- 页脚 --- */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* --- 通用 --- */
    .section-title {
        font-size: 26px;
    }
    .section-subtitle {
        font-size: 14px;
        margin-bottom: 28px;
    }
    .btn-primary {
        padding: 12px 28px;
        font-size: 15px;
        min-height: 48px;
    }
    .btn-secondary {
        padding: 10px 24px;
        font-size: 14px;
        min-height: 44px;
    }
    .container {
        padding: 0 16px;
    }

    /* --- 页面内页头 --- */
    .page-header {
        padding: 36px 0;
    }
    .page-header h1 {
        font-size: 28px;
    }
    .page-header p {
        font-size: 16px;
    }

    /* --- 产品详情 --- */
    .product-detail-wrapper {
        gap: 30px;
    }
    .product-detail-info h2 {
        font-size: 24px;
    }

    /* --- 荣誉 --- */
    .honor-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .honor-item {
        padding: 18px 12px;
        font-size: 14px;
    }

    /* --- 后台管理 --- */
    .admin-container table {
        font-size: 14px;
    }
    .admin-container th,
    .admin-container td {
        padding: 8px 10px;
    }
    .admin-container form input,
    .admin-container form textarea {
        width: 100%;
        max-width: 100%;
    }
    .admin-container form textarea {
        width: 100%;
        max-width: 100%;
    }
    .admin-container form label {
        width: 100%;
        display: block;
        margin-bottom: 4px;
    }
    .admin-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 15px 20px;
    }
    .admin-header a {
        margin: 4px 0;
        display: inline-block;
    }
}

/* ---------- 小屏手机 (≤480px) ---------- */
@media (max-width: 480px) {
    /* --- 导航 --- */
    .nav-logo a {
        font-size: 18px;
        gap: 8px;
    }
    .nav-logo img {
        height: 32px;
    }
    .nav-menu {
        top: 58px;
        padding: 12px 16px;
    }
    .nav-menu li a {
        padding: 10px 14px;
        font-size: 15px;
    }

    /* --- Banner --- */
    .banner {
        height: 320px;
    }
    .banner-content h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }
    .banner-content p {
        font-size: 14px;
        margin-bottom: 18px;
    }
    .banner-dots {
        bottom: 16px;
        gap: 8px;
    }
    .banner-dots .dot {
        width: 10px;
        height: 10px;
        min-width: 10px;
        min-height: 10px;
    }

    /* --- 优势 --- */
    .advantage-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .advantage-item {
        padding: 16px 12px;
        border-left-width: 3px;
    }
    .advantage-icon {
        font-size: 28px;
        margin-bottom: 8px;
    }
    .advantage-item h3 {
        font-size: 14px;
    }
    .advantage-item p {
        font-size: 13px;
    }

    /* --- 应用领域 --- */
    .app-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .app-item {
        padding: 16px 8px;
    }
    .app-icon {
        font-size: 28px;
    }
    .app-item h3 {
        font-size: 14px;
    }
    .app-item p {
        font-size: 12px;
    }

    /* --- 关于 --- */
    .about-intro {
        padding: 40px 0;
    }
    .about-intro-text h2 {
        font-size: 22px;
    }
    .about-intro-text p {
        font-size: 14px;
    }

    /* --- 产品 --- */
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .product-card {
        padding-bottom: 14px;
    }
    .product-card img {
        height: 130px;
    }
    .product-card h3 {
        font-size: 14px;
        margin: 10px 0 2px;
    }
    .product-card p {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .product-card .product-desc {
        font-size: 13px;
        padding: 0 10px;
        margin-bottom: 12px;
    }
    .btn-small {
        font-size: 12px;
        padding: 4px 16px;
        min-height: 32px;
    }

    /* --- 新闻 --- */
    .news-section {
        padding: 40px 0;
    }
    .news-item {
        padding: 14px 14px;
        gap: 10px;
    }
    .news-item-full {
        padding: 14px 16px;
        gap: 10px;
    }
    .news-date .day,
    .news-date-full .day {
        font-size: 20px;
    }
    .news-date .month,
    .news-date-full .month {
        font-size: 12px;
    }
    .news-content h3 {
        font-size: 15px;
    }
    .news-content p {
        font-size: 13px;
    }
    .news-content-full h3 {
        font-size: 16px;
    }
    .news-content-full p {
        font-size: 14px;
    }
    .read-more {
        font-size: 13px;
    }

    /* --- 页脚 --- */
    footer {
        padding: 30px 0 16px;
    }
    .footer-col h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .footer-col p,
    .footer-col ul li a {
        font-size: 13px;
    }
    .footer-bottom {
        font-size: 12px;
    }

    /* --- 通用 --- */
    .section-title {
        font-size: 22px;
    }
    .section-subtitle {
        font-size: 13px;
        margin-bottom: 24px;
    }
    .btn-primary {
        padding: 10px 22px;
        font-size: 14px;
        min-height: 44px;
        border-radius: 24px;
    }
    .btn-secondary {
        padding: 8px 20px;
        font-size: 13px;
        min-height: 40px;
        border-radius: 24px;
    }
    .text-center {
        margin-top: 20px;
    }
    .container {
        padding: 0 12px;
    }

    /* --- 页面内页头 --- */
    .page-header {
        padding: 28px 0;
    }
    .page-header h1 {
        font-size: 24px;
    }
    .page-header p {
        font-size: 14px;
    }

    /* --- 产品详情 --- */
    .product-detail {
        padding: 40px 0;
    }
    .product-detail-info h2 {
        font-size: 20px;
    }
    .product-detail-info .product-description {
        font-size: 14px;
    }

    /* --- 新闻详情 --- */
    .news-detail {
        padding: 40px 0;
    }
    .news-detail-wrapper h2 {
        font-size: 22px;
    }
    .news-detail-content {
        font-size: 15px;
    }

    /* --- 联系 --- */
    .contact-page {
        padding: 40px 0;
    }
    .contact-info h2,
    .contact-form h2 {
        font-size: 20px;
    }
    .contact-item {
        gap: 12px;
    }
    .contact-icon {
        font-size: 24px;
        min-width: 32px;
    }

    /* --- 荣誉 --- */
    .honor-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .honor-item {
        padding: 14px 10px;
        font-size: 13px;
    }

    /* --- 分页 --- */
    .pagination a,
    .pagination span {
        padding: 4px 10px;
        font-size: 13px;
        min-height: 32px;
        min-width: 32px;
    }

    /* --- 后台管理 --- */
    .admin-container {
        margin: 20px auto;
        padding: 0 12px;
    }
    .admin-container table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .admin-container th,
    .admin-container td {
        padding: 6px 8px;
        white-space: nowrap;
    }
    .admin-header h1 {
        font-size: 18px;
    }
    .admin-header a {
        font-size: 13px;
        padding: 4px 12px;
    }
}