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

:root {
    /* Colors */
    --navy-900: #060f1f;
    --navy-800: #0a1a2f;
    --navy-700: #0f2540;
    --navy-600: #143055;
    --blue-600: #1565C0;
    --blue-500: #1976D2;
    --cyan-400: #00B4D8;
    --cyan-300: #4DD0E1;
    --orange-500: #FF6B35;
    --amber-400: #FBBF24;
    --purple-500: #7C3AED;
    --gray-900: #1a1a2e;
    --gray-700: #374151;
    --gray-500: #6B7280;
    --gray-300: #D1D5DB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    --white: #ffffff;
    --light-bg: #F5F7FA;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-condensed: 'Barlow Condensed', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1280px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Header */
    --header-h: 72px;
    --header-top-h: 32px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* RTL support for Arabic */
html[dir="rtl"] body {
    text-align: right;
}

html[dir="rtl"] .header-top-left,
html[dir="rtl"] .header-top-right,
html[dir="rtl"] .header-main-inner,
html[dir="rtl"] .main-nav > ul,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .product-features li,
html[dir="rtl"] .footer-grid {
    direction: rtl;
}

html[dir="rtl"] .product-features li {
    padding-left: 0;
    padding-right: 24px;
}

html[dir="rtl"] .product-features li::before {
    left: auto;
    right: 0;
}

html[dir="rtl"] .mega-col ul li a:hover {
    padding-left: 0;
    padding-right: 4px;
}

html[dir="rtl"] .footer-col ul li a:hover {
    padding-left: 0;
    padding-right: 4px;
}

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

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

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

/* ==================== BUTTONS ==================== */
.btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--cyan-400);
    color: var(--navy-900);
    padding: 12px 24px;
    font-size: 14px;
}

.btn-primary:hover {
    background: var(--cyan-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 24px;
    font-size: 14px;
}

.btn-outline:hover {
    border-color: var(--cyan-400);
    color: var(--cyan-400);
    background: rgba(0, 180, 216, 0.05);
}

.btn-lg { padding: 16px 32px; font-size: 15px; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* ==================== HEADER ==================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background: var(--navy-900);
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.header-top-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top-left svg { opacity: 0.5; }

.header-top-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* Language Switcher */
.lang-switcher { position: relative; }

.lang-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-sans);
    transition: var(--transition);
}

.lang-btn:hover { color: var(--white); }

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--navy-800);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    min-width: 120px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 10;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.lang-dropdown a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--white);
}

.lang-dropdown a.active { color: var(--cyan-400); }

.btn-quote-top {
    color: var(--cyan-400);
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-quote-top:hover { color: var(--cyan-300); }

.header-main {
    background: rgba(10, 26, 47, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
}

#header.scrolled .header-main {
    background: rgba(10, 26, 47, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-mark { display: flex; align-items: center; }
.logo-text { display: flex; flex-direction: column; }

.logo-name {
    font-family: var(--font-condensed);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1;
}

.logo-tagline {
    font-size: 10px;
    color: var(--cyan-400);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Main Nav */
.main-nav > ul {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.main-nav > ul > li {
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.nav-chevron {
    color: rgba(255,255,255,0.4);
    transition: var(--transition);
}

.has-mega:hover .nav-chevron {
    transform: rotate(180deg);
    color: var(--cyan-400);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 2px;
    background: var(--cyan-400);
    border-radius: 2px;
}

/* Mega Menu */
.has-mega { position: relative; }

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 900px;
    background: var(--navy-800);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    z-index: 100;
}

.mega-menu-industry { width: 800px; }

.has-mega:hover .mega-menu,
.has-mega.mega-open .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.mega-menu-industry .mega-menu-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mega-col-wide { grid-column: span 1; }

.mega-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mega-icon { font-size: 18px; }

.mega-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    line-height: 1.5;
}

.mega-col ul { list-style: none; }
.mega-col ul li { margin-bottom: 4px; }

.mega-col ul li a {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    padding: 4px 0;
    display: block;
    transition: var(--transition);
}

.mega-col ul li a:hover {
    color: var(--cyan-400);
    padding-left: 4px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.search-btn:hover {
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* Mobile Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 110px;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy-900);
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(0, 180, 216, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(124, 58, 237, 0.06) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(180deg, transparent 0%, rgba(6, 15, 31, 0.3) 50%, var(--navy-900) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.01) 2px, rgba(255,255,255,0.01) 4px);
}

.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 60px 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan-400);
    position: relative;
    flex-shrink: 0;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--cyan-400);
    animation: pulse 2s infinite;
    opacity: 0;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.hero-title {
    font-family: var(--font-condensed);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--cyan-400), var(--cyan-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255,255,255,0.65);
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 700px;
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat { display: flex; flex-direction: column; }

.stat-number {
    font-family: var(--font-condensed);
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-condensed);
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 800;
    color: var(--cyan-400);
    display: inline;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.3);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float 3s ease-in-out infinite;
}

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

