/* ============================================
   PENGWEI V2 - Corporate CCTV Manufacturer Site
   Color Scheme: Blue-based professional theme
   ============================================ */

/* ========== RESET & BASE ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a4b8c;
    --primary-dark: #0d2e5c;
    --primary-light: #2563a8;
    --accent: #e8392d;
    --accent-hover: #c72e23;
    --text-dark: #222222;
    --text-body: #555555;
    --text-light: #888888;
    --bg-white: #ffffff;
    --bg-light: #f5f7fa;
    --bg-dark: #0d2e5c;
    --border: #e0e5ec;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-lg: rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-main: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 57, 45, 0.3);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

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

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    margin-top: 8px;
}

/* ========== LANGUAGE SWITCH ========== */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.lang-switch {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 3px;
    transition: var(--transition);
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
    user-select: none;
}

.lang-switch:hover {
    color: rgba(255, 255, 255, 0.8);
}

.lang-switch.active {
    background: var(--accent);
    color: #fff;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    user-select: none;
}

/* ========== TOP BAR ========== */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left i {
    color: var(--accent);
    font-size: 12px;
}

.top-bar-right {
    display: flex;
    gap: 12px;
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.7);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

.top-bar-right a:hover {
    color: #fff;
    border-color: var(--accent);
    background: var(--accent);
}

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

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo .logo-icon {
    width: 42px;
    height: 42px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

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

.logo .logo-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.1;
}

.logo .logo-slogan {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Navigation */
.nav-list {
    display: flex;
    gap: 0;
}

.nav-list > li {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 18px;
    height: 70px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.nav-link i {
    font-size: 10px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    border-bottom: 3px solid var(--accent);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 8px 30px var(--shadow-lg);
    border-top: 3px solid var(--accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark);
    font-size: 13px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 25px;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

/* ========== HERO SLIDER ========== */
.hero-slider {
    position: relative;
    height: 560px;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide[data-bg="1"],
.slide[data-bg="2"],
.slide[data-bg="3"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--primary-dark);
}

.slide::before {
    display: none;
}

.slide-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.slide-content h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 550px;
}

.slide-actions {
    display: flex;
    gap: 15px;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.slider-prev {
    left: 30px;
}

.slider-next {
    right: 30px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* ========== SECTION COMMON ========== */
.section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header.left {
    text-align: left;
}

.section-header.light .section-title {
    color: #fff;
}

.section-header.light .section-desc {
    color: rgba(255, 255, 255, 0.8);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 16px;
}

.section-line.left {
    margin: 0 0 16px;
}

.section-desc {
    font-size: 15px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== PRODUCT CATEGORIES ========== */
.products-section {
    background: var(--bg-light);
}

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

.product-category-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 15px var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-lg);
    border-color: var(--primary);
}

.pcc-image {
    height: 160px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pcc-image i {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.8);
}

.pcc-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: var(--transition);
}

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

.pcc-info {
    padding: 20px;
}

.pcc-info h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.pcc-info p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.pcc-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

.pcc-link:hover {
    color: var(--accent);
    gap: 8px;
}

/* ========== HOT PRODUCTS ========== */
.hot-products-section {
    background: #fff;
}

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

.hot-product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.hot-product-card:hover {
    box-shadow: 0 8px 30px var(--shadow-lg);
    border-color: var(--primary);
}

.hp-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 3px;
    z-index: 2;
    text-transform: uppercase;
}

.hp-badge.new {
    background: #27ae60;
}

.hp-image {
    height: 180px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hp-image i {
    font-size: 60px;
    color: var(--primary);
    opacity: 0.3;
}

.hp-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: var(--transition);
}

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

.hp-info {
    padding: 18px;
}

.hp-info h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.hp-model {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}

.hp-specs {
    margin-bottom: 14px;
}

.hp-specs li {
    font-size: 12px;
    color: var(--text-light);
    padding: 3px 0;
    border-bottom: 1px dashed var(--border);
}

.hp-specs li:last-child {
    border-bottom: none;
}

.hp-link {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--primary);
    padding: 6px 18px;
    border-radius: 3px;
    transition: var(--transition);
}

.hp-link:hover {
    background: var(--primary);
    color: #fff;
}

/* ========== WHY CHOOSE US ========== */
.why-choose-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
}

.why-choose-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='m0 40 40-40h-40v40zm40 0v-40h-40'/%3E%3C/g%3E%3C/svg%3E");
}

