/* ============================================
   百士电子 - 电子镇流器官网
   Theme Color: #FF6601
   ============================================ */

/* --- CSS Variables --- */
:root {
    --primary: #FF6601;
    --primary-light: #FF8533;
    --primary-dark: #E05A01;
    --primary-bg: rgba(255,102,1,0.08);
    --primary-glow: rgba(255,102,1,0.25);
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --dark-3: #0f3460;
    --text: #333;
    --text-2: #555;
    --text-3: #888;
    --bg: #ffffff;
    --bg-2: #f7f8fa;
    --bg-3: #eef1f5;
    --border: #e8e8e8;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* --- Top Bar --- */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    height: 36px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.top-info i {
    color: var(--primary);
    margin-right: 6px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.7);
    padding: 2px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: var(--transition);
}

.lang-btn:hover, .lang-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

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

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-icon img {
    height: 42px;
    width: auto;
}

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

.logo-cn {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
    line-height: 1.2;
}

.logo-en {
    font-size: 9px;
    color: var(--text-3);
    letter-spacing: 1.5px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-contact {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 24px !important;
    font-weight: 600;
}

.btn-contact::after { display: none !important; }

.btn-contact:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

/* --- Hero Section / Banner Slider --- */
.hero-section {
    margin-top: 108px;
    position: relative;
    height: 600px;
    overflow: hidden;
}

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

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

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

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-text {
    flex: 1;
    color: #fff;
    max-width: 560px;
}

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-text h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-text p {
    font-size: 17px;
    opacity: 0.85;
    line-height: 1.8;
    margin-bottom: 32px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 14px 36px;
    border-radius: 28px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 14px 36px;
    border-radius: 28px;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.5);
    transition: var(--transition);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

.hero-visual {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ballast-showcase {
    position: relative;
    padding: 30px;
}

.ballast-img {
    max-width: 340px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    animation: floatBallast 3s ease-in-out infinite;
}

.ballast-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ballast-placeholder svg {
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    animation: floatBallast 3s ease-in-out infinite;
}

.showcase-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,102,1,0.25), transparent);
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes floatBallast {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes glowPulse {
    0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%,-50%) scale(1.15); opacity: 1; }
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 14px;
}

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

.slider-dots {
    display: flex;
    gap: 10px;
}

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

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 5px;
}

/* --- Stats Bar --- */
.stats-bar {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 40px 0;
    position: relative;
    z-index: 5;
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-icon {
    font-size: 24px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 4px;
}

.stat-number {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-suffix {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
}

/* --- Section Commons --- */
section { padding: 80px 0; }

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

.section-header.light h2 { color: #fff; }
.section-header.light p { color: rgba(255,255,255,0.7); }
.section-header.light .section-tag { color: var(--primary); background: rgba(255,102,1,0.15); }

.section-tag {
    display: inline-block;
    background: var(--primary-bg);
    color: var(--primary);
    padding: 5px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.section-header p {
    font-size: 16px;
    color: var(--text-3);
}

/* --- Intro Section --- */
.intro-section { background: var(--bg); }

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

.intro-image-wrapper { position: relative; }

.intro-company-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.intro-img-placeholder {
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, var(--dark), var(--dark-3));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: rgba(255,255,255,0.3);
}

.intro-img-placeholder i { font-size: 80px; }
.intro-img-placeholder span { font-size: 14px; }

.intro-exp-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 8px 30px var(--primary-glow);
}

.exp-num { font-size: 36px; font-weight: 800; line-height: 1; }
.exp-text { font-size: 11px; margin-top: 4px; text-align: center; }

.intro-text h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text);
}

.intro-text > p {
    color: var(--text-2);
    margin-bottom: 14px;
    line-height: 1.9;
    font-size: 15px;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin: 28px 0;
}

.intro-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-2);
    border-radius: var(--radius);
    transition: var(--transition);
}

