/* ===== CSS Variables ===== */
:root {
    --red: #C8102E;
    --red-dark: #A50D24;
    --red-light: #E8344D;
    --blue: #1B3A5C;
    --blue-dark: #0F2440;
    --blue-light: #2A5A8C;
    --navy: #0D1B2A;
    --gray-50: #F8F9FA;
    --gray-100: #F1F3F5;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #ADB5BD;
    --gray-500: #868E96;
    --gray-600: #495057;
    --gray-700: #343A40;
    --gray-800: #212529;
    --gray-900: #111827;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-red: 0 8px 24px rgba(200, 16, 46, 0.25);
    --shadow-blue: 0 8px 24px rgba(27, 58, 92, 0.2);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* ===== Animations ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.8; box-shadow: 0 0 20px rgba(200, 16, 46, 0.3); }
    50% { opacity: 1; box-shadow: 0 0 40px rgba(200, 16, 46, 0.5); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.7; }
}

@keyframes spin-smooth {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    color: var(--gray-700);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

::selection {
    background: var(--red);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

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

.section {
    padding: 100px 0;
}

/* ===== Utility Classes ===== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    -webkit-backdrop-filter: blur(12px);
}

.glass-strong {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    -webkit-backdrop-filter: blur(20px);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: var(--transition-fast);
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

.btn-primary {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}
.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}
.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.btn-white {
    background: var(--white);
    color: var(--red);
    border-color: var(--white);
}
.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--navy);
    color: rgba(255,255,255,0.8);
    font-size: 0.82rem;
    padding: 8px 0;
}

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

.top-bar-left { display: flex; gap: 24px; }
.top-bar-left span { display: flex; align-items: center; gap: 6px; }
.top-bar-left i { color: var(--red); font-size: 0.75rem; }

.top-bar-right { display: flex; align-items: center; gap: 8px; }
.lang-switch { color: rgba(255,255,255,0.6); font-size: 0.82rem; }
.lang-switch.active { color: var(--white); font-weight: 600; }
.lang-switch:hover { color: var(--white); }
.lang-divider { color: rgba(255,255,255,0.3); }

/* Mobile hamburger 內部語言切換 — 桌面隱藏，行動版顯示 */
.nav-mobile-lang { display: none; }

/* ===== Navbar ===== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
    -webkit-backdrop-filter: blur(12px);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

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

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: 0.05em;
    line-height: 1.2;
}
.logo-tagline {
    font-size: 0.68rem;
    color: var(--gray-500);
    letter-spacing: 0.03em;
}

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

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
    letter-spacing: 0.01em;
    white-space: nowrap;
    position: relative;
    border-radius: var(--radius-sm);
}
/* Chevron inside Products dropdown trigger — fixed size so line-height can't drift */
.nav-link > i.fa-chevron-down,
.nav-link > i.fas {
    font-size: 0.72em;
    line-height: 1;
    vertical-align: middle;
}
/* Guard against unintended whitespace inside anchors */
.nav-link,
.dropdown-menu a,
.nav-dropdown-menu a {
    word-spacing: 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu,
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    min-width: 220px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1010;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 4px;
    display: flex;
    flex-direction: column;
}

.nav-dropdown.open > .dropdown-menu,
.nav-dropdown.open > .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a,
.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--gray-700);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.nav-dropdown-menu a:hover,
.dropdown-menu a:hover {
    background: rgba(200, 16, 46, 0.08);
    color: var(--red);
}

.nav-dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--gray-700);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    transition: var(--transition-fast);
}

.nav-dropdown-item:hover {
    background: rgba(200, 16, 46, 0.08);
    color: var(--red);
}

.nav-cta {
    margin-left: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    padding: 10px 20px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition-fast);
}

/* News Page */
.news-grid { display: flex; flex-direction: column; gap: 24px; }
.news-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    display: flex;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}

.news-image {
    width: 280px;
    height: 240px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-date {
    display: inline-block;
    background: rgba(200, 16, 46, 0.1);
    color: var(--red);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    width: fit-content;
}

.news-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 12px;
    line-height: 1.3;
}

.news-card p {
    color: var(--gray-500);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.news-link {
    color: var(--red);
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
}

.news-link i {
    transition: var(--transition-fast);
}

.news-card:hover .news-link i {
    transform: translateX(4px);
}

/* News Date Block (legacy support) */
.news-date-block {
    min-width: 100px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}
.news-date-block .day { font-size: 2rem; font-weight: 900; line-height: 1; }
.news-date-block .month { font-size: 0.82rem; opacity: 0.8; margin-top: 4px; text-transform: uppercase; }
.news-date-block .year { font-size: 0.78rem; opacity: 0.6; }
.news-body { padding: 24px 28px; flex: 1; }
.news-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.news-tag.company { background: rgba(27,58,92,0.1); color: var(--blue); }
.news-tag.product { background: rgba(200,16,46,0.1); color: var(--red); }
.news-tag.event { background: rgba(0,128,0,0.1); color: #008000; }
.news-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--blue); margin-bottom: 8px; line-height: 1.4; }
.news-body p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 50%, var(--blue-dark) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(200, 16, 46, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200, 16, 46, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(27, 58, 92, 0.25) 0%, transparent 50%),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px);
    opacity: 0.6;
}

.hero-content {
    display: flex;                       /* 改成單欄居中，不再保留右側空白 */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    color: var(--red-light);
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 18px;
    border: 1px solid rgba(200, 16, 46, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: glow-pulse 3s ease-in-out infinite;
}

.hero h1,
.hero-carousel h1 {
    font-size: 2.9rem;
    font-weight: 900;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    line-height: 1.12;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    /* 多層陰影：近 + 中 + 遠，模擬一個深色光暈包覆白字，深底上對比拉滿 */
    text-shadow:
        0 0 1px rgba(0, 0, 0, 0.95),
        0 0 8px rgba(0, 0, 0, 0.85),
        0 2px 4px rgba(0, 0, 0, 0.75),
        0 4px 18px rgba(0, 0, 0, 0.6);
    paint-order: stroke fill;
    -webkit-text-stroke: 0.6px rgba(0, 0, 0, 0.5);   /* 細描邊，邊緣更銳利不糊在底色裡 */
}

/* 確保 .text-gradient 在 .hero-carousel 內也保持金黃漸層（高 specificity 防止被覆蓋） */
.hero-carousel h1 .text-gradient,
.hero h1 .text-gradient {
    background: linear-gradient(135deg, #FFC04D 0%, #FFE680 50%, #FFB347 100%) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    filter:
        drop-shadow(0 0 6px rgba(0, 0, 0, 0.85))
        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    font-weight: 900;
    animation: gradient-shift 4s ease infinite;
}

.text-gradient {
    background: linear-gradient(135deg, #FFC04D 0%, #FFE680 50%, #FFB347 100%);   /* 更亮金黃，深底上爆亮 */
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent;
    text-shadow: none;
    -webkit-text-stroke: 0;                          /* 漸層字不要描邊，否則蓋掉漸層 */
    /* 雙層 drop-shadow：黑色暗光暈讓金字浮起來 */
    filter:
        drop-shadow(0 0 6px rgba(0, 0, 0, 0.85))
        drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
    font-weight: 900;
}

.hero-desc {
    font-size: 1rem;
    color: #ffffff;                       /* 純白，最高對比 */
    line-height: 1.7;
    margin: 0 auto 26px;
    max-width: 600px;
    font-weight: 500;
    text-shadow:
        0 0 6px rgba(0, 0, 0, 0.75),
        0 2px 6px rgba(0, 0, 0, 0.6);     /* 加陰影，深底上仍清晰 */
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 32px;
    justify-content: center;             /* 桌機也置中 */
}

.hero-stats {
    display: flex;
    gap: 36px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    width: fit-content;
    margin-left: auto;                   /* 卡片本身置中 */
    margin-right: auto;
    -webkit-backdrop-filter: blur(10px);
}

.stat { text-align: left; }

.stat-number {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--red-light);
}

.stat-label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

/* Hero Fan Visual */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}

.fan-showcase {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fan-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(200, 16, 46, 0.2);
}

.fan-ring-1 {
    width: 380px;
    height: 380px;
    animation: pulse 4s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(200, 16, 46, 0.15);
}

.fan-ring-2 {
    width: 280px;
    height: 280px;
    border-color: rgba(200, 16, 46, 0.3);
    animation: pulse 4s ease-in-out infinite 1s;
    box-shadow: 0 0 20px rgba(200, 16, 46, 0.1);
}

.fan-ring-3 {
    width: 180px;
    height: 180px;
    border-color: rgba(200, 16, 46, 0.4);
    animation: pulse 4s ease-in-out infinite 2s;
}

.fan-center {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.3) 0%, rgba(200, 16, 46, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(200, 16, 46, 0.5);
    box-shadow: 0 0 30px rgba(200, 16, 46, 0.2);
}

.fan-center i {
    font-size: 3rem;
    color: var(--red-light);
    animation: spin-smooth 6s linear infinite;
}

/* ===== Hero Carousel ===== */
.hero-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 700;     /* 符合 hero-slide-1.jpg 原生比例，避免強制裁切 */
    max-height: 680px;             /* 寬螢幕上限，避免過高 */
    min-height: 380px;
    padding: 0;                    /* 移除 padding，改由 hero-text-container 自己處理 */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #0a1a3a;           /* 夾在圖片外的深藍底，與 hero 圖片色調一致 */
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: contain !important;   /* 圖片完整顯示，不裁切 */
    background-position: center center !important;
    background-repeat: no-repeat;
    background-color: #0a1a3a;             /* 上下/左右補底色 */
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,15,40,0.85) 0%, rgba(8,15,40,0.55) 35%, rgba(8,15,40,0.08) 100%);
}

