/* NIU Plant - Apple-Style Premium Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors - Refined for Deep Premium Feel */
    --niu-green: #307b3c;
    --niu-dark: #163829;
    --niu-dark-rgb: 22, 56, 41;
    --niu-accent: #4caf50;

    /* Apple-Style Neutrals */
    --bg-body: #f5f5f7;
    /* Classic Apple light grey background */
    --bg-surface: #ffffff;
    --text-main: #1d1d1f;
    /* Apple's nearly black */
    --text-muted: #555555;
    /* Darker grey for better readability */
    --border-light: rgba(0, 0, 0, 0.05);
    /* Extremely subtle border */

    /* Glassmorphism 3.0 - "VisionOS Liquid Glass" (Refined for Visibility) */
    --glass-bg: rgba(255, 255, 255, 0.65);
    /* Refractive Gradient */
    --glass-border: rgba(255, 255, 255, 0.4);
    /* Base border color */
    --glass-blur: 50px;
    --glass-saturate: 200%;

    /* Advanced layered shadows for depth */
    --glass-shadow:
        0 4px 24px -1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 0 rgba(255, 255, 255, 0.1);

    /* Shadows - Soft & Ambient */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 12px 24px -6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.08);
    /* Lift shadow */
    --shadow-inner: inset 0 0 0 1px rgba(255, 255, 255, 0.3);

    /* Spacing & Layout */
    --container-width: 1080px;
    /* Tighter container for readability */
    --header-height: 60px;
    /* Apple headers are often smaller/sleeker */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    /* For Bento cards */

    /* Transitions */
    --ease-apple: cubic-bezier(0.25, 1, 0.5, 1);
    /* Snappy but smooth */
    /* Snappy but smooth */
}

/* Ambient Background - Animated Blobs */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 50% 50%, rgba(48, 123, 60, 0.12) 0%, transparent 50%),
        /* Slightly stronger blobs */
        radial-gradient(circle at 0% 0%, rgba(22, 56, 41, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(76, 175, 80, 0.08) 0%, transparent 40%);
    z-index: -1;
    animation: drift 20s infinite alternate linear;
    pointer-events: none;
}

/* Premium Grain Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    z-index: 9999;
    pointer-events: none;
    /* background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); */
}

@keyframes drift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(-2%, -5%) rotate(5deg);
    }
}

/* Text Reveal Animation Classes */
.reveal-text {
    position: relative;
    overflow: hidden;
    display: block;
}

.reveal-text span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1s var(--ease-apple), opacity 1s var(--ease-apple);
}

.reveal-text.is-visible span {
    transform: translateY(0);
    opacity: 1;
}

/* Global Tooltip */
.custom-tooltip {
    position: fixed;
    pointer-events: none;
    background: rgba(22, 56, 41, 0.7);
    /* More transparent tooltip */
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, 10px);
    transition: opacity 0.2s, transform 0.2s;
    backdrop-filter: blur(12px);
    /* Frosted tooltip */
    -webkit-backdrop-filter: blur(12px);
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.custom-tooltip.active {
    opacity: 1;
    transform: translate(-50%, -10px);
}

/* Lenis Recommended CSS */
html.lenis {
    width: auto;
    min-height: 100%;
}

.lenis-smooth iframe {
    pointer-events: none;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.4;
    /* Tighter line height for headlines, standard for body */
    overflow-x: hidden;
    font-size: 17px;
    /* Apple standard body size */
    letter-spacing: -0.01em;
}

h1,
h2,
h3,
h4,
.role {
    font-family: 'SF Pro Display', 'Inter', -apple-system, sans-serif;
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: -0.025em;
    /* Tighter tracking for display text */
}

h2 {
    font-size: 2.5rem;
    /* Very large section headers */
    line-height: 1.05;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

p {
    line-height: 1.5;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s var(--ease-apple), transform 0.2s var(--ease-apple);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container.header-wide {
    max-width: 1400px;
    /* Wider for Navbar */
}

.section {
    padding: 160px 0;
    /* Huge whitespace */
    position: relative;
    overflow: hidden;
}

/* Premium Background Utilities */
.bg-texture-light {
    background-color: #fcfcfc;
    /* Clean premium off-white */
    /* Texture provided by global body::after overlay */
}

.bg-luxury-dark {
    background: url('../images/bg_hero_luxury.png') no-repeat center center;
    background-size: cover;
    color: white;
}

.bg-luxury-dark h2,
.bg-luxury-dark p {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.bg-palm-overlay {
    position: relative;
    background: url('https://res.cloudinary.com/dzemp8tky/image/upload/f_auto,q_auto/v1769878865/bg_palm_art_xpbsrz.jpg') no-repeat center center;
    background-size: cover;
    color: white;
}

.bg-palm-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 56, 41, 0.85);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.bg-palm-overlay>* {
    position: relative;
    z-index: 2;
}

.grid {
    display: grid;
    gap: 24px;
    /* Uniform gap for Bento */
}

.flex {
    display: flex;
    gap: 16px;
}

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

.text-green {
    color: var(--niu-green);
}

.bg-surface {
    background-color: var(--bg-body);
    /* Keep consistent bg */
}

/* Navbar - Floating Glass Pill */
/* Navbar - Floating Glass Pill */
header {
    /* VisionOS Header: Liquid, Alive, Refractive */
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;

    background: rgba(255, 255, 255, 0.65);
    /* Frosted Material for Visibility */
    backdrop-filter: blur(50px) saturate(200%);
    -webkit-backdrop-filter: blur(50px) saturate(200%);

    /* The "Wet" Look Border & Highlight */
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.05),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.8);
    /* Top Specular Highlight */

    border-radius: 99px;
    z-index: 1000;
    transition: all 0.3s var(--ease-apple);
    overflow: hidden;
    /* Contains the liquid sheen */
}

