@charset "UTF-8";
/*
 * @kanway-css-index
 * 文件: css/product/product.css
 * 层级: 产品列表
 * 引用页面: Product-Light/Sockets/Hotel/Information/Catalog.html
 * 依赖: css/shared/header.css
 * 修改指引: 筛选 .case-filters；卡片 .case-card；CTA .product-cta
 * 索引: css/00-样式文件索引.css
 */
/* =====================================================
 * Product Center - Styles
 * Guangdong Kanway Smart Technology Co., Ltd.
 * Lutron/Crestron B2B IoT Professional Style
 * 
 * Merged from: Product/style.css (old float grid)
 *              Product/Product.css (new standard)
 * ===================================================== */

/* CSS Variables */
:root {
    --primary-blue: #1D5198;
    --secondary-blue: #3a7bd5;
    --dark-bg: #0a1628;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #6c757d;
    --accent-orange: #e67e22;
    --border-color: #e1e5ea;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
    --transition: all 0.3s ease;
}

/* =====================================================
 * PRODUCT SECTION - Main Wrapper
 * ===================================================== */
.product-section {
    padding: 10px 0 50px;
    background: var(--white);
}

/* =====================================================
 * PRODUCT HERO - Category Showcase
 * ===================================================== */
.product-hero {
    position: relative;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    overflow: hidden;
    margin-bottom: 20px;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(29,81,152,0.75) 100%);
}

.product-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: var(--kh-shell-max, 1450px);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--kh-shell-pad-x, 20px);
    padding-right: var(--kh-shell-pad-x, 20px);
    box-sizing: border-box;
}

.product-hero .hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.product-hero .hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.product-hero .hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* =====================================================
 * PRODUCT CATEGORIES - Section Header
 * ===================================================== */
.product-categories {
    margin-bottom: 80px;
}

.product-categories .section-header,
.product-list .section-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.product-categories .section-header h2,
.product-list .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-categories .section-header p,
.product-list .section-header p {
    font-size: 16px;
    color: var(--text-light);
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* =====================================================
 * PRODUCT GRID - Image-based Grid (user preferred)
 * Merged from old style.css .gridlist .item,
 * modernized with CSS grid + variables
 * ===================================================== */
.product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    min-width: 0;
}

.product-list {
    min-width: 0;
}

/* In-page #smart-switch / submenu anchors — offset fixed header when scrolling */
.kh-product-anchor-target {
    scroll-margin-top: 100px;
}

.kh-product-nav-anchors span[id] {
    display: block;
    height: 0;
    overflow: hidden;
    scroll-margin-top: 100px;
}

.product-item {
    position: relative;
    min-width: 0;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.product-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Label tag on image */
.product-item .product-label {
    position: absolute;
    top: 14px;
    left: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
    padding: 6px 16px;
    background-color: var(--primary-blue);
    border-radius: 0 4px 4px 0;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* Image area */
.product-item .product-img {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8eef5 0%, #d0dbe8 100%);
}

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

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

/* Bottom info bar */
.product-item .product-more {
    display: block;
    height: 50px;
    line-height: 50px;
    color: var(--text-dark);
    font-size: 14px;
    border-top: 1px solid var(--border-color);
    padding: 0 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-item .product-more .highlight {
    color: var(--primary-blue);
    font-weight: 700;
}

/* =====================================================
 * PRODUCT CTA SECTION
 * ===================================================== */
.product-cta {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--primary-blue) 100%);
    padding: 80px 0;
    text-align: center;
}

.product-cta h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.product-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin: 0 auto 32px;
}

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

.product-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--white);
    color: var(--primary-blue);
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.product-cta .btn-primary:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}

.product-cta .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.4);
    text-decoration: none;
    transition: var(--transition);
}

.product-cta .btn-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}

/* =====================================================
 * PRODUCT HIGHLIGHTS - Why Choose Kanway
 * ===================================================== */
.product-highlights {
    padding: 80px 0;
    background: var(--light-bg);
}