.hero-carousel .hero-content {
    display: block;
    position: relative;
    z-index: 2;
    padding: 60px 0;              /* 內部垂直留白，保證 overlay 文字不貼邊 */
}

.hero-carousel .hero-text {
    max-width: 720px;
    margin: 0 auto;                      /* 文字區塊本身置中 */
    text-align: center;
}

.hero-carousel .hero-text-container {
    width: 100%;
    position: absolute !important;   /* 讓 overlay 文字不撐開 hero 高度 */
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
}

.hero-carousel-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.2);
}

.hero-dot:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.3);
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(200, 16, 46, 0.12);
    color: var(--red);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    border: 1px solid rgba(200, 16, 46, 0.2);
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1.08rem;
    color: var(--gray-600);
    line-height: 1.8;
    font-weight: 500;
}

/* ===== Products Grid ===== */
.products-section { background: var(--gray-50); }

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

.product-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0;
    transition: var(--transition);
}

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

.product-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    background: var(--white);
}

.product-card.featured {
    border-color: var(--red);
    background: linear-gradient(180deg, rgba(200,16,46,0.02) 0%, var(--white) 100%);
    position: relative;
}

.product-card.featured::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, transparent 100%);
    border-radius: var(--radius-lg);
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
}

.product-card.featured:hover::after {
    opacity: 1;
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--red);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.product-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.5rem;
    min-height: 110px;
}

.product-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.product-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 500;
}

.product-link {
    color: var(--red);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.product-link i {
    transition: var(--transition-fast);
}

.product-card:hover .product-link i {
    transform: translateX(6px);
}

/* ===== Features ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    bottom: 0;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
}

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

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon::before {
    opacity: 1;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--gray-700);
    line-height: 1.8;
    font-weight: 500;
}

/* ===== Certifications ===== */
.certifications-section {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.certifications-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(200, 16, 46, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(27, 58, 92, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.cert-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cert-text h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.cert-text p {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 28px;
    font-weight: 500;
}

.cert-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    .cert-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

.cert-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.cert-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--red), var(--blue));
    opacity: 0;
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red);
}

.cert-item:hover::before {
    opacity: 0.05;
}

.cert-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.1), rgba(27, 58, 92, 0.1));
    border: 3px solid var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.cert-item:hover .cert-icon {
    border-color: var(--red);
    background: linear-gradient(135deg, rgba(200, 16, 46, 0.15), rgba(27, 58, 92, 0.1));
}

.cert-icon span {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--blue);
}

.cert-item:hover .cert-icon span {
    color: var(--red);
}

.cert-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-600);
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(200, 16, 46, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200, 16, 46, 0.08) 0%, transparent 40%),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px);
    pointer-events: none;
}

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

.cta-content h2 {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.cta-content p {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 20px;
    font-weight: 500;
}

.footer-links h4, .footer-contact h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    padding: 8px 0;
    transition: var(--transition-fast);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--red-light);
    transform: translateX(4px);
}

.footer-contact p {
    font-size: 0.88rem;
    line-height: 1.8;
    margin-bottom: 8px;
    font-weight: 500;
}

.footer-contact i {
    color: var(--red);
    margin-right: 8px;
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

/* ===== Page Specific Styles ===== */

/* About Page */
.page-hero {
    background: linear-gradient(135deg, var(--navy), var(--blue));
    padding: 140px 0 80px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(200, 16, 46, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(200, 16, 46, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.page-hero p {
    font-size: 1.12rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: var(--transition-fast);
}

.breadcrumb a:hover { color: var(--white); }
.breadcrumb .current { color: var(--red-light); font-weight: 600; }

/* ============================================================
   TECH HERO — Industrial Tech Banner (about.html / news.html)
   ============================================================ */
.tech-hero {
    position: relative;
    padding: 120px 0 60px;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(42,90,140,0.55) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 70%, rgba(200,16,46,0.22) 0%, transparent 60%),
        linear-gradient(135deg, #050D1C 0%, #0A1628 40%, #0F2440 80%, #1B3A5C 100%);
    color: #fff;
}
@media (max-width: 768px) {
    .tech-hero { padding: 100px 0 50px; min-height: 320px; }
}

/* Hex mesh layer (slow drift) */
.tech-hero__hex {
    position: absolute;
    inset: -10%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cg fill='none' stroke='%234A90D4' stroke-opacity='0.22' stroke-width='1'%3E%3Cpath d='M28 66 L0 50 L0 16 L28 0 L56 16 L56 50 Z'/%3E%3Cpath d='M0 50 L0 84 L28 100 L56 84 L56 50'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 56px 100px;
    opacity: 0.85;
    mask-image: radial-gradient(ellipse 85% 70% at center, black 25%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 85% 70% at center, black 25%, transparent 90%);
    animation: hex-drift 48s linear infinite;
    z-index: 0;
    pointer-events: none;
}
@keyframes hex-drift {
    from { transform: translate(0, 0); }
    to   { transform: translate(-56px, -100px); }
}

/* Dot grid overlay (depth) */
.tech-hero__grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(150,200,255,0.18) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.4;
    mask-image: linear-gradient(180deg, transparent 0%, black 40%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 40%, black 70%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

/* Center radial glow */
.tech-hero__glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(720px, 90%);
    height: 520px;
    background: radial-gradient(circle, rgba(74,144,212,0.28) 0%, transparent 65%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

/* Red scan sweep (every ~8s) */
.tech-hero__scan {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(200,16,46,0) 15%,
        rgba(232,52,77,0.85) 50%,
        rgba(200,16,46,0) 85%,
        transparent 100%);
    box-shadow: 0 0 24px rgba(232,52,77,0.7), 0 0 60px rgba(232,52,77,0.3);
    opacity: 0;
    animation: scan-sweep 9s ease-in-out infinite;
    animation-delay: 2s;
    z-index: 1;
    pointer-events: none;
}
@keyframes scan-sweep {
    0%   { transform: translateY(0);   opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { transform: translateY(520px); opacity: 0; }
}

/* Full-hero circuit layer: scattered pulsing dots + bottom rail */
.tech-hero__circuit {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.tech-hero__circuit::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(74,144,212,0.6) 25%,
        rgba(232,52,77,0.8) 50%,
        rgba(74,144,212,0.6) 75%,
        transparent 100%);
}
.tech-hero__circuit-dot {
    position: absolute;
    bottom: -4px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #E8344D;
    box-shadow: 0 0 14px rgba(232,52,77,0.9), 0 0 28px rgba(232,52,77,0.4);
    animation: dot-pulse 3s ease-in-out infinite;
}
.tech-hero__circuit-dot--a { left: 18%; }
.tech-hero__circuit-dot--b { right: 18%; animation-delay: 1.5s; }

/* Dots placed inside .tech-hero__circuit via inline top/left positioning */
.tech-hero__circuit .tech-hero__dot {
    position: absolute;
    width: 6px; height: 6px;
    background: rgba(232,52,77,0.85);
    box-shadow: 0 0 10px rgba(232,52,77,0.75), 0 0 22px rgba(74,144,212,0.35);
    animation: dot-pulse 3.2s ease-in-out infinite;
}
.tech-hero__circuit .tech-hero__dot:nth-child(2) { animation-delay: .6s; }
.tech-hero__circuit .tech-hero__dot:nth-child(3) { animation-delay: 1.2s; }
.tech-hero__circuit .tech-hero__dot:nth-child(4) { animation-delay: 1.8s; }
@keyframes dot-pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.35); }
}

/* Content layer */
.tech-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

/* Glass breadcrumb */
.tech-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 18px;
}
.tech-hero__breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color .2s;
}
.tech-hero__breadcrumb a:hover { color: #fff; }
.tech-hero__breadcrumb .current {
    color: #FF6B7D;
    font-weight: 600;
}
.tech-hero__breadcrumb > span:not(.current) { color: rgba(255,255,255,0.25); }

/* LIVE / status badge */
.tech-hero__live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(200,16,46,0.14);
    border: 1px solid rgba(200,16,46,0.42);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #FF6B7D;
    margin-bottom: 16px;
}
.tech-hero__dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #E8344D;
    box-shadow: 0 0 8px rgba(232,52,77,0.9);
    flex-shrink: 0;
}
.tech-hero__dot--pulse {
    animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
    0%, 100% { box-shadow: 0 0 0 0   rgba(232,52,77,0.75); }
    60%      { box-shadow: 0 0 0 10px rgba(232,52,77,0); }
    100%     { box-shadow: 0 0 0 0   rgba(232,52,77,0); }
}