/* Header Hover: "Alive" State */
header:hover {
    background: rgba(255, 255, 255, 0.75);
    box-shadow:
        0 12px 48px 0 rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.9);
    transform: translateX(-50%) translateY(-1px);
}

header .container {
    height: 64px;
    padding: 0 60px;
    /* Increased padding creates visual width */
    display: flex;
    justify-content: center;
    /* Groups items closer */
    gap: 80px;
    /* Specific, intentional gap between logo and links */
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.25rem;
    /* Fallback text size */
    color: var(--text-main);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
}

header .logo img {
    height: 64px !important;
    /* Increased from 48px to ~64px to fill space */
    width: auto;
    max-width: none;
    /* Ensure no constraints */
    object-fit: contain;
    transition: transform 0.3s var(--ease-apple);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    /* Subtle lift */
}

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

nav ul {
    position: relative;
    /* Anchor for backdrop */
    display: flex;
    /* Ensure flex layout */
    gap: 32px !important;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    position: relative;
    /* Above backdrop */
    z-index: 5;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    opacity: 0.8;
    padding: 10px 20px;
    border-radius: 30px;
    transition: color 0.3s;
}



/* ONLY white when the pill is actually there (added by JS) */
nav ul li a.nav-item-hover {
    color: white !important;
    opacity: 1;
    transition: color 0.1s ease-out;
}

/* Ensure Active Page link is dark by default if it doesn't have the pill */
nav ul li a.active {
    color: var(--niu-dark);
}

.nav-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    background: #307b3c;
    border-radius: 30px;
    z-index: 1;
    /* Behind text */
    opacity: 0;
    box-shadow: 0 4px 12px rgba(48, 123, 60, 0.3);
    pointer-events: none;
}

/* Hero Section - Cinematic Video Simulation */
.hero-section {
    padding-top: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Initial Hidden State for Smooth Loading */
.hero-bg-container,
.hero-subtitle,
.certifications-bar,
.hero-content .btn-primary {
    opacity: 0;
    visibility: hidden;
}

/* The Living Background Container */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

/* The Image itself - Ken Burns Effect */
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 30s infinite alternate ease-in-out;
    transform-origin: center center;
    will-change: transform;
    /* Optimizes mobile rendering */
}

@keyframes kenBurns {
    0% {
        transform: scale(1.0) translate(0, 0);
    }

    50% {
        transform: scale(1.1) translate(-1%, 1%);
    }

    100% {
        transform: scale(1.15) translate(1%, -1%);
    }
}

/* Cinematic Vignette Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

/* Dust Motes Overlay */
.dust-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    mix-blend-mode: overlay;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    /* Above all visuals */
    padding-top: 150px;
    /* Increased to clear the wider navbar */
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 40px;
    color: white;
    /* White text for contrast against video */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    /* Deep shadow for readability */
}

.hero-title a {
    color: #81c784;
    /* Lighter green for dark background */
    -webkit-text-fill-color: #81c784;
    text-decoration-color: rgba(129, 199, 132, 0.5);
    transition: all 0.3s;
}

.hero-title a:hover {
    color: #a5d6a7;
    text-shadow: 0 0 20px rgba(129, 199, 132, 0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    /* Reduced from 1.6rem */
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    max-width: 760px;
    margin: 0 auto 48px auto;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    text-align: center;
    /* Center align */
    text-align-last: center;
    /* Center the last line for balance */
}

.btn-primary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    /* More transparent glass base */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 18px 48px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s var(--ease-apple);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.btn-primary:hover {
    background: white;
    color: var(--niu-dark);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    border-color: white;
}

/* Cards & Bento Grid System - Glassmorphism Remaster */
.bento-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-apple), box-shadow 0.4s var(--ease-apple);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.bento-card:hover {
    transform: scale(1.01) translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.45);
    /* Slightly less transparent on hover */
    z-index: 10;
}

/* Image Placeholders */
.image-placeholder {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s var(--ease-apple);
}

.hero-image {
    height: 60vh;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 0;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-image:hover {
    transform: scale(1.01);
}

/* Certifications Bar */
/* Certifications Bar - Enhanced */
.certifications-bar {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    opacity: 1;
}

.cert-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s var(--ease-apple) backwards;
}

.cert-item:nth-child(1) {
    animation-delay: 0.1s;
}

.cert-item:nth-child(2) {
    animation-delay: 0.2s;
}

.cert-item:nth-child(3) {
    animation-delay: 0.3s;
}