.intro-feat:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.intro-feat i {
    font-size: 24px;
    color: var(--primary);
}

.intro-feat h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.intro-feat p {
    font-size: 12px;
    color: var(--text-3);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    padding-bottom: 3px;
    border-bottom: 2px solid var(--primary);
    transition: var(--transition);
}

.btn-text:hover { gap: 14px; color: var(--primary-dark); }

/* --- Cert Section --- */
.cert-section {
    background: var(--bg-2);
    padding: 64px 0;
    overflow: hidden;
}

.cert-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.cert-track {
    display: flex;
    gap: 20px;
    animation: certScroll 25s linear infinite;
}

.cert-track:hover { animation-play-state: paused; }

.cert-card {
    flex: 0 0 180px;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.cert-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.cert-icon i {
    font-size: 22px;
    color: var(--primary);
}

.cert-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

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

@keyframes certScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Products Section --- */
.products-section { background: var(--bg); }

.product-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-3);
    -webkit-overflow-scrolling: touch;
}

.product-tabs::-webkit-scrollbar {
    height: 4px;
}

.product-tabs::-webkit-scrollbar-track {
    background: var(--bg-3);
    border-radius: 2px;
}

.product-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.tab-btn {
    padding: 10px 24px;
    border: 2px solid var(--border);
    border-radius: 24px;
    background: var(--bg);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.product-card.hiding {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
}

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

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    z-index: 3;
    letter-spacing: 1px;
}

.product-badge.new { background: #4CAF50; }

.product-img-wrapper {
    background: var(--bg-2);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 160px;
    position: relative;
    overflow: hidden;
}

.product-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-wrapper::after {
    transform: scaleX(1);
}

.product-img-wrapper img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

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

.product-img-fallback {
    display: none !important;
}

.product-img-fallback svg {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.08));
}

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

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-info > p {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 12px;
    line-height: 1.6;
    min-height: 42px;
}

.product-specs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.product-specs span {
    background: var(--bg-2);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    color: var(--text-2);
    font-weight: 500;
}

.btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-detail:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* --- Manufacturing Section --- */
.manufacturing-section {
    background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 40%, var(--dark-3) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.manufacturing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><rect fill="none" stroke="%23FF6601" stroke-width="0.3" opacity="0.08" x="0" y="0" width="60" height="60"/></svg>');
    background-size: 60px 60px;
}

.mfg-showcase { position: relative; z-index: 2; }

.mfg-main-card {
    display: flex;
    align-items: center;
    gap: 48px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 32px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(6px);
}

.mfg-visual {
    flex: 0 0 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.factory-animation {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.factory-icon {
    font-size: 60px;
    color: var(--primary);
    z-index: 2;
    animation: factoryPulse 2.5s ease-in-out infinite;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    border: 2px solid var(--primary);
    opacity: 0;
}

.ring-1 { width: 100px; height: 100px; animation: pulseRing 2.5s ease-out infinite; }
.ring-2 { width: 100px; height: 100px; animation: pulseRing 2.5s ease-out 0.8s infinite; }
.ring-3 { width: 100px; height: 100px; animation: pulseRing 2.5s ease-out 1.6s infinite; }

@keyframes pulseRing {
    0% { width: 80px; height: 80px; opacity: 0.8; }
    100% { width: 160px; height: 160px; opacity: 0; }
}

@keyframes factoryPulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

.mfg-main-info h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--primary);
}

.mfg-main-info > p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 24px;
}

.mfg-stats-row {
    display: flex;
    gap: 32px;
}

.mfg-stat {
    text-align: center;
}

.mfg-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}

.mfg-stat-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

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

