/* ============================================
   柘城县恒丰食品有限公司 官方网站样式表
   Hengfeng Food Official Website Stylesheet
   配色方案：品牌红#C41E3A / 浅灰#F5F5F5 / 深灰#333333
   字体：中文-微软雅黑 / 英文-Calibri
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brand-red: #C41E3A;
    --brand-red-dark: #A01830;
    --brand-red-light: #E84A5F;
    --bg-light: #F5F5F5;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --white: #FFFFFF;
    --border: #E0E0E0;
    --shadow: 0 2px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

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

ul { list-style: none; }

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

.section {
    padding: 80px 0;
}

.bg-light { background: var(--bg-light); }
.bg-primary { background: var(--brand-red); }

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

.section-title {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--brand-red);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    margin-top: 12px;
    color: var(--text-medium);
    font-size: 1.05rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--brand-red);
    color: var(--white);
    border-color: var(--brand-red);
}
.btn-primary:hover {
    background: var(--brand-red-dark);
    border-color: var(--brand-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196,30,58,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--brand-red);
}

.btn-outline-dark {
    background: transparent;
    color: var(--brand-red);
    border-color: var(--brand-red);
}
.btn-outline-dark:hover {
    background: var(--brand-red);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-red);
    border-color: var(--brand-red);
}
.btn-secondary:hover {
    background: var(--brand-red);
    color: var(--white);
}

/* --- Image Placeholder --- */
.image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    color: var(--text-light);
    font-size: 3rem;
}
.image-placeholder.small {
    min-height: 200px;
    font-size: 2.5rem;
}
.image-placeholder p {
    font-size: 0.9rem;
    margin-top: 8px;
}

/* ============================================
   Header / Navigation - Fixed & Always Expanded
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.header .container {
    max-width: 100%;
    padding: 0 32px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-zh {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-red);
}

.logo-en {
    font-size: 0.72rem;
    color: var(--text-medium);
}

/* Navigation - Full Width Horizontal */
.nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 0;
    align-items: center;
}

.nav-list > li {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-red);
    background: rgba(196,30,58,0.06);
}

/* Products Dropdown Menu */
.nav-list > li.has-dropdown .nav-link::after {
    content: '▾';
    margin-left: 6px;
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-list > li.has-dropdown:hover .nav-link::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    min-width: 220px;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: 1px solid var(--border);
    padding: 8px 0;
    z-index: 1001;
    margin-top: 4px;
}

.nav-list > li.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(196,30,58,0.06);
    color: var(--brand-red);
    padding-left: 24px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 6px 16px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-dark);
}

.lang-switch:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

.lang-switch .lang-zh,
.lang-switch .lang-en {
    padding: 2px 6px;
    border-radius: 12px;
}

.lang-switch.zh-active .lang-zh {
    background: var(--brand-red);
    color: var(--white);
}

.lang-switch.en-active .lang-en {
    background: var(--brand-red);
    color: var(--white);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(196,30,58,0.3), transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(196,30,58,0.15), transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
}

.feature-icon {
    color: #4CAF50;
    font-weight: 700;
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   About Brief Section
   ============================================ */
.about-brief-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-brief-text p {
    color: var(--text-medium);
    margin-bottom: 24px;
    font-size: 1.02rem;
    line-height: 1.9;
}

.about-brief-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-brief-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: transform 0.4s ease;
}

.about-brief-image img:hover {
    transform: scale(1.02);
}

/* ============================================
   Products Grid
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-red-light);
}

.product-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

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

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

.product-info {
    padding: 24px;
}

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

.product-en {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-style: italic;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 16px;
    line-height: 1.6;
}

.product-link {
    color: var(--brand-red);
    font-weight: 600;
    font-size: 0.9rem;
}

.product-link:hover {
    color: var(--brand-red-dark);
}

/* ============================================
   Advantages
   ============================================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid transparent;
}

.advantage-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.advantage-card p {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ============================================
   Stats Section
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    margin-top: 8px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-card {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
    border-radius: var(--radius-lg);
    color: var(--white);
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-card p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.8);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo .logo-icon {
    font-size: 1.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact li {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--brand-red);
}

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

/* ============================================
   Page Banner (Sub Pages)
   ============================================ */