.cert-item:nth-child(4) {
    animation-delay: 0.4s;
}

.cert-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy enter */
    cursor: pointer;
}

.cert-item:hover .cert-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.15) translateY(-5px);
    filter: drop-shadow(0 10px 15px rgba(48, 123, 60, 0.3));
}

/* Tooltip Styles */
.cert-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(22, 56, 41, 0.95);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-apple);
    pointer-events: none;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.cert-item::after {
    content: '';
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent rgba(22, 56, 41, 0.95) transparent;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-apple);
    z-index: 100;
}

.cert-item:hover::before,
.cert-item:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Products - Swiper & Grid */
.product-swiper {
    padding-bottom: 60px;
}

.product-item {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s var(--ease-apple);
}

.product-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.45);
}

/* Team Section - Ultra Premium Profile Cards */
.leadership-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    padding: 20px;
}

.profile-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    padding: 60px 40px;
    border-radius: 40px;
    text-align: center;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    /* Subtle border gradient via box-shadow hack or border-image if needed, 
       but inset shadow is cleaner for apple style */
}

/* Shimmer Effect */
.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
    z-index: 10;
}

.profile-card:hover::before {
    left: 150%;
    transition: 0.7s ease-in-out;
}

.profile-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow:
        0 30px 60px rgba(30, 80, 45, 0.15),
        /* Green tinted deep shadow */
        inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.profile-card .image-placeholder {
    width: 160px !important;
    height: 160px !important;
    margin: 0 auto 40px !important;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.05),
        0 0 0 8px rgba(255, 255, 255, 0.3);
    /* Outer ring */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-card:hover .image-placeholder {
    transform: scale(1.08) rotate(-2deg);
    box-shadow:
        0 16px 32px rgba(48, 123, 60, 0.2),
        0 0 0 12px rgba(48, 123, 60, 0.05);
    /* Green ring expands */
    border-color: #fff;
}

.profile-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #1d1d1f 0%, #307b3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.profile-card .role {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--niu-green);
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(48, 123, 60, 0.08);
    /* Minimal pill bg */
    padding: 8px 4px;
    /* Slightly reduced padding */
    border-radius: 30px;
}