.product-highlights .section-header {
    text-align: center;
    margin-bottom: 50px;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.product-highlights .section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-highlights .section-header p {
    font-size: 16px;
    color: var(--text-light);
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

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

.highlight-card {
    background: var(--white);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.highlight-card .icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-card .icon-wrap i {
    font-size: 28px;
    color: var(--white);
}

.highlight-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
}

/* =====================================================
 * PRODUCT MAIN CONTENT WRAPPER
 * ===================================================== */
.product-main {
    padding: 60px 0;
    background: #fff;
    overflow-x: hidden;
}

.product-main > .container {
    min-width: 0;
}

/* .product-main .container — 版心见 header.css */

/* =====================================================
 * PRODUCT HERO (Content Area)
 * ===================================================== */
.product-hero {
    text-align: center;
    padding: 40px 0 60px;
}

.product-hero h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.product-hero p {
    font-size: 18px;
    color: var(--text-light);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.7;
    box-sizing: border-box;
}

/* =====================================================
 * PRODUCT CATEGORIES GRID
 * ===================================================== */
.product-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    min-width: 0;
}

.product-category-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    min-width: 0;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-blue);
}

.pcard-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pcard-icon i {
    font-size: 28px;
    color: #fff;
}

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

.product-category-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pcard-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-blue);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.pcard-link:hover {
    color: var(--secondary-blue);
    gap: 12px;
}




/* =====================================================
 * CTA SECTION
 * ===================================================== */
.product-cta {
    text-align: center;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 16px;
}

.product-cta h3 {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.product-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    background: #fff;
    color: var(--primary-blue);
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--dark-bg);
    color: #fff;
    transform: translateY(-2px);
}

/* =====================================================
 * RESPONSIVE STYLES
 * ===================================================== */
@media (max-width: 1200px) {
    .product-categories {
        grid-template-columns: repeat(2, 1fr);
    }
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-categories,
    .why-grid,
    .product-stats {
        grid-template-columns: 1fr;
    }
    .product-hero h2 {
        font-size: 28px;
    }
    .product-cta h3 {
        font-size: 24px;
    }
}

/* =====================================================
 * HERO BADGES
 * ===================================================== */
.product-hero .hero-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.product-hero .hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.product-hero .hero-badges i {
    font-size: 18px;
    color: #4ade80;
}

/* =====================================================
 * PRODUCT CARD IMAGE
 * ===================================================== */
.pcard-img {
    width: calc(100% + 60px);
    max-width: none;
    height: 260px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(135deg, #f0f4f8, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -30px -30px 0;
}

.pcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.pcard-content {
    padding-top: 20px;
}

.pcard-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.pcard-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.pcard-features li {
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.pcard-features li i {
    font-size: 14px;
    color: var(--primary-blue);
}

/* =====================================================
 * APPLICATION SCENES
 * ===================================================== */
.app-scenes {
    padding: 60px 0;
    margin-bottom: 60px;
}

.app-scenes h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.scene-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    min-width: 0;
}

.scene-card {
    min-width: 0;
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition);
}

.scene-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-blue);
}

.scene-img {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.scene-img i {
    font-size: 32px;
    color: #fff;
}

.scene-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

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

/* =====================================================
 * TESTIMONIALS
 * ===================================================== */
.testimonials {
    padding: 60px 0;
    background: var(--light-bg);
    margin-bottom: 60px;
}

.testimonials h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 40px;
}

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

.testi-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testi-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 40px;
    color: var(--secondary-blue);
    opacity: 0.3;
}

.testi-text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testi-author strong {
    display: block;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.testi-author span {
    font-size: 14px;
    color: var(--text-light);
}

/* =====================================================
 * CTA BUTTONS (Enhanced)
 * ===================================================== */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.cta-btn-outline:hover {
    background: #fff;
    color: var(--primary-blue);
}

/* =====================================================
 * RESPONSIVE (Application Scenes & Testimonials)
 * ===================================================== */
@media (max-width: 1200px) {
    .scene-grid,
    .testi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .scene-grid,
    .testi-grid {
        grid-template-columns: 1fr;
    }
    .product-hero .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}

/* Nav hash targets: zero layout height (was flex+gap and caused huge blank above PRODUCT CENTER) */
.kh-product-nav-anchors {
    position: relative;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: visible;
    pointer-events: none;
    line-height: 0;
    font-size: 0;
}

.kh-product-nav-anchors > span {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    scroll-margin-top: 96px;
}