/* Title with gradient + glow */
.tech-hero__title {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, #fff 0%, #C0D8F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
    filter: drop-shadow(0 4px 30px rgba(74,144,212,0.35));
}

.tech-hero__subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.78);
    max-width: 620px;
    margin: 0 auto 26px;
    font-weight: 500;
    line-height: 1.6;
}

/* Metrics strip (glass) */
.tech-hero__metrics {
    display: inline-grid;
    grid-auto-flow: column;
    gap: 2px;
    padding: 2px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    margin-top: 6px;
}
.tech-hero__metrics .metric {
    padding: 10px 20px;
    text-align: center;
    border-radius: 12px;
    background: rgba(10,22,40,0.45);
    transition: background .3s ease;
    min-width: 92px;
}
.tech-hero__metrics .metric:hover {
    background: rgba(74,144,212,0.16);
}
.tech-hero__metrics .metric__num {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #C0D8F0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}
.tech-hero__metrics .metric__lbl {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-top: 5px;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 1024px) {
    .tech-hero { padding: 110px 0 55px; min-height: 340px; }
    .tech-hero__title { font-size: 2.15rem; }
}
@media (max-width: 768px) {
    .tech-hero { padding: 95px 0 45px; min-height: 300px; }
    .tech-hero__title { font-size: 1.9rem; }
    .tech-hero__subtitle { font-size: 0.95rem; }
    .tech-hero__metrics {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: row;
        width: 100%;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
    .tech-hero__metrics .metric { padding: 9px 12px; min-width: 0; }
    .tech-hero__metrics .metric__num { font-size: 1.25rem; }
    .tech-hero__metrics .metric__lbl { font-size: 0.58rem; }
}
@media (max-width: 480px) {
    .tech-hero__title { font-size: 1.6rem; }
    .tech-hero__breadcrumb { font-size: 0.72rem; padding: 6px 12px; }
}

/* ---- Page-specific accents -------------------------------- */
/* About: cool, establishment — emphasis on blue glow, subdued scan */
.tech-hero--about .tech-hero__glow {
    background: radial-gradient(circle, rgba(74,144,212,0.34) 0%, transparent 65%);
}
.tech-hero--about .tech-hero__scan { opacity: 0; animation: none; }
.tech-hero--about .tech-hero__live {
    background: rgba(74,144,212,0.14);
    border-color: rgba(74,144,212,0.42);
    color: #9CC5F0;
}
.tech-hero--about .tech-hero__live .tech-hero__dot {
    background: #4A90D4;
    box-shadow: 0 0 8px rgba(74,144,212,0.9);
}
.tech-hero--about .tech-hero__live .tech-hero__dot--pulse {
    animation-name: live-pulse-blue;
}
@keyframes live-pulse-blue {
    0%, 100% { box-shadow: 0 0 0 0   rgba(74,144,212,0.75); }
    60%      { box-shadow: 0 0 0 10px rgba(74,144,212,0); }
    100%     { box-shadow: 0 0 0 0   rgba(74,144,212,0); }
}

/* News: active, live-feed — keep red scan + red live pulse (default) */
.tech-hero--news .tech-hero__glow {
    background:
      radial-gradient(circle at 30% 50%, rgba(232,52,77,0.2) 0%, transparent 60%),
      radial-gradient(circle at 70% 50%, rgba(74,144,212,0.28) 0%, transparent 65%);
}

/* Products: catalog — dual-glow (blue + red hint), slower scan */
.tech-hero--products .tech-hero__glow {
    background:
      radial-gradient(circle at 25% 40%, rgba(74,144,212,0.32) 0%, transparent 62%),
      radial-gradient(circle at 80% 65%, rgba(232,52,77,0.16) 0%, transparent 60%);
}
.tech-hero--products .tech-hero__scan { animation-duration: 14s; }

/* Finder: search/radar — brighter cyan glow, faster sweep */
.tech-hero--finder {
    background:
        radial-gradient(ellipse 80% 60% at 50% 30%, rgba(42,120,180,0.55) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 50% 90%, rgba(200,16,46,0.18) 0%, transparent 60%),
        linear-gradient(135deg, #050D1C 0%, #0A1628 40%, #0F2440 80%, #1B3A5C 100%);
}
.tech-hero--finder .tech-hero__glow {
    background: radial-gradient(circle, rgba(100,180,230,0.38) 0%, transparent 65%);
    filter: blur(40px);
}
.tech-hero--finder .tech-hero__scan { animation-duration: 6s; }
.tech-hero--finder .tech-hero__live {
    background: rgba(100,180,230,0.14);
    border-color: rgba(100,180,230,0.5);
    color: #9FD2EF;
}
.tech-hero--finder .tech-hero__live .tech-hero__dot {
    background: #64B4E6;
    box-shadow: 0 0 8px rgba(100,180,230,0.9);
}
.tech-hero--finder .tech-hero__live .tech-hero__dot--pulse {
    animation-name: live-pulse-cyan;
}
@keyframes live-pulse-cyan {
    0%, 100% { box-shadow: 0 0 0 0   rgba(100,180,230,0.75); }
    60%      { box-shadow: 0 0 0 10px rgba(100,180,230,0); }
    100%     { box-shadow: 0 0 0 0   rgba(100,180,230,0); }
}

/* Contact: warm, accessible — red-leaning glow, keeps default red pulse */
.tech-hero--contact .tech-hero__glow {
    background:
      radial-gradient(circle at 50% 40%, rgba(232,52,77,0.26) 0%, transparent 60%),
      radial-gradient(circle at 50% 80%, rgba(74,144,212,0.22) 0%, transparent 65%);
}
.tech-hero--contact .tech-hero__scan { opacity: 0; animation: none; }

/* ============================================================
   PRODUCT PAGE VARIANTS — each has a unique hue + optional
   product image layer (tech-hero__product) behind the mesh.
   ============================================================ */

/* Decorative product icon — large faded Font Awesome icon as watermark on
   the right side of the banner. No photo backgrounds → no muddy edges. */
.tech-hero__icon {
    display: none !important;
}
.tech-hero__icon--keep {
    display: block !important;
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.07;
    line-height: 1;
    user-select: none;
}
.tech-hero__icon i,
.tech-hero__icon svg {
    font-size: 26rem;
    color: #fff;
    filter: drop-shadow(0 0 60px rgba(255,255,255,0.25));
}
/* .tech-hero__icon--spin kept as a class hook for legacy markup,
   but no rotation — fan icons stay static. */

/* Secondary leaf icon variant — smaller accent for EC Fan (eco identity) */
.tech-hero__icon--leaf {
    top: 18%;
    right: 18%;
    transform: none;
    opacity: 0.08;
}
.tech-hero__icon--leaf i {
    font-size: 8rem;
    color: #10b981;
    filter: drop-shadow(0 0 20px rgba(16,185,129,0.3));
}

@media (max-width: 1024px) {
    .tech-hero__icon i, .tech-hero__icon svg { font-size: 16rem; }
    .tech-hero__icon { right: -5%; opacity: 0.08; }
}
@media (max-width: 768px) {
    .tech-hero__icon i, .tech-hero__icon svg { font-size: 12rem; }
    .tech-hero__icon { top: auto; bottom: -8%; right: -8%; transform: none; opacity: 0.06; }
}

/* Product photo layer — transparent-background PNG of the actual product.
   Anchored to the right side of the banner, complements the icon watermark
   which serves as a glowing halo behind the photo. */
.tech-hero__product {
    position: absolute;
    top: 50%;
    right: 4%;
    transform: translateY(-50%);
    width: 30%;
    max-width: 340px;
    height: 75%;
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
    z-index: 2;
    pointer-events: none;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,0.45))
            drop-shadow(0 0 20px rgba(74,144,212,0.15));
    mask-image: linear-gradient(to left, #000 65%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, #000 65%, transparent 100%);
}
@media (max-width: 1024px) {
    .tech-hero__product { width: 32%; right: 0%; opacity: 0.8; max-width: 280px; }
}
@media (max-width: 768px) {
    .tech-hero__product {
        width: 45%;
        height: 45%;
        top: auto;
        bottom: -5%;
        right: -6%;
        transform: none;
        opacity: 0.35;
    }
}

/* AC Fan — Industrial Blue + Amber (AC 50/60Hz heritage) */
.tech-hero--ac .tech-hero__glow {
    background:
      radial-gradient(circle at 30% 50%, rgba(74,144,212,0.36) 0%, transparent 60%),
      radial-gradient(circle at 75% 60%, rgba(255,165,0,0.16) 0%, transparent 60%);
}
.tech-hero--ac .tech-hero__live {
    background: rgba(255,165,0,0.14);
    border-color: rgba(255,165,0,0.45);
    color: #FFC76B;
}
.tech-hero--ac .tech-hero__live .tech-hero__dot {
    background: #FFA500;
    box-shadow: 0 0 8px rgba(255,165,0,0.9);
}
.tech-hero--ac .tech-hero__live .tech-hero__dot--pulse {
    animation-name: live-pulse-amber;
}
@keyframes live-pulse-amber {
    0%, 100% { box-shadow: 0 0 0 0   rgba(255,165,0,0.75); }
    60%      { box-shadow: 0 0 0 10px rgba(255,165,0,0); }
    100%     { box-shadow: 0 0 0 0   rgba(255,165,0,0); }
}

/* DC Fan — Precision Cool Blue */
.tech-hero--dc .tech-hero__glow {
    background: radial-gradient(circle at 50% 45%, rgba(100,180,230,0.34) 0%, transparent 65%);
}
.tech-hero--dc .tech-hero__live {
    background: rgba(100,180,230,0.14);
    border-color: rgba(100,180,230,0.48);
    color: #9FD2EF;
}
.tech-hero--dc .tech-hero__live .tech-hero__dot {
    background: #64B4E6;
    box-shadow: 0 0 8px rgba(100,180,230,0.9);
}
.tech-hero--dc .tech-hero__live .tech-hero__dot--pulse {
    animation-name: live-pulse-cyan;
}

/* DC Blower — Teal / Concentrated airflow */
.tech-hero--dcb {
    background:
        radial-gradient(ellipse 80% 60% at 25% 30%, rgba(22,130,140,0.5) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 75%, rgba(74,144,212,0.24) 0%, transparent 60%),
        linear-gradient(135deg, #051620 0%, #082028 40%, #0C3038 80%, #154048 100%);
}
.tech-hero--dcb .tech-hero__glow {
    background: radial-gradient(circle, rgba(60,200,180,0.32) 0%, transparent 65%);
}
.tech-hero--dcb .tech-hero__scan {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(60,200,180,0.85) 50%,
        transparent 100%);
    box-shadow: 0 0 24px rgba(60,200,180,0.7), 0 0 60px rgba(60,200,180,0.3);
    animation-duration: 6s;
}
.tech-hero--dcb .tech-hero__live {
    background: rgba(60,200,180,0.14);
    border-color: rgba(60,200,180,0.48);
    color: #7FE2CE;
}
.tech-hero--dcb .tech-hero__live .tech-hero__dot {
    background: #3CC8B4;
    box-shadow: 0 0 8px rgba(60,200,180,0.9);
}
.tech-hero--dcb .tech-hero__live .tech-hero__dot--pulse {
    animation-name: live-pulse-teal;
}
@keyframes live-pulse-teal {
    0%, 100% { box-shadow: 0 0 0 0   rgba(60,200,180,0.75); }
    60%      { box-shadow: 0 0 0 10px rgba(60,200,180,0); }
    100%     { box-shadow: 0 0 0 0   rgba(60,200,180,0); }
}

/* EC Fan — Next-gen Green / Eco */
.tech-hero--ec {
    background:
        radial-gradient(ellipse 80% 60% at 30% 30%, rgba(40,140,100,0.48) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 80% 75%, rgba(74,144,212,0.24) 0%, transparent 60%),
        linear-gradient(135deg, #051A14 0%, #082820 40%, #0C3A2A 80%, #154A36 100%);
}
.tech-hero--ec .tech-hero__glow {
    background: radial-gradient(circle, rgba(80,220,140,0.32) 0%, transparent 65%);
}
.tech-hero--ec .tech-hero__scan {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(80,220,140,0.85) 50%,
        transparent 100%);
    box-shadow: 0 0 24px rgba(80,220,140,0.6), 0 0 60px rgba(80,220,140,0.25);
    animation-duration: 10s;
}
.tech-hero--ec .tech-hero__live {
    background: rgba(80,220,140,0.14);
    border-color: rgba(80,220,140,0.5);
    color: #A5F0C2;
}
.tech-hero--ec .tech-hero__live .tech-hero__dot {
    background: #50DC8C;
    box-shadow: 0 0 8px rgba(80,220,140,0.9);
}
.tech-hero--ec .tech-hero__live .tech-hero__dot--pulse {
    animation-name: live-pulse-green;
}
@keyframes live-pulse-green {
    0%, 100% { box-shadow: 0 0 0 0   rgba(80,220,140,0.75); }
    60%      { box-shadow: 0 0 0 10px rgba(80,220,140,0); }
    100%     { box-shadow: 0 0 0 0   rgba(80,220,140,0); }
}

/* DC Centrifugal — Deep Navy + Magenta / High Pressure */
.tech-hero--dcc .tech-hero__glow {
    background:
      radial-gradient(circle at 25% 45%, rgba(180,80,200,0.3) 0%, transparent 60%),
      radial-gradient(circle at 75% 55%, rgba(74,144,212,0.28) 0%, transparent 62%);
}
.tech-hero--dcc .tech-hero__scan {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(200,100,220,0.85) 50%,
        transparent 100%);
    box-shadow: 0 0 24px rgba(200,100,220,0.7), 0 0 60px rgba(200,100,220,0.3);
    animation-duration: 8s;
}
.tech-hero--dcc .tech-hero__live {
    background: rgba(200,100,220,0.14);
    border-color: rgba(200,100,220,0.5);
    color: #E8B0F0;
}
.tech-hero--dcc .tech-hero__live .tech-hero__dot {
    background: #C864DC;
    box-shadow: 0 0 8px rgba(200,100,220,0.9);
}
.tech-hero--dcc .tech-hero__live .tech-hero__dot--pulse {
    animation-name: live-pulse-magenta;
}
@keyframes live-pulse-magenta {
    0%, 100% { box-shadow: 0 0 0 0   rgba(200,100,220,0.75); }
    60%      { box-shadow: 0 0 0 10px rgba(200,100,220,0); }
    100%     { box-shadow: 0 0 0 0   rgba(200,100,220,0); }
}

/* Filter & Accessories — Graphite + Amber / Protection */
.tech-hero--filter {
    background:
        radial-gradient(ellipse 80% 60% at 30% 30%, rgba(90,100,110,0.45) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 80% 75%, rgba(255,165,0,0.2) 0%, transparent 60%),
        linear-gradient(135deg, #0A0E14 0%, #131A22 40%, #1C2432 80%, #2A3446 100%);
}
.tech-hero--filter .tech-hero__glow {
    background: radial-gradient(circle, rgba(255,165,0,0.26) 0%, transparent 65%);
}
.tech-hero--filter .tech-hero__hex {
    /* tighter denser mesh to feel like a filter screen */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='50' viewBox='0 0 28 50'%3E%3Cg fill='none' stroke='%23FFA500' stroke-opacity='0.22' stroke-width='1'%3E%3Cpath d='M14 33 L0 25 L0 8 L14 0 L28 8 L28 25 Z'/%3E%3Cpath d='M0 25 L0 42 L14 50 L28 42 L28 25'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 28px 50px;
    opacity: 0.55;
}
.tech-hero--filter .tech-hero__scan { opacity: 0; animation: none; }
.tech-hero--filter .tech-hero__live {
    background: rgba(255,165,0,0.14);
    border-color: rgba(255,165,0,0.5);
    color: #FFC76B;
}
.tech-hero--filter .tech-hero__live .tech-hero__dot {
    background: #FFA500;
    box-shadow: 0 0 8px rgba(255,165,0,0.9);
}
.tech-hero--filter .tech-hero__live .tech-hero__dot--pulse {
    animation-name: live-pulse-amber;
}

/* 3rd-level breadcrumb — home / products / {product} */
.tech-hero__breadcrumb a + span[aria-hidden] + a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
}

/* Reduced-motion safeguard (parent rule at line 131 already wipes animations,
   this is a belt-and-suspenders for older browsers) */
@media (prefers-reduced-motion: reduce) {
    .tech-hero__hex,
    .tech-hero__scan,
    .tech-hero__dot--pulse,
    .tech-hero__circuit-dot {
        animation: none !important;
    }
}

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

.about-text h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.about-text p {
    font-size: 1.02rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 16px;
    font-weight: 500;
}

.about-image {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-placeholder {
    text-align: center;
    color: var(--gray-400);
}

.about-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 16px;
}

/* Timeline */
.timeline { max-width: 700px; margin: 0 auto; }

.timeline-item {
    display: flex;
    gap: 24px;
    padding-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
    transition: var(--transition-fast);
}

.timeline-item:hover::before {
    background: var(--red);
}

.timeline-item:last-child::before { display: none; }

.timeline-dot {
    min-width: 60px;
    height: 36px;
    padding: 0 12px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 900;
    font-size: 0.78rem;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
    transition: var(--transition);
    white-space: nowrap;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
}

.timeline-content h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.92rem;
    color: var(--gray-500);
    line-height: 1.7;
    font-weight: 500;
}

