/* Newtrack brand theme — lime green · yellow · white · black */
:root {
    --bg-black: #000000;
    --bg-dark: #0a0a0a;
    --bg-elevated: #111111;

    --brand-lime: #A2C523;
    --brand-lime-dark: #8BB020;
    --brand-lime-glow: rgba(162, 197, 35, 0.35);
    --brand-yellow: #F5E600;
    --brand-yellow-soft: rgba(245, 230, 0, 0.15);

    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.72);
    --text-dim: rgba(255, 255, 255, 0.45);

    --header-height: 72px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-pill: 999px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-black);
    color: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

::selection {
    background: var(--brand-lime);
    color: var(--bg-black);
}

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px clamp(12px, 2vw, 24px);
    min-height: var(--header-height);
    height: auto;
    padding: 10px clamp(16px, 3vw, 48px);
    background: transparent;
    transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(16px);
    border-bottom-color: rgba(162, 197, 35, 0.2);
}

.header.bg-hidden,
.header.bg-hidden.scrolled {
    background: transparent;
    backdrop-filter: none;
    border-bottom-color: transparent;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 1001;
    transition: transform var(--transition), filter var(--transition);
}

.logo:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 12px var(--brand-lime-glow));
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    gap: clamp(10px, 1.4vw, 28px);
    min-width: 0;
    max-width: 100%;
    position: static;
    left: auto;
    transform: none;
}

.nav a {
    font-size: clamp(11px, 0.55vw + 9px, 15px);
    font-weight: 500;
    letter-spacing: clamp(0.25px, 0.12vw, 1px);
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition);
    flex-shrink: 1;
    min-width: 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-lime);
    border-radius: var(--radius-pill);
    transition: width var(--transition), left var(--transition);
}

.nav a:hover {
    color: var(--text-white);
}

.nav a:hover::after {
    width: 100%;
    left: 0;
}

.nav a.active {
    color: var(--brand-lime);
}

.nav a.active::after {
    width: 100%;
    left: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: clamp(8px, 1vw, 12px);
    z-index: 1001;
    flex-shrink: 0;
    min-width: 0;
}

.header-platform-link {
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0;
    padding: 7px 12px 7px 14px;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
    border-color: rgba(162, 197, 35, 0.35);
    background: linear-gradient(135deg, rgba(162, 197, 35, 0.14) 0%, rgba(162, 197, 35, 0.06) 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}

.header-platform-inner {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1;
}

.header-platform-brand {
    font-weight: 600;
    color: var(--brand-yellow);
}

html[lang^="zh"] .header-platform-brand::before {
    content: '「';
    opacity: 0.9;
}

html[lang^="zh"] .header-platform-brand::after {
    content: '」';
    opacity: 0.9;
}

.header-platform-suffix {
    font-weight: 500;
    color: var(--brand-lime);
    padding-left: 2px;
    border-left: 1px solid rgba(162, 197, 35, 0.35);
}

.header-platform-icon {
    flex-shrink: 0;
    opacity: 0.75;
    transition: opacity var(--transition), transform var(--transition);
}

.header-platform-link:hover .header-platform-icon {
    opacity: 1;
    transform: translate(1px, -1px);
}

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

.lang-btn,
.header-platform-link.lang-btn {
    display: flex;
    align-items: center;
    background: rgba(162, 197, 35, 0.08);
    border: 1px solid rgba(162, 197, 35, 0.25);
    border-radius: var(--radius-pill);
    color: var(--brand-lime);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition), color var(--transition);
    padding: 8px 14px;
}

.lang-btn:hover,
.header-platform-link.lang-btn:hover {
    background: rgba(162, 197, 35, 0.22);
    border-color: var(--brand-lime);
    color: var(--text-white);
    box-shadow: 0 4px 16px rgba(162, 197, 35, 0.2);
}

.header-platform-link.lang-btn {
    text-transform: none;
    letter-spacing: 0;
}

.lang-btn-label {
    line-height: 1.2;
    white-space: nowrap;
    max-width: 8.5em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(162, 197, 35, 0.2);
    border-radius: 12px;
    list-style: none;
    padding: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(162, 197, 35, 0.05);
}

.lang-dropdown.open {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--text-muted);
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
    line-height: 1.35;
}

.lang-dropdown a:hover {
    background: rgba(162, 197, 35, 0.1);
    color: var(--text-white);
}