/* ==================== SECTIONS ==================== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-dark { background: var(--navy-900); }
.section-dark .section-title { color: var(--white); }
.section-dark .section-desc { color: rgba(255,255,255,0.6); }

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--cyan-400);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding: 4px 16px;
    background: rgba(0, 180, 216, 0.08);
    border-radius: 50px;
}

.section-dark .section-label {
    background: rgba(0, 180, 216, 0.15);
}

.section-title {
    font-family: var(--font-condensed);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

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

/* ==================== PRODUCTS ==================== */
.section-products { background: var(--light-bg); }

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

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

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--card-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: transparent;
}

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

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.product-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--card-accent);
    transition: var(--transition);
    flex-shrink: 0;
}

.product-card:hover .product-icon {
    background: var(--card-accent);
    color: var(--white);
}

.product-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    background: var(--light-bg);
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.product-card-title {
    font-family: var(--font-condensed);
    font-size: 22px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.product-card-desc {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features { list-style: none; margin-bottom: 24px; }

.product-features li {
    font-size: 13px;
    color: var(--gray-700);
    padding: 6px 0;
    padding-left: 24px;
    position: relative;
}

.product-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 14px;
    height: 2px;
    background: var(--card-accent);
    border-radius: 2px;
}

.product-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--card-accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.product-card-link:hover { gap: 8px; }

/* ==================== INDUSTRIES ==================== */
.section-industries { background: var(--white); }

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
/* 宽屏 4 列：12 个行业 3 行排完，向同业密排网格看齐 */
@media (min-width: 1200px) {
    .industries-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.industry-card {
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-bg);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.industry-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.industry-img svg { transition: var(--transition); }
.industry-card:hover .industry-img svg { transform: scale(1.1); }

.industry-info { padding: 24px; }

.industry-info h3 {
    font-family: var(--font-condensed);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 8px;
}

.industry-info p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ==================== ADVANTAGES ==================== */
.section-advantages {
    background: var(--navy-900);
    background-image: radial-gradient(ellipse at 30% 50%, rgba(0, 180, 216, 0.08) 0%, transparent 60%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.advantage-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 180, 216, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.advantage-card:hover {
    border-color: rgba(0, 180, 216, 0.2);
    transform: translateY(-4px);
}

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

.advantage-number {
    font-family: var(--font-condensed);
    font-size: 48px;
    font-weight: 800;
    color: rgba(0, 180, 216, 0.3);
    line-height: 1;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-family: var(--font-condensed);
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.advantage-card p {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    margin-bottom: 20px;
}

.advantage-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.advantage-tags span {
    font-size: 12px;
    color: var(--cyan-300);
    background: rgba(0, 180, 216, 0.08);
    border: 1px solid rgba(0, 180, 216, 0.15);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 500;
}

/* ==================== CERTIFICATIONS ==================== */
.section-certifications {
    background: var(--navy-800);
    padding: 60px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.certs-banner {
    display: flex;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.certs-label {
    font-family: var(--font-condensed);
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.certs-list {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    align-items: center;
}

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

.cert-logo {
    font-family: var(--font-condensed);
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.cert-badge span {
    font-size: 10px;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== CASES ==================== */
.section-cases { background: var(--light-bg); }

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

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

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.case-img {
    height: 180px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-industry {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-content { padding: 28px; }

.case-content h3 {
    font-family: var(--font-condensed);
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 12px;
    line-height: 1.3;
}

.case-content p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-results {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}

.case-result { display: flex; flex-direction: column; }

.case-result strong {
    font-family: var(--font-condensed);
    font-size: 24px;
    font-weight: 800;
    color: var(--cyan-400);
    line-height: 1;
}

.case-result span {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ==================== GLOBAL ==================== */
.section-global {
    background: var(--navy-900);
    background-image: radial-gradient(ellipse at 70% 50%, rgba(0, 180, 216, 0.06) 0%, transparent 60%);
}

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

.global-text .section-label { margin-bottom: 16px; }
.global-text .section-title { color: var(--white); margin-bottom: 20px; }
.global-text .section-desc { color: rgba(255,255,255,0.55); margin-bottom: 32px; }

.global-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.global-stat { display: flex; flex-direction: column; }

.global-stat-num {
    font-family: var(--font-condensed);
    font-size: 40px;
    font-weight: 800;
    color: var(--cyan-400);
    line-height: 1;
}

.global-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 6px;
}

.global-map {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 40px;
}

.global-map svg { width: 100%; height: auto; }

.global-map circle {
    animation: mapPulse 3s ease-in-out infinite;
}

.global-map circle:nth-child(2n) { animation-delay: 0.5s; }
.global-map circle:nth-child(3n) { animation-delay: 1s; }

@keyframes mapPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ==================== CTA / CONTACT ==================== */
.section-cta {
    background: var(--light-bg);
    padding: 80px 0 100px;
}

.cta-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    background: var(--white);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    z-index: 0;
}

html[dir="rtl"] .cta-box::before {
    left: auto;
    right: 0;
}

.cta-content { position: relative; z-index: 1; padding-right: 20px; }

.cta-content h2 {
    font-family: var(--font-condensed);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.cta-form { position: relative; z-index: 1; }

.quick-quote-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

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

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 16px; /* 16px prevents iOS zoom */
    padding: 12px 16px;
    border: 2px solid var(--gray-100);
    border-radius: 8px;
    transition: var(--transition);
    background: var(--gray-50);
    color: var(--gray-900);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan-400);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.08);
}

.form-group textarea { resize: vertical; }

.form-note {
    font-size: 12px;
    color: var(--gray-500);
    text-align: center;
    margin-top: 4px;
}

/* ==================== PAGE HERO (About) ==================== */
.page-hero {
    background: var(--navy-900);
    background-image: radial-gradient(ellipse at 30% 50%, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
    padding: 180px 0 80px;
    text-align: center;
}

.page-hero .section-label { margin-bottom: 16px; }

.page-hero h1 {
    font-family: var(--font-condensed);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.page-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* About page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h2 {
    font-family: var(--font-condensed);
    font-size: 32px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid var(--gray-100);
    flex-wrap: wrap;
}

.about-stat { display: flex; flex-direction: column; }

.about-stat-num {
    font-family: var(--font-condensed);
    font-size: 28px;
    font-weight: 800;
    color: var(--cyan-400);
}

.about-stat-label {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 4px;
    text-transform: uppercase;
}

.about-factories h3 {
    font-family: var(--font-condensed);
    font-size: 24px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 24px;
}

.factory-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--light-bg);
    border-radius: 12px;
    margin-bottom: 16px;
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.factory-card:hover {
    border-color: var(--cyan-400);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.08);
}

.factory-icon { font-size: 32px; flex-shrink: 0; }

.factory-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 6px;
}

.factory-card p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--navy-900);
    color: rgba(255,255,255,0.5);
    padding: 80px 0 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-brand .footer-logo { margin-bottom: 16px; }
.footer-brand .logo-name { font-size: 20px; }
.footer-brand .logo-tagline { font-size: 9px; }

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

.footer-contact p {
    font-size: 13px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.5);
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* ==================== ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ==================== RESPONSIVE: TABLET (<=1024px) ==================== */
@media (max-width: 1024px) {
    .container { padding: 0 20px; }

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

    .advantages-grid { grid-template-columns: 1fr; gap: 20px; }

    .global-content { grid-template-columns: 1fr; gap: 40px; }
    .cta-box { grid-template-columns: 1fr; }
    .cta-box::before { display: none; }
    .cta-content { padding-right: 0; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .about-grid { grid-template-columns: 1fr; }

    .mega-menu { width: 700px; }
    .mega-menu-inner { grid-template-columns: repeat(2, 1fr); }

    .header-top-left { gap: 16px; }
    .header-top-right { gap: 12px; }
}

/* ==================== RESPONSIVE: MOBILE (<=768px) ==================== */
@media (max-width: 768px) {
    :root {
        --header-h: 60px;
        --section-padding: 60px 0;
    }

    /* Hide top bar on mobile, show key info inline */
    .header-top { display: none; }

    /* Mobile nav: off-canvas drawer */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100vh;
        background: var(--navy-800);
        padding: 80px 24px 32px;
        overflow-y: auto;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    html[dir="rtl"] .main-nav {
        right: auto;
        left: -100%;
        box-shadow: 10px 0 40px rgba(0,0,0,0.3);
    }

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

    html[dir="rtl"] .main-nav.active {
        left: 0;
    }

    .main-nav > ul {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .nav-link {
        padding: 16px 0;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        border-radius: 0;
    }

    .nav-link.active::after { display: none; }

    /* Mega menu becomes accordion on mobile */
    .has-mega { position: relative; }

    .nav-chevron {
        margin-left: auto;
        cursor: pointer;
        padding: 16px;
        margin: -16px -8px -16px 0;
    }

    .mega-menu {
        position: static;
        width: 100%;
        transform: none;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        background: rgba(0,0,0,0.2);
        border: none;
        border-radius: 0;
        box-shadow: none;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    .has-mega.mega-open .mega-menu {
        opacity: 1;
        visibility: visible;
        max-height: 2000px;
        padding: 16px 0;
        transform: none;
    }

    .mega-menu-inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .mega-menu-industry .mega-menu-inner {
        grid-template-columns: 1fr;
    }

    .mega-title {
        font-size: 13px;
        margin-bottom: 8px;
        padding-bottom: 8px;
    }

    .mega-col ul li a {
        font-size: 14px;
        padding: 8px 0;
    }

    .mega-desc { font-size: 13px; }

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

    /* Hide desktop search and quote button on mobile */
    .header-actions .search-btn { display: none; }
    .header-actions .btn-primary { display: none; }

    /* Hero adjustments */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero-content { padding: 40px 20px; }

    .hero-badge {
        font-size: 12px;
        padding: 6px 16px;
        margin-bottom: 24px;
    }

    .hero-actions {
        flex-direction: column;
        margin-bottom: 48px;
        gap: 12px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-outline {
        width: 100%;
        justify-content: center;
    }

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

    .hero-scroll { display: none; }

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

    .product-card { padding: 24px 20px; }

    /* Industries */
    .industries-grid { grid-template-columns: 1fr; }

    .industry-img { height: 160px; }

    /* Advantages */
    .advantage-card { padding: 28px 24px; }

    /* Certifications */
    .certs-banner { gap: 20px; }
    .certs-list { gap: 16px; }
    .cert-logo { font-size: 18px; }

    /* Cases */
    .cases-grid { grid-template-columns: 1fr; }

    .case-results { gap: 16px; }

    /* Global */
    .global-map { padding: 24px; }

    /* CTA */
    .cta-box { padding: 32px 24px; }

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

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer { padding: 60px 0 24px; }

    /* About */
    .about-stats { gap: 20px; }

    /* Section spacing */
    .section { padding: var(--section-padding); }
    .section-header { margin-bottom: 40px; }

    /* Page hero */
    .page-hero { padding: 120px 0 60px; }
}

/* ==================== RESPONSIVE: SMALL MOBILE (<=480px) ==================== */
@media (max-width: 480px) {
    .container { padding: 0 16px; }

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

    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.75rem; }

    .product-card { padding: 20px 16px; }
    .industry-info { padding: 16px; }
    .case-content { padding: 20px; }

    .cta-box { padding: 24px 16px; }

    .form-group input,
    .form-group select,
    .form-group textarea { font-size: 16px; }

    .footer-bottom p { font-size: 11px; }
}

/* ==================== PRINT ==================== */
@media print {
    #header, .hero-bg, .hero-overlay, .hero-scroll, .mobile-toggle, .mobile-overlay { display: none; }
    .hero { min-height: auto; padding: 40px 0; }
    .section { padding: 40px 0; }
}

/* ══════════════════════════════════════════════════════════
   FEATURED PRODUCT STRIP  (added 2026-09-27)
   Homepage preview: 2 products per line + "browse all" CTA.
   Rationale: listed industrial peers (Warom 603855, Haiyangwang
   002724, Jemlc 000922) show 0-10 products on the homepage and
   push the full catalogue to a secondary view. The full
   .catalog-container below starts collapsed and the CTA expands it.
   ══════════════════════════════════════════════════════════ */
.featured-strip {
    max-width: var(--container-max);
    margin: 56px auto 0;
    padding: 0 24px;
}
.fs-head {
    max-width: 640px;
    margin: 0 auto 32px;
    text-align: center;
}
.fs-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--cyan-400);
    margin-bottom: 10px;
}
.fs-title {
    font-family: var(--font-condensed);
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1.15;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.fs-sub {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}
.fs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.fs-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    color: var(--gray-500);
    font-size: 0.88rem;
}
.fc-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all .28s ease;
    box-shadow: 0 2px 10px rgba(6,15,31,.05);
}
.fc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(6,15,31,.13);
    border-color: var(--cyan-300);
}
.fc-img {
    aspect-ratio: 4 / 3;
    background: var(--light-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fc-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.fc-card:hover .fc-img img { transform: scale(1.06); }
.fc-body { padding: 14px 15px 16px; }
.fc-name {
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1.35;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}
.fc-sku {
    font-size: 0.68rem;
    color: var(--gray-500);
    margin: 0 0 6px;
    letter-spacing: .02em;
}
.fc-desc {
    font-size: 0.77rem;
    color: var(--gray-700);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fs-cta {
    text-align: center;
    margin: 34px 0 0;
}
.fs-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--white);
    background: var(--cyan-400);
    border: 0;
    border-radius: 6px;
    padding: 14px 32px;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 4px 16px rgba(0,180,216,.28);
}
.fs-btn:hover {
    background: var(--blue-600);
    box-shadow: 0 8px 24px rgba(0,180,216,.38);
    transform: translateY(-2px);
}
.fs-btn::after { content: '→'; font-size: 1rem; line-height: 1; }
.catalog-container.catalog-open {
    animation: athCatalogIn .35s ease both;
}
@keyframes athCatalogIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1100px) { .fs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
    .fs-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .featured-strip { padding: 0 16px; margin-top: 40px; }
}
@media (max-width: 460px) { .fs-grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════
   CATALOG BROWSER  (added 2026-09-26)
   Category tabs · filter chips · product grid · detail modal
   ══════════════════════════════════════════════════════════ */
.catalog-container {
    max-width: var(--container-max);
    margin: 64px auto 0;
    padding: 0 24px;
}
.catalog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}
.cat-tab {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: 999px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all .25s ease;
}
.cat-tab:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-1px); }
.cat-tab.active {
    background: linear-gradient(135deg, var(--blue-600), var(--cyan-400));
    border-color: transparent;
    color: var(--white);
    box-shadow: 0 6px 18px rgba(21,101,192,.28);
}
.catalog-cats { margin-bottom: 20px; }
.cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.cat-chip {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--gray-700);
    background: var(--gray-50);
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    padding: 7px 13px;
    cursor: pointer;
    transition: all .2s ease;
}
.cat-chip:hover { border-color: var(--cyan-400); color: var(--blue-600); background: var(--white); }
.cat-chip.active {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: var(--white);
}
.cat-chip small { opacity: .55; margin-left: 4px; font-size: 0.72rem; }
.catalog-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 620px;
    margin: 0 auto 28px;
}
.cat-input {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    padding: 12px 18px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    outline: none;
    transition: border-color .2s;
}
.cat-input:focus { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(25,118,210,.10); }
.cat-count { font-size: 0.82rem; color: var(--gray-500); white-space: nowrap; }
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.catalog-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all .28s ease;
    box-shadow: 0 2px 10px rgba(6,15,31,.05);
}
.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(6,15,31,.13);
    border-color: var(--cyan-300);
}
.cc-img {
    aspect-ratio: 4 / 3;
    background: var(--light-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.catalog-card:hover .cc-img img { transform: scale(1.06); }
.cc-body { padding: 16px 16px 18px; }
.cc-name {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy-800);
    line-height: 1.35;
    margin: 0 0 6px;
}
.cc-cat { font-size: 0.74rem; color: var(--blue-600); font-weight: 600; margin: 0 0 4px; }
.cc-sku { font-size: 0.7rem; color: var(--gray-500); margin: 0 0 8px; letter-spacing: .02em; }
.cc-desc { font-size: 0.8rem; color: var(--gray-700); line-height: 1.5; margin: 0; }
.catalog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 64px 20px;
    color: var(--gray-500);
    font-size: 0.95rem;
}
.cat-more-btn {
    display: block;
    margin: 32px auto 0;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--blue-600);
    background: var(--white);
    border: 1px solid var(--blue-500);
    border-radius: 8px;
    padding: 12px 34px;
    cursor: pointer;
    transition: all .24s ease;
}
.cat-more-btn:hover { background: var(--blue-600); color: var(--white); }