/* Products Page */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-500);
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
    box-shadow: var(--shadow-red);
    transform: translateY(-2px);
}

.product-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

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

.product-detail-image {
    height: 220px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-image i {
    font-size: 3rem;
    color: var(--gray-300);
}

.product-detail-info {
    padding: 24px;
}

.product-detail-info h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.product-detail-info p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 16px;
    font-weight: 500;
}

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

.spec-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gray-50);
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    font-weight: 600;
    transition: var(--transition-fast);
}

.spec-tag:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red);
}

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

.contact-form {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--blue);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-family: inherit;
    color: var(--gray-700);
    background: var(--white);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.1);
    background: rgba(200, 16, 46, 0.02);
}

.form-group textarea { resize: vertical; min-height: 120px; }

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

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    display: flex;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--red), var(--blue));
    opacity: 0;
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--red);
    box-shadow: var(--shadow-lg);
}

.info-card:hover::before {
    opacity: 0.03;
}

.info-card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    box-shadow: 0 6px 16px rgba(200, 16, 46, 0.25);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.info-card:hover .info-card-icon {
    transform: scale(1.1);
}

.info-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* Map */
.map-section {
    background: var(--gray-100);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--gray-400);
}

.map-placeholder i { font-size: 3rem; margin-bottom: 12px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero h1, .hero-carousel h1 { font-size: 2.4rem; }
    .hero-stats { gap: 28px; }
    .hero-carousel { min-height: 520px; max-height: 640px; aspect-ratio: auto; padding: 100px 0 60px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .section-header h2 { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    /* Keep language switcher visible on mobile — hide only the phone/email left side */
    .top-bar { padding: 6px 0; font-size: 0.78rem; }
    .top-bar-left { display: none; }
    .top-bar-content { justify-content: center; }
    .top-bar-right { gap: 6px; }
    .lang-switch { font-size: 0.78rem; padding: 2px 4px; }

    /* 手機 navbar：考慮 iPhone 瀏海安全區，避免 LOGO 被切 */
    .navbar {
        padding-top: env(safe-area-inset-top, 0);
    }
    .navbar .container {
        height: 64px;             /* 略縮，整體更緊湊 */
        padding-top: 6px;          /* 上方多留一點空間，確保 LOGO 不貼邊 */
        padding-bottom: 6px;
    }

    /* 手機版 LOGO：完整顯示，不裁切（覆蓋頁面 inline style="height:52px"） */
    .navbar .logo-img {
        height: 40px !important;
        width: auto !important;
        max-width: 100% !important;
        max-height: 40px !important;
        object-fit: contain !important;
        display: block !important;
    }
    .navbar .logo {
        max-width: calc(100% - 60px);
        overflow: visible;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 4px 0;            /* 上下保留 4px 緩衝，icon 不會被切 */
    }

    .nav-links {
        position: fixed;
        top: 65px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-110%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-link { width: 100%; padding: 12px 16px; }

    /* 手機版下拉觸發列：佔滿寬度、左右對齊 chevron */
    .nav-dropdown { width: 100%; }
    .nav-dropdown > .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .nav-dropdown > .nav-link i {
        transition: transform 0.3s ease;
    }
    .nav-dropdown.open > .nav-link i {
        transform: rotate(180deg);
    }

    .nav-dropdown .dropdown-menu,
    .nav-dropdown .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background: var(--gray-50);
        border-radius: 0;
        margin-top: 0;
        padding: 4px 0 4px 16px;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
    }

    .nav-dropdown.open > .dropdown-menu,
    .nav-dropdown.open > .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        max-height: 400px;
        padding: 8px 0 8px 16px;
    }

    /* 漢堡選單內 Products 下拉項目樣式（手機版） */
    .nav-dropdown .dropdown-menu a,
    .nav-dropdown .nav-dropdown-menu a {
        display: block;
        width: 100%;
        padding: 10px 16px;
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--gray-700);
        white-space: normal;
        border-radius: 6px;
        line-height: 1.4;
    }
    .nav-dropdown .dropdown-menu a:hover,
    .nav-dropdown .nav-dropdown-menu a:hover {
        background: rgba(200, 16, 46, 0.08);
        color: var(--red);
    }

    .nav-cta { display: none; }

    .mobile-toggle { display: flex; }

    /* 漢堡選單底部的語言切換 */
    .nav-mobile-lang {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 16px 16px 8px;
        margin-top: 12px;
        border-top: 1px solid var(--gray-200);
        width: 100%;
    }
    .nav-mobile-lang .nav-lang-link {
        width: auto;
        padding: 8px 12px;
        font-size: 0.88rem;
        color: var(--gray-600);
        border-radius: 6px;
        text-align: center;
    }
    .nav-mobile-lang .nav-lang-link.active {
        color: var(--white);
        background: var(--navy);
        font-weight: 600;
    }
    .nav-mobile-lang .nav-lang-link:hover {
        background: var(--gray-100);
    }
    .nav-mobile-lang .nav-lang-link.active:hover {
        background: var(--navy);
    }

    .hero { min-height: auto; padding: 80px 0 60px; }
    /* 手機版：carousel 自然排版，圖 + 文字垂直堆疊，無多餘空白 */
    .hero-carousel {
        min-height: 0 !important;
        max-height: none !important;
        height: auto !important;
        aspect-ratio: auto !important;
        padding: 0 !important;          /* navbar 是 sticky，不需要留空白 */
        background: #0a1a3a;
        display: block !important;
        overflow: visible !important;
    }
    /* slides 區塊：限定固定矮高，避免大片藍色空白（放大 25%，避免 contain 時產品圖太小） */
    .hero-carousel .hero-slides {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: clamp(138px, 33vw, 225px) !important;
        padding-bottom: 0 !important;
        overflow: hidden !important;
    }
    /* 第 2 張 slide（純文字背景）顯示時，直接隱藏整個圖片區，只剩文字 */
    .hero-carousel.text-mode .hero-slides {
        display: none !important;
    }
    .hero-carousel.text-mode {
        padding-top: 0 !important;
    }
    .hero-carousel .hero-slide {
        position: absolute !important;
        inset: 0 !important;
        background-size: cover !important;     /* 填滿整個 2:1 容器，無上下空白 */
        background-position: center center !important;
    }
    /* slide 1 (主視覺 banner，文字已內嵌)：手機版將圖片放大 25%，左右稍微裁切可接受 */
    .hero-carousel .hero-slide.active[style*="option_final_v14"],
    .hero-carousel .hero-slide[style*="option_final_v14"] {
        background-size: 125% auto !important;
        background-position: center center !important;
    }
    /* 手機版：slide 2 (hero-slide-1.jpg 深色背景) 不顯示，避免與 text-mode 文字區重疊產生上方空白 */
    .hero-carousel .hero-slide[style*="hero-slide-1"] {
        display: none !important;
    }
    /* 文字區塊：靜態，緊接在圖下方堆疊；只在第 2 張 slide 時顯示，否則完全隱藏，不佔空間 */
    /* 上方 padding 大幅縮小，讓 SINCE 1984 徽章貼近主選單，避免大片藍色空白 */
    .hero-carousel .hero-text-container {
        position: static !important;
        transform: none !important;
        top: auto !important;
        background: linear-gradient(180deg, #0a1a3a 0%, #0d2150 100%);
        padding: 4px 16px 28px !important;
        margin: 0 !important;
        z-index: 5;
        display: none !important;        /* 預設隱藏，由 JS 加 .is-visible 才顯示 */
    }
    .hero-carousel .hero-text-container.is-visible {
        display: block !important;
        opacity: 1 !important;
    }
    .hero-carousel .hero-content { padding: 0 !important; }
    /* 手機版：保留 dots 在圖片右下角，讓使用者知道是輪播且可手動切換 */
    .hero-carousel-dots {
        position: absolute !important;
        bottom: 8px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
        display: flex !important;
        gap: 8px !important;
    }
    .hero-carousel-dots .hero-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.45);
        border: 1px solid rgba(255, 255, 255, 0.7);
        cursor: pointer;
        transition: background 0.2s ease;
    }
    .hero-carousel-dots .hero-dot.active {
        background: #ffffff;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero h1, .hero-carousel h1 { font-size: 2.1rem; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; gap: 32px; flex-direction: row; }
    .stat { text-align: center; }
    .hero-visual { display: none; }

    .section { padding: 60px 0; }

    .section-header h2 { font-size: 1.8rem; }

    .products-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .cert-content { grid-template-columns: 1fr; }
    .about-intro { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

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

    .cta-content h2 { font-size: 1.8rem; }
    .cta-actions { flex-direction: column; align-items: center; }

    .page-hero { padding: 100px 0 60px; min-height: 40vh; }
    .page-hero h1 { font-size: 2rem; }

    .news-card {
        flex-direction: column;
    }

    .news-image {
        width: 100%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    /* 維持 2:1 比例即可，不需另外覆寫 min-height */
    .hero-carousel { padding: 60px 0 0; }
    .hero h1, .hero-carousel h1 { font-size: 1.8rem; }
    .hero-stats { flex-direction: column; gap: 16px; padding: 16px 20px; }
    .hero-actions { flex-direction: column; }
    .btn-lg { padding: 12px 24px; font-size: 0.92rem; }
    .stat-number { font-size: 1.7rem; }
    .product-card { padding: 28px 20px; }
    .contact-form { padding: 28px 20px; }
    .section-header h2 { font-size: 1.5rem; }
    .cta-content h2 { font-size: 1.5rem; }
}


/* ===== Products Overview Page ===== */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.overview-card {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--blue));
    opacity: 0;
    transition: var(--transition);
}

