/*
Theme Name: Minghong Industrial
Theme URI: https://example.com/minghong
Author: Antigravity Agent
Description: Automotive tooling theme for checking fixtures, welding fixtures, and gauges.
Version: 1.0.0
Text Domain: minghong
*/

:root {
    --primary: #000000;
    --secondary: #1d1d1f;
    --accent: #0071e3;
    --titanium: #f5f5f7;
    --text-dark: #1d1d1f;
    --text-light: #ffffff;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* ===== GLOBAL SITE WIDTH & TYPOGRAPHY ===== */
    --site-width: 1440px;
    --site-padding: 0 5%;
}

/* Universal container — 全站统一容器 */
.site-container {
    max-width: var(--site-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 5%;
    padding-right: 5%;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    line-height: 1.47;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    letter-spacing: -0.01em;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--primary);
}

/* Nav & Header */
nav {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: var(--site-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    width: 100%;
}

.logo {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.logo-brand {
    gap: 0.7rem;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: block;
    object-fit: contain;
    flex: 0 0 auto;
}

.logo-wordmark {
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #ffffff;
    line-height: 1;
}

.logo > span:not(.logo-wordmark) {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 2px;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
    height: 100%;
}

.nav-links li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

/* Dropdown Menu Styling — Apple Style (Minimal) */
.dropdown {
    position: absolute;
    top: 48px; /* Matches nav height exactly */
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(29, 29, 31, 0.95);
    backdrop-filter: blur(20px);
    min-width: 200px;
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.dropdown li a {
    display: block;
    padding: 10px 20px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
}

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

/* Navigation CTA Button — Apple Style Pill */
.nav-cta a {
    background: var(--accent) !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 980px;
    font-size: 11px !important;
    font-weight: 400 !important;
    margin-left: 8px;
}

.nav-cta a:hover {
    background: #0077ed !important;
}

/* Language Switcher in Nav */
ul.lang-switch {
    display: flex;
    gap: 15px;
    list-style: none;
    margin-left: 2rem;
    padding: 6px 15px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}

ul.lang-switch li {
    display: inline-block;
}

ul.lang-switch a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: flex;
    flex-direction: row-reverse; /* This puts the flag AFTER the text */
    align-items: center;
    gap: 8px;
}

ul.lang-switch img {
    width: 18px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

ul.lang-switch li.current-lang a {
    color: #ffffff;
}

ul.lang-switch a:hover {
    color: #ffffff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 10px;
    transition: all 0.3s linear;
}

/* CTA Wrap Fix */
.nav-cta a {
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .nav-container { padding: 1rem 5%; }
    .nav-links { gap: 1.2rem; }
    ul.lang-switch { margin-left: 1rem; }
}

@media (max-width: 950px) {
    .menu-toggle { display: flex; }
    
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        z-index: 1500;
        display: flex;
        padding: 4rem 0;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }

    .nav-wrapper.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    ul.lang-switch {
        margin-top: 3rem;
        margin-left: 0;
    }

    .nav-cta {
        margin-top: 2rem;
    }

    /* Hamburger Animation */
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
}

/* Hero Section Overhaul — Apple Cinematic */
.hero {
    position: relative;
    height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    display: none; /* Removed generic gradient */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 5%;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background: transparent;
    border: none;
    color: #f5f5f7;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: clamp(40px, 8vw, 56px);
    line-height: 1.07;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.28px;
    color: #ffffff;
}

.hero p {
    font-size: 21px;
    line-height: 1.19;
    font-weight: 400;
    letter-spacing: 0.231px;
    color: #f5f5f7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-inline: auto;
}

.hero-btns {
    display: flex;
    gap: 25px;
    justify-content: flex-start;
    align-items: center;
}

.cta-btn {
    padding: 12px 24px;
    border-radius: 980px; /* Pill Shape */
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 17px;
}

.primary-btn {
    background: var(--accent);
    color: white;
    border: 1px solid transparent;
}

.primary-btn:hover {
    background: #0077ed;
}

.pill-link {
    color: #2997ff;
    font-size: 17px;
    font-weight: 400;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.pill-link:hover {
    text-decoration: underline;
    color: #4eb0ff;
}

/* Partners Bar */
.partners-bar {
    background: #000000;
    padding: 3rem 22px 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.partners-container > span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 2.5rem;
}

.logo-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.logo-track-text span {
    color: rgba(255,255,255,0.35);
    font-weight: 700;
    font-size: 1.3rem;
    font-family: 'Outfit', -apple-system, sans-serif;
    transition: color 0.3s ease;
}

.logo-track-text span:hover {
    color: rgba(255,255,255,0.8);
}

/* Strengths Section — Light Gray background */
.strengths {
    padding: 80px 22px;
    background: #f5f5f7;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: var(--site-width);
    margin: 0 auto;
}

.strength-card {
    text-align: center;
    padding: 40px 20px;
    background: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0px;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.strength-card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(0, 0, 0, 0.15) 0 20px 40px 0px;
}

.strength-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.strength-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

/* Categories Section — White background */
.categories {
    padding: 80px 22px;
    background: #ffffff;
}

.section-title h2 {
    font-size: 40px;
    font-weight: 600;
    color: var(--primary);
}

.categories .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: var(--site-width);
    margin: 0 auto;
}

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

.card {
    background: #f5f5f7;
    border-radius: 5px;
    overflow: hidden;
    border: none;
    box-shadow: none; /* Apple tiles are often flat until hover or specific shadows used sparingly */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(0, 0, 0, 0.12) 0 15px 35px 0px;
}

.card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.card-content {
    padding: 20px;
    text-align: center;
}

.card h3 {
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary);
}

.card p {
    font-size: 14px;
    line-height: 1.29;
    color: rgba(0,0,0,0.8);
    margin-bottom: 15px;
}

.card a {
    color: var(--accent);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.card a::after {
    content: " >";
}

/* ==========================================
   Contact Section — Premium Dark Industrial
   ========================================== */
.contact-section {
    padding: 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

/* Subtle background texture */
.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 100%, rgba(32, 82, 149, 0.5) 0%, transparent 60%),
        radial-gradient(ellipse at 100% 0%, rgba(10, 36, 71, 0.8) 0%, transparent 60%);
    pointer-events: none;
}

.contact-section .site-container {
    position: relative;
    z-index: 1;
    padding-top: 7rem;
    padding-bottom: 7rem;
}

.contact-section .section-title h2 {
    color: #ffffff;
    font-size: 2.6rem;
}
.contact-section .section-title p {
    color: rgba(255,255,255,0.65);
    font-size: 1.05rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    margin-top: 3.5rem;
}

/* === Left Panel: Contact Info === */
.contact-info {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    color: #fff;
}

.contact-info h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 1.6rem;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-text strong {
    display: block;
    color: rgba(255, 255, 255, 0.48);
    font-size: 12px;
    text-transform: none;
    letter-spacing: normal;
    margin-bottom: 2px;
}

.contact-info-text span {
    color: #ffffff;
    font-size: 17px;
    font-weight: 400;
}

/* === Right Panel: Form Card === */
.contact-form {
    background: #ffffff;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: rgba(0, 0, 0, 0.22) 3px 5px 30px 0px;
}

/* CF7 Field Reset — Apple Style */
.contact-form .wpcf7-form p {
    margin-bottom: 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d2d2d7;
    border-radius: 11px;
    margin-bottom: 1.2rem;
    font-size: 17px;
    color: var(--primary);
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    display: block;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus,
.wpcf7-form-control:not(.wpcf7-submit):focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.contact-form textarea,
.wpcf7-form-control.wpcf7-textarea {
    min-height: 140px;
    resize: vertical;
}

/* Submit Button — Apple Primary Blue */
.wpcf7-submit,
.contact-form input[type="submit"] {
    width: auto;
    min-width: 120px;
    padding: 8px 15px;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-submit:hover,
.contact-form input[type="submit"]:hover {
    background: #0077ed;
}

/* CF7 Field Row — 2 column on wide screens */
.contact-form .wpcf7-form .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* CF7 validation messages */
.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: -1rem;
    margin-bottom: 0.8rem;
    display: block;
}
.wpcf7-response-output {
    border-radius: 10px;
    padding: 12px 18px;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Base Post Content */
.post-content {
    max-width: var(--site-width);
    margin: 40px auto;
    padding: 0 5%;
}

/* ==========================================
   8. Native Product Catalog
   ========================================== */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background: #000000;
    color: #ffffff;
    margin-bottom: 50px;
}
.page-header span {
    color: #f5f5f7;
    font-weight: 400;
    font-size: 21px;
    display: block;
    margin-bottom: 10px;
}
.page-header h1 {
    font-size: 56px;
    font-weight: 600;
    color: #ffffff;
}

.catalog-layout {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
}
.catalog-sidebar {
    flex: 0 0 250px;
    background: rgba(255,255,255,0.02);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    height: fit-content;
}
.catalog-sidebar h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 20px;
}
.cat-list {
    list-style: none;
    padding: 0;
}
.cat-list li {
    margin-bottom: 12px;
}
.cat-list li a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s;
}
.cat-list li a:hover, .cat-list li.active a {
    color: white;
}