.page-banner {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: var(--white);
    margin-top: 72px;
    text-align: center;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(196,30,58,0.3), transparent 70%);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* ============================================
   About Page Specific
   ============================================ */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--brand-red);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    flex: 0 0 120px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-red);
    text-align: center;
    padding-top: 4px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    background: var(--brand-red);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--brand-red);
    top: 12px;
}

.timeline-content {
    flex: 1;
    padding: 20px 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    margin: 0 60px;
}

.timeline-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
}

/* Certifications */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cert-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.cert-card:hover {
    border-color: var(--brand-red);
    transform: translateY(-2px);
}

.cert-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.cert-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.cert-card p {
    font-size: 0.85rem;
    color: var(--text-medium);
}

/* Culture Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.value-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.value-card:hover {
    background: var(--brand-red);
    color: var(--white);
}

.value-card:hover p {
    color: rgba(255,255,255,0.85);
}

.value-card .value-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-red);
    margin-bottom: 8px;
}

.value-card:hover .value-num {
    color: var(--white);
}

.value-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.value-card p {
    font-size: 0.8rem;
    color: var(--text-medium);
}

/* ============================================
   Products Page
   ============================================ */
.product-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border);
}

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

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

.product-section-header h2 {
    font-size: 1.8rem;
    color: var(--brand-red);
    margin-bottom: 8px;
}

.product-section-header .en-name {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
}

.product-section-header .series-desc {
    max-width: 700px;
    margin: 16px auto 0;
    color: var(--text-medium);
    font-size: 0.95rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.product-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}

.product-detail-info {
    padding: 28px;
}

.product-detail-info h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.product-detail-info .en-name {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
    font-style: italic;
}

.product-detail-info .desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 16px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.spec-table th,
.spec-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.spec-table th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-dark);
    width: 40%;
}

.spec-table td {
    color: var(--text-medium);
}

/* ============================================
   Quality Page
   ============================================ */
.quality-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.05rem;
    color: var(--text-medium);
    line-height: 1.9;
}

.quality-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
    padding: 30px 16px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--brand-red);
    font-weight: 700;
}

.process-num {
    width: 50px;
    height: 50px;
    background: var(--brand-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
    font-weight: 700;
}

.process-step h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

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

/* ============================================
   News Page
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.news-card-image {
    height: 200px;
    background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.news-card-body {
    padding: 20px;
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.news-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-card-body p {
    font-size: 0.88rem;
    color: var(--text-medium);
    line-height: 1.6;
}

/* ============================================
   Product List Page (Level 2)
   ============================================ */
.product-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-list-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    display: block;
}

.product-list-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--brand-red);
}

.product-list-card .card-image {
    height: 220px;
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition);
}

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

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

.product-list-card:hover .card-image {
    background: linear-gradient(135deg, rgba(196,30,58,0.05), rgba(196,30,58,0.1));
}

.product-list-card .card-body {
    padding: 24px;
}

.product-list-card .card-body h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.product-list-card .card-body .card-en {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 10px;
}

.product-list-card .card-body .card-desc {
    font-size: 0.9rem;
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 12px;
}

.product-list-card .card-body .card-count {
    font-size: 0.8rem;
    color: var(--brand-red);
    font-weight: 600;
}

/* ============================================
   Product Detail Page (Level 3)
   ============================================ */
.product-detail-hero {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: var(--white);
    padding: 100px 0 60px;
    margin-top: 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-detail-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(196,30,58,0.2), transparent 70%);
}

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

.product-detail-hero .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: var(--transition);
}

.product-detail-hero .back-link:hover {
    color: var(--white);
}

.product-detail-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.product-detail-hero .hero-en {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}

.product-detail-hero .hero-desc {
    max-width: 700px;
    margin: 16px auto 0;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    line-height: 1.7;
}

.product-detail-content {
    padding: 60px 0;
}

