/* =========================================================================
   Reliance Battery - Global Design System & Core Styles
   ========================================================================= */

:root {
    /* Color Palette - Premium Dark Mode */
    --clr-bg-main: #0a0a0a;
    /* Deepest black for background */
    --clr-bg-surface: #141414;
    /* Slightly lighter for cards/surfaces */
    --clr-bg-surface-elevated: #1e1e1e;

    --clr-text-primary: #ffffff;
    /* Pure white for headings */
    --clr-text-secondary: #94A3B8;
    /* Subtle grey for body text */
    --clr-text-muted: #666666;
    /* Muted text for subtle details */

    /* Brand Accents */
    --clr-accent-primary: #5471FF;
    /* Tech Blue */
    --clr-accent-glow: rgba(84, 113, 255, 0.4);

    /* Gradients */
    --grad-primary: linear-gradient(135deg, #5471FF 0%, #252F6E 100%);
    --grad-surface: linear-gradient(180deg, rgba(20, 20, 20, 0) 0%, rgba(20, 20, 20, 1) 100%);

    /* Typography */
    --font-heading: 'Inter', 'Noto Sans SC', sans-serif;
    --font-body: 'Inter', 'Noto Sans SC', sans-serif;

    /* Spacing System */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 2rem;
    /* 32px */
    --space-lg: 4rem;
    /* 64px */
    --space-xl: 8rem;
    /* 128px */
    --space-xxl: 12rem;
    /* 192px */

    /* Animation Timing */
    --transition-fast: 0.2s ease-out;
    --transition-base: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);

    /* UI Elements */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-pill: 9999px;

    /* Glassmorphism */
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

body {
    background-color: var(--clr-bg-main);
    color: var(--clr-text-secondary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--clr-text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =========================================================================
   Utility Classes
   ========================================================================= */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.cert-card .text-gradient {
    background: linear-gradient(135deg, #fff, #a0aec0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.section-padding {
    padding: var(--space-xl) 0;
}

.section-padding-compact {
    padding: var(--space-lg) 0;
}

/* =========================================================================
   Layout & Navigation (Placeholder)
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all var(--transition-base);
    /* Start transparent, add blur on scroll JS */
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--clr-text-primary);
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-left: auto;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text-primary);
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-sm);
    transition: background-color var(--transition-base), color var(--transition-base);
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.85);
    color: #000000 !important;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-item:not(.contact-btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--clr-accent-primary);
    transition: width var(--transition-base);
}

.nav-item:not(.contact-btn):hover::after {
    width: 100%;
}

.contact-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-pill);
    background: rgba(255, 255, 255, 0.05);
    transition: all var(--transition-base);
}

.contact-btn:hover {
    background: var(--clr-text-primary);
    color: var(--clr-bg-main);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(10, 15, 26, 0.98), rgba(15, 23, 42, 0.99));
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-links.is-active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 600;
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    /* Adjust dropdowns for mobile */
    .nav-item-dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: none;
        border: none;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding: 0;
        margin-top: 0.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-item-dropdown:hover .dropdown-menu {
        max-height: 500px;
        transform: none;
    }

    .dropdown-item {
        font-size: 1.1rem;
        padding: 0.8rem;
        justify-content: center;
    }

    .dropdown-menu::before {
        display: none;
    }

    .mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        z-index: 1100;
        position: relative;
    }

    .mobile-toggle .bar {
        width: 24px;
        height: 2px;
        background: var(--clr-text-primary);
        transition: all 0.3s ease-in-out;
    }

    /* Hamburger to X Animation */
    .mobile-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* =========================================================================
   Home: Hero Carousel Section
   ========================================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 0;
    overflow: hidden;
    background: var(--clr-bg-main);
}

.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-item.active {
    opacity: 1;
    z-index: 2;
}

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

.hero-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.carousel-item.active .hero-media {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.9) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 80px;
}

.hero-title {
    font-size: 44px;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.3s;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--clr-text-secondary);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.5s;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.7s;
}

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

.carousel-item.active .hero-title,
.carousel-item.active .hero-subtitle,
.carousel-item.active .hero-actions {
    transform: translateY(0);
    opacity: 1;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: var(--clr-accent-primary);
    border-color: var(--clr-accent-primary);
}

.carousel-control.prev {
    left: 2rem;
}

.carousel-control.next {
    right: 2rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, transform 0.3s ease;
}

.indicator.active {
    background: var(--clr-accent-primary);
    transform: scale(1.2);
}

/* Star Products Standalone Section */
.star-products-section {
    background: var(--clr-surface);
    border-top: 1px solid var(--glass-border);
}

.star-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 3rem;
}

.star-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.star-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(84, 113, 255, 0.12);
}

.star-card-visual {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.star-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.85);
    transition: transform var(--transition-slow);
}

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

.star-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    background: rgba(84, 113, 255, 0.15);
    border: 1px solid rgba(84, 113, 255, 0.3);
    color: var(--clr-accent-primary);
    backdrop-filter: blur(8px);
}

.star-card-info {
    padding: 2.5rem;
}

