/* ============================================
   天津海博立恒电力设备有限公司 - 官网样式
   高端大气 · 简约风格
   ============================================ */

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

:root {
    --navy-deep: #0a0f14;
    --navy-primary: #111827;
    --navy-light: #1f2937;
    --blue-accent: #0052d9;
    --blue-soft: #0066ff;
    --gold: #0052d9;
    --gold-light: #3b82f6;
    --gold-dark: #003bb3;
    --gray-900: #111827;
    --gray-700: #374151;
    --gray-500: #6b7280;
    --gray-300: #d1d5db;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(12, 17, 22, 0.2);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --max-width: 1280px;
}

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

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 84px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ===== Container ===== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== Header / Navigation ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 82, 217, 0.08);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.04);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 84px;
}

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

.logo-icon {
    width: auto;
    height: 56px;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-icon img {
    width: auto;
    height: 100%;
    max-width: 220px;
    object-fit: contain;
}

.logo-text {
    display: none;
}

.header-tagline {
    font-size: 17px;
    color: var(--gray-700);
    letter-spacing: 3px;
    white-space: nowrap;
    padding-left: 8px;
    border-left: 2px solid var(--blue-accent);
    margin-left: 0;
}

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

.nav-menu a {
    display: block;
    padding: 10px 22px;
    font-size: 16px;
    color: var(--gray-700);
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
    border-radius: 4px;
}

.nav-menu a:hover {
    color: var(--gold);
    background: rgba(0, 82, 217, 0.06);
}

.nav-menu a.active {
    color: var(--gold);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy-deep);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-deep);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.75) 0%, rgba(20, 40, 80, 0.55) 50%, rgba(10, 15, 30, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 80px 0 80px;
}

.hero-tag {
    font-size: 22px;
    color: #d4a853;
    letter-spacing: 6px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 34px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    letter-spacing: 4px;
    margin-bottom: 16px;
    max-width: 800px;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 3px;
    margin-bottom: 40px;
    max-width: 650px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 82, 217, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 82, 217, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(0, 82, 217, 0.05);
}

/* Hero scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 2px;
    animation: floatDown 2s ease-in-out infinite;
}

.hero-scroll .line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--gold));
}

@keyframes floatDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== Page Banner (inner pages) ===== */
.page-banner {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background: var(--navy-deep);
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.page-banner-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 17, 22, 0.7), rgba(20, 28, 40, 0.55));
}

.page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 0;
}

.page-banner h1 {
    font-size: 44px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.page-banner .breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

.page-banner .breadcrumb a {
    color: var(--gold-light);
    transition: var(--transition);
}

.page-banner .breadcrumb a:hover {
    color: var(--gold);
}

.page-banner .breadcrumb span {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== Section General ===== */
.section {
    padding: 100px 0;
}

.section-light {
    background: var(--gray-50);
}

.section-dark {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, 0.85);
}

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

.section-header .label {
    display: inline-block;
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: 2px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-dark .section-header h2 {
    color: var(--white);
}

.section-header .divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-header p {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Stats Bar ===== */
.stats-bar {
    background: var(--navy-primary);
    padding: 60px 0;
    position: relative;
    z-index: 10;
    overflow: visible;
}

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

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 44px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-number .unit {
    font-size: 20px;
    margin-left: 4px;
    color: #4d8bf5;
}

.stats-bar .stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 2px;
}

/* ===== Advantage Cards ===== */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

#core-strengths .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.advantage-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    padding: 0;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.advantage-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

#core-strengths .advantage-img {
    height: 280px;
    position: relative;
}

#core-strengths .advantage-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, transparent, rgba(0, 82, 217, 0.08));
}

#core-strengths .advantage-card h3,
#core-strengths .advantage-card p {
    display: none;
}

.advantage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s ease;
}

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

#core-strengths .advantage-card h3,
#core-strengths .advantage-card p {
    display: block;
    padding: 0 20px;
    text-align: left;
}

#core-strengths .advantage-card h3 {
    margin-top: 18px;
}

#core-strengths .advantage-card p {
    padding-bottom: 24px;
    margin-top: 8px;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(0, 82, 217, 0.1), rgba(0, 82, 217, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.advantage-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== Product Showcase (Home) ===== */
.product-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: var(--navy-deep);
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 17, 22, 0.9) 0%, rgba(12, 17, 22, 0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--transition);
}