/* Staggered Socials */
.profile-socials {
    display: flex;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-card:hover .profile-socials {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.profile-socials .social-btn {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.profile-card:hover .profile-socials .social-btn {
    opacity: 1;
    transform: translateY(0);
}

.profile-card:hover .profile-socials .social-btn:nth-child(1) {
    transition-delay: 0.15s;
}

.profile-card:hover .profile-socials .social-btn:nth-child(2) {
    transition-delay: 0.25s;
}



/* Chart Canvas */
.chart-container {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

/* Footer - Simple & Clean */
footer {
    background: white;
    padding: 80px 0;
    border-top: 1px solid var(--border-light);
}

footer p {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --container-width: 100%;
        --header-height: 50px;
    }

    /* Reset Header for Mobile */
    header {
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        min-width: 100%;
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        background: rgba(255, 255, 255, 0.9);
    }

    .hero-section {
        padding-top: 160px;
        min-height: auto;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    header .container {
        padding: 0 20px;
    }

    nav {
        display: none;
    }

    /* Still hiding nav for simplicity */

    .certifications-bar {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* Future/Looking Ahead Section - Dark Cinematic */
.future-section {
    position: relative;
    padding: 200px 0;
    overflow: hidden;
    background-color: #0b1c14;
    /* Very deep, almost black green */
    color: white;
}

/* Ambient Glow Effect */
.future-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 150%;
    background: radial-gradient(circle at 50% 50%, rgba(48, 123, 60, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

/* Subtle Grid Background */
.future-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    opacity: 0.3;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.future-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.future-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #81c784;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.future-title {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 40px;
    color: white;
    text-shadow: 0 0 40px rgba(76, 175, 80, 0.4);
    background: none;
    -webkit-text-fill-color: initial;
}

.future-text {
    font-size: 1.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    max-width: 840px;
    margin: 0 auto;
    letter-spacing: -0.01em;
}

.highlight-text {
    color: white;
    font-weight: 600;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .future-section {
        padding: 120px 0;
    }

    .future-title {
        font-size: 3rem;
    }

    .future-text {
        font-size: 1.2rem;
    }
}

/* Footer - Premium Descriptive & Glass */
footer {
    position: relative;
    padding: 120px 0 60px;
    background: #ffffff;
    /* Clean solid white */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Explicitly left-align */
    gap: 0;
}

.footer-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 320px;
}

.footer-credit-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s var(--ease-apple);
    font-weight: 500;
}

.footer-credit-link:hover {
    color: var(--niu-green);
    text-shadow: 0 0 10px rgba(48, 123, 60, 0.3);
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--niu-dark);
    margin-bottom: 24px;
    opacity: 0.7;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-nav a {
    font-size: 1.05rem;
    color: var(--text-muted);
    transition: all 0.3s var(--ease-apple);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
}

.footer-nav a:hover {
    color: var(--niu-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    /* Force Circle */
    min-height: 48px;
    /* Force Circle */
    border-radius: 50%;
    background: white;
    /* Clean white base */
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    /* Prevent squishing */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Reliable smooth ease */
    color: var(--niu-dark);
    position: relative;
    z-index: 1;
}

/* Remove complex pseudo-elements */
.social-btn::before {
    display: none;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    background: var(--niu-green);
    border-color: var(--niu-green);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(48, 123, 60, 0.3);
}

.social-btn:hover svg {
    transform: scale(1.15);
    color: white;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand-col {
        align-items: center;
    }

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

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 24px;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 40px;
}

.contact-info .page-title {
    font-size: 3.5rem;
    /* Adjusted for balance */
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #163829 0%, #307b3c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
    background-clip: text;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 48px;
}

.contact-item .label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-item .value {
    font-size: 1.25rem;
    color: var(--niu-dark);
    font-weight: 500;
    line-height: 1.5;
}

.contact-item .value.link {
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item .value.link:hover {
    color: var(--niu-green);
}

/* Glass Form */
.glass-form {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    padding: 48px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--niu-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.8);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s var(--ease-apple);
    color: var(--text-main);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--niu-green);
    background: white;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
    resize: vertical;
}

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

    .contact-info .page-title {
        font-size: 2.5rem;
    }

    .glass-form {
        padding: 32px;
    }
}

/* =========================================
   Products Page - Premium Remaster
   ========================================= */

/* Product Hero */
.product-hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--niu-dark);
    /* Fallback/Main color */
    background: radial-gradient(circle at center, rgba(22, 56, 41, 0.5) 0%, transparent 80%),
        url('https://res.cloudinary.com/dzemp8tky/image/upload/f_auto,q_auto/v1769878865/bg_palm_art_xpbsrz.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    margin-bottom: 60px;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.product-hero.about-hero {
    background: radial-gradient(circle at center, rgba(22, 56, 41, 0.5) 0%, transparent 80%),
        url('https://res.cloudinary.com/dzemp8tky/image/upload/f_auto,q_auto/v1769878859/aboutbackground_cx0n0i.jpg') no-repeat center center;
    background-size: cover;
}

.product-hero.team-hero {
    background: radial-gradient(circle at center, rgba(22, 56, 41, 0.1) 0%, rgba(22, 56, 41, 0.4) 100%),
        url('https://res.cloudinary.com/dzemp8tky/image/upload/f_auto,q_auto/v1769878853/teamherobackground_of5vwl.jpg') no-repeat center 85%;
    background-size: cover;
    /* Move text up */
    align-items: flex-start;
    padding-top: 140px;
}

.product-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: #ffffff;
    /* Gradient removed to fix visibility issue on some rendering engines */
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

#product-hero-title {
    position: relative;
    overflow: hidden;
}

#product-hero-title span {
    display: inline-block;
    opacity: 0;
    /* Clean slate for GSAP */
    transform: translateY(100%);
    transition: none !important;
    /* CRITICAL: Prevent CSS fighting GSAP */
}

.product-hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Filter Menu - Magnetic Glass Pill */
.filter-menu-container {
    display: flex;
    justify-content: center;
    margin: -90px auto 60px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
}

.filter-menu {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.filter-btn {
    padding: 12px 32px;
    border-radius: 99px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-apple);
    position: relative;
    font-size: 1rem;
    white-space: nowrap;
}

.filter-btn:hover {
    color: var(--niu-dark);
}

.filter-btn.active {
    background: var(--niu-green);
    color: white;
    box-shadow: 0 4px 12px rgba(48, 123, 60, 0.3);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    padding-bottom: 120px;
}

/* Premium Product Card */
.product-card-premium {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-premium:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.card-image-wrapper {
    height: 320px;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s var(--ease-apple);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.product-card-premium:hover .card-image-wrapper img {
    transform: scale(1.1) translateY(-10px);
}

/* Floating Badge */
.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--niu-green);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--niu-dark);
}

.card-content p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.meta-pill {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: #f5f5f7;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 500;
}

/* "Learn More" Reveal on Hover */
.learn-more-btn {
    opacity: 0;
    transform: translateY(10px);
    color: var(--niu-green);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s var(--ease-apple);
    margin-top: 16px;
}

.product-card-premium:hover .learn-more-btn {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .product-hero {
        height: auto;
        padding: 140px 24px 80px;
        min-height: auto;
        border-radius: 0 0 24px 24px;
    }

    .product-hero h1 {
        font-size: 2rem;
        /* Reduced from 2.5rem */
        line-height: 1.1;
    }

    .filter-menu-container {
        margin-top: -40px;
        overflow-x: auto;
        padding: 0 24px;
        justify-content: flex-start;
        /* Horizontal scroll on mobile */
        width: 100%;
        scrollbar-width: none;
        /* Hide scrollbar */
    }

    .filter-menu-container::-webkit-scrollbar {
        display: none;
    }

    .filter-menu {
        width: max-content;
    }

    .product-grid {
        gap: 24px;
    }
}

/* Operations Team Section */
.ops-category-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--niu-green);
    margin-bottom: 24px;
    padding-left: 12px;
    border-left: 4px solid var(--niu-green);
}

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