.overview-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

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

.overview-img {
    width: 200px;
    min-height: 200px;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    flex-shrink: 0;
}

.overview-img img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.overview-info {
    padding: 28px 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.overview-info h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 6px;
    line-height: 1.3;
}

.cat-count {
    font-size: 0.82rem;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.overview-info p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 14px;
}

.overview-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.overview-specs .spec-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-50);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    font-weight: 500;
}

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

@media (max-width: 768px) {
    .overview-card { flex-direction: column; }
    .overview-img { width: 100%; min-height: 160px; }
    .overview-info { padding: 20px 24px; }
}

/* ===== Product Detail Pages ===== */

/* Product Hero Image */
.product-hero-img {
    height: 300px;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-radius: var(--radius-lg);
    margin-bottom: 32px;
    border: 1px solid var(--gray-200);
}
.product-hero-img img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* Product Table */
.product-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.product-table th {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    padding: 14px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}
.product-table td {
    padding: 11px 16px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-600);
    transition: var(--transition-fast);
}
.product-table tr:hover td { background: rgba(200, 16, 46, 0.02); }
.product-table .family-row td { background: rgba(200,16,46,0.04); font-weight: 700; color: var(--blue); }

/* Product Sidebar */
.product-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 24px;
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-sm);
}
.product-sidebar h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 4px;
    transition: var(--transition-fast);
}
.sidebar-link:hover, .sidebar-link.active {
    background: rgba(200,16,46,0.06);
    color: var(--red);
}
.sidebar-link img { width: 36px; height: 36px; object-fit: contain; border-radius: 6px; }
.product-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .product-layout { grid-template-columns: 1fr; }
    .product-sidebar { position: static; }
    .product-table { font-size: 0.8rem; display: block; overflow-x: auto; }
}

