/* ========================================
   Doolike - Carbon Fiber Badminton Rackets
   Professional B2B Website Styles
   ======================================== */

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

:root {
    /* Color Palette - Professional B2B Theme */
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #666;
    --bg-color: #ffffff;
    --bg-secondary: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #27ae60;

    /* Typography */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Arial', 'Helvetica Neue', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header & Navigation */
header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-xs) 0;
    font-size: 0.9rem;
}

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

.header-contact a {
    color: white;
    margin-left: var(--spacing-md);
}

.header-contact a:hover {
    color: var(--secondary-color);
}

.header-main {
    padding: var(--spacing-sm) 0;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.logo span {
    color: var(--secondary-color);
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    transition: var(--transition);
}

nav a:hover,
nav a.active {
    background-color: var(--secondary-color);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

/* Hero Section with Factory Background (Home page only) */
.home .hero {
    /* 碳纤维深灰到品牌蓝渐变 - 科技感+轻盈感 */
    background: linear-gradient(rgba(30, 30, 35, 0.85), rgba(0, 86, 179, 0.75)), url('../images/factory.jpg') center top/cover no-repeat;
    position: relative;
    padding: 6rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* 备选配色方案（可替换上面的渐变）:

方案1 - 深蓝渐变（科技感）:
background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 86, 179, 0.75)), url('../images/factory.jpg') center top/cover no-repeat;

方案2 - 碳纤维深灰到蓝（当前使用）:
background: linear-gradient(rgba(30, 30, 35, 0.85), rgba(0, 86, 179, 0.75)), url('../images/factory.jpg') center top/cover no-repeat;

方案3 - 纯蓝渐变（简约）:
background: linear-gradient(rgba(0, 60, 130, 0.85), rgba(30, 120, 200, 0.75)), url('../images/factory.jpg') center top/cover no-repeat;

方案4 - 浅橙色（柔和）:
background: linear-gradient(rgba(0, 86, 179, 0.85), rgba(200, 80, 20, 0.75)), url('../images/factory.jpg') center top/cover no-repeat;

方案5 - 黑到蓝（高端奢华）:
background: linear-gradient(rgba(20, 20, 25, 0.88), rgba(0, 86, 179, 0.78)), url('../images/factory.jpg') center top/cover no-repeat;

*/

.home .hero .container {
    position: relative;
    z-index: 2;
}

.home .hero h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
}

.home .hero p {
    font-size: 1.4rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent-color);
    color: white;
}

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Section Styles */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.section-alt {
    background-color: var(--bg-secondary);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: var(--bg-secondary);
}

.product-info {
    padding: var(--spacing-md);
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-xs);
}

.product-specs {
    list-style: none;
    margin: var(--spacing-sm) 0;
    color: var(--text-light);
}

.product-specs li {
    padding: 5px 0;
    border-bottom: 1px solid var(--border-color);
}

.product-specs li:last-child {
    border-bottom: none;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-md);
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.feature-card h3 {
    margin-bottom: var(--spacing-sm);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: var(--spacing-md);
}

.blog-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.blog-content h3 {
    margin-bottom: var(--spacing-sm);
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

/* Manufacturing Process Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.process-step {
    text-align: center;
    padding: var(--spacing-md);
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.process-number {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto var(--spacing-sm);
}

.process-step h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.faq-item {
    background: white;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Blog Article */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.blog-article-header {
    margin-bottom: var(--spacing-md);
}

.blog-article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.blog-article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.blog-article-content h2 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.blog-article-content h3 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.blog-article-content ul,
.blog-article-content ol {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

/* Contact Form */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-md);
}

.contact-info-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: var(--spacing-md);
}

