/* ==========================================
   申博泵业 - 大气工业风网站样式
   ========================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #0a3d7c;
    --primary-light: #1565c0;
    --primary-dark: #062a55;
    --accent: #e8731a;
    --accent-light: #f5923e;
    --gold: #c9a84c;
    --dark: #1a1a2e;
    --dark2: #16213e;
    --gray-100: #f5f7fa;
    --gray-200: #e8ecf1;
    --gray-300: #d1d9e6;
    --gray-500: #7a8ba0;
    --gray-700: #3d4f63;
    --gray-900: #1e2a3a;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(10,61,124,0.10);
    --shadow-lg: 0 12px 48px rgba(10,61,124,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.35s cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top Bar ---------- */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.75); margin-left: 16px; }
.top-bar a:hover { color: var(--accent); }
.top-bar .social-icons a { font-size: 15px; margin-left: 10px; }

/* ---------- Navbar ---------- */
.navbar {
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(10,37,75,0.88);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.navbar.scrolled .logo { color: #fff; }
.navbar.scrolled .logo .logo-icon { background: linear-gradient(135deg, var(--accent), #e8d59a); }
.navbar.scrolled .logo span.sub { color: rgba(255,255,255,0.6); }
.navbar.scrolled .nav-menu a { color: rgba(255,255,255,0.85); }
.navbar.scrolled .nav-menu a:hover,
.navbar.scrolled .nav-menu a.active { color: var(--accent); background: rgba(255,255,255,0.08); }
.navbar.scrolled .nav-menu a::after { background: var(--accent); }
.navbar.scrolled .mobile-toggle { color: #fff; }
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.navbar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}
.navbar .logo .logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    font-weight: 900;
}
.navbar .logo span.sub {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 400;
    display: block;
    margin-top: -2px;
}
.nav-menu {
    display: flex;
    gap: 4px;
    align-items: center;
}
.nav-menu a {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: var(--radius);
    position: relative;
    transition: var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: rgba(10,61,124,0.06);
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    transition: transform 0.3s;
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: translateX(-50%) scaleX(1);
}
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--primary);
    cursor: pointer;
}

/* ---------- Hero Banner ---------- */
.hero-banner {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: var(--dark);
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide .bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
}
.hero-slide .content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 24px;
    animation: fadeInUp 0.8s ease both;
}
.hero-slide.active .content { animation-delay: 0.3s; }
.hero-slide h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.hero-slide p {
    font-size: 22px;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 36px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-slide .btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
}
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}
.hero-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}
.hero-dots span.active {
    background: var(--accent);
    transform: scale(1.3);
}
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}
.hero-arrow:hover {
    opacity: 0.6;
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(232,115,26,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(232,115,26,0.45);
    color: var(--white);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
}
.btn-outline-dark {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-sm { padding: 10px 24px; font-size: 13px; }

/* ---------- Section Styles ---------- */
.section {
    padding: 90px 0;
}
.section-alt {
    background: var(--gray-100);
}
.section-dark {
    background: linear-gradient(135deg, var(--dark), var(--dark2));
    color: var(--white);
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header .tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(10,61,124,0.08), rgba(21,101,192,0.08));
    color: var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.section-dark .section-header .tag {
    background: rgba(201,168,76,0.15);
    color: var(--gold);
}
.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p {
    font-size: 17px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}
.section-dark .section-header p { color: rgba(255,255,255,0.65); }

/* ---------- Stats Row ---------- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: -60px;
    position: relative;
    z-index: 20;
}
.stat-card {
    background: var(--white);
    padding: 36px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}
.stat-card:hover { border-bottom-color: var(--accent); transform: translateY(-4px); }
.stat-card .num {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-card .label {
    font-size: 14px;
    color: var(--gray-500);
}

/* ---------- Product Cards ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.category-card {
    position: relative;
    height: 160px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(10,61,124,0.2);
}
.category-card .cat-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-200);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.category-card:hover .cat-bg { transform: scale(1.1); }
.category-card .cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,37,75,0.2) 0%, rgba(10,37,75,0.85) 100%);
    transition: background 0.4s;
}
.category-card:hover .cat-overlay {
    background: linear-gradient(180deg, rgba(10,37,75,0.3) 0%, rgba(10,37,75,0.92) 100%);
}
.category-card .cat-content {
    position: relative;
    z-index: 2;
    padding: 20px 24px;
    width: 100%;
}
.category-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.category-card:hover h3 { color: var(--accent); }
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}
.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(10,61,124,0.15);
}
.product-card .img-wrap {
    height: 240px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.product-card .img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(10,37,75,0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.product-card:hover .img-wrap::after { opacity: 1; }
.product-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.product-card:hover .img-wrap img { transform: scale(1.12); }
.product-card .card-body { transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.product-card:hover .card-body { transform: translateY(-4px); }
.product-card .img-wrap .img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,37,75,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
}
.product-card:hover .img-wrap .img-overlay { opacity: 1; }
.product-card .img-wrap .btn-view {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 28px;
    border-radius: 30px;
    transform: translateY(12px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.product-card:hover .img-wrap .btn-view { transform: translateY(0); }
.product-card .img-wrap .placeholder-icon {
    font-size: 64px;
    color: var(--gray-300);
}
.product-card .card-body {
    padding: 24px;
}
.product-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.product-card h3 small {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 400;
    margin-top: 2px;
}
.product-card p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}
.product-card .card-footer a {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s;
}
.product-card .card-footer a:hover { color: var(--accent); }
.product-card .card-footer .cat-tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(10,61,124,0.08);
    padding: 4px 10px;
    border-radius: 20px;
}

/* ---------- About Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.about-image .overlay-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--accent);
    color: var(--white);
    padding: 16px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 8px 24px rgba(232,115,26,0.4);
}
.about-text h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 20px;
}
.about-text .lead {
    font-size: 17px;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 16px;
}
.about-text p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}
.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}
.about-features .feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-100);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
}
.about-features .feat .icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

/* ---------- Process Steps ---------- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
}
.process-step {
    text-align: center;
    padding: 28px 12px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}
.process-step:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--gold);
    transform: translateY(-4px);
}
.process-step .step-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #dbb95e);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 16px;
}
.process-step h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}
.process-step p {
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

/* ---------- News Cards ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: var(--transition);
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.news-card .img-wrap {
    height: 200px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    overflow: hidden;
}
.news-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.news-card:hover .img-wrap img { transform: scale(1.06); }
.news-card .card-body {
    padding: 24px;
}
.news-card .date {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}
.news-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card h3 a { color: inherit; }
.news-card h3 a:hover { color: var(--primary); }
.news-card p {
    font-size: 14px;
    color: var(--gray-500);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Jobs Section ---------- */
.job-list {
    max-width: 900px;
    margin: 0 auto;
}
.job-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 32px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}
.job-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
}
.job-item .job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.job-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}
.job-item .salary {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
}
.job-item .job-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--gray-500);
}
.job-item .job-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.job-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- Contact Section ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.contact-info-item .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.contact-info-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}
.contact-info-item p {
    font-size: 15px;
    color: var(--gray-500);
}
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--gray-700);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
    background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(10,61,124,0.08);
}
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- Footer ---------- */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding-top: 70px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}
.footer .brand-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.footer .footer-links a {
    display: block;
    color: rgba(255,255,255,0.6);
    padding: 6px 0;
    font-size: 14px;
}
.footer .footer-links a:hover { color: var(--accent); }
.footer .contact-info p {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Page Banner ---------- */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 110px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 37, 75, 0.82);
    z-index: 1;
}
.page-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 2;
}
.page-banner h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 6px;
    position: relative;
    z-index: 3;
}
.page-banner .banner-en {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 16px;
    position: relative;
    z-index: 3;
}
.page-banner .banner-en::before,
.page-banner .banner-en::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.4);
    vertical-align: middle;
    margin: 0 14px;
}
.page-banner .breadcrumb {
    font-size: 15px;
    opacity: 0.75;
    position: relative;
    z-index: 3;
}

