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

:root {
    /* 日出主题配色 */
    --primary-dark: #D84315;      /* 深橙红 */
    --primary: #FF6F00;           /* 橙色 */
    --primary-light: #FF8F00;     /* 亮橙 */
    --accent: #FFB300;            /* 金黄色 */
    --accent-light: #FFD54F;      /* 浅黄 */
    --sunrise: #FF9800;           /* 日出橙 */
    --sunrise-light: #FFE0B2;     /* 日出浅橙 */
    
    /* 中性色 */
    --text-dark: #2D3436;
    --text: #636E72;
    --text-light: #B2BEC3;
    --bg: #FFFFFF;
    --bg-light: #FFF8E1;
    --bg-warm: #FFF3E0;
    
    /* 渐变 */
    --gradient-sunrise: linear-gradient(135deg, #FF6F00 0%, #FFB300 50%, #FFD54F 100%);
    --gradient-hero: linear-gradient(135deg, #FFF8E1 0%, #FFE0B2 50%, #FFCC80 100%);
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(255, 111, 0, 0.1);
    --shadow: 0 4px 12px rgba(255, 111, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(255, 111, 0, 0.2);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg);
}

.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(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding-left: 10%;
    padding-right: 5%;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: none;
    margin: 0;
    padding: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-icon {
    font-size: 36px;
    color: var(--primary);
    animation: pulse 2s ease-in-out infinite;
    display: inline-block;
    line-height: 1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-sunrise);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-sunrise);
    transition: width 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 首页横幅 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

/* 背景图片 */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 动态弥散光效背景 */
.hero-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-blob {
    position: absolute;
    filter: blur(100px);
    opacity: 0.8;
    animation: blob-morph 12s infinite ease-in-out;
}

.hero-blob-1 {
    width: 700px;
    height: 700px;
    background: linear-gradient(135deg, #FF6F00 0%, #FF8C00 50%, #FFB74D 100%);
    top: -250px;
    right: -150px;
    animation-delay: 0s;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.hero-blob-2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(225deg, #FF4500 0%, #FF6F00 50%, #FF9800 100%);
    bottom: -200px;
    left: -150px;
    animation-delay: -2s;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero-blob-3 {
    width: 550px;
    height: 550px;
    background: linear-gradient(45deg, #FF8C00 0%, #FFA726 50%, #FFCC80 100%);
    top: 35%;
    left: 35%;
    animation-delay: -4s;
    border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
}

.hero-blob-4 {
    width: 450px;
    height: 450px;
    background: linear-gradient(315deg, #FF5722 0%, #FF7043 50%, #FFAB91 100%);
    top: 10%;
    right: 20%;
    animation-delay: -6s;
    border-radius: 40% 60% 50% 50% / 50% 50% 50% 50%;
}

.hero-blob-5 {
    width: 350px;
    height: 350px;
    background: linear-gradient(180deg, #FFA000 0%, #FFC107 100%);
    bottom: 20%;
    right: 10%;
    animation-delay: -8s;
    border-radius: 70% 30% 50% 50% / 30% 70% 50% 50%;
}

/* 白色流动光斑 */
.hero-blob-white-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.4) 100%);
    top: 10%;
    left: 20%;
    animation-delay: -3s;
    border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
    filter: blur(80px);
}

.hero-blob-white-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(225deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 100%);
    bottom: 20%;
    right: 20%;
    animation-delay: -7s;
    border-radius: 50% 50% 60% 40% / 50% 40% 60% 50%;
    filter: blur(70px);
}

.hero-blob-white-3 {
    width: 450px;
    height: 450px;
    background: linear-gradient(45deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.2) 100%);
    top: 40%;
    left: 50%;
    animation-delay: -5s;
    border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%;
    filter: blur(90px);
}

@keyframes blob-morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    15% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
        transform: translate(60px, -40px) rotate(54deg) scale(1.15);
    }
    30% {
        border-radius: 50% 50% 40% 60% / 40% 50% 60% 50%;
        transform: translate(-40px, 50px) rotate(108deg) scale(0.9);
    }
    45% {
        border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%;
        transform: translate(40px, 30px) rotate(162deg) scale(1.1);
    }
    60% {
        border-radius: 70% 30% 60% 40% / 30% 70% 40% 60%;
        transform: translate(-50px, -20px) rotate(216deg) scale(0.95);
    }
    75% {
        border-radius: 50% 50% 70% 30% / 50% 70% 30% 50%;
        transform: translate(30px, -50px) rotate(270deg) scale(1.08);
    }
    90% {
        border-radius: 60% 40% 40% 60% / 40% 60% 60% 40%;
        transform: translate(-20px, 20px) rotate(324deg) scale(0.98);
    }
}

/* 太阳装饰 */
.hero-decoration {
    position: absolute;
    right: 15%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.sun {
    width: 180px;
    height: 180px;
    background: var(--gradient-sunrise);
    border-radius: 50%;
    box-shadow: 
        0 0 60px rgba(255, 111, 0, 0.6),
        0 0 120px rgba(255, 179, 0, 0.4),
        0 0 180px rgba(255, 200, 100, 0.2),
        inset 0 0 60px rgba(255, 255, 255, 0.3);
    animation: sunrise 4s ease-in-out infinite alternate;
    position: relative;
}

.sun::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,200,100,0.4) 0%, transparent 70%);
    animation: sun-glow 3s ease-in-out infinite alternate;
}