.ops-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.ops-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(48, 123, 60, 0.15);
    border-color: rgba(48, 123, 60, 0.3);
}

.ops-image {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
}

.ops-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(20%);
}

.ops-card:hover .ops-image img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.ops-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ops-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--niu-dark);
}

.ops-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--niu-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    display: block;
}

.ops-content p {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

/* Contact Form Submit Button */
.btn-submit {
    display: block;
    width: 100%;
    background: var(--niu-green);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 18px 32px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(48, 123, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    background: #163829;
    /* Darker Green */
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(48, 123, 60, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(48, 123, 60, 0.3);
}

/* =========================================
   MOBILE RESPONSIVENESS & HAMBURGER MENU
   ========================================= */

/* Mobile Menu Toggle (Hamburger) */
.mobile-toggle {
    display: none;
    /* Hidden on desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    /* Spacing between bars */
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    /* Above everything */
    padding: 0;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s var(--ease-apple);
    position: relative;
    transform-origin: center;
}

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

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    /* Less transparency for legibility */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 990;
    /* Below toggle, above header */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s var(--ease-apple);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-apple);
}

.mobile-menu-overlay.active .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays handled in CSS for simplicity, or JS */
.mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-menu-overlay.active .mobile-nav-links li:nth-child(5) {
    transition-delay: 0.3s;
}

.mobile-nav-link {
    font-family: 'SF Pro Display', 'Inter', sans-serif;
    font-size: 1.75rem;
    /* Slightly smaller for capsule fit */
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: all 0.3s var(--ease-apple);
    display: inline-block;
    padding: 12px 32px;
    border-radius: 99px;
    background: transparent;
    /* Default */
}

.mobile-nav-link:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--niu-dark);
    transform: scale(1.02);
}

.mobile-nav-link.active {
    background: var(--niu-green);
    color: white;
    box-shadow: 0 8px 24px rgba(48, 123, 60, 0.25);
}

.mobile-nav-link:active {
    transform: scale(0.96);
}

/* =========================================
   MEDIA QUERIES
   ========================================= */

@media (max-width: 1024px) {
    :root {
        --container-width: 90%;
    }

    header .container {
        padding: 0 32px;
        gap: 40px;
    }

    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {

    /* Header & Nav */
    header {
        top: 16px;
        width: 90%;
        /* Wider pill on mobile */
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px;
        /* Slightly less rounded */
    }

    header .container {
        padding: 0 24px;
        height: 56px;
        justify-content: space-between;
        /* Space out logo and hamburger */
    }

    /* Hide Desktop Nav */
    header nav {
        display: none;
    }

    /* Show Mobile Toggle */
    .mobile-toggle {
        display: flex;
    }

    /* Logo Adjustment */
    header .logo img {
        height: 40px !important;
        /* Smaller logo */
    }

    /* Hero Section */
    .hero-content {
        padding-top: 120px;
        /* Less padding */
    }

    .hero-title {
        font-size: 2.25rem;
        /* Smaller title */
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .certifications-bar {
        gap: 16px;
        flex-wrap: wrap;
    }

    .cert-logo {
        width: 48px;
        height: 48px;
    }

    /* Layouts */
    .grid {
        grid-template-columns: 1fr;
        /* Stack grids */
    }

    .flex {
        flex-direction: column;
    }

    .section {
        padding: 80px 0;
        /* Reduced vertical spacing */
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .footer-brand-col {
        align-items: center;
        text-align: center;
    }

    .footer-nav {
        align-items: center;
        /* Center links */
    }



    /* Global Container */
    .container {
        padding: 0 20px;
    }

    /* Typography */
    h2 {
        font-size: 2rem;
        /* Smaller section headers */
    }

    /* Team / Products Cards */
    .profile-card {
        padding: 40px 24px;
    }

    .product-swiper {
        padding-bottom: 40px;
    }

    /* ---------------------------------------------------------
       NEW MOBILE COMPONENT OVERRIDES (About, Contact, Global)
       --------------------------------------------------------- */

    /* Typography Overrides */
    .section-heading,
    .page-title {
        font-size: 2.25rem !important;
        /* Force smaller on mobile */
    }

    /* About Page: Clean Split (Our Approach) */
    .clean-split {
        flex-direction: column;
        gap: 40px;
    }

    .clean-split-image {
        width: 100%;
        height: 300px;
        /* Shorter on mobile */
    }

    .clean-split-content {
        padding-left: 0;
        /* Reset padding */
    }

    /* About Page: Clean Grid (Vision & Mission Cards) */
    .clean-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .clean-card {
        padding: 40px 24px;
        /* Reduced padding */
        min-height: auto;
    }

    /* About Page: Vision Mission Section (Gallery Layout) */
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .vm-image-tall {
        grid-column: auto;
        grid-row: auto;
        height: 300px;
        /* Shorter for mobile */
    }

    /* About Page: Values Grid */
    .clean-values-row,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* About Page: Philosophy */
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .philosophy-text {
        padding-right: 0;
    }

    .philosophy-image {
        height: 300px;
    }

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

    .glass-form {
        padding: 32px 24px;
    }

    .contact-info .page-title {
        font-size: 2.5rem !important;
    }

    /* Footer Adjustments */
    .footer-content {
        gap: 48px;
    }
}

/* Executive Contact Pills (Global) */
.contact-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    width: fit-content;
    margin: 0 auto;
}

.contact-pill:hover {
    background: var(--niu-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(48, 123, 60, 0.2);
    border-color: transparent;
}

.contact-pill svg {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.contact-pill:hover svg {
    opacity: 1;
    stroke: white;
}

/* =========================================
   About Page - Clean Minimalist Layout (Final)
   ========================================= */

/* Section Utility */
.bg-soft-grey {
    background-color: #F5F5F7;
}

.bg-white {
    background-color: #FFFFFF;
}

.section-premium-spacing {
    padding: 160px 0;
}

/* Shared Typography */
.section-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--niu-green);
    font-weight: 700;
    margin-bottom: 24px;
}

.section-header {
    margin-bottom: 64px;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.section-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 540px;
    font-weight: 400;
}

/* 1. Clean Split (Our Approach) */
.clean-split {
    display: flex;
    align-items: center;
    gap: 80px;
}

.clean-split-image {
    flex: 1;
    height: 600px;
    border-radius: 4px;
    /* Sharp, editorial corners */
    overflow: hidden;
    /* Subtle separation/shadow */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.clean-split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.clean-split:hover .clean-split-image img {
    transform: scale(1.05);
    /* Very slow, dignified zoom */
}

.clean-split-content {
    flex: 1;
    padding-left: 40px;
}

/* 2. Clean Grid (Vision & Mission) */
.clean-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.clean-card {
    border-radius: 24px;
    padding: 64px 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease;
}

.clean-card:hover {
    transform: translateY(-8px);
}

.clean-card.dark {
    background: #0F2A1F;
    /* Deep NIU Green */
    color: white;
}

.clean-card.light {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.card-heading {
    font-size: 2rem;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.clean-card.dark .card-heading {
    color: white;
}

.clean-card.light .card-heading {
    color: var(--niu-dark);
}

.card-text {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 400px;
}

.clean-card.dark .card-text {
    color: rgba(255, 255, 255, 0.8);
}

.clean-card.light .card-text {
    color: var(--text-muted);
}


/* 3. Clean Values Row (Core Values) */
.clean-values-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    /* Top border line */
}

.clean-value-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-number {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--niu-green);
    font-family: 'SF Mono', monospace;
    display: block;
    margin-bottom: 8px;
}

.value-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--niu-dark);
    margin: 0;
}

.value-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* About Page - Philosophy Section */
.philosophy-section {
    padding: 120px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-text {
    padding-right: 40px;
}

.philosophy-text .section-heading {
    font-size: 2.5rem;
    margin-bottom: 32px;
    line-height: 1.2;
    color: var(--niu-dark);
}

.philosophy-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.philosophy-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    background: #f5f5f7;
}

.philosophy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s var(--ease-apple);
}