/* Banner backgrounds */
.page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.page-banner.page-banner-about .page-banner-bg { background-image: url('../images/uploads/bg-about.jpg'); }
.page-banner.page-banner-products .page-banner-bg { background-image: url('../images/uploads/bg-products.jpg'); }
.page-banner.page-banner-news .page-banner-bg { background-image: url('../images/uploads/bg-news.jpg'); }
.page-banner.page-banner-careers .page-banner-bg { background-image: url('../images/uploads/bg-careers.jpg'); }
.page-banner.page-banner-contact .page-banner-bg { background-image: url('../images/uploads/bg-contact.jpg'); }
.page-banner .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-banner .breadcrumb a:hover { color: var(--white); }

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 48px;
}
.pagination a, .pagination span {
    padding: 10px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
}
.pagination a:hover, .pagination span.current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ---------- Detail Page ---------- */
.detail-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 60px 0;
}
.detail-content h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
}
.detail-content .meta {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
}
.detail-content .content-body {
    font-size: 16px;
    line-height: 2;
    color: var(--gray-700);
}
.detail-content .content-body p { margin-bottom: 16px; }
.detail-content .content-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 32px 0 16px;
}
.detail-content .content-body ul {
    padding-left: 24px;
    margin-bottom: 16px;
}
.detail-content .content-body ul li {
    list-style: disc;
    margin-bottom: 8px;
}