.product-grid {
    flex: 1;
}
.product-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, border-color 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}
.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.view-btn {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* Single Product */
.product-detail {
    padding-top: 120px;
}
.detail-layout {
    display: flex;
    gap: 60px;
    margin-top: 30px;
}
.product-gallery {
    flex: 1;
}
.product-gallery .main-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.product-info {
    flex: 1;
}
.product-info h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}
.specs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}
.badge {
    padding: 5px 15px;
    background: rgba(10, 110, 255, 0.1);
    border: 1px solid var(--accent);
    color: white;
    font-size: 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}
.inquiry-box {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(10, 110, 255, 0.1) 0%, rgba(20, 30, 70, 0.5) 100%);
}
.btn-primary {
    background: var(--accent);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-top: 15px;
}

@media (max-width: 992px) {
    .catalog-layout, .detail-layout {
        flex-direction: column;
    }
    .catalog-sidebar {
        flex: none;
    }
}

/* ==========================================
   WooCommerce Deep Styling (Industrial Vibe)
   ========================================== */

/* The Product Page Layout */
.woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 5rem;
}

/* Image Gallery Upgrade */
.woocommerce div.product div.images {
    flex: 1;
    min-width: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(10, 38, 71, 0.08); /* Deep premium shadow */
    border: 1px solid #f0f0f0;
}

.woocommerce div.product div.images img {
    border-radius: 8px;
    transition: var(--transition);
}

/* Text Summary Area */
.woocommerce div.product div.summary {
    flex: 1;
    min-width: 350px;
    padding-top: 1rem;
}