.philosophy-image:hover img {
    transform: scale(1.05);
}

/* Vision & Mission Section - Gallery Stack */
.vision-mission-section {
    padding: 120px 0;
    background: #f5f5f7;
    position: relative;
}

.vision-mission-section .section-header {
    margin-bottom: 60px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    /* Text slightly wider than image */
    grid-auto-rows: auto;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 1. Tall Image (Left) */
.vm-image-tall {
    grid-column: 2;
    grid-row: 1 / 3;
    /* Spans full height */
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.vm-image-tall img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.vm-image-tall:hover img {
    transform: scale(1.05);
}

/* 2. Text Cards (Right) */
.vm-card {
    border-radius: 24px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06);
}

/* Dark Card (Vision) */
.vm-card-dark {
    background: white;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.vm-card-dark .vm-heading {
    color: var(--niu-dark);
}

.vm-card-dark .vm-text {
    color: var(--text-muted);
}

/* Light Card (Mission) */
.vm-card-light {
    background: white;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.vm-card-light .vm-heading {
    color: var(--niu-dark);
}

.vm-heading {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 16px 0 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.vm-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 480px;
}

/* Core Values Section */
.values-section {
    padding: 120px 0;
    background: white;
    position: relative;
}

.values-section .section-header {
    margin-bottom: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s var(--ease-apple);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--niu-green);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-apple);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(48, 123, 60, 0.12);
    border-color: rgba(48, 123, 60, 0.2);
}

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

.value-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--niu-green);
    margin-bottom: 24px;
    display: block;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.value-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--niu-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.value-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 900px) {
    .section-premium-spacing {
        padding: 80px 0;
    }

    .section-heading {
        font-size: 2.5rem;
    }

    .clean-split {
        flex-direction: column;
        gap: 40px;
    }

    .clean-split-image {
        width: 100%;
        height: 300px;
    }

    .clean-split-content {
        padding-left: 0;
    }

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

    .clean-card {
        min-height: auto;
        padding: 40px 32px;
    }

    .clean-values-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* About Page Responsive */
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .philosophy-text {
        padding-right: 0;
    }

    .philosophy-text .section-heading {
        font-size: 2.5rem;
    }

    .philosophy-image {
        height: 400px;
    }

    /* Vision Mission Stack */
    .vision-mission-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        /* Auto height */
        height: auto;
        /* Remove fixed height */
        gap: 24px;
    }

    .vm-image-tall {
        grid-column: 1;
        grid-row: auto;
        height: 300px;
        order: 1;
        /* Image first? Or text first? Let's keep Image top (gallery style) */
    }

    .vm-card {
        padding: 40px 32px;
        min-height: auto;
    }

    .vm-card.vm-card-dark {
        order: 2;
    }

    .vm-card.vm-card-light {
        order: 3;
    }

    .vm-heading {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .value-card {
        padding: 40px 32px;
    }

    .value-title {
        font-size: 1.75rem;
    }
}