/* ---------- Product Detail Specs ---------- */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}
.spec-table th, .spec-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}
.spec-table th {
    background: var(--gray-100);
    font-weight: 700;
    color: var(--gray-900);
    width: 160px;
}
.spec-table td {
    color: var(--gray-700);
}

/* ---------- Sidebar ---------- */
.with-sidebar {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    padding: 60px 0;
}
.sidebar {
    position: sticky;
    top: 100px;
}
.sidebar .widget {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.sidebar h3 {
    font-size: 16px;
    font-weight: 700;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    color: var(--gray-900);
}
.sidebar .cat-list a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--gray-700);
    border-radius: var(--radius);
    transition: var(--transition);
}
.sidebar .cat-list a:hover,
.sidebar .cat-list a.active {
    background: rgba(10,61,124,0.06);
    color: var(--primary);
    font-weight: 600;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered entrance for product cards */
.product-card.animate-on-scroll.visible:nth-child(1) { transition-delay: 0s; }
.product-card.animate-on-scroll.visible:nth-child(2) { transition-delay: 0.1s; }
.product-card.animate-on-scroll.visible:nth-child(3) { transition-delay: 0.2s; }
.product-card.animate-on-scroll.visible:nth-child(4) { transition-delay: 0.3s; }
.product-card.animate-on-scroll.visible:nth-child(5) { transition-delay: 0.4s; }
.product-card.animate-on-scroll.visible:nth-child(6) { transition-delay: 0.5s; }

/* ---------- CTA Section ---------- */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.cta-section .cta-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../images/uploads/bg-cta.jpg');
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.cta-section .cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10,37,75,0.88), rgba(21,101,192,0.82));
    z-index: 1;
}
.cta-section .container {
    position: relative;
    z-index: 2;
}
.cta-section h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
}
.cta-section p {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 32px;
}
.cta-section .btn-white {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-section .btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(4, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .with-sidebar { grid-template-columns: 1fr; }
    .sidebar { position: static; }
}
@media (max-width: 768px) {
    .top-bar { display: none; }
    .navbar .container { height: 64px; }
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform 0.35s ease;
        z-index: 999;
    }
    .nav-menu.open { transform: translateY(0); }
    .mobile-toggle { display: block; }
    .hero-banner { height: 500px; }
    .hero-slide h1 { font-size: 32px; }
    .hero-slide p { font-size: 16px; }
    .hero-arrow { width: 44px; height: 44px; }
    .hero-arrow-prev { left: 16px; }
    .hero-arrow-next { right: 16px; }
    .product-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 28px; }
    .page-banner { padding: 60px 0 40px; }
    .page-banner h1 { font-size: 28px; }
    .about-features { grid-template-columns: 1fr; }
    .contact-form .row { grid-template-columns: 1fr; }
}