.star-card-info h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.star-card-tagline {
    color: var(--clr-text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.star-specs {
    list-style: none;
    padding: 0;
}

.star-specs li {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}

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

.star-specs strong {
    color: var(--clr-text-primary);
}

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

/* =========================================================================
   Home: Star Products Energy Vault (Opening Animation)
   ========================================================================= */
/* Vault Container Constraint */
.vault-container {
    position: relative;
    width: 100%;
    /* Keep it comfortably inside a typical 1080p screen */
    height: 60vh;
    min-height: 430px;
    max-height: 580px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--clr-bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

/* The Sliding Doors */
.vault-door {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    background: linear-gradient(135deg, #111823 0%, #0a0f1a 100%);
    z-index: 10;
    transition: transform 1.5s cubic-bezier(0.8, 0, 0.2, 1);
    display: flex;
    align-items: center;
    border-top: 2px solid rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.vault-door::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(37, 47, 110, 0.5);
    z-index: 11;
}

.vault-door-left {
    left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.vault-door-left::after {
    right: 0;
}

.vault-door-right {
    right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.vault-door-right::after {
    left: 0;
}

/* Open State for Doors */
.vault-container.is-opened .vault-door-left {
    transform: translateX(-100%);
}

.vault-container.is-opened .vault-door-right {
    transform: translateX(100%);
}

/* Product Showcases Inside the Vault (Horizontal Setup) */
.vault-interior {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 5;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.5) 0%, rgba(10, 15, 26, 1) 80%);
}

.vault-product {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 3rem;
    /* Reduced vertical padding */
    position: relative;
}

/* Ensure the Star Badge is perfectly separated and aligned top-left relative to the product container */
.vault-product-header {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s ease;
}

.vault-container.is-opened .vault-product-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
    /* Fade in after doors start opening */
}

/* Custom Vault Button */
.vault-btn {
    display: inline-block;
    padding: 0.6rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
    transition: all 0.4s ease;
    text-decoration: none;
    margin-top: 1rem;
}

.vault-btn:hover {
    background: linear-gradient(135deg, #5471FF 0%, #252F6E 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}

.vault-product-header .star-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    width: max-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Custom Vault Button */
.vault-btn {
    display: inline-block;
    padding: 0.6rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
    transition: all 0.4s ease;
    text-decoration: none;
    margin-top: 1rem;
}

.vault-btn:hover {
    background: linear-gradient(135deg, #5471FF 0%, #252F6E 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
}


/* Horizontal alignment of Battery Image and Info */
.vault-product-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
}

.vault-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
    height: 80%;
    align-self: center;
}

/* The Battery Image */
.vault-battery-img {
    height: 280px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
    opacity: 0;
    z-index: 2;
    /* Will be animated by keyframes */
}

/* True 3D Rotation Keyframes */
@keyframes battery-fly-in-rs {
    0% {
        opacity: 0;
        transform: translateZ(-1000px) translateX(-50px) rotateY(-720deg) rotateX(-20deg) scale(0.2);
    }

    100% {
        opacity: 1;
        transform: translateZ(0) translateX(0) rotateY(0deg) rotateX(0deg) scale(1);
    }
}

@keyframes battery-fly-in-rh {
    0% {
        opacity: 0;
        transform: translateZ(-1000px) translateX(50px) rotateY(720deg) rotateX(-20deg) scale(0.2);
    }

    100% {
        opacity: 1;
        transform: translateZ(0) translateX(0) rotateY(0deg) rotateX(0deg) scale(1);
    }
}

.vault-container.is-opened .rs-product .vault-battery-img {
    animation: battery-fly-in-rs 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

.vault-container.is-opened .rh-product .vault-battery-img {
    animation: battery-fly-in-rh 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

/* Interactive Hover state for batteries (post-fly-in) */
.vault-product:hover .vault-battery-img {
    transform: translateY(-10px) scale(1.05) !important;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: drop-shadow(0 30px 40px rgba(255, 215, 0, 0.4)); /* Pale Gold Glow */
}

.vault-product.rh-product:hover .vault-battery-img {
    filter: drop-shadow(0 30px 40px rgba(255, 215, 0, 0.4)); /* Pale Gold Glow */
}

/* Specs & Information inside the horizontal body */
.vault-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.vault-container.is-opened .vault-info {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.4s;
    /* Info appears after battery settles */
}

.vault-info h4 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.vault-info p {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.vault-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.vault-info-grid span {
    color: var(--clr-text-secondary);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.vault-info-grid strong {
    color: #fff;
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .vault-container {
        height: auto;
        min-height: 800px;
        max-height: none;
    }

    .vault-interior {
        flex-direction: column;
        overflow-y: auto;
    }

    .vault-product {
        padding: 2rem 1rem;
    }

    .vault-product-body {
        flex-direction: column;
    }

    /* Reverse the layout so image is always on top on mobile */
    .rh-product .vault-product-body {
        flex-direction: column-reverse;
    }

    .vault-product-header {
        margin-bottom: 1rem;
    }

    .vault-info.text-start,
    .vault-info.text-end,
    .vault-info-grid.text-start,
    .vault-info-grid.text-end,
    .vault-info-grid.justify-content-end {
        text-align: center !important;
        align-items: center;
        justify-content: center !important;
    }

    .vault-battery-img {
        height: 180px;
    }

    .vault-divider {
        width: 80%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
    }

    /* Make doors slide up/down on mobile instead of left/right */
    .vault-door {
        width: 100%;
        height: 50%;
        border: none;
        border-left: 2px solid rgba(255, 255, 255, 0.05);
        border-right: 2px solid rgba(255, 255, 255, 0.05);
    }

    .vault-door::after {
        width: 100%;
        height: 4px;
        top: auto;
    }

    .vault-door-left {
        top: 0;
        bottom: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .vault-door-left::after {
        bottom: 0;
        right: auto;
    }

    .vault-door-right {
        bottom: 0;
        top: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .vault-door-right::after {
        top: 0;
        left: auto;
    }

    .vault-container.is-opened .vault-door-left {
        transform: translateY(-100%);
    }

    .vault-container.is-opened .vault-door-right {
        transform: translateY(100%);
    }
}

/* =========================================================================
   Home: Application Scenarios (Tabs)
   ========================================================================= */
.applications {
    background: var(--clr-bg-surface);
}

.tabs-wrapper {
    margin-top: 3rem;
}

.tab-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.tab-item {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--clr-text-secondary);
    cursor: pointer;
    position: relative;
    padding: 0.5rem 1rem;
    transition: color var(--transition-base);
}

.tab-item:hover {
    color: var(--clr-text-primary);
}

.tab-item.active {
    color: var(--clr-accent-primary);
}

.tab-item::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    /* match padding-bottom of tab-list */
    left: 0;
    width: 0;
    height: 3px;
    background: var(--clr-accent-primary);
    transition: width var(--transition-base);
}

.tab-item.active::after {
    width: 100%;
}

.tab-content {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.app-info h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--clr-text-primary);
}

.app-subtitle {
    font-size: 1.1rem;
    color: var(--clr-accent-primary);
    margin-bottom: 2rem;
}

.app-features {
    list-style: none;
}

.app-features li {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--clr-text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.app-features li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--clr-accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.app-features li strong {
    color: var(--clr-text-primary);
}

.app-visual {
    padding: 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

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

    .tab-list {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* =========================================================================
   Home: About Intro Section
   ========================================================================= */
.section-badge {
    display: inline-block;
    color: var(--clr-accent-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--clr-text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.stats-row {
    display: flex;
    gap: 3rem;
}

.stat-num {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--clr-text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-num small {
    font-size: 1.2rem;
}

.stat-label {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    animation: shine 6s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.img-fluid {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

/* =========================================================================
   Home: Product Matrix & USP Section
   ========================================================================= */
.products-section {
    background: var(--clr-bg-main);
}

.section-header {
    margin-bottom: 4rem;
}

.mt-12 {
    margin-top: 6rem;
}

@media (max-width: 768px) {
    .mt-12 {
        margin-top: 3rem;
    }
}

/* USP Grid */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.usp-item {
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border-color: rgba(255, 255, 255, 0.05);
}

.usp-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(84, 113, 255, 0.1);
    border-color: rgba(84, 113, 255, 0.3);
}

.usp-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.usp-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--clr-text-primary);
}

.usp-item p {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--clr-bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.product-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #000;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform var(--transition-slow), opacity var(--transition-base);
}

.product-card:hover .product-img {
    transform: scale(1.05);
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.4rem 1.2rem;
    border-radius: var(--border-radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--glass-border);
    color: var(--clr-text-primary);
}

.product-badge.highlight {
    background: var(--grad-primary);
    border: none;
    color: var(--clr-bg-main);
}

.product-content {
    padding: 2.5rem;
}

.product-content h4 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.product-content p {
    color: var(--clr-text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-content strong {
    color: var(--clr-accent-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.btn-link {
    color: var(--clr-text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover {
    color: var(--clr-accent-primary);
}

/* =========================================================================
   Home: R&D Section (Accordion)
   ========================================================================= */
.rd-section {
    background: var(--clr-bg-main);
}

.rd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.accordion {
    border-top: 1px solid var(--glass-border);
}

.accordion-item {
    border-bottom: 1px solid var(--glass-border);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: color var(--transition-base);
}

.accordion-header h4 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--clr-text-primary);
    font-weight: 500;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--clr-accent-primary);
    transition: transform var(--transition-base);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    /* Turns + into x */
}

.accordion-item:hover .accordion-header h4 {
    color: var(--clr-accent-primary);
}

.accordion-content {
    display: none;
    padding-bottom: 1.5rem;
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.rd-video {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
}

.rd-visual-sticky {
    position: sticky;
    top: 120px;
    width: 100%;
    z-index: 10;
}

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

/* =========================================================================
   Home: Manufacturing Section (Detailed Cards)
   ========================================================================= */
.mfg-section {
    background: var(--clr-bg-surface);
}

.mfg-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.mfg-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.mfg-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-color: rgba(84, 113, 255, 0.3);
}

.mfg-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 0.8;
}

.mfg-card-content {
    padding: 2rem;
}

.mfg-card-content h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--clr-text-primary);
    line-height: 1.4;
}

.mfg-card-content ul {
    list-style: none;
    padding: 0;
}

.mfg-card-content li {
    font-size: 0.9rem;
    color: var(--clr-text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.5;
    position: relative;
    padding-left: 1rem;
}

.mfg-card-content li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--clr-accent-primary);
}

.mfg-card-content li strong {
    color: #fff;
    font-weight: 500;
}

/* =========================================================================
   Home: News Section
   ========================================================================= */
.news-section {
    background: var(--clr-bg-main);
}

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.mt-8 {
    margin-top: 4rem;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}

.news-featured {
    position: relative;
    display: block;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--clr-bg-surface);
    border: 1px solid var(--glass-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.news-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(84, 113, 255, 0.15);
    border-color: var(--clr-accent-primary);
}

.news-featured-img {
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.news-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.news-featured:hover .news-featured-img img {
    transform: scale(1.05);
}

.news-featured-content {
    padding: 2.5rem;
}

.news-featured-title {
    font-size: 1.75rem;
    margin: 1rem 0;
    line-height: 1.3;
    color: var(--clr-text-primary);
}

.news-excerpt {
    color: var(--clr-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more {
    font-weight: 600;
    color: var(--clr-accent-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-sidebar-item {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.news-sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--clr-accent-primary);
    transform: translateX(10px);
}

.news-sidebar-item .news-date {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    width: auto;
}

.news-sidebar-item .news-title {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--clr-text-primary);
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-featured-img {
        height: 280px;
    }
}

/* 新闻中心列表分页（与 .btn-outline 一致） */
.cms-news-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.cms-news-pagination-meta {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    min-width: 8rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.cms-news-page-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 576px) {
    .cms-news-pagination {
        flex-direction: column;
        gap: 1rem;
    }
}

/* =========================================================================
   Buttons & Links
   ========================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-pill);
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    outline: none;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(84, 113, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--clr-accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--clr-text-primary);
    border: 1px solid var(--glass-border);
}

.btn-outline:hover {
    background: var(--clr-text-primary);
    color: var(--clr-bg-main);
}

/* =========================================================================
   Home: Founding Team Section
   ========================================================================= */
.team-section {
    background: var(--clr-bg-main);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    text-align: left;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-color: rgba(84, 113, 255, 0.3);
}

.team-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: filter var(--transition-slow);
}

.team-card:hover .team-img {
    filter: none;
}

.team-img-placeholder {
    width: 100%;
    height: 350px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.team-img-placeholder span {
    color: var(--clr-text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.team-info {
    padding: 2.5rem;
}

.team-info h4 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--clr-text-primary);
}

.team-role {
    color: var(--clr-accent-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.team-bio {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================================================
   Home: Certifications & Global Layout
   ========================================================================= */
.cert-section {
    position: relative;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cert-card {
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1rem;
}

.cert-tag {
    background: rgba(84, 113, 255, 0.1);
    color: var(--clr-accent-primary);
    border: 1px solid rgba(84, 113, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-base);
}

.cert-tag:hover {
    background: rgba(84, 113, 255, 0.2);
    border-color: var(--clr-accent-primary);
    transform: translateY(-2px);
}

.global-section {
    background: var(--clr-bg-main);
}

.global-map-container {
    border-radius: var(--border-radius-lg);
    padding: 1px;
}

/* =========================================================================
   Global Footer
   ========================================================================= */
.footer {
    background: #050505;
    padding-top: 5rem;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 4rem;
    margin-bottom: 2rem;
}

.footer-brand .logo-text {
    font-size: 2rem;
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-desc {
    color: var(--clr-text-secondary);
    max-width: 320px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: var(--clr-text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: background var(--transition-base), color var(--transition-base);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--clr-accent-primary);
    color: var(--clr-bg-main);
}

/* WeChat QR Code Hover Effect */
.wx-hover-container {
    position: relative;
    display: inline-block;
}

.wx-qr-code {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 12px;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.wx-qr-code-arrow {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

.wx-hover-container:hover .wx-qr-code {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(5px) !important;
}

/* LinkedIn QR Code Hover Effect */
.li-hover-container {
    position: relative;
    display: inline-block;
}

.li-qr-code {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 12px;
    background: #fff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 140px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
}

.li-qr-code-arrow {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

.li-hover-container:hover .li-qr-code {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(5px) !important;
}

/* Mobile: QR from right */
@media (max-width: 768px) {
    .wx-qr-code, .li-qr-code {
        top: 50% !important;
        left: 100% !important;
        transform: translateY(-50%) !important;
        margin-top: 0 !important;
        margin-left: 12px !important;
    }
    
    .wx-qr-code-arrow, .li-qr-code-arrow {
        top: 50% !important;
        left: -6px !important;
        transform: translateY(-50%) rotate(-90deg) !important;
        border-bottom: 6px solid #fff !important;
    }
    
    .wx-hover-container:hover .wx-qr-code, .li-hover-container:hover .li-qr-code {
        transform: translateY(-50%) translateX(5px) !important;
    }
}


.footer-nav h4 {
    color: var(--clr-text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-nav a {
    color: var(--clr-text-secondary);
    transition: color var(--transition-base);
}

.footer-nav a:hover {
    color: var(--clr-accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    color: var(--clr-text-secondary);
    font-size: 0.9rem;
}

.footer-legal a {
    color: var(--clr-text-secondary);
    transition: color var(--transition-base);
}

.footer-legal a:hover {
    color: var(--clr-text-primary);
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* =========================================================================
   Contact Page Styles
   ========================================================================= */
.contact-page-body {
    background: var(--clr-bg-main);
}

.contact-hero {
    background: radial-gradient(circle at center, rgba(84, 113, 255, 0.05) 0%, transparent 60%);
    border-bottom: 1px solid var(--glass-border);
}

.direct-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.contact-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--clr-text-primary);
}

.contact-card p {
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-card p.desc {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

.contact-card a {
    color: var(--clr-accent-primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-card a:hover {
    color: var(--clr-text-primary);
}

.form-section {
    position: relative;
    z-index: 2;
}

.form-container {
    padding: 3rem;
    background: rgba(15, 23, 42, 0.6);
}

.form-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.form-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 0.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.form-tab-btn {
    background: transparent;
    border: none;
    color: var(--clr-text-secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-base);
}

.form-tab-btn:hover {
    color: var(--clr-text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-tab-btn.active {
    background: var(--clr-text-primary);
    color: var(--clr-bg-main);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: none;
    animation: fadeIn var(--transition-base) forwards;
}

.contact-form.active-form {
    display: block;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--clr-text-secondary);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px dashed var(--glass-border);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--clr-text-primary);
    font-weight: 500;
}

.required {
    color: #ff4d4f;
    margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.8rem 1rem;
    color: var(--clr-text-primary);
    font-size: 0.95rem;
    transition: border var(--transition-base), box-shadow var(--transition-base);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--clr-accent-primary);
    box-shadow: 0 0 0 2px rgba(84, 113, 255, 0.15);
}

/* Application Scenario Grid styling */
.application-scenario-section {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
}

.scenario-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.scenario-row {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 1.5rem;
}

.scenario-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.scenario-row-title {
    width: 120px;
    flex-shrink: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-text-primary);
    padding-top: 0.3rem;
}

.scenario-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex: 1;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--clr-text-secondary);
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-label span {
    position: relative;
    padding-left: 1.5rem;
}

.radio-label span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    transition: all 0.2s ease;
}

.radio-label input[type="radio"]:checked+span::before {
    border-color: var(--clr-accent-primary);
    background: var(--clr-accent-primary);
    box-shadow: inset 0 0 0 3px var(--clr-bg-main);
}

.radio-label input[type="radio"]:checked+span {
    color: var(--clr-accent-primary);
    font-weight: 500;
}

.radio-label:hover {
    background: rgba(255, 255, 255, 0.05);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--clr-text-secondary);
    cursor: pointer;
}

.submit-btn {
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
}

@media (max-width: 768px) {

    .form-grid-2,
    .form-grid-3 {
        grid-template-columns: 1fr;
    }

    .scenario-row {
        flex-direction: column;
    }

    .scenario-row-title {
        margin-bottom: 0.8rem;
        width: 100%;
    }

    .form-footer {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .submit-btn {
        width: 100%;
    }

    .form-container {
        padding: 1.5rem;
    }
}

/* =========================================================================
   Premium Enhancements & Animation Utilities
   ========================================================================= */

/* Delay Utilities for Staggered Animations */
.delay-100 {
    transition-delay: 0.1s !important;
}

.delay-200 {
    transition-delay: 0.2s !important;
}

.delay-300 {
    transition-delay: 0.3s !important;
}

.delay-400 {
    transition-delay: 0.4s !important;
}

.delay-500 {
    transition-delay: 0.5s !important;
}

/* Enhanced Reveals */
.reveal-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-fade-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-fade-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Counter Metric Styles */
.metrics-strip {
    background: linear-gradient(90deg, rgba(10, 15, 26, 0.9), rgba(15, 23, 42, 0.9));
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 3rem 0;
    margin-top: -1px;
    position: relative;
    z-index: 5;
}

.metrics-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.metric-item {
    text-align: center;
}

.metric-number-wrapper {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--clr-text-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    justify-content: center;
    align-items: baseline;
}

/* .metric-number is targeted by JS to count up */

.metric-suffix {
    font-size: 2rem;
    margin-left: 2px;
}

.metric-label {
    color: var(--clr-text-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Glowing Hover Card Effects */
.glow-card {
    position: relative;
    z-index: 1;
}

.glow-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(84, 113, 255, 0.4), transparent, transparent, rgba(84, 113, 255, 0.4));
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.glow-card:hover::before {
    opacity: 1;
}

.product-usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

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

/* =========================================================================
   Inner Pages Specific Overrides (Full Screen Hero)
   ========================================================================= */

body.inner-page {
    background: var(--clr-bg-main);
}

.page-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-xl) 5%;
    margin-top: -80px;
    /* Offset the 80px top padding of <main> to hit top edge */
    overflow: hidden;
    z-index: 1;
}

/* Subtle gradient overlay to ensure text is readable */
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Lightened opacity to allow photos to show through */
    background: linear-gradient(180deg, rgba(10, 15, 26, 0.2) 0%, rgba(10, 15, 26, 0.7) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Center elements within the hero text container */
.page-hero .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

/* Keeping text size smaller to respect the user's constraints */
.page-hero .hero-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 1rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFadeHero 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.2s;
}

.page-hero .hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    transform: translateY(30px);
    opacity: 0;
    animation: slideUpFadeHero 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.4s;
}

@keyframes slideUpFadeHero {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Catalog Redesign styles */
.product-catalog-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
}

.catalog-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--clr-text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-family: inherit;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--clr-accent);
    transition: width 0.3s ease;
}

.tab-btn.active {
    color: var(--clr-text-primary);
}

.tab-btn.active::after {
    width: 100%;
}

.catalog-content .tab-panel {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.catalog-content .tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.product-tile {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-tile:hover {
    transform: translateY(-5px);
}

.tile-img-wrapper {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: radial-gradient(circle at center, rgba(37, 47, 110, 0.1), transparent 70%);
}

.tile-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s ease;
}

.product-tile:hover .tile-img-wrapper img {
    transform: scale(1.05);
}

.tile-header {
    width: 100%;
    text-align: left;
    margin-bottom: 1.2rem;
}

.tile-header h4 {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: var(--clr-text-primary);
}

.series-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-rs {
    background: rgba(63, 170, 114, 0.2);
    color: #3faa72;
}

.tag-rh {
    background: rgba(251, 191, 36, 0.2);
    color: #FBBF24;
}

.tag-rp {
    background: rgba(96, 165, 250, 0.2);
    color: #60A5FA;
}

.tag-ru {
    background: rgba(167, 139, 250, 0.2);
    color: #A78BFA;
}

.tag-rt {
    background: rgba(249, 115, 22, 0.2);
    color: #F97316;
}

.tag-46 {
    background: rgba(96, 165, 250, 0.2);
    color: #ffffff;
}

.tile-specs {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

.spec-row:not(:last-child) {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.spec-row span {
    color: var(--clr-text-secondary);
}

.spec-row strong {
    color: var(--clr-text-primary);
}

@media (max-width: 768px) {
    .catalog-tabs {
        flex-direction: column; /* Force vertical on mobile to avoid horizontal overflow entirely */
        align-items: center;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .tab-btn {
        width: 100%;
        max-width: 250px;
        padding: 0.6rem 1rem;
        font-size: 1rem;
        border-bottom: 2px solid rgba(255, 255, 255, 0.05); /* Change indicator to border-bottom for vertical */
    }

    .tab-btn::after {
        display: none; /* Hide the underline indicator on mobile */
    }

    .tab-btn.active {
        background: rgba(84, 113, 255, 0.1);
        border-bottom-color: var(--clr-accent-primary);
    }

    .product-catalog-container {
        margin-top: 1rem !important;
        opacity: 1 !important;
        display: block !important;
    }

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

    .tile-specs {
        padding: 1rem;
    }
}

/* Interactive Scenarios Section */
.scenarios-scroll-container {
    height: 600vh;
    position: relative;
    background: #000;
}

.scenarios-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Background with Windowing */
.scenarios-video-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    opacity: var(--video-opacity, 0);
}

.video-window {
    width: 100%;
    max-width: 100vw;
    aspect-ratio: 16 / 9;
    max-height: 100vh;
    overflow: hidden;
    transition: none;
    transform: scale(var(--video-scale, 1));
    border-radius: var(--video-radius, 0);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000;
}

.scenarios-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Slogan Overlay */
.scenarios-slogan-overlay {
    position: absolute;
    inset: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: var(--slogan-opacity, 0);
}

.scenarios-slogan {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.2rem;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    text-align: center;
    transform: scale(calc(0.8 + var(--slogan-opacity, 0) * 0.2));
}

/* Header Overlay - Hide after first phase */
.scenarios-header-overlay {
    position: absolute;
    top: 28%;
    /* Positioned at top 1/3 roughly */
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
    width: 100%;
    pointer-events: none;
    opacity: calc(1 - var(--split-progress, 0) * 4);
}

.scenarios-panels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 10;
}

.scenario-panel {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem 2rem 8rem 2rem;
    transition: transform 0.1s linear;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.scenario-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    z-index: -2;
}

.scenario-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.95) 100%);
    z-index: -1;
}

.scenario-panel:hover::before {
    transform: scale(1.1);
}

/* Panel Images (Themes from Reference) */
/* 电动出行 */
.panel-1::before {
    background-image: url('../assets/跑车-1k.jpeg');
    background-position: center;
}
.panel-2::before {
    background-image: url('../assets/农用机械-1k.jpeg');
}

/* 专用车船 */
/* 创新动力 */
.panel-3::before {
    background-image: url('../assets/eVTOL-1k.jpeg');
}
.panel-4::before {
    background-image: url('../assets/电动工具-1k.jpeg');
}

/* 高端工具 */
.panel-5::before {
    background-image: url('../assets/云储能-BBU.jpg');
}

/* 云储能 */

/* Split transformation logic */
.panel-left-outer {
    transform: translateX(calc(var(--split-progress, 0) * -100%));
}

.panel-left-inner {
    transform: translateX(calc(var(--split-progress, 0) * -200%));
}

.panel-center {
    transform: translateY(calc(var(--split-progress, 0) * -110%));
}

.panel-right-inner {
    transform: translateX(calc(var(--split-progress, 0) * 200%));
}

.panel-right-outer {
    transform: translateX(calc(var(--split-progress, 0) * 100%));
}

.panel-content {
    color: #fff;
    z-index: 2;
    transform: translateY(calc(var(--split-progress, 0) * 50px));
    opacity: calc(1 - var(--split-progress, 0) * 2.5);
}

.panel-tags {
    position: absolute;
    top: 3rem;
    left: 0;
    width: 100%;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 2;
    z-index: 2;
    transform: translateY(calc(var(--split-progress, 0) * -50px));
    opacity: calc(1 - var(--split-progress, 0) * 2.5);
    pointer-events: none;
    letter-spacing: 0.5px;
}

.panel-num {
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.1;
    position: absolute;
    bottom: -1rem;
    right: 1rem;
    line-height: 1;
    color: #fff;
}

.panel-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}

.panel-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Consolidation: Scenarios Header Overlay moved above scenarios-panels */

.scenarios-header-overlay h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

@media (max-width: 992px) {
    /* 1. Reset Panels to 2x2 Grid instead of flex row */
    .scenarios-panels {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .panel-5 {
        grid-column: span 2;
    }

    .scenario-panel {
        padding: 1.5rem 1rem;
        border-right: none;
        border: 1px solid rgba(255, 255, 255, 0.05); /* Grid dividers */
    }

    .panel-tags {
        top: 1.5rem;
        font-size: 0.8rem;
        line-height: 1.6;
    }

    /* 2. Diagonal Slider Animations (override desktop horizontal offsets) */
    .panel-left-outer.panel-1 { transform: translate(calc(var(--split-progress, 0) * -100%), calc(var(--split-progress, 0) * -100%)); }
    .panel-left-inner.panel-2 { transform: translate(calc(var(--split-progress, 0) * 100%), calc(var(--split-progress, 0) * -100%)); }
    .panel-center.panel-3 { transform: translate(0, calc(var(--split-progress, 0) * -100%)); }
    .panel-right-inner.panel-4 { transform: translate(calc(var(--split-progress, 0) * -100%), calc(var(--split-progress, 0) * 100%)); }
    .panel-right-outer.panel-5 { transform: translate(calc(var(--split-progress, 0) * 100%), calc(var(--split-progress, 0) * 100%)); }

    /* 3. Panel scaling for density */
    .panel-num {
        font-size: 3rem;
        bottom: 0px;
        right: 0.5rem;
    }
    .panel-title { font-size: 1.2rem; }
    .panel-desc { font-size: 0.8rem; }

    /* 4. Center Header */
    .scenarios-header-overlay {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .scenarios-header-overlay h2 {
        font-size: 2rem;
    }

    /* 5. Center Slogan Text scale down */
    .scenarios-slogan { font-size: 2rem; }

    /* Video scales responsively by default since it has ratio 16/9 and max dims */
}

/* Application Scene Gallery Styles */
.scene-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    width: 100%;
}

.scene-card {
    background: var(--clr-bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.scene-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--clr-accent-primary);
}

.scene-card-visual {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #000;
}

.scene-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform var(--transition-slow), opacity 0.5s ease;
}

.scene-card:hover .scene-card-img {
    transform: scale(1.05);
    opacity: 1;
}

/* Scene Switcher / Tabs within card */
.scene-card-tabs {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 5;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scene-tab-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.scene-tab-btn:hover {
    color: #fff;
}

.scene-tab-btn.active {
    background: var(--clr-accent-primary);
    color: var(--clr-bg-main);
}

.scene-card-info {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.scene-card-info h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--clr-text-primary);
}

.scene-card-info p {
    font-size: 0.95rem;
    color: var(--clr-text-secondary);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .scene-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

/* =========================================================================
   Tech Interactive Timeline (About Us)
   ========================================================================= */
/* =========================================================================
   Tech Interactive Timeline (About Us)
   ========================================================================= */
.tech-history-wrapper {
    position: relative;
    width: 100%;
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.tech-history-display {
    width: 90%;
    max-width: 1200px;
    display: flex;
    gap: 3rem;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    background: rgba(10, 15, 26, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 210, 255, 0.2);
    box-shadow: 0 15px 45px rgba(0, 210, 255, 0.1);
    transition: opacity 0.4s ease, transform 0.4s ease;
    align-items: center;
}

.tech-history-display.glitch-out {
    opacity: 0;
    transform: scale(0.98);
}

.tech-history-display.glitch-in {
    animation: techGlint 0.5s ease forwards;
}

@keyframes techGlint {
    0% { opacity: 0; transform: scale(1.02) translateX(-10px); filter: brightness(2); }
    100% { opacity: 1; transform: scale(1) translateX(0); filter: brightness(1); }
}

.tech-history-visual {
    position: relative;
    flex: 1;
    max-width: 50%;
    aspect-ratio: 16/9;
    padding: 1rem;
}

.tech-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: #000;
}

.tech-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.tech-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(0, 210, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.8);
    opacity: 0.6;
    animation: scan 4s linear infinite;
}

@keyframes scan {
    0% { top: -10%; }
    100% { top: 110%; }
}

.corner-grid {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--clr-accent-primary);
    z-index: 2;
}
.corner-grid.tl { top: 0; left: 0; border-right: none; border-bottom: none; }
.corner-grid.tr { top: 0; right: 0; border-left: none; border-bottom: none; }
.corner-grid.bl { bottom: 0; left: 0; border-right: none; border-top: none; }
.corner-grid.br { bottom: 0; right: 0; border-left: none; border-top: none; }

.tech-history-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.tech-year {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.tech-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.tech-desc {
    color: var(--clr-text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.tech-history-nav {
    width: 100%;
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    justify-content: center;
}

.tech-timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.5), transparent);
    transform: translateY(-50%);
    z-index: 0;
}

.tech-timeline-scroll {
    display: flex;
    gap: 4rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1.5rem 2rem;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

@media (max-width: 1200px) {
    .tech-history-nav {
        justify-content: flex-start;
    }
    .tech-timeline-scroll {
        padding-left: 2rem;
    }
}

.tech-timeline-scroll::-webkit-scrollbar {
    display: none;
}

.tech-node {
    position: relative;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    padding: 1rem;
}

.node-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--clr-bg-main);
    border: 2px solid var(--clr-text-secondary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.node-label {
    color: var(--clr-text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.4s ease;
}

.node-pulse {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--clr-accent-primary);
    opacity: 0;
    z-index: 1;
    transition: all 0.4s ease;
}

.tech-node:hover .node-dot {
    border-color: var(--clr-accent-primary);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.tech-node:hover .node-label {
    color: var(--clr-accent-primary);
}

.tech-node.active .node-dot {
    background: var(--clr-accent-primary);
    border-color: #fff;
    box-shadow: 0 0 20px var(--clr-accent-glow);
    transform: scale(1.4);
}

.tech-node.active .node-label {
    color: #fff;
    text-shadow: 0 0 10px var(--clr-accent-primary);
    transform: scale(1.1);
}

.tech-node.active .node-pulse {
    opacity: 0.6;
    transform: translateX(-50%) scale(2);
}

.tech-node.active .node-pulse {
    opacity: 0.6;
    animation: timelinePulse 2s infinite cubic-bezier(0.1, 0, 0.3, 1);
}

@keyframes timelinePulse {
    0% { transform: translateX(-50%) scale(1); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(3.5); opacity: 0; }
}

@media (max-width: 992px) {
    .tech-history-display {
        flex-direction: column;
        padding: 1.5rem;
    }
    .tech-history-visual {
        max-width: 100%;
        width: 100%;
    }
    .tech-year { font-size: 2.5rem; }
    .tech-title { font-size: 1.5rem; }
}

/* =========================================================================
   Navbar Dropdown
   ========================================================================= */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, rgba(15, 22, 36, 0.95), rgba(10, 15, 26, 0.98));
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 210, 255, 0.05);
    padding: 0.8rem;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
}

/* Invisible bridge and top pointer arrow */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: rgba(15, 22, 36, 0.95);
    border-top: 1px solid rgba(0, 210, 255, 0.15);
    border-left: 1px solid rgba(0, 210, 255, 0.15);
    z-index: -1;
}

.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 25px;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    color: var(--clr-text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: left;
    margin-bottom: 0.3rem;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

.dropdown-item::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    margin-right: 0.8rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(0, 210, 255, 0.08);
    color: #fff;
    transform: translateX(4px);
}

.dropdown-item:hover::before {
    background: var(--clr-accent-primary);
    box-shadow: 0 0 8px var(--clr-accent-primary);
}

/* =========================================================================
   IP Section & Craftsmanship (advantage-rd.html)
   ========================================================================= */
.ip-section {
    position: relative;
    padding: 6rem 0;
    background: url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?auto=format&fit=crop&q=80&w=2000') center/cover fixed;
}
.ip-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8, 11, 18, 0.95), rgba(8, 11, 18, 0.8));
}
.ip-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}
.ip-card {
    background: rgba(10, 15, 26, 0.6);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
}
.ip-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0,210,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.ip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.15);
    border-color: rgba(0, 210, 255, 0.6);
}
.ip-card:hover::before {
    opacity: 1;
}
.ip-icon {
    font-size: 3rem;
    color: var(--clr-accent-primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.4));
}
.ip-title {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    position: relative;
    z-index: 1;
}
.ip-desc {
    color: var(--clr-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Holographic Tab Switcher */
.craft-section {
    padding: 6rem 0;
    background: var(--clr-surface);
}
.holo-container {
    display: flex;
    gap: 3rem;
    background: rgba(10, 15, 26, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
}
.holo-tabs {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}
.holo-tabs::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 2px; height: 100%;
    background: rgba(255, 255, 255, 0.05);
}
.holo-tab-btn {
    background: transparent;
    border: none;
    text-align: left;
    padding: 1rem 1.5rem;
    color: var(--clr-text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    border-radius: 0 8px 8px 0;
    position: relative;
    z-index: 1;
}
.holo-tab-btn:hover {
    color: #fff;
    background: rgba(0, 210, 255, 0.05);
}
.holo-tab-btn.active {
    color: var(--clr-accent-primary);
    border-left-color: var(--clr-accent-primary);
    background: linear-gradient(90deg, rgba(0, 210, 255, 0.1), transparent);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}
.holo-content-area {
    flex: 1;
    position: relative;
    min-height: 400px;
}
.holo-pane {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
.holo-pane.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}
.holo-pane-head {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 210, 255, 0.2);
    padding-bottom: 1.5rem;
}
.holo-pane-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--clr-accent-primary);
}
.holo-pane-title {
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 0.5rem 0;
}
.holo-pane-subtitle {
    color: var(--clr-accent-primary);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin: 0;
}
.holo-pane-body {
    display: flex;
    gap: 2.5rem;
}
.holo-pane-text {
    flex: 1;
    color: var(--clr-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}
.holo-pane-img {
    flex: 0 0 45%;
    aspect-ratio: 16 / 9;
    align-self: flex-start;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.holo-pane-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.8s ease;
}
.holo-pane-img:hover img {
    transform: scale(1.05);
    opacity: 1;
}

@media (max-width: 992px) {
    .holo-container {
        flex-direction: column;
        gap: 2rem;
    }
    .holo-tabs {
        flex: none;
        flex-direction: column;
        gap: 0.5rem;
    }
    .holo-tabs::after {
        display: none;
    }
    .holo-tab-btn {
        border-left: 3px solid transparent;
        border-bottom: none;
        width: 100%;
        text-align: left;
    }
    .holo-tab-btn.active {
        border-left-color: var(--clr-accent-primary);
        background: linear-gradient(90deg, rgba(0, 210, 255, 0.1), transparent);
    }
    .holo-pane-body {
        flex-direction: column-reverse;
        gap: 1.5rem;
    }
    .holo-pane-img {
        height: 250px;
        width: 100%;
        flex: none;
    }
}

/* =========================================================================
   Reliance Speed Section (advantage-mfg.html)
   ========================================================================= */
.velocity-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
    text-align: left;
}

.velocity-timeline-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    width: 100%;
}

.timeline-connector {
    position: absolute;
    top: 12px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.4) 50%, transparent);
    z-index: 0;
}

.timeline-item {
    flex: 1;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    text-align: center;
}

.timeline-dot {
    border-radius: 50%;
    background: var(--clr-bg-surface);
    border: 2px solid var(--clr-accent-primary);
    margin: 0 auto 1.5rem;
    width: 24px;
    height: 24px;
    box-shadow: 0 0 15px var(--clr-accent-glow);
}

.timeline-dot.small {
    width: 18px;
    height: 18px;
    background: var(--clr-accent-primary);
    margin: 3px auto 1.5rem;
    box-shadow: none;
    border: none;
}

.timeline-dot.large {
    width: 28px;
    height: 28px;
    background: var(--clr-accent-primary);
    margin: -2px auto 1.5rem;
    box-shadow: 0 0 20px var(--clr-accent-primary);
    border: none;
}

.velocity-video video {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem;
}

@media (max-width: 992px) {
    .velocity-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .velocity-video {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .velocity-timeline-horizontal {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    
    .timeline-connector {
        display: none;
    }
    
    .timeline-item {
        padding: 0;
        width: 100%;
        max-width: 400px;
    }
}

/* Manufacturing Equipment Tabs (Assembly & Formation) */
.mfg-flex-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 992px) {
    .mfg-flex-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mfg-image-column {
        margin-bottom: 1rem;
    }
}