/* Founder Teaser Hover Effect - Masterpiece Glow */
.founder-trigger-card {
    position: relative;
    overflow: hidden;
}

.founder-trigger-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-25deg);
    transition: left 0.7s;
}

.founder-trigger-card:hover::after {
    left: 150%;
    transition: left 0.7s ease-in-out;
}

.founder-trigger-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(48, 123, 60, 0.1) !important;
}

/* --- Masterpiece Modal 2.0: "The Reveal" --- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    /* Ease-in-out Cubic */
    perspective: 1000px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 1. Backdrop: Deep Cinematic Blur */
.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 30, 20, 0.7);
    /* Darker, richer green-black */
    backdrop-filter: blur(0px);
    /* Start no blur */
    -webkit-backdrop-filter: blur(0px);
    transition: backdrop-filter 1s ease, background 1s ease;
}

.modal-overlay.active .modal-backdrop {
    background: rgba(10, 30, 20, 0.85);
    backdrop-filter: blur(30px) saturate(120%);
    -webkit-backdrop-filter: blur(30px) saturate(120%);
}

/* 2. Content Card: Floating Glass Monolith */
.modal-content-wrapper {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    background: #ffffff;
    border-radius: 40px;
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    /* Subtle rim */
    overflow: hidden;
    transform: rotateX(10deg) translateY(100px) scale(0.9);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-content-wrapper {
    transform: rotateX(0) translateY(0) scale(1);
    opacity: 1;
    transition-delay: 0.1s;
}

/* Ambient Glow Decoration */
.modal-content-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(48, 123, 60, 0.1) 0%, transparent 60%);
    z-index: 10;
    pointer-events: none;
    opacity: 0.6;
}

/* 3. Close Button: Magnetic Pulse */
.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy */
}

.modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.3);
    /* Glow ring */
}

.modal-body-grid {
    display: grid;
    grid-template-columns: 1fr;
    height: 100%;
    overflow-y: auto;
}

@media (min-width: 900px) {
    .modal-body-grid {
        grid-template-columns: 45% 55%;
        overflow: hidden;
    }
}

/* 4. Image: "Curtain Reveal" Effect */
.modal-image-col {
    position: relative;
    height: auto;
    /* Allow natural height on mobile */
    min-height: 300px;
    /* Minimum height for mobile */
    overflow: hidden;
    background: #1a1a1a;
}

@media (min-width: 900px) {
    .modal-image-col {
        height: 100%;
    }
}

.modal-portrait {
    width: 100%;
    height: auto;
    /* Natural height (mobile) */
    object-fit: contain;
    /* Prevent cropping (mobile) */
    opacity: 0;
    transform: scale(1.2);
    /* Clip-path reveal animation */
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    transition:
        transform 1.8s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.5s ease;
    margin-top: -30px;

}

@media (min-width: 900px) {
    .modal-portrait {
        height: 100%;
        object-fit: cover;
        /* Fill space on desktop */
        object-position: top center;
        /* Ensure head is visible */
        margin-top: 0;
        /* Reset nudge on desktop */
    }
}

.modal-overlay.active .modal-portrait {
    opacity: 1;
    transform: scale(1);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition-delay: 0.3s;
    transition-duration: 1.2s;
    /* Slower, majestic reveal */
}

/* 5. Text Column & Typography */
.modal-text-col {
    padding: 32px 24px;
    /* Reduced mobile padding */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: visible;
    /* Allow full scroll on mobile */
    height: auto;
    /* Natural height on mobile */
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f5 100%);
}

.modal-text-col:after {
    content: '';
    display: block;
    height: 40px;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .modal-text-col {
        padding: 80px 100px;
        height: 100%;
        overflow-y: auto;
        /* Independent scroll on desktop */
    }
}

/* Staggered Text Animations */
.modal-role {
    display: inline-block;
    color: var(--niu-green);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 24px;

    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1) 0.4s;
    flex-shrink: 0;
}

.modal-name {
    font-size: 2rem;
    /* Reduced from 2.5rem to prevent awkward wrap */
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    /* Gradient Text */
    background: -webkit-linear-gradient(45deg, #1d1d1f, #555);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1) 0.5s;
    flex-shrink: 0;
}

@media (min-width: 900px) {
    .modal-name {
        font-size: 3.5rem;
        margin-bottom: 40px;
        line-height: 1;
    }
}

.modal-bio {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;

    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1) 0.6s;
}