/* ── Detail modal ── */
.catalog-modal { position: fixed; inset: 0; z-index: 9000; align-items: center; justify-content: center; }
.cm-backdrop { position: absolute; inset: 0; background: rgba(6,15,31,.72); backdrop-filter: blur(3px); }
.cm-content {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: 12px;
    width: min(940px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(6,15,31,.42);
    animation: cmIn .26s ease;
}
@keyframes cmIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.cm-close {
    position: sticky;
    top: 12px;
    float: right;
    margin: 12px 14px 0 0;
    width: 38px; height: 38px;
    border: none; border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-700);
    font-size: 1.5rem; line-height: 1;
    cursor: pointer;
    z-index: 3;
    transition: background .2s;
}
.cm-close:hover { background: var(--orange-500); color: var(--white); }
.cm-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 40px; }
.cm-img { display: flex; flex-direction: column; gap: 10px; }
.cm-img img { width: 100%; border-radius: 8px; background: var(--light-bg); }
.cm-info h2 {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    color: var(--navy-800);
    line-height: 1.3;
    margin: 0 0 10px;
}
.cm-sku {
    font-size: 0.78rem;
    color: var(--gray-500);
    letter-spacing: .03em;
    margin: 0 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-100);
}
.cm-desc { font-size: 0.88rem; color: var(--gray-700); line-height: 1.68; margin-bottom: 22px; }
.cm-section { margin-bottom: 22px; }
.cm-section h3 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--blue-600);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 12px;
}
.cm-section ul { margin: 0; padding-left: 18px; }
.cm-section li { font-size: 0.85rem; color: var(--gray-700); line-height: 1.7; }
.cm-specs {
    font-family: ui-monospace, 'SF Mono', Menlo, monospace;
    font-size: 0.78rem;
    color: var(--gray-700);
    line-height: 1.85;
    background: var(--gray-50);
    border-left: 3px solid var(--cyan-400);
    border-radius: 4px;
    padding: 16px 18px;
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}
.cm-specs span { display: block; }