/* Main Product Title */
.woocommerce div.product .product_title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Short Description Text */
.woocommerce-product-details__short-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

/* The Meta Info (SKU, Categories) */
.product_meta {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #888;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product_meta a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

/* Clean up Tabs (Description) */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom: 2px solid #eee !important;
    padding: 0 !important;
    margin-bottom: 2rem !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px 20px !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom: 3px solid var(--accent) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Catalog View (The Grid) */
.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    text-align: center;
    padding-bottom: 1.5rem;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.woocommerce ul.products li.product img {
    margin-bottom: 1.5rem;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-size: 1.25rem;
    padding: 0 1rem;
}

/* Latest News Section (Homepage) */
.latest-news {
    padding: 6rem 5%;
    background: #ffffff;
}

.news-card {
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.news-card h3 a:hover {
    color: var(--accent) !important;
}

/* Single Post Content Styling */
.post-content-container p {
    margin-bottom: 1.8rem;
}

.post-content-container strong {
    color: var(--primary);
}

/* ==========================================
   RESPONSIVE SYSTEM — 全站三档响应式
   Desktop: > 1024px (handled above)
   Tablet:  768px – 1024px
   Mobile:  < 768px
   Small:   < 480px
   ========================================== */

/* === TABLET (768px – 1024px) === */
@media (max-width: 1024px) {

    /* Container */
    .site-container {
        padding-left: 4%;
        padding-right: 4%;
    }

    /* Nav */
    .nav-container { padding: 1rem 4%; }

    /* Hero */
    .hero h1 { font-size: 3rem; }
    .hero p  { font-size: 1rem; }

    /* Unified Page Header */
    .unified-page-header {
        padding: 70px 5% 0 !important;
    }
    .unified-page-header h1 {
        font-size: 2.8rem !important;
    }

    /* Grid 3-col → 2-col on tablet */
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Product grid 3 → 2 col */
    .product-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Product Detail 950px → fluid on tablet */
    .product-gallery-massive,
    .product-info-bottom-centered,
    .related-products-section {
        width: 100%;
        max-width: 700px;
    }
    .image-frame-950 {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    /* Related grid 3 → 2 col */
    .related-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* News container — side by side but tighter */
    .news-container, .post-container {
        gap: 2rem;
    }

    /* Contact */
    .contact-container {
        flex-direction: column;
    }
}

/* === MOBILE (max 768px) === */
@media (max-width: 768px) {

    /* Nav — show hamburger */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        padding: 1.5rem 5%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid #f0f0f0;
    }
    .nav-links.active { display: flex; }
    .nav-links li { margin: 0; }
    .nav-links a { padding: 0.9rem 0; display: block; border-bottom: 1px solid #f5f5f5; }
    .nav-links .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background: #f8f9fa;
        border-radius: 8px;
        margin-top: 5px;
        padding: 5px 15px;
        display: none;
    }
    .has-dropdown:hover .dropdown,
    .has-dropdown.open .dropdown { display: block; }
    .nav-wrapper { position: relative; }
    .menu-toggle { display: flex; }
    .lang-switch { margin: 10px 0 0; justify-content: flex-start; }

    /* Site container */
    .site-container {
        padding-left: 5%;
        padding-right: 5%;
    }

    /* Hero */
    .hero { min-height: 70vh; }
    .hero h1 { font-size: 2rem; line-height: 1.2; }
    .hero p  { font-size: 0.95rem; }
    .hero-btns { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .cta-btn { width: 100%; text-align: center; }

    /* Unified Page Header */
    .unified-page-header {
        padding: 60px 5% 0 !important;
    }
    .unified-page-header h1 {
        font-size: 2rem !important;
    }
    .unified-page-header p {
        font-size: 0.95rem;
    }

    /* Grids → single column */
    .grid,
    .grid-3,
    .product-grid-premium,
    .related-grid-3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .news-grid { grid-template-columns: 1fr; }

    /* News + Post layout → stacked */
    .news-container,
    .post-container {
        flex-direction: column;
        gap: 2rem !important;
    }

    /* Product Detail — fully fluid */
    .product-gallery-massive,
    .product-info-bottom-centered,
    .related-products-section {
        width: 100%;
        max-width: 100%;
    }
    .image-frame-950 {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        border-radius: 12px;
    }
    .product-info-bottom-centered h1 {
        font-size: 1.8rem !important;
    }

    /* Strengths / strength cards */
    .strengths { padding: 4rem 5%; }

    /* Partners bar */
    .partners-bar { padding: 2rem 5%; }
    .logo-track { gap: 2rem; }

    /* News section */
    .latest-news { padding: 4rem 5%; }

    /* Contact */
    .contact-container { flex-direction: column; }
    .contact-info { min-width: unset; }

    /* Post page sidebar → hidden on mobile */
    .post-sidebar { display: none; }
    .news-sidebar { display: none; }
    .news-main, .post-main { flex: 1 1 100% !important; }

    /* Category Tabs */
    .product-filter-tabs {
        gap: 8px;
        padding: 24px 5% 8px;
    }
    .filter-tab {
        padding: 8px 14px;
        font-size: 0.78rem;
    }

    /* Section titles */
    .section-title h2 {
        font-size: 1.8rem;
    }

    /* Contact → stack on mobile */
    .contact-container {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 2rem 1.5rem;
    }
    .contact-section .site-container {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
    .contact-section .section-title h2 { font-size: 1.8rem; }

    /* Footer padding */
    footer { margin-top: 2rem; padding: 1.5rem; }
}

/* === SMALL MOBILE (max 480px) === */
@media (max-width: 480px) {

    .unified-page-header h1 { font-size: 1.6rem !important; }
    .hero h1 { font-size: 1.7rem; }
    .hero-btns .cta-btn { padding: 12px 20px; font-size: 0.9rem; }

    .product-info-bottom-centered h1 { font-size: 1.5rem !important; }
    .product-card-title { font-size: 0.95rem; }

    .btn-action-premium {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }

    .section-title h2 { font-size: 1.5rem; }
    .strength-card { padding: 2rem 1.2rem; }
    .strength-card h3 { font-size: 1.2rem; }
    .breadcrumb-dark-ui { font-size: 0.75rem; gap: 4px; }
}


/* ==========================================
   9. Premium Native Product Detail (950x950 Stacked Layout)
   ========================================== */
.product-detail {
    padding-top: 0; /* NO GAP at top */
    padding-bottom: 100px;
    background: #ffffff; 
    color: #333;
}

/* 1. Mini Centered Breadcrumb (Single Line, Small Font) */
.breadcrumb-centered-mini {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    font-size: 0.8rem; /* Small font as requested */
    color: #999;
    white-space: nowrap; /* Force single line */
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.breadcrumb-centered-mini a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb-centered-mini .current {
    color: #333;
    font-weight: 600;
}

/* 2. Centered Stacked Layout */
.detail-layout-stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Massive Product Image */
.product-gallery-massive {
    width: 950px;
    margin-bottom: 50px;
}
.image-frame-950 {
    width: 950px;
    height: 950px;
    border-radius: 20px;
    overflow: hidden;
    background: #fdfdfd;
    border: 1px solid #efefef;
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}
.image-frame-950 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.image-frame-950:hover img {
    transform: scale(1.05);
}

/* 3. Centered Info Section Below Image */
.product-info-bottom-centered {
    width: 950px;
    text-align: center;
}
.cat-tag-main {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 800;
}
.product-info-bottom-centered h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    margin: 15px 0 35px;
    color: var(--primary);
    line-height: 1.1;
}

.tech-specs-fullwidth {
    background: #fdfdfd;
    border: 1px solid #f2f2f2;
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 40px;
}
.tech-table-premium {
    width: 100%;
    border-collapse: collapse;
}
.tech-table-premium td {
    padding: 15px 20px;
    border-bottom: 1px solid #f5f5f5;
    text-align: left;
}
.tech-table-premium .label {
    color: #888;
    font-weight: 600;
    width: 35%;
}
.tech-table-premium .value {
    color: #333;
    font-weight: 700;
    font-size: 1.05rem;
}

.product-description-centered {
    margin-bottom: 50px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.content-body {
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.btn-action-premium {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 20px 55px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(10, 110, 255, 0.25);
    transition: all 0.3s ease;
}
.btn-action-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(10, 110, 255, 0.4);
}

/* 4. Related Products Section (3 Columns) */
.related-products-section {
    width: 950px;
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid #eee;
}
.related-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 45px;
    color: var(--primary);
    font-weight: 700;
}
.related-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.related-item {
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.related-item:hover {
    transform: translateY(-10px);
}
.related-item a {
    text-decoration: none;
    color: inherit;
}
.related-item h4 {
    margin-top: 18px;
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 700;
}
.related-img-wrap {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 12px;
    background: #f9f9f9;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.related-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1000px) {
    .product-gallery-massive, .product-info-bottom-centered, .related-products-section {
        width: 100%;
    }
    .image-frame-950 {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
    .related-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   10. Dynamic Effects (Restored)
   ========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.animate-on-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

@keyframes home-float-soft {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -6px, 0);
    }
}

@keyframes home-float-card {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
        box-shadow: 0 18px 48px rgba(5, 10, 18, 0.08);
    }
    50% {
        transform: translate3d(0, -5px, 0);
        box-shadow: 0 26px 58px rgba(5, 10, 18, 0.11);
    }
}

@keyframes home-float-panel {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
        box-shadow: 0 30px 85px rgba(5, 10, 18, 0.18);
    }
    50% {
        transform: translate3d(0, -6px, 0);
        box-shadow: 0 38px 96px rgba(5, 10, 18, 0.22);
    }
}

@keyframes home-image-breathe {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.025);
    }
}

@keyframes home-text-breathe {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -3px, 0);
    }
}

