/* ANPUNA Product Page Template - Unified Styles */

:root {
    --primary: #003366;
    --primary-light: #0066CC;
    --primary-dark: #002244;
    --accent: #CC0000;
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg-light: #F5F7FA;
    --bg-lighter: #E8ECF2;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

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

.btn-quote {
    background: var(--accent);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.3s;
}

.btn-quote:hover { background: #990000; }

/* ========== HERO SECTION ========== */
.product-hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: var(--bg-lighter);
}

.product-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,51,102,0.95));
    padding: 60px 20px 40px;
    color: var(--white);
}

.hero-overlay h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-overlay p {
    font-size: 20px;
    opacity: 0.9;
}

/* ========== SECTION TITLES ========== */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
}

/* ========== OVERVIEW SECTION ========== */
.product-overview {
    padding: 80px 0;
    background: var(--white);
}

.overview-content {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.overview-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 20px;
}

.key-specs {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.spec-card {
    background: var(--bg-light);
    padding: 25px 35px;
    border-radius: 8px;
    text-align: center;
    min-width: 200px;
}

.spec-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.spec-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========== SPECS TABLE ========== */
.product-specs {
    padding: 80px 0;
    background: var(--bg-light);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.specs-table thead {
    background: var(--primary);
    color: var(--white);
}

.specs-table th {
    padding: 18px 15px;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
}

.specs-table td {
    padding: 16px 15px;
    border-bottom: 1px solid var(--bg-lighter);
    font-size: 14px;
}

.specs-table tbody tr:hover {
    background: #F8FAFC;
}

/* ========== FEATURES ========== */
.product-features {
    padding: 80px 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--bg-light);
    padding: 35px 30px;
    border-radius: 8px;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-num {
    font-size: 48px;
    font-weight: 800;
    color: rgba(0,102,204,0.1);
    position: absolute;
    top: 15px;
    right: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== APPLICATIONS ========== */
.product-applications {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.app-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
}

.app-num {
    font-size: 36px;
    font-weight: 800;
    color: rgba(0,102,204,0.15);
    margin-bottom: 15px;
}

.app-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

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

/* ========== CTA ========== */
.product-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    text-align: center;
    color: var(--white);
}

.product-cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-cta p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* ========== VIDEO SECTION ========== */
.product-video {
    padding: 80px 0;
    background: var(--bg-light);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    padding-bottom: 56.25%; /* 16:9 比例 */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-description {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.video-description p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: #990000;
    transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    font-size: 13px;
}

/* ========== PAGE HERO ========== */
.page-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.9;
}

/* ========== FILTER SECTION ========== */
.product-filter {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--bg-lighter);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    background: var(--white);
    border: 2px solid var(--border-light);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ========== PRODUCTS GRID ========== */
.products-grid-section {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--bg-lighter);
}

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

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

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-info p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.meta-tag {
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    text-align: center;
}

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

.btn-primary:hover {
    background: #990000;
    transform: translateY(-2px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 36px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        text-align: center;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    .features-grid,
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-overlay h1 { font-size: 36px; }
    .section-title { font-size: 28px; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    
    .features-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .key-specs {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-overlay h1 { font-size: 28px; }
    .hero-overlay p { font-size: 16px; }
    .section-title { font-size: 24px; }
    
    .specs-table {
        font-size: 12px;
    }
    
    .specs-table th,
    .specs-table td {
        padding: 12px 10px;
    }
}