.lang-dropdown a.active {
    background: rgba(162, 197, 35, 0.15);
    color: var(--brand-lime);
    font-weight: 600;
}

/* ── Mobile Menu Toggle ── */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 36px;
    height: 36px;
    background: rgba(162, 197, 35, 0.08);
    border: 1px solid rgba(162, 197, 35, 0.25);
    border-radius: 50%;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brand-lime);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
}

/* ── Hero Sections ── */
.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 100vh;
    scroll-snap-align: start;
    background-color: var(--bg-black);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 22% 28%, rgba(162, 197, 35, 0.22), transparent 30%),
        radial-gradient(circle at 78% 68%, rgba(245, 230, 0, 0.14), transparent 28%),
        linear-gradient(135deg, #020402 0%, #071100 45%, #000 100%);
    transform: scale(1.08);
    animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    inset: -20%;
    z-index: 0;
    opacity: 0.45;
    background:
        linear-gradient(115deg, transparent 0 36%, rgba(162, 197, 35, 0.18) 37%, transparent 38% 100%),
        linear-gradient(65deg, transparent 0 58%, rgba(245, 230, 0, 0.12) 59%, transparent 60% 100%);
    animation: routeSweep 12s linear infinite;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.02);
    filter: saturate(0.9) contrast(1.05);
    opacity: 0.88;
    transition: filter 0.6s ease, opacity 0.4s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.hero.video-missing .hero-video {
    display: none;
}

.hero[data-bg="platform"]::before {
    background:
        radial-gradient(circle at 50% 45%, rgba(162, 197, 35, 0.24), transparent 16%),
        radial-gradient(circle at 50% 45%, transparent 0 24%, rgba(162, 197, 35, 0.22) 25% 25.8%, transparent 27%),
        radial-gradient(circle at 50% 45%, transparent 0 34%, rgba(245, 230, 0, 0.14) 35% 35.6%, transparent 37%),
        conic-gradient(from 20deg at 50% 45%, rgba(162, 197, 35, 0.05), rgba(0, 30, 20, 0.9), rgba(245, 230, 0, 0.08), rgba(0, 0, 0, 1));
    animation: orbitPulse 16s linear infinite;
}

.hero[data-bg="products"]::before {
    background:
        radial-gradient(circle at 28% 62%, rgba(245, 180, 80, 0.22), transparent 28%),
        radial-gradient(circle at 72% 38%, rgba(162, 197, 35, 0.20), transparent 26%),
        repeating-radial-gradient(circle at 80% 20%, transparent 0 18px, rgba(245, 230, 0, 0.08) 19px 20px),
        linear-gradient(135deg, #1a1206, #000 68%);
    animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero[data-bg="news"]::before {
    background:
        radial-gradient(ellipse at 50% 80%, rgba(180, 200, 230, 0.18), transparent 42%),
        radial-gradient(circle at 30% 35%, rgba(162, 197, 35, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(40, 50, 70, 0.55), transparent 50%),
        repeating-linear-gradient(115deg, transparent 0 48px, rgba(245, 230, 0, 0.06) 49px 51px),
        linear-gradient(135deg, #0a0e18, #000 70%);
    animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero[data-bg="about"]::before {
    background:
        linear-gradient(120deg, rgba(162, 197, 35, 0.24), transparent 38%),
        repeating-linear-gradient(118deg, transparent 0 42px, rgba(162, 197, 35, 0.12) 43px 45px),
        radial-gradient(circle at 18% 68%, rgba(245, 230, 0, 0.14), transparent 30%),
        radial-gradient(ellipse at 72% 32%, rgba(162, 197, 35, 0.16), transparent 28%),
        linear-gradient(135deg, #061204, #000 68%);
    animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero[data-bg="contact"]::before {
    background:
        radial-gradient(circle at 35% 45%, rgba(245, 180, 80, 0.16), transparent 24%),
        radial-gradient(circle at 76% 36%, rgba(162, 197, 35, 0.22), transparent 26%),
        radial-gradient(circle at 55% 72%, rgba(245, 230, 0, 0.12), transparent 28%),
        linear-gradient(135deg, #120f06, #000 72%);
}

/* 各板块差异化视觉：卫星冷色 / 公路暖色 / 夜景霓虹 / 白天自然 / 街景生活 */
.hero[data-bg="platform"] .hero-video {
    filter: saturate(1.05) contrast(1.1) brightness(0.85) hue-rotate(8deg);
}

.hero[data-bg="products"] .hero-video {
    filter: saturate(1.2) contrast(1.1) brightness(0.94) sepia(0.18) hue-rotate(-6deg);
}

.hero[data-bg="news"] .hero-video {
    filter: saturate(0.95) contrast(1.08) brightness(0.88) hue-rotate(12deg);
}

.hero[data-bg="about"] .hero-video {
    filter: saturate(1.15) contrast(1.08) brightness(0.93) sepia(0.1) hue-rotate(-12deg);
}

.hero[data-bg="contact"] .hero-video {
    filter: saturate(1.1) contrast(1.05) brightness(0.9) sepia(0.08);
}

.hero[data-bg="platform"] .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 20, 30, 0.5) 50%, rgba(0, 10, 20, 0.45) 100%);
}

.hero[data-bg="products"] .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(35, 22, 0, 0.38) 45%, rgba(0, 0, 0, 0.42) 100%);
}

.hero[data-bg="news"] .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(15, 20, 35, 0.48) 42%, rgba(0, 0, 0, 0.52) 100%);
}

.hero[data-bg="about"] .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(10, 25, 15, 0.42) 50%, rgba(0, 0, 0, 0.38) 100%);
}