.modal-overlay.active .modal-role,
.modal-overlay.active .modal-name,
.modal-overlay.active .modal-bio {
    transform: translateY(0);
    opacity: 1;
}

/* 6. List Item Stagger within Bio */
.modal-bio ul li {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.modal-overlay.active .modal-bio ul li {
    opacity: 1;
    transform: translateX(0);
}

/* Manual Delay Loop for first 10 items to avoid huge CSS bloat */
.modal-overlay.active .modal-bio ul li:nth-child(1) {
    transition-delay: 0.7s;
}

.modal-overlay.active .modal-bio ul li:nth-child(2) {
    transition-delay: 0.75s;
}

.modal-overlay.active .modal-bio ul li:nth-child(3) {
    transition-delay: 0.8s;
}

.modal-overlay.active .modal-bio ul li:nth-child(4) {
    transition-delay: 0.85s;
}

.modal-overlay.active .modal-bio ul li:nth-child(5) {
    transition-delay: 0.9s;
}


.modal-overlay.active .modal-role,
.modal-overlay.active .modal-name,
.modal-overlay.active .modal-bio {
    transform: translateY(0);
}

/* Custom Scrollbar for Modal Text */
.modal-text-col::-webkit-scrollbar {
    width: 6px;
}

.modal-text-col::-webkit-scrollbar-track {
    background: transparent;
}

.modal-text-col::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

/* Future Products Styling */
/* Future Products Styling - Creative Muted Tech Style */
.product-card-premium.future {
    background: #ffffff;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card-premium.future:hover {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Darkened Image Wrapper with Pulse -> Muted Tech Grid */
.product-card-premium.future .card-image-wrapper {
    background-color: #f8f9fa;
    background-image: radial-gradient(#e2e4e8 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
}

.product-card-premium.future .card-image-wrapper img {
    filter: grayscale(100%) opacity(0.25) brightness(0.7);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    mix-blend-mode: luminosity;
    transform: scale(1.01);
}

/* Vignette Overlay (Replaces Scanline) */
.product-card-premium.future .card-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 50%, rgba(0, 0, 0, 0.03) 100%);
    pointer-events: none;
}

/* Removed scanline animation */

/* Locked Overlay */
.locked-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    pointer-events: none;
    width: 100%;
}

.future-icon {
    width: 56px;
    height: 56px;
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: pulse-icon 4s ease-in-out infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.05);
        transform: scale(1);
        border-color: rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 0 25px 0 rgba(255, 255, 255, 0.1);
        transform: scale(1.03);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

.future-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
    backdrop-filter: blur(4px);
}

/* Hover Effects */
.product-card-premium.future:hover .card-image-wrapper img {
    filter: grayscale(100%) opacity(0.35) brightness(0.9);
    transform: scale(1.05);
}

.product-card-premium.future:hover .future-icon {
    color: #fff;
    background: rgba(48, 123, 60, 0.9);
    /* NIU Greenish */
    border-color: rgba(255, 255, 255, 0.3);
    animation: none;
    transform: scale(1.1) rotate(5deg);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card-premium.future:hover .future-label {
    background: rgba(48, 123, 60, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

/* Adjust badge for future */
.product-card-premium.future .product-badge {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-muted);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ========================================
   Contact Form Success Modal
   Apple-inspired Animated Modal
======================================== */

/* Modal Overlay */
.form-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.form-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.form-modal-container {
    max-width: 440px;
    width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-modal-overlay.active .form-modal-container {
    transform: scale(1) translateY(0);
}

/* Modal Content */
.form-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 28px;
    padding: 48px 40px;
    text-align: center;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Success Checkmark Animation */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.checkmark-svg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--niu-green);
    stroke-miterlimit: 10;
    box-shadow: inset 0 0 0 var(--niu-green);
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--niu-green);
    fill: none;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Animate on modal active */
.form-modal-overlay.active .checkmark-circle {
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
    animation-delay: 0.1s;
}

.form-modal-overlay.active .checkmark-check {
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) forwards;
    animation-delay: 0.5s;
}

.form-modal-overlay.active .checkmark-svg {
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.8s both;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0 0 0 40px rgba(48, 123, 60, 0.1);
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

/* Modal Title */
.form-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    transition-delay: 0.3s;
}

.form-modal-overlay.active .form-modal-title {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Text */
.form-modal-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    transition-delay: 0.4s;
}

.form-modal-overlay.active .form-modal-text {
    opacity: 1;
    transform: translateY(0);
}

/* Modal Button */
.form-modal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--niu-green);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 99px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 14px rgba(48, 123, 60, 0.4);
    opacity: 0;
    transform: translateY(10px);
    transition-delay: 0.5s;
}

.form-modal-overlay.active .form-modal-btn {
    opacity: 1;
    transform: translateY(0);
}

.form-modal-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(48, 123, 60, 0.5);
    background: #256b2f;
}

.form-modal-btn:active {
    transform: translateY(0) scale(0.98);
}

.form-modal-btn svg {
    transition: transform 0.3s ease;
}

.form-modal-btn:hover svg {
    transform: translateX(4px);
}

/* Submit Button Loading State */
.btn-submit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-submit .btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .btn-loader {
    display: inline-flex !important;
}