.why-choose-section > .container {
    position: relative;
    z-index: 1;
}

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

.why-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.why-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 18px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ========== ABOUT / COMPANY PROFILE ========== */
.about-section {
    background: #fff;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 14px;
    line-height: 1.8;
}

.about-text .btn {
    margin-top: 10px;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--shadow);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--primary);
    display: inline;
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    display: inline;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
    font-weight: 500;
}

/* ========== FACTORY & QC ========== */
.factory-section {
    background: var(--bg-light);
}

.factory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.factory-item {
    border-radius: 6px;
    overflow: hidden;
}

.factory-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.factory-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px var(--shadow-lg);
}

.factory-img i {
    font-size: 42px;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}

.factory-img:hover i {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.factory-img span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.qc-process {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 15px var(--shadow);
}

.qc-process h3 {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.qc-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.qc-step {
    text-align: center;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border);
    min-width: 140px;
    transition: var(--transition);
}

.qc-step:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--shadow);
}

.qc-step-num {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
}

.qc-step-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.qc-step-text small {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    font-weight: 400;
}

.qc-arrow {
    color: var(--primary);
    font-size: 18px;
}

/* ========== CERTIFICATES ========== */
.certificates-section {
    background: #fff;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.cert-card {
    text-align: center;
    padding: 25px 15px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow);
    border-color: var(--primary);
}

.cert-icon {
    font-size: 35px;
    color: var(--primary);
    margin-bottom: 10px;
}

.cert-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

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

/* ========== SOLUTIONS ========== */
.solutions-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    position: relative;
}

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

.solution-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.solution-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-5px);
}

.solution-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: rgba(232, 57, 45, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #fff;
}

.solution-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.solution-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* ========== NEWS ========== */
.news-section {
    background: var(--bg-light);
}

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

.news-card {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 15px var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-lg);
}

.news-img {
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.news-img i {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.25);
    transition: var(--transition);
}

.news-card:hover .news-img i {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 0.4);
}

.news-date {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 3px;
}

.news-content {
    padding: 20px;
}

.news-content h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
}

.news-link:hover {
    color: var(--accent);
    gap: 8px;
}