body.home .hero-visual-frame,
body.home .solution-card,
body.home .strength-card,
body.home .story-card-inner,
body.home .section-title {
    will-change: transform, box-shadow;
}

body.home .hero-visual.animate-on-scroll.appear .hero-visual-frame {
    animation: home-float-panel 8.2s ease-in-out infinite;
}

body.home .strengths .section-title.animate-on-scroll.appear,
body.home .categories .solutions-title.animate-on-scroll.appear,
body.home .capability-band .section-title.animate-on-scroll.appear,
body.home .story-copy.animate-on-scroll.appear .section-title {
    animation: home-text-breathe 7.6s ease-in-out infinite;
}

body.home .strength-card.animate-on-scroll.appear {
    animation: home-float-soft 7.8s ease-in-out infinite;
}

body.home .solution-card.animate-on-scroll.appear {
    animation: home-float-card 8.4s ease-in-out infinite;
}

body.home .story-card.animate-on-scroll.appear .story-card-inner {
    animation: home-float-panel 9s ease-in-out infinite;
}

body.home .solution-card.animate-on-scroll.appear .solution-media img {
    animation: home-image-breathe 10.5s ease-in-out infinite;
    transform-origin: center center;
}

body.home .solution-card.animate-on-scroll.appear:nth-child(2),
body.home .strengths .strength-card.animate-on-scroll.appear:nth-child(2),
body.home .capability-band .strength-card.animate-on-scroll.appear:nth-child(2) {
    animation-delay: 0.8s;
}