/* ===== Product Category Pages ===== */

/* Size Group Titles */
.size-group-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--navy);
    padding-bottom: 0.75rem;
    border-bottom: 4px solid var(--red);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.01em;
}
.size-group-title .size-badge {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(27, 58, 92, 0.2);
}

/* Product Models Grid */
.product-models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Model Cards */
.model-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: 0;
    transition: var(--transition-fast);
}

.model-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px) scale(1.02);
    border-color: var(--red);
}

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

.model-card-img {
    background: #f8f9fa;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    position: relative;
}
.model-card-img img {
    max-width: 100%;
    max-height: 160px;
    object-fit: contain;
}

.model-card-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.model-card-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}
.model-size {
    font-size: 0.88rem;
    color: #6b7280;
    margin-bottom: 0.85rem;
    font-weight: 600;
}

.model-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.spec-item {
    display: flex;
    flex-direction: column;
}
.spec-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #9ca3af;
    font-weight: 800;
}
.spec-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.model-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
}
.model-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.model-badge.ip55 {
    background: #dbeafe;
    color: #1d4ed8;
}
.model-badge.ipx7 {
    background: #d1fae5;
    color: #047857;
}
.model-badge.surge-5kv {
    background: #fef3c7;
    color: #b45309;
}
.model-badge.pwm {
    background: #ede9fe;
    color: #6d28d9;
}
.model-badge.new {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    box-shadow: 0 4px 12px rgba(200, 16, 46, 0.3);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.82rem;
    margin-top: auto;
    text-align: center;
    display: inline-block;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    transition: var(--transition);
    letter-spacing: 0.02em;
}
.btn-sm:hover {
    background: var(--blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

/* Layout with Sidebar */
.product-layout-with-sidebar {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

.size-nav {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}
.size-nav h4 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    margin-bottom: 0.85rem;
    font-weight: 800;
}
.size-nav a, .size-nav-link {
    display: block;
    padding: 0.6rem 0.85rem;
    color: var(--navy);
    text-decoration: none;
    font-size: 0.88rem;
    border-radius: 6px;
    transition: var(--transition-fast);
    font-weight: 700;
    letter-spacing: -0.01em;
}
.size-nav a:hover, .size-nav-link:hover, .size-nav a.active, .size-nav-link.active {
    background: rgba(27,58,92,0.1);
    color: var(--red);
    border-left: 3px solid var(--red);
    padding-left: 0.6rem;
}

/* Category Intro Section */
.category-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.category-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--red), var(--blue));
    opacity: 0;
    transition: var(--transition);
}