.hero[data-bg="contact"] .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(20, 15, 0, 0.3) 45%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(162, 197, 35, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(162, 197, 35, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 100%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.55) 35%,
        rgba(10, 20, 0, 0.35) 65%,
        rgba(0, 0, 0, 0.5) 100%
    );
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    bottom: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 55%;
    background: radial-gradient(ellipse, var(--brand-lime-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 4;
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 24px 120px;
    max-width: 900px;
    animation: fadeUp 1s ease both;
}

.hero-tag {
    display: inline-block;
    padding: 6px clamp(12px, 2vw, 18px);
    margin-bottom: 20px;
    font-size: clamp(9px, 0.75vw + 7px, 11px);
    font-weight: 600;
    letter-spacing: clamp(1px, 0.25vw, 3px);
    text-transform: uppercase;
    color: var(--brand-lime);
    border: 1px solid rgba(162, 197, 35, 0.4);
    border-radius: var(--radius-pill);
    background: rgba(162, 197, 35, 0.08);
    backdrop-filter: blur(8px);
    max-width: min(100%, 560px);
    white-space: normal;
    text-wrap: balance;
    line-height: 1.35;
}

.hero-content h1 {
    font-size: clamp(22px, 3.2vw + 0.4rem, 48px);
    font-weight: 600;
    letter-spacing: clamp(1px, 0.25vw, 3px);
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
    text-wrap: balance;
    background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--text-white) 50%, var(--brand-lime) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h1::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    margin: 16px auto 0;
    background: linear-gradient(90deg, var(--brand-yellow), var(--brand-lime));
    border-radius: var(--radius-pill);
}

.hero-content p {
    font-size: clamp(15px, 2vw, 19px);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content p:last-child {
    margin-bottom: 0;
}

.btn {
    display: inline-block;
    padding: 14px clamp(22px, 3vw, 36px);
    font-family: var(--font);
    font-size: clamp(11px, 0.8vw + 8px, 12px);
    font-weight: 600;
    letter-spacing: clamp(1px, 0.15vw, 2px);
    text-transform: uppercase;
    color: var(--bg-black);
    background: var(--brand-lime);
    border: 2px solid var(--brand-lime);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    white-space: normal;
    text-align: center;
    line-height: 1.35;
    max-width: min(100%, 440px);
    text-wrap: balance;
}

.btn:hover {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: var(--bg-black);
    box-shadow: 0 0 24px rgba(245, 230, 0, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--brand-yellow);
    border-color: var(--brand-yellow);
}

.btn-outline:hover {
    background: var(--brand-yellow);
    color: var(--bg-black);
    border-color: var(--brand-yellow);
}

.scroll-indicator {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: var(--brand-lime);
    opacity: 0.7;
    animation: bounce 2s infinite;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: transparent;
    transition: opacity var(--transition), color var(--transition);
}

.scroll-indicator:hover,
.scroll-indicator:focus-visible {
    opacity: 1;
    color: var(--brand-yellow);
    outline: none;
}

/* ── Footer ── */
.footer {
    background: var(--bg-black);
    padding: 56px 24px 40px;
    text-align: center;
    border-top: 1px solid rgba(162, 197, 35, 0.15);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-lime), transparent);
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 28px;
    opacity: 0.9;
    transition: opacity var(--transition), filter var(--transition);
}