body.home .solution-card.animate-on-scroll.appear:nth-child(3),
body.home .strengths .strength-card.animate-on-scroll.appear:nth-child(3),
body.home .capability-band .strength-card.animate-on-scroll.appear:nth-child(3) {
    animation-delay: 1.6s;
}

body.home .solution-card.animate-on-scroll.appear:nth-child(4) {
    animation-delay: 2.4s;
}

.image-frame-950 {
    position: relative;
    transition: all 0.5s ease;
}
.image-frame-950:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(10, 110, 255, 0.12);
}
.image-frame-950::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 50px rgba(10, 110, 255, 0);
    pointer-events: none;
    transition: box-shadow 0.4s ease;
}
.image-frame-950:hover::after {
    box-shadow: inset 0 0 80px rgba(10, 110, 255, 0.15);
}
.image-frame-950 img {
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.image-frame-950:hover img {
    transform: scale(1.05); /* Precision zoom */
}

/* Button Glow Enhancement */
.btn-action-premium {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.btn-action-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(10, 110, 255, 0.5);
}

/* Table Hover */
.tech-table-premium tr {
    transition: background 0.3s ease;
}
.tech-table-premium tr:hover {
    background: rgba(10, 110, 255, 0.03);
}

/* ==========================================
   11. Unified Inner Page Header (Global System - Deep Blue)
   ========================================== */
.unified-page-header {
    background: var(--primary) !important;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 5% 20px !important;
    text-align: center;
    border-bottom: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}
.unified-page-header .header-tag {
    display: block;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.unified-page-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem !important;
    color: #ffffff !important;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -1px;
}
.unified-page-header p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 10px auto 0;
    font-size: 1rem;
    line-height: 1.4;
    font-style: italic;
}

/* Specific breadcrumb style for dark headers - Standard Flow */
.breadcrumb-dark-ui {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
    margin-top: 10px;
}
.breadcrumb-dark-ui a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.7;
}
.breadcrumb-dark-ui a:hover {
    opacity: 1;
    color: var(--accent);
}

@media (max-width: 768px) {
    .unified-page-header {
        min-height: 220px;
        padding: 100px 5% 30px !important;
    }
    .unified-page-header h1 {
        font-size: 1.8rem !important;
    }
}

/* ==========================================
   12. Premium 9-Grid Product Wall
   ========================================== */

/* Category Filter Tabs */
.product-filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 40px 5% 10px;
    background: #fff;
    max-width: var(--site-width);
    margin: 0 auto;
}
.filter-tab {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid #e8e8e8;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #555;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.filter-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(10, 110, 255, 0.04);
}
.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

/* Grid Section Wrapper */
.product-grid-section {
    background: #fff;
    padding: 40px 0 100px;
    max-width: var(--site-width);
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* The 9-Grid */
.product-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 100%;
    margin: 0 auto;
}

/* Each Card */
.product-grid-card {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
                box-shadow 0.4s ease;
}
.product-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(10, 110, 255, 0.15);
}
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Image Area */
.product-card-img-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}
.product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.product-grid-card:hover .product-card-img-wrap img {
    transform: scale(1.08);
}

/* Placeholder icon */
.product-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    background: linear-gradient(135deg, #f0f0f0, #e8e8e8);
}

/* Hover Overlay */
.product-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 36, 71, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.product-grid-card:hover .product-card-overlay {
    opacity: 1;
}
.overlay-cta {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,0.7);
    padding: 8px 20px;
    border-radius: 50px;
}

/* Card Info */
.product-card-info {
    padding: 20px 22px 24px;
    border-top: 1px solid #f0f0f0;
}
.product-card-cat {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.product-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}
.product-grid-card:hover .product-card-title {
    color: var(--accent);
}