.product-card:hover .product-card-overlay {
    background: linear-gradient(to top, rgba(12, 17, 22, 0.92) 0%, rgba(12, 17, 22, 0.5) 70%, rgba(12, 17, 22, 0.2) 100%);
}

.product-card-overlay .tag {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-card-overlay h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-card-overlay p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    opacity: 0;
}

.product-card:hover .product-card-overlay p {
    max-height: 100px;
    opacity: 1;
    margin-top: 4px;
}

/* ===== Cases Section ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: var(--navy-deep);
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.case-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 17, 22, 0.85), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
}

.case-card-overlay h3 {
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 1px;
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 50px 50px 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 50px 50px;
    text-align: left;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 6px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: var(--gold);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 82, 217, 0.2);
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -8px;
}

.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--gold-dark);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.timeline-item:nth-child(even) .timeline-year {
    color: var(--navy-light);
}

.timeline-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== Values Section ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 50px 30px;
    border-radius: 8px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--gold);
    font-weight: 700;
}

.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.value-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.8;
}

/* ===== About Showcase ===== */
.about-showcase {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-visual {
    position: relative;
    padding-bottom: 50px;
    padding-right: 50px;
}

.about-img-main img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.about-img-sub {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    border: 6px solid #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.about-img-sub img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.about-badge {
    position: absolute;
    top: 28px;
    left: -28px;
    background: var(--gold);
    color: #fff;
    border-radius: 14px;
    padding: 20px 26px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 14px 36px rgba(0, 82, 217, 0.35);
}

.about-badge-num {
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
}

.about-badge-num span {
    font-size: 24px;
}

.about-badge-label {
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 1px;
    font-weight: 500;
}

.about-since {
    display: inline-block;
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 5px;
    font-weight: 700;
    margin-bottom: 14px;
}

.about-content h3 {
    font-size: 26px;
    color: var(--gray-900);
    margin-bottom: 18px;
    letter-spacing: 1px;
    line-height: 1.4;
}

.about-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.9;
    margin-bottom: 34px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}

.about-stat {
    background: var(--gray-50);
    border-radius: 10px;
    padding: 22px 18px 18px;
    position: relative;
    transition: var(--transition);
}

.about-stat:hover {
    background: #eef2ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 217, 0.08);
}

.stat-accent {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 12px;
}

.about-stat .stat-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

.credential-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 82, 217, 0.08);
    border: 1px solid rgba(0, 82, 217, 0.2);
    border-radius: 30px;
    font-size: 14px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.credential-badge .badge-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gold);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.production-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

/* ===== Product Catalog Grid (Products Page) ===== */
.product-catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-catalog-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.product-catalog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
}

.product-catalog-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--gray-50);
    overflow: hidden;
}

.product-catalog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-catalog-card:hover .product-catalog-img img {
    transform: scale(1.06);
}

.product-catalog-body {
    padding: 20px 24px;
}

.product-catalog-model {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
    padding: 4px 12px;
    background: rgba(0, 82, 217, 0.08);
    border-radius: 4px;
    margin-bottom: 10px;
}

.product-catalog-body h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-catalog-body p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Product Detail (Products Page) ===== */
.product-category {
    margin-bottom: 70px;
}

.product-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-100);
}

.product-category-header .number {
    font-size: 42px;
    font-weight: 700;
    color: var(--gray-300);
    line-height: 1;
}

.product-category-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: 1px;
}

.product-category-header .desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-left: auto;
    max-width: 400px;
    text-align: right;
}

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

.product-item {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

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

.product-item-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--gray-100);
    overflow: hidden;
}

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

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

.product-item-body {
    padding: 24px;
}

.product-item-body h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.product-item-body .model {
    font-size: 13px;
    color: var(--gold-dark);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.product-item-body p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== Solution Cards ===== */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    background: var(--navy-deep);
}

.solution-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: var(--transition);
}

.solution-card:hover img {
    opacity: 0.35;
    transform: scale(1.05);
}

.solution-card-content {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.solution-card-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

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

/* ===== Quality / Certification ===== */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cert-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.cert-badge {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--gold);
}

.cert-card h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.cert-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== Process Steps ===== */
.process-diagram {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    background: var(--white);
}