.product-item-full {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.product-item-full .item-image {
    min-height: 300px;
    background: linear-gradient(135deg, #fafafa, #f0f0f0);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-item-full .item-image img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.product-item-full .item-info {
    padding: 36px;
}

.product-item-full .item-info h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.product-item-full .item-info .item-en {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 12px;
}

.product-item-full .item-info .item-desc {
    font-size: 0.95rem;
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.7;
}

.product-item-full .item-info .item-applications {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-item-full .item-info .item-tag {
    padding: 4px 12px;
    background: rgba(196,30,58,0.08);
    color: var(--brand-red);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-item-full .spec-table {
    margin-top: 0;
}

.spec-table-wrapper {
    overflow-x: auto;
}

.product-cta-section {
    text-align: center;
    padding: 40px 0 60px;
}

.product-cta-section .btn {
    margin: 0 8px;
}

/* Breadcrumb */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--text-medium);
}

.breadcrumb a {
    color: var(--brand-red);
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--text-light);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h2,
.contact-form-wrap h2 {
    font-size: 1.6rem;
    margin-bottom: 24px;
    color: var(--text-dark);
}

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

.contact-info-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-item h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.contact-info-item p {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Form */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group label .required {
    color: var(--brand-red);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 3px rgba(196,30,58,0.1);
}

.form-control::placeholder {
    color: var(--text-light);
}

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

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    accent-color: var(--brand-red);
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.form-success .success-icon {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-medium);
}

.map-placeholder {
    width: 100%;
    height: 350px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 30px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .certs-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .quality-process { grid-template-columns: repeat(2, 1fr); }
    .process-step:not(:last-child)::after { display: none; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-list-grid { grid-template-columns: repeat(2, 1fr); }
    .product-item-full { grid-template-columns: 1fr; }

    .header .container { padding: 0 16px; }
    .header-inner { height: 64px; gap: 12px; }
    .logo-zh { font-size: 0.9rem; }
    .logo-en { font-size: 0.65rem; }
    .nav { justify-content: flex-end; }
    .nav-list { display: flex; gap: 0; }
    .nav-link { padding: 8px 10px; font-size: 0.82rem; }
    .mobile-menu-btn { display: none; }

    .dropdown-menu {
        min-width: 180px;
    }

    .dropdown-menu li a {
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    .page-banner { margin-top: 64px; height: 240px; }
    .product-detail-hero { margin-top: 64px; padding: 80px 0 40px; }
    .hero-title { font-size: 2.2rem; }
    .about-brief-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 1.8rem; }
    .product-detail-hero h1 { font-size: 1.8rem; }

    .timeline::before { left: 30px; }
    .timeline-item,
    .timeline-item:nth-child(even) { flex-direction: row; }
    .timeline-year { flex: 0 0 80px; font-size: 1.2rem; }
    .timeline-dot { left: 30px; }
    .timeline-content { margin: 0 0 0 50px; }
}

@media (max-width: 640px) {
    .products-grid { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .certs-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .quality-process { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-list-grid { grid-template-columns: 1fr; }
    .product-item-full { grid-template-columns: 1fr; }

    .header .container { padding: 0 12px; }
    .header-inner { height: 56px; gap: 8px; }
    .logo-icon { font-size: 1.5rem; }
    .logo-zh { font-size: 0.78rem; }
    .logo-en { display: none; }
    .nav-link { padding: 6px 8px; font-size: 0.75rem; }
    .dropdown-menu { min-width: 150px; }
    .dropdown-menu li a { padding: 6px 12px; font-size: 0.75rem; }

    .hero-title { font-size: 1.7rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-features { flex-direction: column; align-items: center; }
    .section-title { font-size: 1.5rem; }
    .section { padding: 50px 0; }
    .page-banner { height: 200px; margin-top: 56px; }
    .page-banner h1 { font-size: 1.8rem; }
    .cta-card { padding: 40px 20px; }
    .cta-card h2 { font-size: 1.5rem; }
    .product-detail-hero { padding: 70px 0 40px; margin-top: 56px; }
    .product-detail-hero h1 { font-size: 1.5rem; }

    .timeline-year { flex: 0 0 60px; font-size: 1rem; }
    .timeline-content { margin: 0 0 0 40px; padding: 14px; }
}