.footer-logo:hover {
    opacity: 1;
    filter: drop-shadow(0 0 10px var(--brand-lime-glow));
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 20px;
}

.footer-nav a {
    font-size: clamp(11px, 0.8vw + 9px, 12px);
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--text-dim);
    transition: color var(--transition);
    text-wrap: balance;
    text-align: center;
    max-width: 14em;
}

.footer-nav a:hover {
    color: var(--brand-lime);
}

.footer-copy {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.3px;
    line-height: 1.7;
    margin: 0;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 720px;
    margin: 0 auto;
}

.footer-icp {
    margin: 0;
    font-size: 11px;
}

.footer-icp a {
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: color var(--transition);
}

.footer-icp a:hover {
    color: var(--brand-lime);
}

body.page-body-root {
    scroll-snap-type: none;
}

body.home-body {
    scroll-snap-type: y mandatory;
}

.page-hero {
    min-height: 72vh;
    align-items: center;
}

.page-hero .hero-content {
    padding-bottom: 60px;
}

.scroll-indicator--section {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    display: block;
    margin: 40px auto 0;
}

.page-content {
    background: var(--bg-black);
    padding: 72px 48px 96px;
}

.content-section {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 64px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.section-heading {
    font-size: clamp(18px, 2.6vw, 28px);
    font-weight: 600;
    letter-spacing: clamp(1px, 0.2vw, 3px);
    text-transform: uppercase;
    color: var(--brand-lime);
    margin-bottom: 32px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(162, 197, 35, 0.2);
    text-wrap: balance;
    line-height: 1.25;
}

.card-grid {
    display: grid;
    gap: 24px;
}

.stat-grid {
    grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

.value-grid,
.capability-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}

.feature-card,
.capability-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.feature-card:hover,
.capability-card:hover {
    transform: translateY(-6px);
}

.platform-card-media {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(162, 197, 35, 0.14);
    position: relative;
}

.platform-card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
}

.platform-card-media--cap {
    aspect-ratio: 16 / 9;
}

.platform-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover .platform-card-media img,
.capability-card:hover .platform-card-media img {
    transform: scale(1.06);
}

.platform-card-body {
    padding: 26px 28px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.platform-card-body--cap {
    padding: 20px 22px 24px;
}

.platform-card-body h3 {
    font-size: clamp(18px, 2vw, 22px);
    margin-bottom: 8px;
    color: var(--text-white);
}

.platform-card-body .card-subtitle {
    margin-bottom: 12px;
}

.platform-card-body .card-body {
    line-height: 1.75;
    font-size: 14px;
    flex: 1;
}

.capability-card {
    border-color: rgba(162, 197, 35, 0.16);
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.capability-card:hover {
    border-color: rgba(162, 197, 35, 0.38);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.capability-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.capability-card .card-body {
    line-height: 1.7;
    font-size: 13px;
    white-space: pre-line;
}

.product-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ── Product catalog (3-column paginated cards) ── */
.products-section {
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    inset: -24px 0 auto;
    height: 280px;
    background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(162, 197, 35, 0.07), transparent 72%);
    pointer-events: none;
}

.products-section-lead {
    margin-bottom: 32px;
}

.product-catalog {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    position: relative;
}

.product-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    height: 100%;
    border-radius: 16px;
    border: 1px solid rgba(162, 197, 35, 0.14);
    background: linear-gradient(165deg, rgba(20, 22, 16, 0.96), rgba(6, 6, 6, 0.98));
    box-shadow: 0 14px 42px rgba(0, 0, 0, 0.38);
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.product-showcase:hover {
    transform: translateY(-6px);
    border-color: rgba(162, 197, 35, 0.38);
    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(162, 197, 35, 0.1);
}

.product-showcase-index {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--brand-lime);
    background: rgba(0, 0, 0, 0.62);
    border: 1px solid rgba(162, 197, 35, 0.28);
    border-radius: var(--radius-pill);
    backdrop-filter: blur(6px);
}

.product-showcase-media {
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid rgba(162, 197, 35, 0.12);
}

.product-showcase-media a,
.product-showcase-media img {
    display: block;
    width: 100%;
    height: 100%;
}

.product-showcase-media img {
    object-fit: contain;
    object-position: center;
    transition: transform 0.45s ease;
}

.product-showcase:hover .product-showcase-media img {
    transform: scale(1.05);
}

.product-showcase-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at center, rgba(162, 197, 35, 0.12), transparent 70%),
        var(--bg-elevated);
}