@keyframes sunrise {
    0% { 
        transform: scale(1); 
        box-shadow: 0 0 60px rgba(255, 111, 0, 0.6), 0 0 120px rgba(255, 179, 0, 0.4), 0 0 180px rgba(255, 200, 100, 0.2), inset 0 0 60px rgba(255, 255, 255, 0.3);
    }
    100% { 
        transform: scale(1.08); 
        box-shadow: 0 0 80px rgba(255, 111, 0, 0.8), 0 0 160px rgba(255, 179, 0, 0.5), 0 0 240px rgba(255, 200, 100, 0.3), inset 0 0 80px rgba(255, 255, 255, 0.4);
    }
}

@keyframes sun-glow {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* 额外的光晕效果 */
.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(255,180,80,0.4) 0%, rgba(255,150,50,0.2) 30%, transparent 70%);
    animation: glow-pulse 6s infinite ease-in-out;
    z-index: 0;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

.hero-content {
    max-width: 600px;
    padding: 0;
    margin-left: 10%;
    z-index: 2;
}

.hero-title {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 26px;
    color: #454545;
    margin-bottom: 40px;
    white-space: nowrap;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient-sunrise);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* 通用区块样式 */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-warm);
    color: var(--primary);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
}

/* 关于我们 */
.about {
    background: var(--bg);
}

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

.about-text p {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-sunrise);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text);
}

.about-image .image-placeholder {
    width: 100%;
    height: 400px;
    background: var(--gradient-hero);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    font-weight: 500;
}

/* 轮播组件 */
.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gradient-hero);
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide .slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.5));
    color: white;
    font-size: 14px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--text-dark);
    transition: all 0.2s;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.carousel:hover .carousel-btn {
    opacity: 1;
}

.carousel-btn:hover {
    background: white;
    box-shadow: var(--shadow);
}

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.2s;
}

.carousel:hover .carousel-dots {
    opacity: 1;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

.carousel-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
}

/* 服务项目 */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E0E0E0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text);
    font-size: 15px;
}

/* 产品展示 */
.products {
    background: var(--gradient-hero);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: var(--bg-warm);
    overflow: hidden;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: var(--bg-warm);
}

.product-image .image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 500;
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-info p {
    font-size: 14px;
    color: var(--text);
}

/* 联系我们 */
.contact {
    background: var(--gradient-hero);
}

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