/* Empty State */
.product-grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #999;
}
.btn-add-product {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .product-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .product-grid-premium {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .product-filter-tabs {
        gap: 8px;
        padding: 24px 5% 6px;
    }
    .filter-tab {
        padding: 8px 16px;
        font-size: 0.78rem;
    }
}


/* ==========================================
   13. Premium Product Detail - Two-Column
   ========================================== */
.product-detail-page { background: #f9fafb; padding: 60px 0 80px; }
.product-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; margin-bottom: 70px; }
.product-col-image { position: sticky; top: 100px; }
.product-image-frame { border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 20px 60px rgba(10,38,71,0.10); aspect-ratio: 1/1; border: 1px solid #edefef; }
.product-image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.product-image-frame:hover img { transform: scale(1.04); }
.product-col-info { padding-top: 10px; }
.product-badge-cat { display: inline-block; background: rgba(32,82,149,0.1); color: var(--accent); padding: 5px 14px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.product-info-title { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 24px; }
.product-divider { height: 1px; background: linear-gradient(to right, #e0e5eb, transparent); margin-bottom: 28px; }
.product-spec-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; border-radius: 12px; overflow: hidden; }
.product-spec-table tr:nth-child(even) { background: #f4f6f9; }
.product-spec-table tr:nth-child(odd)  { background: #ffffff; }
.product-spec-table tr:hover { background: rgba(32,82,149,0.05); }
.spec-label { padding: 13px 18px; font-size: 0.85rem; color: #666; font-weight: 600; width: 42%; border-right: 2px solid #edf0f4; }
.spec-value { padding: 13px 18px; font-size: 0.95rem; color: var(--primary); font-weight: 700; }
.product-short-desc { font-size: 1rem; color: #555; line-height: 1.8; margin-bottom: 32px; padding: 18px 20px; background: #fff; border-left: 3px solid var(--accent); border-radius: 0 10px 10px 0; }
.product-cta-row { display: flex; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.btn-inquiry-primary { flex:1; min-width:180px; background:var(--primary); color:#fff; padding:15px 24px; border-radius:10px; text-decoration:none; font-family:'Outfit',sans-serif; font-weight:700; font-size:0.95rem; text-align:center; transition:all 0.3s ease; }
.btn-inquiry-primary:hover { background:var(--accent); transform:translateY(-2px); box-shadow:0 10px 30px rgba(10,38,71,0.25); }
.btn-inquiry-outline { flex:1; min-width:160px; background:transparent; color:var(--primary); padding:15px 24px; border-radius:10px; border:2px solid #d0d7e2; text-decoration:none; font-family:'Outfit',sans-serif; font-weight:700; font-size:0.95rem; text-align:center; transition:all 0.3s ease; }
.btn-inquiry-outline:hover { border-color:var(--accent); color:var(--accent); background:rgba(32,82,149,0.04); }
.product-trust-row { display:flex; flex-wrap:wrap; gap:10px; }
.trust-badge { background:#f0f4f8; color:#445; padding:7px 14px; border-radius:50px; font-size:0.8rem; font-weight:600; border:1px solid #e2e8f0; }
.product-full-desc { background:#fff; border-radius:20px; padding:48px 52px; margin-bottom:70px; box-shadow:0 4px 20px rgba(0,0,0,0.04); border:1px solid #eaecef; }
.full-desc-title { font-family:'Outfit',sans-serif; font-size:1.5rem; font-weight:700; color:var(--primary); margin-bottom:24px; padding-bottom:16px; border-bottom:2px solid #edf0f4; }
.related-products-wrap { margin-bottom: 20px; }
.related-heading { font-family:'Outfit',sans-serif; font-size:1.6rem; font-weight:700; color:var(--primary); margin-bottom:30px; text-align:center; }
.related-card { text-decoration:none; background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,0.06); transition:all 0.35s ease; display:block; border:1px solid #eaecef; }
.related-card:hover { transform:translateY(-6px); box-shadow:0 16px 45px rgba(10,38,71,0.12); }
.related-card-img { aspect-ratio:4/3; overflow:hidden; background:#f4f6f9; }
.related-card-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.5s; }
.related-card:hover .related-card-img img { transform:scale(1.06); }
.related-card-body { padding:18px 20px; }
.related-card-cat { display:block; font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:1.5px; color:var(--accent); margin-bottom:6px; }
.related-card-body h4 { font-family:'Outfit',sans-serif; font-size:1rem; font-weight:700; color:var(--primary); line-height:1.3; margin:0; }
@media (max-width: 1024px) {
    .product-two-col { grid-template-columns: 1fr; gap: 36px; }
    .product-col-image { position: static; }
    .product-info-title { font-size: 1.9rem; }
    .related-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .product-detail-page { padding: 32px 0 60px; }
    .product-info-title { font-size: 1.6rem; }
    .product-full-desc { padding: 28px 24px; }
    .product-cta-row { flex-direction: column; }
    .btn-inquiry-primary, .btn-inquiry-outline { min-width: unset; }
    .related-grid-3 { grid-template-columns: 1fr; }
}

/* ==========================================
   14. Product Image Lightbox Styles
   ========================================== */
.clickable-image {
    cursor: zoom-in;
    position: relative;
}
.zoom-hint {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(10, 38, 71, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.clickable-image:hover .zoom-hint {
    opacity: 1;
}
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 38, 71, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
    opacity: 1;
}
.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 30px 100px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}
/* ==========================================
   15. Site Footer
   ========================================== */
.site-footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    color: white;
    text-align: center;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer p {
    opacity: 0.6;
    font-size: 13px;
    font-weight: 400;
}

/* ==========================================
   Automotive Visual System
   ========================================== */
.hero {
    display: block;
    min-height: 100vh;
    height: auto;
    padding: 8rem 0 6rem;
    background:
        radial-gradient(circle at top left, rgba(93, 176, 255, 0.16), transparent 32%),
        radial-gradient(circle at bottom right, rgba(255, 146, 67, 0.10), transparent 26%),
        linear-gradient(135deg, #07101B 0%, #0C1625 55%, #112B46 100%);
    position: relative;
    overflow: hidden;
    text-align: left;
    color: #ffffff;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    inset: auto;
    pointer-events: none;
}

.hero::before {
    width: 680px;
    height: 680px;
    top: -220px;
    right: -180px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 40%, transparent 72%);
    filter: blur(8px);
}

/* Cinematic Hero Layout */
.cinematic-hero {
    position: relative;
    height: 100vh;
    min-height: 850px;
    background: #000000;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    padding-top: 12vh; /* Moved up from 20vh */
}

.cinematic-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(14, 45, 90, 0.5) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.cinematic-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cinematic-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.cinematic-hero .badge {
    width: fit-content;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.84);
    letter-spacing: 0.22em;
    font-size: 0.72rem;
    font-weight: 700;
    backdrop-filter: blur(12px);
    margin-bottom: 25px;
}

.cinematic-copy h1 {
    font-size: clamp(60px, 7vw, 100px);
    line-height: 1.05;
    letter-spacing: -2.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
}

.cinematic-copy p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 40px;
}

.cinematic-btns {
    justify-content: center;
    margin-bottom: 60px;
}

.cinematic-visual {
    position: absolute;
    bottom: -2%; /* Moved up from -10% */
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 1400px;
    height: 68vh; /* Increased from 60vh for more impact */
    z-index: 2;
    overflow: hidden;
}

.cinematic-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Vignette to fade the rectangular photo seamlessly into pure black edges */
.cinematic-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: 
        linear-gradient(to top, #000000 10%, rgba(0,0,0,0.85) 30%, transparent 75%),
        linear-gradient(to bottom, #000000 0%, rgba(0,0,0,0.7) 20%, transparent 50%),
        linear-gradient(to right, #000000 0%, rgba(0,0,0,0.8) 15%, rgba(0,0,0,0.15) 40%, transparent 65%),
        linear-gradient(to left, #000000 0%, rgba(0,0,0,0.8) 15%, rgba(0,0,0,0.15) 40%, transparent 65%);
}

.solution-card {
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
    border: 1px solid rgba(12, 22, 37, 0.08);
    box-shadow: 0 18px 48px rgba(5, 10, 18, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.2rem, 1.8vw, 1.8rem);
    align-items: stretch;
    width: 100%;
}

.solutions-shell {
    display: grid;
    gap: 2.25rem;
}

.section-title.solutions-title {
    max-width: 920px;
    margin-bottom: 2.25rem;
    width: auto;
    text-align: left;
    display: grid;
    justify-items: start;
}

.section-title.solutions-title h2 {
    max-width: 12ch;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.section-title.solutions-title p {
    max-width: 46ch;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.solution-card .card-content {
    padding: 1.5rem 1.55rem 1.7rem;
    text-align: left;
    display: grid;
    gap: 0.5rem;
    align-content: start;
}

.solution-card .card-content h3,
.solution-card .card-content p {
    text-align: left;
}

.card-content h3 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.card-content p {
    color: #5f6570;
    line-height: 1.58;
    font-size: 0.96rem;
    max-width: 40ch;
}

.solution-media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: linear-gradient(135deg, #07101B 0%, #10253D 100%);
}

.solution-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.95) contrast(1.02);
}

.solution-media-alt {
    background: linear-gradient(135deg, #0B1726 0%, #153B61 100%);
}

.section-title {
    max-width: 920px;
    margin-bottom: 2rem;
}

.section-title span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.24em;
    font-size: 0.76rem;
    font-weight: 800;
}

.section-title h2 {
    font-size: clamp(34px, 4vw, 64px);
    margin-top: 0.55rem;
    max-width: 12ch;
}

.section-title p {
    margin-top: 1rem;
    max-width: 58ch;
    color: #5f6570;
    font-size: 1.02rem;
    line-height: 1.7;
}

.partners-bar {
    background: #07101B;
    color: rgba(255,255,255,0.62);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.partners-container {
    display: grid;
    gap: 1rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.partners-container > span {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.74rem;
    font-weight: 700;
}

.logo-track-text span {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.08em;
}

.strengths,
.story-section,
.capability-band {
    padding: 6rem 0;
}

.strength-card,
.story-card-inner {
    border: 1px solid rgba(12, 22, 37, 0.08);
    box-shadow: 0 20px 60px rgba(5, 10, 18, 0.06);
}

.strength-card {
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F8FA 100%);
}

.story-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: clamp(2rem, 3vw, 3.5rem);
    align-items: start;
}

.story-section {
    background:
        radial-gradient(circle at top center, rgba(0,113,227,0.04), transparent 40%),
        linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%);
    padding-top: 7rem;
    padding-bottom: 5rem;
}

.story-copy .section-title h2 {
    max-width: 15ch;
}

.story-list {
    margin-top: 1.5rem;
}

.story-list li {
    position: relative;
    padding-left: 1.15rem;
    margin-bottom: 0.75rem;
}

.story-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: var(--accent);
}

.story-card {
    align-self: stretch;
    padding-top: 0;
}

.story-card-inner {
    background:
        radial-gradient(circle at top right, rgba(98,182,255,0.12), transparent 30%),
        linear-gradient(160deg, #07131F 0%, #122843 100%);
    color: rgba(255,255,255,0.74);
    border-radius: 34px;
    padding: 2.25rem;
    display: grid;
    gap: 1.15rem;
    height: 100%;
    box-shadow: 0 30px 85px rgba(5, 10, 18, 0.18);
}

.story-card-inner h3 {
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 3rem);
    max-width: 11ch;
}

.story-card-inner p {
    color: rgba(255,255,255,0.72);
    font-size: 1rem;
    line-height: 1.7;
}

.story-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: stretch;
}

.story-mini-grid > div {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
}

.story-mini-grid strong {
    display: block;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.story-mini-grid span {
    display: block;
    font-size: 0.82rem;
    line-height: 1.5;
}

.capability-band {
    background: linear-gradient(180deg, #F4F6F9 0%, #EEF2F6 100%);
    border-top: 1px solid rgba(12, 22, 37, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    padding-top: 4.75rem;
}

.capability-band .section-title {
    max-width: 760px;
    margin-bottom: 2.2rem;
}

.capability-grid {
    gap: 1.25rem;
    align-items: stretch;
}

.capability-band .strength-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
    min-height: 100%;
}

.capability-band .strength-card:nth-child(2) {
    transform: none;
}

.capability-band .strength-card:nth-child(3) {
    transform: none;
}

/* --- About Us Page (Apple Style) --- */
.about-page {
    background: #ffffff;
    color: #1d1d1f;
}

.about-hero {
    padding: 160px 0 80px;
    text-align: center;
    background: #f5f5f7;
}

.about-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #86868b;
    margin-bottom: 20px;
}

.about-hero h1 {
    font-size: clamp(48px, 6vw, 80px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.about-hero-sub {
    font-size: 24px;
    line-height: 1.4;
    color: #86868b;
    max-width: 680px;
    margin: 0 auto;
    font-weight: 500;
}

.about-overview {
    padding: 120px 0 40px;
    background: #ffffff;
}

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

.overview-text h2 {
    font-size: 40px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    color: #1d1d1f;
    margin-bottom: 30px;
}

.overview-text p {
    font-size: 19px;
    line-height: 1.6;
    color: #86868b;
    margin-bottom: 20px;
}

.overview-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.stat-card {
    background: #f5f5f7;
    padding: 30px;
    border-radius: 20px;
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -2px;
    color: #1d1d1f;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-unit {
    font-size: 24px;
    font-weight: 500;
    margin-left: 4px;
}

.stat-label {
    display: block;
    font-size: 15px;
    color: #86868b;
    font-weight: 600;
}

.about-bento {
    padding: 40px 0 120px;
    background: #ffffff;
}

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

.bento-box {
    background: #f5f5f7;
    border-radius: 30px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-box h3 {
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.bento-box p {
    font-size: 17px;
    line-height: 1.5;
    color: #86868b;
}

.bento-focus {
    grid-column: span 2;
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
}

.bento-principles {
    grid-column: span 1;
    background: #1d1d1f;
    color: #ffffff;
}

.bento-principles h3 {
    color: #ffffff;
}

.bento-principles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bento-principles li {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.bento-principles li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.bento-scope {
    grid-column: span 3;
    text-align: center;
    align-items: center;
    padding: 80px 40px;
}

.scope-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.tag {
    background: #ffffff;
    padding: 12px 24px;
    border-radius: 99px;
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.about-partners {
    background: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.partners-title {
    color: #86868b;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.about-logo-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.about-logo-track span {
    color: #86868b;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Outfit', -apple-system, sans-serif;
    transition: color 0.3s ease;
}

.about-logo-track span:hover {
    color: #1d1d1f;
}

/* --- Equipment Grid (About Page) --- */
.about-equipment {
    padding: 120px 0;
    background: #fcfcfc;
    color: #1d1d1f;
}

.equipment-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.equipment-intro h3 {
    font-size: 40px;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #1d1d1f;
}

.equipment-intro p {
    color: #86868b;
    font-size: 19px;
    line-height: 1.5;
}

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

.eq-item {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: #f5f5f7;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

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

.eq-item:hover img {
    transform: scale(1.03);
}

.eq-item-1 { grid-column: 1 / 8; height: 500px; }
.eq-item-2 { grid-column: 8 / 13; height: 500px; }
.eq-item-3 { grid-column: 1 / 5; height: 400px; }
.eq-item-4 { grid-column: 5 / 9; height: 400px; }
.eq-item-5 { grid-column: 9 / 13; height: 400px; }

@media (max-width: 1100px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy {
        max-width: none;
        margin: 0 auto;
    }

    .hero-copy h1 {
        max-width: none;
    }

    .hero-btns {
        justify-content: center;
    }

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

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

@media (max-width: 768px) {
    .hero-copy h1 {
        font-size: clamp(40px, 15vw, 54px);
    }

    .story-mini-grid {
        grid-template-columns: 1fr;
    }

    .story-card-inner {
        padding: 1.5rem;
    }

    .capability-band .strength-card:nth-child(2),
    .capability-band .strength-card:nth-child(3) {
        transform: none;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 4.5rem 0 4rem;
    }

    .hero h1 {
        font-size: clamp(34px, 12vw, 46px);
    }

    .hero p {
        font-size: 16px;
    }

    .section-title h2 {
        max-width: none;
    }

}

@media (prefers-reduced-motion: reduce) {
    body.home .hero-visual.animate-on-scroll.appear .hero-visual-frame,
    body.home .strengths .section-title.animate-on-scroll.appear,
    body.home .categories .solutions-title.animate-on-scroll.appear,
    body.home .capability-band .section-title.animate-on-scroll.appear,
    body.home .story-copy.animate-on-scroll.appear .section-title,
    body.home .strength-card.animate-on-scroll.appear,
    body.home .solution-card.animate-on-scroll.appear,
    body.home .story-card.animate-on-scroll.appear .story-card-inner,
    body.home .solution-card.animate-on-scroll.appear .solution-media img {
        animation: none !important;
    }
}