.product-showcase-placeholder img {
    width: 72px;
    opacity: 0.45;
}

.product-showcase-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 26px;
    min-height: 0;
}

.product-showcase-body h3 {
    font-size: clamp(18px, 2.2vw, 22px);
    margin-bottom: 8px;
    line-height: 1.35;
}

.product-showcase-body h3 a {
    color: var(--text-white);
    transition: color var(--transition);
}

.product-showcase-body h3 a:hover {
    color: var(--brand-lime);
}

.product-showcase-subtitle {
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.product-showcase-desc {
    flex: 1;
    white-space: pre-line;
    line-height: 1.65;
    font-size: 13px;
    margin: 0;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-pagination {
    margin-top: 12px;
}

.product-showcase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(162, 197, 35, 0.12);
}

.product-showcase-actions .btn-sm {
    flex: 1 1 auto;
    min-width: 120px;
    text-align: center;
}

.btn-sm {
    padding: 10px clamp(16px, 2vw, 24px);
    font-size: clamp(10px, 0.7vw + 8px, 11px);
    letter-spacing: clamp(0.8px, 0.1vw, 1.5px);
    white-space: normal;
    line-height: 1.35;
    text-wrap: balance;
}

/* ── Contact product inquiry banner ── */
.contact-inquiry-banner {
    margin-bottom: 8px;
}

.inquiry-card {
    padding: 32px 36px;
    border-color: rgba(245, 230, 0, 0.35);
    background: linear-gradient(135deg, rgba(162, 197, 35, 0.08), rgba(245, 230, 0, 0.05));
}

.inquiry-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brand-lime);
    margin-bottom: 8px;
}

.inquiry-product {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 12px;
}

.inquiry-hint {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
    max-width: 640px;
}

.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(162, 197, 35, 0.15);
    border-radius: 16px;
    padding: 28px;
    transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    border-color: rgba(162, 197, 35, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
}

.card-subtitle {
    font-size: 14px;
    color: var(--brand-lime);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.card-body {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
}

.stat-card h3 {
    font-size: clamp(32px, 5vw, 44px);
    background: linear-gradient(135deg, var(--brand-yellow), var(--brand-lime));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card {
    padding: 36px;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.card-more {
    margin-top: auto;
    padding-top: 18px;
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brand-lime);
    transition: color var(--transition), letter-spacing var(--transition);
}

.card-more::after {
    content: ' →';
}

.card-more:hover {
    color: var(--brand-yellow);
    letter-spacing: 2.5px;
}

/* ── Product detail page ── */
.detail-main {
    background: var(--bg-black);
    min-height: 100vh;
    padding: calc(var(--header-height) + 56px) 48px 96px;
}

.detail-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 40px;
    transition: color var(--transition);
}

.detail-back:hover {
    color: var(--brand-lime);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    padding: 36px;
    border-radius: 20px;
    border: 1px solid rgba(162, 197, 35, 0.14);
    background: linear-gradient(160deg, rgba(18, 20, 14, 0.92), rgba(6, 6, 6, 0.96));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.pd-media img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(162, 197, 35, 0.18);
    object-fit: contain;
    object-position: center;
    aspect-ratio: 4 / 3;
    background: rgba(0, 0, 0, 0.45);
}

.pd-media-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    border: 1px solid rgba(162, 197, 35, 0.18);
    background:
        radial-gradient(ellipse at center, rgba(162, 197, 35, 0.12), transparent 70%),
        var(--bg-elevated);
}

.pd-media-placeholder img {
    width: 140px;
    height: auto;
    opacity: 0.6;
    border: none;
    aspect-ratio: auto;
}

.pd-info .hero-tag {
    margin-bottom: 18px;
}