.process-diagram img {
    width: 100%;
    height: auto;
    display: block;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 12px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step .step-num {
    width: 44px;
    height: 44px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--gold-dark);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.process-step:hover .step-num {
    background: var(--gold);
    color: var(--white);
    transform: scale(1.1);
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--gray-300);
    z-index: 0;
}

.process-step h5 {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
    line-height: 1.4;
}

.process-step p {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-card {
    background: var(--navy-deep);
    border-radius: 12px;
    padding: 50px 40px;
    color: rgba(255, 255, 255, 0.85);
}

.contact-info-card h3 {
    font-size: 24px;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.contact-info-card .sub {
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-bottom: 36px;
}

.contact-info-list li {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
}

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

.contact-info-list .icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(0, 82, 217, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-info-list .label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.contact-info-list .value {
    font-size: 15px;
    color: var(--white);
    line-height: 1.6;
}

.contact-form-card {
    background: var(--white);
    border-radius: 12px;
    padding: 50px 40px;
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
    font-size: 24px;
    color: var(--gray-900);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.contact-form-card .sub {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 36px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--gray-50);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 82, 217, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--navy-primary), var(--navy-light));
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: linear-gradient(135deg, var(--navy-light), var(--blue-accent));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== Map Section ===== */
.map-section {
    padding: 0;
    height: 450px;
    background: var(--gray-100);
    position: relative;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== CTA Section ===== */
.cta-section {
    background: var(--navy-deep);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

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

.cta-section p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 32px;
    letter-spacing: 1px;
}

/* ===== Footer ===== */
.site-footer {
    background: #1a1f2e;
    color: rgba(255, 255, 255, 0.6);
    padding: 70px 0 30px;
    border-top: 1px solid rgba(0, 82, 217, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

/* Footer logo card background for visibility */
.footer-brand .logo-icon {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 16px;
    border-radius: 6px;
    height: auto;
}

.footer-brand .logo-icon img {
    height: 48px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact li .icon {
    color: var(--gold);
    flex-shrink: 0;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ===== Scroll Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.visible {
    opacity: 1;
}

/* Delay classes */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 28px;
    }

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

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

    .process-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }

    .process-step:nth-child(4n)::after {
        display: none;
    }

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

    .about-showcase {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-badge {
        left: 16px;
        padding: 14px 18px;
    }

    .about-badge-num {
        font-size: 32px;
    }

    .about-img-main img {
        height: 320px;
    }

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

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 84px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.99);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        backdrop-filter: blur(20px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-menu a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--gray-700);
    }

    .nav-toggle {
        display: flex;
    }

    .header-tagline {
        display: none;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item::after {
        display: none !important;
    }

    .advantage-grid,
    #core-strengths .advantage-grid,
    .values-grid,
    .product-showcase,
    .cases-grid,
    .solution-grid,
    .cert-grid,
    .product-list {
        grid-template-columns: 1fr;
    }

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

    .process-step::after {
        display: none !important;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 40px 50px;
        text-align: left;
    }

    .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 12px;
        right: auto;
    }

    .page-banner h1 {
        font-size: 30px;
    }

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

    .production-images {
        grid-template-columns: 1fr;
    }

    .production-images img:first-child {
        grid-row: auto;
        min-height: 250px;
    }

    .product-category-header {
        flex-wrap: wrap;
    }

    .product-category-header .desc {
        margin-left: 0;
        text-align: left;
        width: 100%;
    }

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

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

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

    #core-strengths .advantage-img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }

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

/* ===== Industry Applications (参考申恒电力) ===== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.industry-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    padding: 36px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    color: var(--white);
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.industry-card-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 17, 22, 0.92) 0%, rgba(12, 17, 22, 0.6) 50%, rgba(12, 17, 22, 0.3) 100%);
    z-index: 1;
    transition: var(--transition);
}

.industry-card:hover .industry-card-bg {
    background: linear-gradient(to top, rgba(12, 17, 22, 0.85) 0%, rgba(12, 17, 22, 0.5) 50%, rgba(12, 17, 22, 0.2) 100%);
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
    z-index: 3;
}

.industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--gold);
}

.industry-card:hover::before {
    transform: scaleY(1);
}

.industry-icon {
    display: none;
}

.industry-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.industry-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* ===== Hero adjustments for white header ===== */
.hero {
    min-height: calc(100vh - 84px);
}

.hero-content {
    padding-top: 60px;
}

/* ===== Service Grid ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), #4d8bf5);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.svc-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #4d8bf5);
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.service-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}