@media (max-width: 1100px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .cm-body { grid-template-columns: 1fr; padding: 26px 22px; gap: 20px; }
    .catalog-bar { flex-direction: column; align-items: stretch; }
    .cat-count { text-align: right; }
}
@media (max-width: 520px) {
    .catalog-grid { grid-template-columns: 1fr; }
    .catalog-container { padding: 0 16px; margin-top: 44px; }
}

/* ==========================================================================
   Industry scenario modal (js/industries.js)
   ========================================================================== */
.ind-modal .ind-box {
  max-width: 820px;
  width: 92vw;
  max-height: 88vh;
  overflow-y: auto;
  padding: 0;
  border-radius: 14px;
  background: #fff;
  text-align: left;
}
.ind-head {
  padding: 30px 38px 20px;
  border-bottom: 1px solid #e8edf3;
  background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
  border-radius: 14px 14px 0 0;
  color: #fff;
}
.ind-head .ind-icon { font-size: 34px; line-height: 1; display: block; margin-bottom: 12px; }
.ind-head .ind-title { margin: 0 0 10px; font-size: 24px; font-weight: 700; color: #fff; letter-spacing: .2px; }
.ind-head .ind-sub { margin: 0; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.86); }
.ind-body { padding: 26px 38px 36px; }
.ind-body .ind-h {
  margin: 24px 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #0b2545;
  padding-left: 12px;
  border-left: 4px solid #ee6c4d;
}
.ind-body .ind-h:first-child { margin-top: 0; }
.ind-body .ind-p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.8; color: #43536b; }
.ind-body .ind-ul { margin: 6px 0 16px; padding-left: 4px; list-style: none; }
.ind-body .ind-ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  font-size: 14.5px;
  line-height: 1.75;
  color: #43536b;
}
.ind-body .ind-ul li::before {
  content: '';
  position: absolute;
  left: 4px; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #ee6c4d;
}
.ind-body strong { color: #0b2545; font-weight: 600; }

/* Arabic / RTL */
[dir="rtl"] .ind-body .ind-h { padding-left: 0; padding-right: 12px; border-left: none; border-right: 4px solid #ee6c4d; }
[dir="rtl"] .ind-body .ind-ul li { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .ind-body .ind-ul li::before { left: auto; right: 4px; }

@media (max-width: 640px) {
  .ind-head { padding: 22px 22px 16px; }
  .ind-head .ind-title { font-size: 19px; }
  .ind-body { padding: 20px 22px 28px; }
}

/* ── Related case studies inside the industry modal ─────────────────── */
.ind-cases { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(141,169,196,.28); }
.ind-case-list { display: grid; gap: 16px; }
.ind-case {
  display: grid; grid-template-columns: 168px 1fr; gap: 16px;
  background: rgba(19,64,116,.055); border: 1px solid rgba(141,169,196,.22);
  border-radius: 10px; padding: 14px; align-items: start;
}
.ind-case-img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
  border-radius: 7px; display: block;
}
.ind-case-txt { min-width: 0; }
.ind-case-title { margin: 0 0 8px; font-size: 15px; line-height: 1.4; color: #0b2545; font-weight: 700; }
.ind-case-sum { margin: 0 0 8px; font-size: 13.5px; line-height: 1.6; color: #445; }
.ind-case .ind-ul { margin: 6px 0 0; padding-left: 20px; }
.ind-case .ind-ul li { font-size: 13px; line-height: 1.55; color: #445; margin-bottom: 4px; }
.ind-case-load { opacity: .6; font-size: 13px; }

[dir="rtl"] .ind-case { grid-template-columns: 1fr 168px; }
[dir="rtl"] .ind-case-img { order: 2; }
[dir="rtl"] .ind-case .ind-ul { padding-left: 0; padding-right: 20px; }

@media (max-width: 640px) {
  .ind-case, [dir="rtl"] .ind-case { grid-template-columns: 1fr; }
  [dir="rtl"] .ind-case-img { order: 0; }
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE MEDIA LAYER  (added 2026-09-27)
   AI-generated scenario imagery on product-line cards and case
   studies. Both use a graceful fallback: if the image is missing
   the existing gradient / icon treatment still renders.
   ══════════════════════════════════════════════════════════ */

/* ── Product-line card: full-bleed scene band ── */
.product-card-media {
    margin: -32px -28px 24px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--light-bg);
    position: relative;
}
.product-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6,15,31,0) 45%, rgba(6,15,31,.28) 100%);
    pointer-events: none;
}
.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s ease;
}
.product-card:hover .product-card-media img { transform: scale(1.05); }

/* ── Case study: photo fills the 180px band, gradient stays as fallback ── */
.case-img { overflow: hidden; }
.case-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform .55s ease;
}
.case-card:hover .case-img img { transform: scale(1.05); }
.case-img .case-industry { z-index: 2; }
.case-img::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6,15,31,.42) 0%, rgba(6,15,31,.05) 55%, rgba(6,15,31,.34) 100%);
    pointer-events: none;
}