.pd-info h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--text-white) 55%, var(--brand-lime) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pd-subtitle {
    font-size: 17px;
    color: var(--brand-lime);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.pd-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-muted);
    white-space: pre-line;
    margin-bottom: 36px;
}

.pd-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 860px) {
    .detail-main {
        padding: calc(var(--header-height) + 32px) 24px 72px;
    }

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

.news-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.news-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(162, 197, 35, 0.15);
}

.news-pagination-summary {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.news-pagination-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.news-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--brand-lime);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(162, 197, 35, 0.35);
    border-radius: var(--radius-pill);
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.news-page-btn:hover:not(.is-disabled) {
    background: rgba(162, 197, 35, 0.12);
    border-color: rgba(162, 197, 35, 0.55);
    color: var(--text-white);
}

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

.news-page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.news-page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(162, 197, 35, 0.2);
    border-radius: 10px;
    transition: border-color var(--transition), background var(--transition), color var(--transition);
}

.news-page-num:hover {
    border-color: rgba(162, 197, 35, 0.45);
    color: var(--text-white);
}

.news-page-num.is-current {
    color: var(--bg-black);
    background: var(--brand-lime);
    border-color: var(--brand-lime);
    cursor: default;
}

.catalog-pagination a.news-page-num,
.catalog-pagination a.news-page-btn {
    text-decoration: none;
    cursor: pointer;
}

.section-lead {
    max-width: 720px;
    margin: -8px 0 28px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

.card-image {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(162, 197, 35, 0.15);
}

.news-card {
    text-align: left;
    display: grid;
    grid-template-columns: minmax(240px, 340px) 1fr;
    gap: 32px;
    align-items: start;
    padding: 28px;
}

.news-card--reverse {
    grid-template-columns: 1fr minmax(240px, 340px);
}

.news-card--reverse .news-media {
    order: 2;
}

.news-card--reverse .news-text {
    order: 1;
}

.news-media {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(162, 197, 35, 0.18);
    background: rgba(0, 0, 0, 0.35);
    aspect-ratio: 16 / 10;
}

.news-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-text {
    flex: 1;
    min-width: 0;
}

.news-summary {
    font-size: 16px;
    font-weight: 500;
    color: var(--brand-lime);
    margin-bottom: 12px;
}

.news-body {
    white-space: pre-line;
    line-height: 1.75;
}

@media (max-width: 1100px) {
    .product-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

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

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

    .platform-card-body {
        padding: 20px 22px 24px;
    }

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

    .product-showcase-body {
        padding: 18px 20px 22px;
    }

    .product-showcase-actions .btn-sm {
        flex: 1 1 calc(50% - 5px);
    }

    .news-card,
    .news-card--reverse {
        grid-template-columns: 1fr;
    }

    .news-card--reverse .news-media,
    .news-card--reverse .news-text {
        order: unset;
    }

    .news-media {
        aspect-ratio: 16 / 9;
    }

    .contact-bottom-grid {
        grid-template-columns: 1fr;
    }

    .wechat-card {
        max-width: 360px;
        margin: 0 auto;
        width: 100%;
    }
}

.news-date {
    display: inline-block;
    font-size: 12px;
    color: var(--brand-yellow);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.intro-card,
.note-card {
    max-width: none;
    margin: 0;
    padding: 40px;
}

.contact-note {
    white-space: pre-line;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.82);
}

.note-card h3 {
    margin-bottom: 16px;
}

.contact-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 320px);
    gap: 24px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.wechat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 28px;
    border-color: rgba(162, 197, 35, 0.28);
    background: linear-gradient(165deg, rgba(162, 197, 35, 0.06), rgba(0, 0, 0, 0.2));
}

.wechat-card h3 {
    margin-bottom: 20px;
    color: var(--brand-lime);
}

.wechat-qr {
    margin: 0 0 16px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
    line-height: 0;
}

.wechat-qr img {
    display: block;
    width: 180px;
    height: 180px;
    object-fit: contain;
}