.mfg-card {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    padding: 28px 22px;
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.mfg-card:hover {
    background: rgba(255,102,1,0.1);
    transform: translateY(-6px);
    border-color: rgba(255,102,1,0.3);
}

.mfg-card-icon {
    width: 52px;
    height: 52px;
    background: var(--primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.mfg-card-icon i {
    font-size: 24px;
    color: #fff;
}

.mfg-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}

.mfg-card > p {
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    line-height: 1.6;
    margin-bottom: 16px;
}

.mfg-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.mfg-list i {
    color: var(--primary);
    font-size: 10px;
}

/* --- About Section --- */
.about-section { background: var(--bg-2); }

.about-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-bottom: 60px;
    padding: 0 20px;
}

.about-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 60px;
    right: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.timeline-year {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px var(--primary-glow);
}

.timeline-content {
    text-align: center;
    max-width: 140px;
}

.timeline-content h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.timeline-content p {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.5;
}

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

.value-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px var(--primary-glow);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: var(--primary);
}

.value-icon i {
    font-size: 26px;
    color: var(--primary);
    transition: var(--transition);
}

.value-card:hover .value-icon i {
    color: #fff;
}

.value-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-3);
    line-height: 1.7;
}

/* --- Contact Section --- */
.contact-section { background: var(--bg); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    background: var(--bg-2);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.contact-card-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon i { font-size: 18px; color: #fff; }

.contact-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.5;
}

.contact-map { margin-top: 0; }

.map-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-3);
    border: 2px dashed var(--border);
}

.map-placeholder i { font-size: 40px; color: var(--primary); }
.map-placeholder span { font-size: 14px; }

.form-wrapper {
    background: var(--bg-2);
    padding: 36px;
    border-radius: var(--radius-lg);
}

.form-wrapper h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-wrapper > p {
    font-size: 14px;
    color: var(--text-3);
    margin-bottom: 24px;
}

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

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

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

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.form-group textarea { resize: vertical; }

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

/* --- Footer --- */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 56px 0 20px;
}

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

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

.footer-logo img {
    height: 36px;
    width: auto;
    border-radius: 4px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.footer-brand > p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 16px;
}

.footer-social a:hover { background: var(--primary); }

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

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

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

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.footer-contact i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 16px var(--primary-glow);
}

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

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* --- Scroll Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .mfg-cards { grid-template-columns: repeat(2,1fr); }
    .hero-section { height: auto; min-height: 500px; }
    .hero-visual { flex: 0 0 280px; }
    .hero-text h1 { font-size: 36px; }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
}

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

    .navbar { top: 36px; }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: var(--shadow-lg);
    }

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

    .nav-links li { width: 100%; }

    .nav-link {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border);
    }

    .btn-contact {
        display: block;
        text-align: center;
        margin-top: 8px;
    }

    .menu-toggle { display: block; }

    .hero-section { height: auto; min-height: 420px; margin-top: 108px; }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 40px 0;
    }

    .hero-text h1 { font-size: 28px; }
    .hero-text p { font-size: 15px; }
    .hero-btns { justify-content: center; }
    .hero-visual { flex: none; }

    .stats-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
    .stat-number { font-size: 32px; }

    .intro-grid { grid-template-columns: 1fr; gap: 40px; }
    .intro-features { grid-template-columns: 1fr; }

    .cert-card { flex: 0 0 150px; }

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

    .mfg-main-card { flex-direction: column; text-align: center; }
    .mfg-visual { flex: none; }
    .mfg-stats-row { justify-content: center; }
    .mfg-cards { grid-template-columns: 1fr; }

    .about-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding-left: 40px;
    }

    .about-timeline::before {
        top: 0;
        bottom: 0;
        left: 27px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .timeline-item {
        flex-direction: row;
        gap: 16px;
    }

    .timeline-year { width: 48px; height: 48px; font-size: 12px; flex-shrink: 0; }
    .timeline-content { text-align: left; max-width: none; }

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

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

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

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

@media (max-width: 480px) {
    .hero-text h1 { font-size: 24px; }
    .hero-btns { flex-direction: column; }
    .btn-primary, .btn-outline { text-align: center; justify-content: center; }
    .slider-controls { bottom: 16px; }
}
