﻿/* ============================================
       Index Page - 俱成管业官网首页
       ============================================ */

/* === Hero Section === */
.hero {
    position: relative;
    min-height: 680px;
    padding: 140px 0 100px;
    overflow: hidden;
    background: var(--jc-blue-900);
}
.hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(32,33,92,0.85) 0%, rgba(78,78,164,0.65) 50%, rgba(32,33,92,0.85) 100%);
    z-index: 1;
}
.hero-grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
}
.hero-glow {
    position: absolute;
    width: 600px; height: 600px;
    top: -200px; right: -100px;
    background: radial-gradient(circle, rgba(218,170,98,0.25) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 720px; }
.hero-eyebrow {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(218,170,98,0.15);
    border: 1px solid rgba(218,170,98,0.35);
    color: var(--jc-amber-500);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: 999px;
    margin-bottom: var(--space-5);
    letter-spacing: 0.03em;
}
.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: #FFFFFF;
    margin-bottom: var(--space-4);
    letter-spacing: -0.01em;
}
.hero-title strong {
    color: var(--jc-amber-500);
    font-weight: 800;
}
.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: var(--space-7);
    max-width: 620px;
}
.hero-ctas {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
    flex-wrap: wrap;
}
.hero-ctas .btn {
    height: 52px;
    padding: 0 var(--space-6);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-md);
}
.hero-stats {
    display: flex;
    gap: var(--space-8);
    flex-wrap: wrap;
}
.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero-stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1;
    font-family: var(--font-serif);
}
.hero-stat-label {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.6);
}

/* === Advantages Section === */
.advantages-section { background: #FFFFFF; }
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
}
.advantage-card {
    background: #FFFFFF;
    border: 1px solid var(--jc-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(78,78,164,0.12);
    border-color: var(--jc-primary);
}
.advantage-image {
    height: 180px;
    overflow: hidden;
}
.advantage-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.advantage-card:hover .advantage-image img { transform: scale(1.05); }
.advantage-content {
    padding: var(--space-5);
}
.advantage-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--jc-primary);
    margin-bottom: var(--space-2);
}
.advantage-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--jc-gray-900);
    margin-bottom: var(--space-2);
}
.advantage-desc {
    font-size: var(--text-sm);
    color: var(--jc-gray-600);
    line-height: var(--leading-relaxed);
}

/* === Brands Section === */
.brands-section { background: var(--jc-gray-50); }
.brands-note {
    text-align: center;
    margin-top: var(--space-6);
    font-size: var(--text-sm);
    color: var(--jc-gray-500);
}
.brands-note strong { color: var(--jc-primary); }

/* === Industries Section === */
.industries-section { background: #FFFFFF; }
.industries-header {
    position: relative;
    margin-bottom: var(--space-8);
}
.products-header {
    position: relative;
    margin-bottom: var(--space-8);
}
.view-all-link {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--jc-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
.view-all-link:hover { color: var(--jc-amber-500); }
.view-all-link svg { width: 16px; height: 16px; }
.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}
.industry-card {
    background: #FFFFFF;
    border: 1px solid var(--jc-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(78,78,164,0.12);
    border-color: var(--jc-primary);
}
.industry-image {
    height: 200px;
    overflow: hidden;
}
.industry-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.industry-card:hover .industry-image img { transform: scale(1.05); }
.industry-content {
    padding: var(--space-5);
    flex: 1;
    display: flex;
    flex-direction: column;
}
.industry-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--jc-gray-900);
    margin-bottom: var(--space-2);
}
.industry-desc {
    font-size: var(--text-sm);
    color: var(--jc-gray-600);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-4);
    flex: 1;
}
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}
.industry-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--jc-primary);
    background: rgba(78,78,164,0.08);
    border-radius: 999px;
}
.industry-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--jc-primary);
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s ease;
}
.industry-link:hover { gap: var(--space-2); color: var(--jc-amber-500); }
.industry-link svg { width: 16px; height: 16px; }

/* === Stats Banner === */
.stats-banner {
    background: linear-gradient(135deg, var(--jc-blue-800) 0%, var(--jc-blue-900) 100%);
    padding: var(--space-10) 0;
    position: relative;
    overflow: hidden;
}
.stats-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
.stats-banner .container { position: relative; z-index: 1; }
.stats-header {
    text-align: center;
    margin-bottom: var(--space-7);
}
.stats-header .section-title { color: #FFFFFF; }
.stats-header .section-eyebrow { color: var(--jc-amber-500); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}
.stat-item { text-align: center; }
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--jc-amber-500);
    line-height: 1;
    margin-bottom: var(--space-2);
    font-family: var(--font-serif);
}
.stat-label {
    font-size: var(--text-sm);
    color: rgba(255,255,255,0.7);
}

/* === Products Section === */
.products-section { background: var(--jc-gray-50); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}
.product-card {
    background: #FFFFFF;
    border: 1px solid var(--jc-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(78,78,164,0.12);
    border-color: var(--jc-primary);
}
.product-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.product-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.product-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #FFFFFF;
    background: var(--jc-primary);
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
}
.product-content { padding: var(--space-5); }
.product-series {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--jc-gray-900);
    margin-bottom: 4px;
}
.product-series a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}
.product-series a:hover {
    color: var(--jc-primary);
}
.product-material {
    font-size: var(--text-xs);
    color: var(--jc-gray-500);
    margin-bottom: var(--space-4);
    display: block;
}
.product-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-5);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2) var(--space-4);
}
.product-specs li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.spec-label {
    font-size: 11px;
    color: var(--jc-gray-400);
}
.spec-value {
    font-size: var(--text-xs);
    color: var(--jc-gray-700);
    font-weight: 500;
}
.product-inquiry {
    width: 100%;
    height: 40px;
    font-size: var(--text-sm);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .hero { min-height: 560px; padding: 120px 0 80px; }
    .hero-title { font-size: 2.5rem; }
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
    .stat-number { font-size: 2.5rem; }
}
@media (max-width: 768px) {
    .hero { min-height: auto; padding: 100px 0 60px; }
    .hero-title { font-size: 2rem; }
    .hero-stats { gap: var(--space-6); }
    .hero-stat-number { font-size: 1.75rem; }
    .advantages-grid { grid-template-columns: 1fr; }
    .industries-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .industries-header, .products-header {
        padding-bottom: var(--space-10);
    }
    .view-all-link {
        top: auto;
        bottom: 0;
        right: 50%;
        transform: translateX(50%);
    }
}