.wechat-hint {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

.about-profile {
    white-space: pre-line;
    line-height: 1.95;
}

.about-value-body {
    white-space: pre-line;
}

.note-card {
    border-color: rgba(245, 230, 0, 0.25);
}

/* ── Animations ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes heroDrift {
    from {
        transform: scale(1.08) translate3d(-1.5%, -1%, 0);
        filter: hue-rotate(0deg);
    }
    to {
        transform: scale(1.13) translate3d(1.5%, 1%, 0);
        filter: hue-rotate(12deg);
    }
}

@keyframes routeSweep {
    from {
        transform: translate3d(-8%, -4%, 0) rotate(0deg);
    }
    to {
        transform: translate3d(8%, 4%, 0) rotate(4deg);
    }
}

@keyframes orbitPulse {
    0% {
        transform: scale(1.08) rotate(0deg);
        filter: brightness(0.9);
    }
    50% {
        transform: scale(1.12) rotate(6deg);
        filter: brightness(1.15);
    }
    100% {
        transform: scale(1.08) rotate(12deg);
        filter: brightness(0.95);
    }
}

/* ── Long-label languages (nav / hero tighter) ── */
html[lang="de"] .nav a,
html[lang="fr"] .nav a,
html[lang="es"] .nav a,
html[lang="pt"] .nav a,
html[lang="vi"] .nav a {
    font-size: clamp(10px, 0.42vw + 8px, 13px);
    letter-spacing: 0.25px;
}

html[lang="de"] .nav,
html[lang="fr"] .nav,
html[lang="es"] .nav,
html[lang="pt"] .nav,
html[lang="vi"] .nav {
    gap: clamp(8px, 0.9vw, 16px);
}

html[lang="de"] .hero-content h1,
html[lang="fr"] .hero-content h1,
html[lang="es"] .hero-content h1,
html[lang="pt"] .hero-content h1,
html[lang="vi"] .hero-content h1 {
    font-size: clamp(20px, 2.6vw + 0.35rem, 42px);
    letter-spacing: clamp(0.5px, 0.12vw, 2px);
}

html[lang="ja"] .nav a,
html[lang="ko"] .nav a {
    font-size: clamp(11px, 0.5vw + 8px, 14px);
    letter-spacing: 0.4px;
    text-transform: none;
}

html[lang^="zh"] .nav a {
    font-size: clamp(12px, 0.55vw + 9px, 15px);
    letter-spacing: 0.5px;
    text-transform: none;
}

/* ── Responsive ── */
@media (max-width: 1320px) {
    .header-platform-inner {
        font-size: 11px;
    }

    .lang-btn,
    .header-platform-link.lang-btn {
        padding: 7px 11px;
        font-size: 10px;
    }

    html:not([lang^="zh"]) .header-platform-suffix {
        display: none;
    }
}

@media (max-width: 1200px) {
    .nav {
        gap: clamp(8px, 1vw, 16px);
    }
}

@media (max-width: 1100px) {
    html[lang="de"] .nav,
    html[lang="fr"] .nav,
    html[lang="es"] .nav,
    html[lang="pt"] .nav,
    html[lang="vi"] .nav {
        display: none;
    }

    html[lang="de"] .menu-toggle,
    html[lang="fr"] .menu-toggle,
    html[lang="es"] .menu-toggle,
    html[lang="pt"] .menu-toggle,
    html[lang="vi"] .menu-toggle {
        display: flex;
    }
}

@media (max-width: 960px) {
    .header {
        padding: 10px 24px;
        grid-template-columns: auto 1fr auto;
    }

    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 36px;
        background: rgba(0, 0, 0, 0.98);
        z-index: 999;
    }

    .nav.open {
        display: flex;
    }

    .nav a {
        font-size: 16px;
        letter-spacing: 3px;
        color: var(--text-white);
    }

    .nav a::after {
        display: none;
    }

    .nav a:hover {
        color: var(--brand-lime);
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        padding-bottom: 80px;
    }

    .page-content {
        padding: 48px 24px 72px;
    }

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

    .logo-img {
        height: 34px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 8px 16px;
        gap: 8px;
    }

    .header-platform-link {
        padding: 6px 10px 6px 12px;
        gap: 6px;
        max-width: min(42vw, 148px);
    }

    .header-platform-inner {
        font-size: 10px;
        gap: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-platform-brand {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-platform-suffix {
        display: none;
    }

    .lang-btn,
    .header-platform-link.lang-btn {
        padding: 6px 10px;
        max-width: min(34vw, 112px);
    }

    .lang-btn-label {
        max-width: 100%;
    }

    .logo-img {
        height: 30px;
    }

    .hero-content h1 {
        letter-spacing: 3px;
    }

    .btn {
        padding: 12px 28px;
    }
}
