/* ===== Product Hero Carousel ===== */
.product-hero-carousel { position: relative; height: 100vh; min-height: 520px; overflow: hidden; background: #0a1428; }
.product-hero-carousel.phc-short { height: 480px; min-height: auto; margin-top: 72px; }
.phc-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.phc-slide.active { opacity: 1; }
.phc-slide img { width: 100%; height: 100%; object-fit: cover; }
.phc-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,20,40,.7) 0%, rgba(10,20,40,.3) 50%, rgba(10,20,40,.1) 100%); }
.phc-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.phc-content h1 { font-size: 42px; font-weight: 700; color: #fff; margin-bottom: 12px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.phc-content p { font-size: 18px; color: rgba(255,255,255,.85); text-shadow: 0 1px 6px rgba(0,0,0,.2); }
.phc-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); backdrop-filter: blur(4px); color: #fff; font-size: 18px; cursor: pointer; z-index: 5; transition: .3s; display: flex; align-items: center; justify-content: center; }
.phc-nav:hover { background: var(--primary); border-color: var(--primary); }
.phc-prev { left: 24px; }
.phc-next { right: 24px; }
.phc-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.phc-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; transition: .3s; padding: 0; }
.phc-dots button.active { background: #fff; transform: scale(1.2); }

@media (max-width: 768px) {
    .product-hero-carousel { min-height: 400px; }
    .product-hero-carousel.phc-short { height: 320px; min-height: auto; }
    .phc-content h1 { font-size: 28px; }
    .phc-content p { font-size: 15px; }
    .phc-nav { width: 36px; height: 36px; font-size: 14px; }
}

/* ===== Page Banner ===== */
.page-banner { position: relative; height: 320px; margin-top: 72px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.page-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-banner-bg::after { content: ''; position: absolute; inset: 0; background: rgba(10,20,40,.7); }
.page-banner-content { position: relative; z-index: 2; text-align: center; }
.page-banner-content h1 { font-size: 40px; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.page-banner-content p { font-size: 18px; color: rgba(255,255,255,.8); }

/* ===== Product Tabs ===== */
.product-tabs { display: flex; gap: 8px; margin-bottom: 40px; flex-wrap: wrap; justify-content: center; }
.product-tab { padding: 12px 28px; border: 2px solid var(--border); background: var(--white); border-radius: 30px; font-size: 15px; font-weight: 500; cursor: pointer; transition: var(--transition); color: var(--text); }
.product-tab:hover { border-color: var(--primary); color: var(--primary); }
.product-tab.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.product-panel { display: none; }
.product-panel.active { display: block; }

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

/* ===== Product List Grid ===== */
.product-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-list-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); display: flex; flex-direction: column; }
.product-list-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: transparent; }
.plc-img { height: 240px; overflow: hidden; background: #f9f9f9; }
.plc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-list-card:hover .plc-img img { transform: scale(1.05); }
.plc-info { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.plc-info h3 { font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.plc-model { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 10px; display: block; }
.plc-info p { font-size: 14px; color: var(--text-light); line-height: 1.6; flex: 1; margin-bottom: 16px; }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.plc-detail-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--primary); text-decoration: none; transition: var(--transition); }
.plc-detail-link:hover { gap: 10px; }
.plc-detail-link i { font-size: 12px; transition: var(--transition); }

.product-list-card.fade-in, .solution-detail-card.fade-in { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.product-list-card.fade-in.visible, .solution-detail-card.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Solutions Page ===== */
.solutions-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.solution-detail-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.solution-detail-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.sdc-img { height: 220px; overflow: hidden; }
.sdc-img img { width: 100%; height: 100%; object-fit: cover; }
.sdc-body { padding: 28px; }
.sdc-body h3 { font-size: 20px; font-weight: 600; color: var(--dark); margin-bottom: 12px; }
.sdc-body p { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 16px; }
.sdc-features { list-style: none; margin-bottom: 20px; }
.sdc-features li { font-size: 14px; color: var(--text); padding: 4px 0; display: flex; align-items: center; gap: 8px; }
.sdc-features li i { color: var(--primary); font-size: 12px; }

/* ===== About Page ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-intro-text h2 { font-size: 28px; font-weight: 700; color: var(--dark); margin-bottom: 20px; line-height: 1.4; }
.about-intro-text p { font-size: 15px; color: var(--text-light); line-height: 1.9; margin-bottom: 16px; }
.about-intro-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.timeline { position: relative; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border); transform: translateX(-50%); }
.timeline-item { display: flex; align-items: center; margin-bottom: 40px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-dot { position: absolute; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--primary); z-index: 1; }
.timeline-content { width: 45%; padding: 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline-year { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.timeline-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.brands-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.brand-item { padding: 24px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--border); }
.brand-item h4 { font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.brand-item p { font-size: 13px; color: var(--text-light); }

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

/* ===== Contact Page ===== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-cards { display: grid; gap: 20px; margin-bottom: 30px; }
.contact-info-card { display: flex; align-items: flex-start; gap: 16px; padding: 24px; background: var(--bg-light); border-radius: var(--radius); }
.contact-info-card i { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: var(--white); border-radius: 50%; font-size: 20px; flex-shrink: 0; }
.contact-info-card h4 { font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.contact-info-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }
.contact-form { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 22px; font-weight: 600; color: var(--dark); margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; font-family: inherit; transition: var(--transition); outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26,86,219,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ===== Responsive for pages ===== */
@media (max-width: 1024px) {
    .product-list-grid, .solutions-page-grid, .news-page-grid { grid-template-columns: repeat(2, 1fr); }
    .about-intro { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(3, 1fr); }
    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(odd) { flex-direction: row; padding-left: 50px; }
    .timeline-dot { left: 20px; }
    .timeline-content { width: 100%; }
}

@media (max-width: 768px) {
    .page-banner { height: 240px; }
    .page-banner-content h1 { font-size: 28px; }
    .product-list-grid, .solutions-page-grid, .news-page-grid { grid-template-columns: 1fr; }
    .product-tabs { gap: 6px; }
    .product-tab { padding: 10px 18px; font-size: 13px; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
}