.contact-info h3,
.contact-form-wrapper h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 10px;
}

/* 仅显示联系信息的布局 */
.contact-content.contact-info-only {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

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

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

.contact-icon {
    font-size: 24px;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #D0D0D0;
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.1);
}

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

/* 页脚 */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: center;
}

.footer-brand .logo {
    justify-content: center;
}

.footer-brand .logo-text {
    -webkit-text-fill-color: white;
    color: white;
}

.footer-brand p {
    margin-top: 16px;
    color: var(--text-light);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact p {
    color: var(--text-light);
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 32px;
        white-space: normal;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 16px;
        white-space: normal;
        margin-bottom: 24px;
        line-height: 1.5;
    }

    .hero-content {
        margin-left: 5%;
        margin-right: 5%;
    }

    .hero {
        min-height: 70vh;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .navbar {
        padding-left: 5%;
        padding-right: 5%;
    }

    .hero-blob {
        filter: blur(60px);
        opacity: 0.6;
    }

    .hero-blob-1 { width: 300px; height: 300px; top: -100px; right: -80px; }
    .hero-blob-2 { width: 250px; height: 250px; bottom: -80px; left: -80px; }
    .hero-blob-3 { width: 220px; height: 220px; top: 40%; left: 20%; }
    .hero-blob-4 { width: 200px; height: 200px; top: 15%; right: 5%; }
    .hero-blob-5 { width: 180px; height: 180px; bottom: 15%; right: 5%; }
    .hero-blob-white-1 { width: 200px; height: 200px; top: 20%; left: 10%; }
    .hero-blob-white-2 { width: 180px; height: 180px; bottom: 30%; right: 10%; }
    .hero-blob-white-3 { width: 220px; height: 220px; top: 50%; left: 30%; }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        align-items: center;
        text-align: center;
    }
    
    .contact-item {
        justify-content: flex-start;
        max-width: 300px;
        width: 100%;
        text-align: left;
    }
    
    .contact-form-wrapper {
        text-align: left;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .service-card {
        padding: 20px 16px;
    }
    
    .service-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }
    
    .service-card h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .service-card p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-image {
        padding-top: 100%;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .product-info h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .product-info p {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-content {
        display: flex;
        justify-content: center;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* 语言切换按钮 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-btn {
    padding: 6px 16px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* 分类副标题 */
.section-subtitle {
    color: var(--text);
    font-size: 16px;
    margin-top: 8px;
}

/* 产品分类网格 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-card-image {
    width: 100%;
    padding-top: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.category-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: var(--gradient-hero);
}

.category-card-image .category-icon {
    font-size: 60px;
    opacity: 0.9;
}

.category-card-image .category-count {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 111, 0, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.category-card-body {
    padding: 12px;
}

.category-card-body h3 {
    font-size: 15px;
    margin-bottom: 6px;
    color: var(--text-dark);
}

.category-card-body .category-sub {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 12px;
}

.category-card-body .sub-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sub-tag {
    padding: 3px 10px;
    background: var(--bg-warm);
    color: var(--primary);
    border-radius: 12px;
    font-size: 12px;
}

/* 面包屑导航 */
.products-breadcrumb {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.products-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    cursor: pointer;
}

.products-breadcrumb a:hover {
    text-decoration: underline;
}

.products-breadcrumb .separator {
    color: var(--text-light);
}

.products-breadcrumb .current {
    color: var(--text-dark);
    font-weight: 500;
}

/* 产品详情 */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-main-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: var(--bg-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.detail-main-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-main-image .no-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-size: 16px;
}

.detail-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.detail-thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.detail-thumbnails img:hover,
.detail-thumbnails img.active {
    border-color: var(--primary);
}

.detail-info h2 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.detail-info .detail-item-no {
    color: var(--text);
    font-size: 14px;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    display: inline-block;
}

.detail-info .detail-category {
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 20px;
}

.detail-info .detail-desc {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 15px;
}

.detail-info .detail-specs {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.detail-info .detail-specs h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.detail-info .spec-row {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-light);
    font-size: 14px;
}

.detail-info .spec-row .spec-label {
    width: 100px;
    color: var(--text);
    flex-shrink: 0;
}

.detail-info .spec-row .spec-value {
    color: var(--text-dark);
    font-weight: 500;
}

.detail-back-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
}

.detail-back-btn:hover {
    color: var(--primary-dark);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination .page-btn {
    padding: 6px 12px;
    border: 1px solid #D0D0D0;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    color: #333;
    transition: all 0.2s;
    min-width: 36px;
    text-align: center;
}

.pagination .page-btn:hover:not(:disabled) {
    border-color: #FF6F00;
    color: #FF6F00;
}

.pagination .page-btn.active {
    background: #FF6F00;
    color: white;
    border-color: #FF6F00;
}

.pagination .page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .page-num {
    min-width: 32px;
    padding: 6px 10px;
}

.pagination .page-ellipsis {
    padding: 6px 8px;
    color: #999;
    font-size: 13px;
}

.pagination .page-select {
    padding: 5px 8px;
    border: 1px solid #D0D0D0;
    border-radius: 4px;
    background: white;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    margin: 0 4px;
    min-width: 80px;
}

.pagination .page-select:hover {
    border-color: #FF6F00;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text);
}

.empty-state .empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
}

/* 响应式 - 产品详情 */
@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .detail-main-image {
        height: 200px;
        padding-top: 0 !important;
    }
    
    .detail-main-image img {
        object-fit: contain !important;
        background: var(--bg-light);
    }
    
    .detail-thumbnails img {
        width: 50px;
        height: 50px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 12px;
    }

    .category-card-image {
        padding-top: 100%;
        height: auto;
    }

    .category-icon {
        font-size: 32px;
    }

    .category-card-body h3 {
        font-size: 13px;
    }

    .nav-right {
        gap: 8px;
    }

    /* 联系表单移动端适配 */
    .contact-form-wrapper {
        padding: 24px 16px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-form-wrapper h3 {
        font-size: 20px;
    }

    /* 关于我们移动端适配 */
    .about-content {
        gap: 30px;
    }

    .about-text p {
        font-size: 14px;
    }

    /* 服务卡片移动端适配 */
    .service-card {
        padding: 20px;
    }

    /* 页脚移动端适配 */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    /* 公司图片轮播移动端 */
    .company-images-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* 空状态 */
    .empty-state {
        padding: 40px 20px;
    }

    /* 详情页返回按钮 */
    .detail-back-btn {
        margin-bottom: 12px;
        font-size: 13px;
    }

    .detail-info h2 {
        font-size: 22px;
    }

    /* 面包屑 */
    #detail-breadcrumb {
        font-size: 12px;
        margin-bottom: 12px;
    }

    /* 页面容器内边距 */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    /* 产品卡片移动端 */
    .product-card {
        padding: 12px;
    }

    .product-card-image {
        height: 160px;
    }

    .product-card-body h3 {
        font-size: 14px;
    }

    /* 统计数据 */
    .stat-item {
        padding: 16px;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero {
        padding-top: 70px;
        padding-bottom: 30px;
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    .section-title {
        font-size: 24px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .contact-form-wrapper {
        padding: 20px 12px;
    }

    .contact-form .btn-submit {
        padding: 14px;
        font-size: 15px;
    }

    .navbar {
        padding: 0 12px;
        height: 60px;
    }

    .nav-menu {
        top: 60px;
    }

    .logo-text {
        font-size: 14px;
    }

    .lang-btn {
        padding: 4px 12px;
        font-size: 12px;
    }

    .footer {
        padding: 30px 16px;
    }

    .footer-bottom {
        font-size: 12px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选中文字样式 */
::selection {
    background: var(--accent-light);
    color: var(--primary-dark);
}