@media (max-width: 760px) {
    .product-card-media { margin: -24px -20px 20px; }
    .case-img { height: 150px; }
}

/* ── Industry card: AI scenario photo behind the icon ──
   Peers (Warom 603855, Haiyangwang 002724) use icon grids for industry
   entry points; adding a photographic layer keeps the icon language while
   giving each industry a recognisable scene. The gradient stays in the
   inline style as the fallback when the image is absent. */
.industry-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform .55s ease;
}
.industry-card:hover .industry-img img { transform: scale(1.06); }
.industry-img::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(6,15,31,.66) 0%, rgba(6,15,31,.38) 100%);
    pointer-events: none;
    transition: opacity .3s ease;
}
.industry-card:hover .industry-img::after { opacity: .82; }
.industry-img svg { position: relative; z-index: 2; }

/* ==================== HERO CAROUSEL ====================
   Benchmarking study (12 listed peers, measured with headless Chromium):
   10/10 run a hero carousel of 3-8 frames. This hero had a single static
   gradient - no photo, no rotation. Three frames now cross-fade. */
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease-in-out;
    will-change: opacity;
}
.hero-slide.active { opacity: 1; }

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.06);
}
/* slow drift on the visible frame only - the Ken Burns touch peers use */
.hero-slide.active .hero-slide-bg { animation: athHeroDrift 14s ease-out forwards; }
@keyframes athHeroDrift {
    from { transform: scale(1.06); }
    to   { transform: scale(1.0); }
}