/* ========== CONTACT ========== */
.contact-section {
    background: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.contact-form-area h3,
.contact-info-area h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group.full {
    margin-bottom: 16px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-group label .required,
.required {
    color: var(--accent);
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-main);
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26, 75, 140, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Contact Info */
.contact-info-list {
    margin-bottom: 24px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.ci-icon {
    width: 42px;
    height: 42px;
    background: var(--bg-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-item.whatsapp .ci-icon {
    background: #25d366;
    color: #fff;
}

.ci-text h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.ci-text p {
    font-size: 13px;
    color: var(--text-body);
}

.contact-qr {
    text-align: center;
}

.qr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 25px;
    background: #25d366;
    border-radius: 8px;
    color: #fff;
}

.qr-placeholder i {
    font-size: 50px;
}

.qr-placeholder span {
    font-size: 13px;
    font-weight: 500;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 38px;
    height: 38px;
    background: var(--accent);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.footer-logo .logo-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    color: #fff;
    letter-spacing: 2px;
    line-height: 1.1;
}

.footer-logo .logo-slogan {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-about p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 13px;
}

.footer-contact ul li i {
    color: var(--accent);
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent);
}

/* ========== ANIMATIONS ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

    .hot-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .header .container {
        height: 60px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--primary-dark);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        z-index: 999;
    }

    .nav.open {
        max-height: 500px;
        overflow-y: auto;
    }

    .nav-list {
        flex-direction: column;
    }

    .nav-link {
        height: auto;
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link.active {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.1);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        background: rgba(0, 0, 0, 0.2);
        display: none;
    }

    .has-dropdown:hover .dropdown,
    .has-dropdown.active .dropdown {
        display: block;
    }

    .dropdown li a {
        color: rgba(255, 255, 255, 0.7);
        border-bottom-color: rgba(255, 255, 255, 0.05);
        padding-left: 35px;
    }

    .dropdown li a:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.05);
    }

    .hero-slider {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 26px;
    }

    .product-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hot-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .factory-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .qc-steps {
        flex-direction: column;
    }

    .qc-arrow {
        transform: rotate(90deg);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .slide-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        padding: 10px 22px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 350px;
    }

    .slide-content h1 {
        font-size: 24px;
    }

    .product-category-grid {
        grid-template-columns: 1fr;
    }

    .hot-products-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .factory-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 32px;
    }
}

/* ========== PAGE BANNER (Inner Pages) ========== */
.page-banner {
    background-color: var(--primary-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(13,46,92,0.85) 0%, rgba(26,75,140,0.75) 100%);
    z-index: 0;
    pointer-events: none;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 8px; }

/* ========== INNER PAGE SECTIONS ========== */
.inner-section { padding: 60px 0; }
.inner-section.alt { background: var(--bg-light); }

.inner-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
}

/* ========== PRODUCT DETAIL PAGE ========== */
.product-intro-section {
    padding: 50px 0;
    background: #fff;
}

.product-intro-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.product-intro-image {
    background: var(--bg-light);
    border-radius: 8px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    overflow: hidden;
}

.product-intro-image i {
    font-size: 100px;
    color: var(--primary);
    opacity: 0.2;
}

.product-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.product-intro-text h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.product-intro-text p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 12px;
}

.product-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.product-highlight-tag,
.highlight-tag {
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

/* Page banner overlay (handled by ::before, hide redundant div) */
.page-banner-overlay {
    display: none;
}

/* Product CTA buttons wrapper */
.product-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* QC process step icon */
.qc-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    margin: 0 auto 8px;
}

/* Spec table responsive wrapper */
.spec-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

/* Product Models Grid */
.product-models-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.product-model-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.product-model-card:hover {
    box-shadow: 0 8px 30px var(--shadow-lg);
    border-color: var(--primary);
}

.pmc-image {
    height: 180px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pmc-image i {
    font-size: 50px;
    color: rgba(255,255,255,0.5);
}

.pmc-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: var(--transition);
}

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

.pmc-info {
    padding: 20px;
}

.pmc-info h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.pmc-info ul { list-style: none; padding: 0; }

.pmc-info ul li {
    font-size: 13px;
    color: var(--text-body);
    padding: 4px 0;
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pmc-info ul li:last-child { border-bottom: none; }
.pmc-info ul li i { color: var(--accent); font-size: 11px; }

/* Product Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.feature-item:hover { box-shadow: 0 4px 15px var(--shadow); }

.feature-item-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

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

/* Product Spec Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
    margin-top: 30px;
}

.spec-table th,
.spec-table td {
    padding: 14px 20px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.spec-table th {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(even) { background: var(--bg-light); }

.spec-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    width: 200px;
}

/* Product CTA Banner */
.product-cta-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    text-align: center;
}

.product-cta-section h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.product-cta-section p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Products Overview Page */
.products-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* About Page Timeline */
.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;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 30px);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 0 3px var(--accent);
}

.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
    border: 1px solid var(--border);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
}

.timeline-content p { font-size: 13px; color: var(--text-body); }

/* Solution Detail Page */
.solution-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.solution-detail-card:last-child { border-bottom: none; }

.solution-detail-card:nth-child(even) { direction: rtl; }
.solution-detail-card:nth-child(even) > * { direction: ltr; }

.solution-detail-image {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    height: 280px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-detail-image i {
    font-size: 80px;
    color: rgba(255,255,255,0.4);
}

.solution-detail-text h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.solution-detail-text p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 16px;
}

.solution-features-list { list-style: none; padding: 0; }

.solution-features-list li {
    font-size: 13px;
    color: var(--text-body);
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.solution-features-list li i { color: var(--accent); font-size: 12px; }

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

/* CTA Banner */
.cta-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    text-align: center;
    position: relative;
}

.cta-banner h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.cta-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    margin-bottom: 28px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn { margin: 0 8px; }

/* ========== RESPONSIVE ADDITIONS (Inner Pages) ========== */
@media (max-width: 1024px) {
    .product-intro-wrapper { grid-template-columns: 1fr; }
    .product-models-grid { grid-template-columns: repeat(2, 1fr); }
    .products-overview-grid { grid-template-columns: repeat(2, 1fr); }
    .solution-detail-card { grid-template-columns: 1fr; }
    .solution-detail-card:nth-child(even) { direction: ltr; }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding: 0 0 0 40px;
        text-align: left;
        justify-content: flex-start;
    }
    .timeline::before { left: 15px; }
    .timeline-item::before { left: 15px; }
}

@media (max-width: 768px) {
    .page-banner h1 { font-size: 26px; }
    .product-models-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .products-overview-grid { grid-template-columns: 1fr; }
    .news-list-grid { grid-template-columns: 1fr; }
    .solution-detail-card { grid-template-columns: 1fr; gap: 20px; }
}
