/* ========== 新增模块通用样式（整理版） ========== */
:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --accent: #e65100;
    --accent-light: #fff3e0;
    --text: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg: #f8f9fa;
    --border: #e8e8e8;
    --border-light: #f0f0f0;
    --white: #fff;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* ========== 通用组件 ========== */
.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding-left: 1rem;
}
.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
}
.section-title .more-link {
    margin-left: auto;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}
.section-title .more-link:hover {
    color: var(--primary-dark);
    gap: 0.5rem;
}
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ========== 产品中心 ========== */
.product-center {
    padding: 3rem 0;
    background: var(--white);
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.product-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    background: var(--bg);
}
.product-card-body {
    padding: 0.875rem 1rem;
}
.product-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.375rem;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--primary);
    background: rgba(26,115,232,0.08);
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.25rem;
}

/* ========== 公司简介 ========== */
.company-intro {
    padding: 3rem 0;
    background: var(--bg);
}
.company-intro-inner {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}
.company-intro-img {
    flex: 0 0 380px;
    height: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.company-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.company-intro-content {
    flex: 1;
}
.company-intro-content h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    font-weight: 600;
}
.company-intro-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}
.company-intro-content .highlight {
    color: var(--primary);
    font-weight: 600;
}
.company-intro-content .intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.company-intro-content .intro-tag {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--white);
    border: 1px solid var(--border);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

/* ========== 发货信息 ========== */
.shipping-info {
    padding: 3rem 0;
    background: var(--white);
}
.shipping-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.shipping-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.04);
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    border: 1px solid #f0f0f0;
}
.shipping-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
    border-color: #e0e8f0;
}
.shipping-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    border-radius: 16px 16px 0 0;
}
.shipping-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.shipping-card:hover .shipping-card-img img {
    transform: scale(1.05);
}
.shipping-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.25), transparent);
    pointer-events: none;
    z-index: 1;
}

/* 已签收标签 */
.shipping-badge {
    position: absolute;
    top: 12px;
    left: 0;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px 7px 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 0 20px 20px 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 1px;
    box-shadow: 2px 2px 8px rgba(16, 185, 129, 0.35);
}
.shipping-badge .check-icon {
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.shipping-badge .check-icon svg {
    width: 10px;
    height: 10px;
    color: #059669;
}

.shipping-card-body {
    padding: 16px 18px 18px;
}
.shipping-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shipping-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 12px;
}
.shipping-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #888;
}
.shipping-card-meta svg {
    width: 14px;
    height: 14px;
    color: #b0b8c4;
    flex-shrink: 0;
}
.shipping-card-review {
    font-size: 0.82rem;
    color: #374151;
    background: #f0fdf4;
    padding: 12px 14px;
    border-radius: 10px;
    line-height: 1.6;
    border-left: 3px solid #10b981;
}

/* ========== 意向动态 & 意向登记 ========== */
.intent-section {
    padding: 3rem 0;
    background: var(--bg);
}
.intent-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* 意向动态 */
.intent-dynamic {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}
.intent-dynamic-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}
.intent-dynamic-header .live-dot {
    width: 8px;
    height: 8px;
    background: #34a853;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}
.intent-dynamic-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}
.intent-dynamic-header .live-text {
    font-size: 0.75rem;
    color: #34a853;
    margin-left: auto;
}
.intent-scroll {
    height: 320px;
    overflow: hidden;
    position: relative;
}
.intent-scroll-inner {
    animation: scrollUp 20s linear infinite;
}
@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
.intent-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px dashed var(--border-light);
    font-size: 0.85rem;
    color: var(--text-light);
}
.intent-item:last-child { border-bottom: none; }
.intent-item .intent-avatar {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), #4285f4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
}
.intent-item .intent-text {
    flex: 1;
    line-height: 1.5;
}
.intent-item .intent-text strong {
    color: var(--text);
}
.intent-item .intent-text .intent-product {
    color: var(--primary);
    font-weight: 600;
}
.intent-item .intent-time {
    flex: 0 0 auto;
    font-size: 0.75rem;
    color: var(--text-lighter);
    white-space: nowrap;
}

/* 意向登记表单 */
.intent-form-wrap {
    background: linear-gradient(135deg, var(--primary) 0%, #4285f4 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow);
}
.intent-form-wrap h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}
.intent-form-wrap .form-subtitle {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-bottom: 1.25rem;
}
.intent-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.intent-form .form-group {
    margin-bottom: 0.75rem;
}
.intent-form .form-group.full {
    grid-column: 1 / -1;
}
.intent-form input,
.intent-form textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    background: rgba(255,255,255,0.12);
    color: var(--white);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
}
.intent-form input::placeholder,
.intent-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}
.intent-form input:focus,
.intent-form textarea:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.6);
}
.intent-form textarea {
    resize: none;
    height: 80px;
}
.intent-form .submit-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--white);
    color: var(--primary);
    border: none;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.25rem;
}
.intent-form .submit-btn:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.intent-form .form-privacy {
    text-align: center;
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0.75rem;
}

/* ========== 资讯推荐 ========== */
.news-section {
    padding: 3rem 0;
    background: var(--white);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.news-col {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    transition: var(--transition);
}
.news-col:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}
.news-col-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-light);
}
.news-col-header .news-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}
.news-col-header h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}
.news-col-header .news-icon.company { background: #e3f2fd; color: #1976d2; }
.news-col-header .news-icon.industry { background: #fff3e0; color: #f57c00; }
.news-col-header .news-icon.tech { background: #e8f5e9; color: #388e3c; }
.news-col-header .news-icon.moment { background: #fce4ec; color: #c2185b; }
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed var(--border-light);
    font-size: 0.85rem;
    line-height: 1.5;
}
.news-list li:last-child { border-bottom: none; }
.news-list li a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    gap: 0.375rem;
    transition: var(--transition);
}
.news-list li a::before {
    content: '·';
    color: var(--primary);
    font-weight: bold;
    flex-shrink: 0;
}
.news-list li a:hover {
    color: var(--primary);
}

/* ========== 栏目友链 ========== */
.friend-links-section {
    padding: 2rem 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.friend-links-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    font-size: 0.8rem;
    color: var(--text-lighter);
}
.friend-links-inner .fl-label {
    font-weight: 600;
    color: var(--text-light);
    margin-right: 0.5rem;
}
.friend-links-inner a {
    color: var(--text-lighter);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}
.friend-links-inner a:hover {
    color: var(--primary);
}
.friend-links-inner .fl-sep {
    color: var(--border);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .product-grid,
    .shipping-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .company-intro-inner {
        flex-direction: column;
    }
    .company-intro-img {
        flex: none;
        width: 100%;
        height: 200px;
    }
    .intent-wrapper {
        grid-template-columns: 1fr;
    }
    .intent-form .form-row {
        grid-template-columns: 1fr;
    }
    .shipping-grid .shipping-card-img {
        aspect-ratio: 4 / 3;
    }
    .section-title-wrap {
        flex-direction: column;
        align-items: flex-start;
    }
    .section-title-wrap span {
        padding-left: 0;
        margin-top: 4px;
    }
}

@media (max-width: 640px) {
    .product-grid,
    .shipping-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    .product-card-img {
        height: 120px;
    }
    .product-card-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}