/* the gradient layer keeps the text legible over any photo */
.hero-overlay { z-index: 1; }
.hero-content { position: relative; z-index: 2; }

/* ── stacked headline blocks: all three occupy one grid cell, so the
      container height is the tallest frame and nothing jumps ── */
.hero-text-stack { display: grid; }
.hero-slide-text {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .9s ease, transform .9s ease;
    pointer-events: none;
}
.hero-slide-text.active {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* ── navigation dots ── */
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}
.hero-dot {
    width: 34px;
    height: 3px;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background: rgba(255, 255, 255, .28);
    cursor: pointer;
    transition: background .3s ease, transform .3s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, .55); }
.hero-dot.active {
    background: var(--cyan-400);
    transform: scaleY(1.6);
}

@media (max-width: 760px) {
    .hero-dots { bottom: 28px; gap: 9px; }
    .hero-dot { width: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide, .hero-slide-text { transition: none; }
    .hero-slide.active .hero-slide-bg { animation: none; }
}

/* Hero headline lines: each line is its own i18n key so translations keep
   correct word order (a sentence split mid-phrase cannot be translated). */
.hero-line { display: block; }

/* ==================================================================
   HERO FIT-TO-VIEWPORT  —  layout audit fix
   ------------------------------------------------------------------
   Measured before this fix: the hero was 1068px tall on an 800px
   viewport (1.34 screens). The stats bar, the carousel dots and the
   scroll cue all sat BELOW the fold on any 768/800/900px-tall laptop.
   Every peer in the benchmarking study runs a hero of exactly 1.0
   screen, so the hero is compressed to fit the viewport height.

   Also fixes a collision: .hero-scroll and .hero-dots were both
   centred at bottom:30px/42px and overlapped each other.
   ================================================================== */

/* scroll cue moves to the right edge so it cannot collide with the dots */
.hero-scroll {
    left: auto;
    right: 44px;
    transform: none;
    animation: athHeroFloatR 3s ease-in-out infinite;
}
@keyframes athHeroFloatR {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* ── 1000px and shorter: pull the hero inside one screen ── */
@media (max-height: 1000px) {
    .hero { padding-top: 92px; }
    .hero-content { padding: 32px 24px; }
    .hero-badge { margin-bottom: 18px; padding: 7px 16px; }
    .hero-title {
        font-size: clamp(1.9rem, 3.6vw, 3.0rem);
        margin-bottom: 14px;
        letter-spacing: -.5px;
    }
    .hero-subtitle {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 22px;
        max-width: 640px;
    }
    .hero-actions { margin-bottom: 26px; }
    .hero-stats { padding: 20px 0; gap: 28px; }
    .stat-number { font-size: clamp(26px, 3.4vw, 34px); }
    .hero-dots { bottom: 30px; }
}

/* ── 800px and shorter (1366x768 / 1280x800 laptops) ── */
@media (max-height: 800px) {
    .hero-content { padding: 22px 24px; }
    .hero-badge { margin-bottom: 14px; font-size: 12px; }
    .hero-title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 12px; }
    .hero-subtitle { font-size: 14px; margin-bottom: 18px; line-height: 1.55; }
    .hero-actions { margin-bottom: 20px; gap: 12px; }
    .hero-stats { padding: 16px 0; gap: 22px; }
    .stat-number { font-size: clamp(24px, 3vw, 30px); }
    .stat-label { font-size: 11px; }
    .hero-dots { bottom: 22px; }
    .hero-scroll { bottom: 20px; right: 28px; }
}

/* ── phones: 390x844 measured 1.03 screens, trim the last 30px ── */
@media (max-width: 480px) {
    .hero { padding-top: 80px; }
    .hero-content { padding: 16px 20px; }
    .hero-badge { margin-bottom: 12px; padding: 6px 14px; font-size: 11px; }
    .hero-title { font-size: 1.75rem; margin-bottom: 10px; }
    .hero-subtitle { font-size: 13.5px; margin-bottom: 16px; }
    .hero-actions { margin-bottom: 16px; }
    .hero-stats { padding: 14px 0; gap: 16px; }
    .stat-number { font-size: 26px; }
    .hero-dots { bottom: 16px; }
    .hero-scroll { display: none; }   /* no room on phones */
}

/* ═══════════════════════════════════════════════════════════════
   快捷入口 / 信任卡（同业共识模板第 2 位）
   ═══════════════════════════════════════════════════════════════ */
.section-quick { background: var(--white); padding: 56px 0; border-bottom: 1px solid rgba(6,15,31,0.07); }
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick-card {
    display: flex; flex-direction: column; gap: 10px;
    padding: 28px 24px; border: 1px solid rgba(6,15,31,0.10); border-radius: 14px;
    background: var(--white); text-decoration: none; color: inherit;
    transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s, border-color .28s;
    position: relative; overflow: hidden;
}
.quick-card::before {
    content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0;
    background: var(--cyan-400); transition: width .34s cubic-bezier(.2,.7,.3,1);
}
.quick-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(6,15,31,0.10); border-color: rgba(0,180,216,0.42); }
.quick-card:hover::before { width: 100%; }
.quick-ico {
    width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,180,216,0.10); color: var(--cyan-400);
    transition: background .28s, color .28s;
}
.quick-card:hover .quick-ico { background: var(--cyan-400); color: var(--white); }
.quick-card h3 { font-size: 16.5px; font-weight: 650; color: var(--navy-900); margin: 2px 0 0; line-height: 1.3; }
.quick-card p { font-size: 13.5px; line-height: 1.6; color: rgba(6,15,31,0.62); margin: 0; flex: 1; }
.quick-more {
    font-size: 13px; font-weight: 600; color: var(--cyan-400);
    display: inline-flex; align-items: center; gap: 6px;
}
.quick-more::after { content: '→'; transition: transform .28s; }
.quick-card:hover .quick-more::after { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════════════════
   新闻 / 洞察（同业共识模板第 9 位）
   ═══════════════════════════════════════════════════════════════ */
.section-news { background: var(--light-bg); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.news-card {
    display: flex; flex-direction: column; gap: 12px;
    padding: 30px 26px; background: var(--white); border-radius: 14px;
    border: 1px solid rgba(6,15,31,0.08);
    transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(6,15,31,0.09); }
.news-date {
    font-family: var(--font-condensed); font-size: 13px; font-weight: 600;
    letter-spacing: .06em; color: var(--cyan-400);
}
.news-card h3 { font-size: 17px; line-height: 1.45; margin: 0; }
.news-card h3 a { color: var(--navy-900); text-decoration: none; transition: color .25s; }
.news-card h3 a:hover { color: var(--cyan-400); }
.news-card p { font-size: 13.5px; line-height: 1.65; color: rgba(6,15,31,0.60); margin: 0; flex: 1; }
.news-more { font-size: 13px; font-weight: 600; color: var(--cyan-400); }
.news-foot { margin-top: 40px; text-align: center; }

@media (max-width: 1024px) {
    .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .section-quick { padding: 40px 0; }
    .quick-grid { grid-template-columns: 1fr; gap: 14px; }
    .quick-card { padding: 22px 20px; }
    .news-grid  { grid-template-columns: 1fr; gap: 16px; margin-top: 30px; }
    .news-card  { padding: 24px 20px; }
}

/* ── 线上商城入口（映钛工业平台）── */
.nav-link.nav-mall { color: #c8102e; font-weight: 700; }
.nav-link.nav-mall::before {
    content: ''; display: inline-block; width: 6px; height: 6px;
    background: #c8102e; border-radius: 50%; margin-right: 6px; vertical-align: middle;
}
.nav-link.nav-mall:hover { color: #a00d25; }