.contact-info-card h3 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.contact-form {
    background: white;
    padding: var(--spacing-md);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* About Page */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.about-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.stat-card {
    text-align: center;
    padding: var(--spacing-md);
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label {
    color: var(--text-light);
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: var(--spacing-md) 0 var(--spacing-sm);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-section h3 {
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

/* Breadcrumb */
.breadcrumb {
    padding: var(--spacing-sm) 0;
    background-color: var(--bg-secondary);
}

.breadcrumb ul {
    list-style: none;
    display: flex;
    gap: var(--spacing-xs);
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-left: var(--spacing-xs);
    color: var(--text-light);
}

/* Responsive Design */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    /* 防止左右滑动 */
    body {
        overflow-x: hidden;
        width: 100%;
    }

    html {
        overflow-x: hidden;
    }

    /* 容器优化 - 减少左右内边距 */
    .container,
    .container-wide {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }

    /* 字体大小优化 - 更紧凑 */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }

    /* 间距优化 - 减少上下间距 */
    :root {
        --spacing-xs: 0.375rem;
        --spacing-sm: 0.75rem;
        --spacing-md: 1.25rem;
        --spacing-lg: 1.75rem;
        --spacing-xl: 2.25rem;
    }

    /* Header优化 */
    .header-top {
        display: none;
    }

    .header-main {
        padding: 0.625rem 0;
    }

    .logo img {
        height: 36px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        width: 100%;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav li {
        border-bottom: 1px solid var(--border-color);
    }

    nav a {
        display: block;
        padding: 0.875rem 1rem;
    }

    /* Hero区域优化 - 更紧凑 */
    .hero {
        padding: 2.5rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    /* 首页Hero特殊优化 */
    .home .hero {
        padding: 2.75rem 0;
        min-height: 320px;
        background-position: center center;
        background-attachment: scroll;
    }

    .home .hero h1 {
        font-size: 1.85rem;
        line-height: 1.3;
    }

    .home .hero p {
        font-size: 1.05rem;
        line-height: 1.5;
    }

    /* Section间距优化 - 减少50% */
    section {
        padding: 2.25rem 0;
    }

    .section-title {
        margin-bottom: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.65rem;
        margin-bottom: 0.625rem;
    }

    .section-title p {
        font-size: 0.95rem;
    }

    /* 产品网格 - 2列紧凑布局（移动端显示更多） */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .product-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: 0.875rem;
    }

    .product-info h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .product-specs {
        font-size: 0.85rem;
        margin: 0.625rem 0;
    }

    .product-specs li {
        padding: 4px 0;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    /* Features网格 - 2列紧凑 */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        font-size: 2.25rem;
        margin-bottom: 0.625rem;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .feature-card p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    /* 博客网格 - 2列紧凑 */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .blog-card {
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .blog-image {
        height: 140px;
    }

    .blog-content {
        padding: 0.875rem;
    }

    .blog-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .blog-meta {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }

    .blog-excerpt {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.625rem;
    }

    /* 生产流程 - 2列紧凑 */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .process-step {
        padding: 1rem;
    }

    .process-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
        margin-bottom: 0.625rem;
    }

    .process-step h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .process-step p {
        font-size: 0.85rem;
    }

    /* FAQ网格 - 1列 */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .faq-item {
        padding: 1rem;
    }

    .faq-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .faq-item p {
        font-size: 0.875rem;
        line-height: 1.6;
    }

    /* 联系表单优化 */
    .contact-section {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-info-card,
    .contact-form {
        padding: 1.25rem;
        margin-bottom: 0;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px;
        font-size: 0.95rem;
    }

    .form-group textarea {
        min-height: 120px;
    }

    /* About页面优化 */
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .stats-grid {
        gap: 0.875rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* 博客文章页面优化 */
    .blog-article-image {
        height: 220px;
        margin-bottom: 1.25rem;
    }

    .blog-article-content {
        font-size: 1rem;
        line-height: 1.7;
    }

    .blog-article-content h2 {
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        font-size: 1.4rem;
    }

    .blog-article-content h3 {
        margin-top: 1.25rem;
        margin-bottom: 0.625rem;
        font-size: 1.15rem;
    }

    .blog-article-content ul,
    .blog-article-content ol {
        margin-left: 1.25rem;
        margin-bottom: 0.875rem;
        font-size: 0.95rem;
    }

    /* Footer优化 - 紧凑 */
    footer {
        padding: 1.5rem 0 1rem;
    }

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

    .footer-section h3 {
        margin-bottom: 0.75rem;
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
        line-height: 1.6;
    }

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

    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.85rem;
    }

    /* CTA区域优化 */
    .cta-section {
        padding: 2.25rem 0;
    }

    .cta-section h2 {
        font-size: 1.65rem;
        margin-bottom: 0.75rem;
    }

    .cta-section p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    /* Breadcrumb优化 */
    .breadcrumb {
        padding: 0.625rem 0;
        font-size: 0.85rem;
    }

    .breadcrumb ul {
        gap: 0.375rem;
        flex-wrap: wrap;
    }

    /* 图片优化 - 防止溢出 */
    img {
        max-width: 100%;
        height: auto;
    }

    .about-image {
        width: 100%;
        margin-bottom: 1rem;
    }

    /* 确保所有网格元素不超出屏幕 */
    .product-grid,
    .features-grid,
    .blog-grid,
    .process-grid,
    .faq-grid,
    .footer-content {
        width: 100%;
        max-width: 100%;
    }
}

/* 超小屏幕优化 (480px及以下) */
@media (max-width: 480px) {
    /* 产品和特性改为1列 */
    .product-grid,
    .features-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .product-image {
        height: 240px;
    }

    .blog-image {
        height: 180px;
    }

    /* Hero更紧凑 */
    .home .hero {
        min-height: 280px;
        padding: 2.25rem 0;
    }

    .home .hero h1 {
        font-size: 1.65rem;
    }

    .home .hero p {
        font-size: 0.95rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* SEO & Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* Print Styles */
@media print {
    header, footer, .cta-section { display: none; }
}