.category-intro:hover::before {
    opacity: 0.02;
}

.category-intro-text {
    position: relative;
    z-index: 1;
}

.category-intro-text h2 {
    font-size: 1.95rem;
    color: var(--navy);
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -0.01em;
}
.category-intro-text p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-weight: 500;
}
.category-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    position: relative;
    z-index: 1;
}
.category-feature {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.5rem 0.95rem;
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--navy);
    font-weight: 700;
    border: 1px solid #e5e7eb;
    transition: var(--transition-fast);
}

.category-feature:hover {
    border-color: var(--red);
    background: rgba(200, 16, 46, 0.05);
}

.category-feature i {
    color: var(--red);
    font-size: 0.8rem;
}
.category-intro-img {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}
.category-intro-img img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 12px;
}

/* Product Hero Image */
.category-hero-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-hero-photo img {
    max-width: 320px;
    max-height: 320px;
    object-fit: contain;
    border-radius: 16px;
    filter: drop-shadow(0 8px 30px rgba(0,0,0,0.18));
    transition: transform 0.4s ease, filter 0.4s ease;
}
.category-hero-photo img:hover {
    transform: scale(1.04) translateY(-4px);
    filter: drop-shadow(0 14px 40px rgba(0,0,0,0.25));
}
/* Subtle glow ring behind product */
.category-hero-photo::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,16,46,0.06) 0%, rgba(27,58,92,0.04) 50%, transparent 70%);
    z-index: 0;
}
.category-hero-photo::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px solid rgba(200,16,46,0.06);
    z-index: 0;
}
.category-hero-photo img {
    position: relative;
    z-index: 1;
}

/* Size Group Section */
.size-group-section {
    scroll-margin-top: 100px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-layout-with-sidebar {
        grid-template-columns: 1fr;
    }
    .size-nav {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        padding: 0.75rem;
    }
    .size-nav h4 {
        width: 100%;
        margin-bottom: 0.6rem;
    }
    .size-nav a, .size-nav-link {
        padding: 0.4rem 0.7rem;
        font-size: 0.78rem;
    }
    .product-models-grid {
        grid-template-columns: 1fr;
    }
    .category-intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ========== Representative Customers (compact square grid, no scroll needed) ========== */
.customer-grid{
    display:grid;
    grid-template-columns:repeat(7,1fr);
    gap:0.875rem;
    max-width:1200px;
    margin:0 auto;
}
.customer-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:1rem;
    aspect-ratio:1/1;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all .3s ease;
    box-shadow:0 1px 3px rgba(0,0,0,0.05);
}
.customer-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,0,0,0.1);
    border-color:var(--primary,#0066cc);
}
.customer-logo{
    max-width:100%;
    max-height:70%;
    width:auto;
    height:auto;
    object-fit:contain;
    filter:grayscale(15%);
    transition:filter .3s ease;
}
.customer-card:hover .customer-logo{
    filter:grayscale(0%);
}
@media (max-width:1024px){
    .customer-grid{grid-template-columns:repeat(4,1fr);gap:0.875rem;}
}
@media (max-width:640px){
    .customer-grid{grid-template-columns:repeat(3,1fr);gap:0.75rem;}
    .customer-card{padding:0.75rem;}
}
@media (max-width:400px){
    .customer-grid{grid-template-columns:repeat(2,1fr);}
}

/* ========== Trust Note (under Customer Grid) ========== */
.trust-note{
    margin:4rem auto 0;
    max-width:780px;
    padding:2.5rem 2.5rem 2rem;
    background:linear-gradient(135deg,#ffffff 0%,#f8fafc 100%);
    border:1px solid #e5e7eb;
    border-radius:16px;
    box-shadow:0 4px 16px rgba(0,0,0,0.04);
    text-align:center;
    position:relative;
    overflow:hidden;
}
.trust-note::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:4px;
    background:linear-gradient(90deg,var(--primary,#0066cc) 0%,#4fc3e8 100%);
}
.trust-note-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height:56px;
    border-radius:50%;
    background:linear-gradient(135deg,var(--primary,#0066cc) 0%,#4fc3e8 100%);
    color:#fff;
    font-size:1.4rem;
    margin-bottom:1.25rem;
    box-shadow:0 4px 12px rgba(0,102,204,0.25);
}
.trust-note-title{
    font-size:1.5rem;
    font-weight:800;
    color:var(--gray-900,#111);
    margin:0 0 1rem;
    letter-spacing:-0.01em;
    line-height:1.3;
}
.trust-note-text{
    font-size:1.0625rem;
    line-height:1.75;
    color:var(--gray-700,#374151);
    margin:0;
    max-width:640px;
    margin-left:auto;
    margin-right:auto;
}
.trust-note-text strong{
    color:var(--primary,#0066cc);
    font-weight:700;
}
@media (max-width:640px){
    .trust-note{padding:2rem 1.5rem 1.75rem;margin-top:3rem;}
    .trust-note-title{font-size:1.25rem;}
    .trust-note-text{font-size:0.9375rem;line-height:1.7;}
    .trust-note-icon{width:48px;height:48px;font-size:1.2rem;}
}

/* ===== Application Fields — Hexagonal Honeycomb Layout ===== */
.app-fields-section{
    background: linear-gradient(135deg, #eaf4ff 0%, #f8fbff 55%, #eaf4ff 100%);
    position: relative;
    overflow: hidden;
}
.app-fields-section::before{
    content:"";
    position:absolute; inset:0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(30,144,255,.08) 0, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(0,102,204,.08) 0, transparent 40%);
    pointer-events:none;
}
.app-fields-section .container{ position:relative; z-index:1; }

.hex-honeycomb{
    --hex-size: 180px;
    --hex-gap: 14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    margin-top:3rem;
    gap: calc(var(--hex-size) * -0.26); /* vertical overlap for honeycomb */
}
.hex-row{
    display:flex;
    justify-content:center;
    gap: var(--hex-gap);
}
.hex-cell{
    width: var(--hex-size);
    height: calc(var(--hex-size) * 1.1547); /* regular hexagon ratio */
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(145deg, #1e90ff 0%, #0066cc 100%);
    padding: 3px;
    transition: transform .35s ease, filter .35s ease;
    position:relative;
}
.hex-cell:hover{
    transform: translateY(-6px) scale(1.03);
    filter: drop-shadow(0 10px 20px rgba(0,102,204,.35));
}
.hex-inner{
    width:100%; height:100%;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: #ffffff;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:.5rem;
    padding: 1rem;
    text-align:center;
}
.hex-inner i{
    font-size: 2.4rem;
    color:#0066cc;
    transition: transform .35s ease;
}
.hex-cell:hover .hex-inner i{ transform: scale(1.1) rotate(-6deg); }
.hex-label{
    font-size:.85rem;
    font-weight:600;
    color:#1a1a1a;
    letter-spacing:.02em;
    line-height:1.2;
}

/* Center logo hex */
.hex-cell.hex-center{
    background: linear-gradient(145deg, #e5ecf5 0%, #c8d4e3 100%);
    transform: scale(1.05);
}
.hex-cell.hex-center:hover{ transform: scale(1.08); }
.hex-center .hex-inner.hex-logo{
    background: radial-gradient(circle at center, #fff 0%, #f3f8ff 100%);
}
.hex-brand{
    font-size: 1.25rem;
    font-weight: 900;
    color:#b11212;
    letter-spacing:.04em;
}
.hex-brand-sub{
    font-size:.72rem;
    color:#555;
    text-transform:uppercase;
    letter-spacing:.15em;
    margin-top:.15rem;
}

/* Responsive scaling */
@media (max-width: 900px){
    .hex-honeycomb{ --hex-size: 150px; }
    .hex-brand{ font-size: 1rem; }
    .hex-inner i{ font-size: 1.9rem; }
}
@media (max-width: 640px){
    .hex-honeycomb{ --hex-size: 110px; --hex-gap: 8px; }
    .hex-label{ font-size:.7rem; }
    .hex-brand{ font-size:.85rem; }
    .hex-brand-sub{ font-size:.55rem; letter-spacing:.08em; }
    .hex-inner i{ font-size: 1.4rem; }
    .hex-inner{ padding:.5rem; gap:.25rem; }
}

/* Compact honeycomb (used inside about-intro right column) */
.hex-honeycomb-compact{
    --hex-size: 140px;
    --hex-gap: 10px;
    margin-top: 0;
}
.hex-center .hex-inner.hex-logo{
    padding: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hex-logo-img{
    max-width: 68%;
    max-height: 68%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: auto;
}
@media (max-width: 1100px){
    .hex-honeycomb-compact{ --hex-size: 120px; }
}
@media (max-width: 900px){
    .hex-honeycomb-compact{ --hex-size: 140px; }
}
@media (max-width: 640px){
    .hex-honeycomb-compact{ --hex-size: 100px; --hex-gap: 6px; }
}

/* Override about-image when used as honeycomb container */
.about-image.about-image-honeycomb{
    background: transparent;
    border-radius: 0;
    height: auto;
    min-height: 440px;
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.about-image.about-image-honeycomb .hex-honeycomb-compact{
    --hex-size: 165px;
    --hex-gap: 12px;
}
@media (max-width: 1200px){
    .about-image.about-image-honeycomb .hex-honeycomb-compact{ --hex-size: 145px; }
}
@media (max-width: 1024px){
    .about-image.about-image-honeycomb .hex-honeycomb-compact{ --hex-size: 130px; }
}
@media (max-width: 768px){
    .about-image.about-image-honeycomb{ min-height: auto; padding: 10px 0; }
    .about-image.about-image-honeycomb .hex-honeycomb-compact{ --hex-size: 140px; }
}
@media (max-width: 480px){
    .about-image.about-image-honeycomb .hex-honeycomb-compact{ --hex-size: 105px; --hex-gap: 6px; }
}

/* ===== Product Applications Showcase ===== */
.product-apps-section{
    background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    position: relative;
    overflow: hidden;
}
.product-apps-section::before{
    content:"";
    position:absolute;
    top: -120px; right: -120px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(30,144,255,.1) 0, transparent 70%);
    pointer-events:none;
}
.product-apps-section::after{
    content:"";
    position:absolute;
    bottom: -120px; left: -120px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(177,18,18,.08) 0, transparent 70%);
    pointer-events:none;
}
.product-apps-section .container{ position:relative; z-index:1; }

.app-showcase-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 3rem;
}
.app-card{
    background:#fff;
    border-radius: 16px;
    overflow:hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    border: 1px solid rgba(0,102,204,.08);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    display:flex;
    flex-direction: column;
}
.app-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,102,204,.18);
    border-color: rgba(0,102,204,.25);
}
.app-card-media{
    position: relative;
    height: 160px;
    background: linear-gradient(135deg, #0066cc 0%, #1e90ff 50%, #4dabff 100%);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}
.app-card-media::before{
    content:"";
    position:absolute;
    inset:0;
    background-image:
        repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 20px),
        repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 20px);
}
.app-card-icon{
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 2px solid rgba(255,255,255,.4);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 2rem;
    color:#fff;
    position:relative;
    z-index:1;
    transition: transform .4s ease;
}
.app-card:hover .app-card-icon{
    transform: scale(1.1) rotate(-8deg);
}
.app-card:nth-child(3n+2) .app-card-media{
    background: linear-gradient(135deg, #b11212 0%, #e23a3a 50%, #ff6b6b 100%);
}
.app-card:nth-child(3n+3) .app-card-media{
    background: linear-gradient(135deg, #1a3a6e 0%, #2c5aa0 50%, #4d7bc4 100%);
}
.app-card-body{
    padding: 1.5rem 1.5rem 1.75rem;
    flex: 1;
    display:flex;
    flex-direction:column;
}
.app-card-body h3{
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--blue, #0f2a4d);
    margin: 0 0 .6rem;
}
.app-card-body p{
    font-size: .92rem;
    line-height: 1.65;
    color: var(--gray-600, #555);
    margin: 0 0 1.1rem;
    flex: 1;
}
.app-card-tags{
    display:flex;
    flex-wrap: wrap;
    gap: .4rem;
}
.app-card-tags span{
    font-size: .72rem;
    font-weight: 600;
    color: #0066cc;
    background: rgba(0,102,204,.08);
    border: 1px solid rgba(0,102,204,.15);
    padding: .25rem .6rem;
    border-radius: 999px;
    letter-spacing: .02em;
}
.app-card:nth-child(3n+2) .app-card-tags span{
    color:#b11212;
    background: rgba(177,18,18,.08);
    border-color: rgba(177,18,18,.15);
}

.app-cta{
    display:flex;
    gap: 1rem;
    justify-content:center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

@media (max-width: 900px){
    .app-showcase-grid{ grid-template-columns: repeat(2, 1fr); gap:20px; }
}
@media (max-width: 600px){
    .app-showcase-grid{ grid-template-columns: 1fr; }
    .app-card-media{ height: 130px; }
    .app-card-icon{ width: 64px; height: 64px; font-size: 1.5rem; }
}

/* FAQ accordion */
.faq-item[open] > summary > i.fa-chevron-right { transform: rotate(90deg); }
.faq-item summary::-webkit-details-marker { display: none; }

/* ===== Mobile: force all 3-column grids (incl. inline-style ones) to stack ===== */
@media (max-width: 768px) {
    .features-grid[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns:repeat(3,1fr)"],
    [style*="grid-template-columns: repeat(3, 1fr)"],
    [style*="grid-template-columns:repeat(3, 1fr)"],
    [style*="grid-template-columns: repeat(3,1fr)"] {
        grid-template-columns: 1fr !important;
    }
    [style*="grid-template-columns:repeat(2,1fr)"],
    [style*="grid-template-columns: repeat(2, 1fr)"],
    [style*="grid-template-columns:repeat(4,1fr)"],
    [style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}
