/*
 * 梓川科技 — ZICHTECH
 * Dark red corporate theme: dark head/foot, light body content, red accent
 */

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

:root {
    --red: #CC3333;
    --red-light: #E04444;
    --red-dark: #991F1F;
    --red-subtle: rgba(204, 51, 51, 0.06);
    --red-hover: rgba(204, 51, 51, 0.1);
    --black: #000000;
    --dark-surface: #0a0a0a;
    --dark-raised: #111111;
    --dark-hover: #1a1a1a;
    --dark-border: rgba(255, 255, 255, 0.08);
    --dark-border-strong: rgba(255, 255, 255, 0.12);
    --dark-text: #ffffff;
    --dark-text-secondary: #c0c0c0;
    --dark-text-tertiary: #a0a0a0;
    --light-bg: #f2f3f5;
    --light-surface: #ffffff;
    --light-surface-hover: #f7f8fa;
    --light-border: #e0e2e6;
    --light-border-strong: #ccced4;
    --light-text: #111111;
    --light-text-secondary: #555555;
    --light-text-tertiary: #888888;
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --nav-height: 64px;
    --red-glow: rgba(204, 51, 51, 0.15);
    --red-glow-strong: rgba(204, 51, 51, 0.3);
    --surface-elevated: #ffffff;
    --surface-subtle: #fafafa;
    --border-precision: rgba(0, 0, 0, 0.12);
    --shadow-sharp: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-elevated: 0 8px 32px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-luxury: 0 12px 48px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(204, 51, 51, 0.08);
    --ease-industrial: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    background: var(--light-bg);
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--light-bg);
    color: var(--light-text);
    line-height: 1.7;
    min-height: 100vh;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

nav, main, footer { position: relative; z-index: 1; }
main { padding-top: var(--nav-height); min-height: 100vh; }

/* ════════════════════ Navigation ════════════════════ */

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--dark-border);
    z-index: 1000;
    padding: 0 48px;
    transition: border-color 0.3s;
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204, 51, 51, 0.35), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.navbar.scrolled::after { opacity: 1; }

.nav-container {
    max-width: 1400px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-height);
}

.logo {
    text-decoration: none; display: flex; align-items: center; gap: 10px;
    z-index: 1; position: relative;
}

.logo-mark {
    width: 28px; height: 28px;
    background: var(--red);
    display: flex; align-items: center; justify-content: center;
    color: var(--black);
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px; font-weight: 700;
    transition: background 0.25s, box-shadow 0.25s;
}

.logo:hover .logo-mark {
    background: var(--red-light);
    box-shadow: 0 0 20px rgba(204, 51, 51, 0.35);
}

.logo-cn {
    font-size: 15px; font-weight: 600;
    color: var(--dark-text);
    letter-spacing: 0.04em;
}

.logo-en {
    font-size: 11px; font-weight: 500;
    color: var(--dark-text-tertiary);
    letter-spacing: 0.14em; margin-left: 4px; padding-left: 12px;
    border-left: 1px solid var(--dark-border);
    font-family: 'Rajdhani', sans-serif;
}

.logo-accent { color: var(--red); font-weight: 600; }

.nav-menu { display: flex; list-style: none; gap: 0; }
.nav-menu li { list-style: none; }

.nav-menu a {
    color: var(--dark-text-tertiary); text-decoration: none;
    font-weight: 400; font-size: 13px;
    letter-spacing: 0.04em; padding: 10px 20px;
    transition: color 0.2s, background 0.2s;
    position: relative;
}

.nav-menu a:hover {
    color: var(--dark-text);
    background: rgba(204, 51, 51, 0.08);
}

.nav-menu a.active {
    color: var(--red);
    background: rgba(204, 51, 51, 0.12);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--red);
}

.mobile-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; z-index: 1;
}

.mobile-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--dark-text); margin: 4px 0;
    transition: transform 0.25s, opacity 0.25s;
    border-radius: 1px;
}

/* ════════════════════ Hero ════════════════════ */

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(100px, 14vw, 180px) 48px clamp(80px, 10vw, 140px);
    background: var(--black);
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 70% 50% at 80% 30%, rgba(204,51,51,0.06) 0%, transparent 60%),
        radial-gradient(circle, rgba(204,51,51,0.05) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.hero-content {
    max-width: 860px;
    position: relative;
    z-index: 1;
}
.hero .byline {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--red);
    margin-bottom: 36px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    opacity: 0;
    animation: heroFade 0.6s var(--ease-out) 0.1s forwards;
    text-transform: uppercase;
}
.hero .byline::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--red);
}
.hero h1 {
    font-size: clamp(38px, 6vw, 72px);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin-bottom: 32px;
    color: var(--dark-text);
    opacity: 0;
    animation: heroFade 0.6s var(--ease-out) 0.2s forwards;
}
.hero h1 .accent {
    color: var(--red);
    font-weight: 700;
}
.hero .subtitle {
    font-size: 17px;
    color: var(--dark-text-secondary);
    max-width: 540px;
    line-height: 1.85;
    font-weight: 300;
    opacity: 0;
    animation: heroFade 0.6s var(--ease-out) 0.35s forwards;
}
@keyframes heroFade {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* ════════════════════ Stats Bar ════════════════════ */

.stats-bar {
    background: var(--light-surface);
    border-bottom: 1px solid var(--light-border);
    padding: 40px 48px;
    position: relative;
}
.stats-bar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.stat-item {
    text-align: center;
    position: relative;
    padding: 16px 0;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -16px;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--light-border);
}
.stat-num {
    font-family: 'Fira Code', monospace;
    font-size: 42px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    letter-spacing: -2px;
}
.stat-num .suffix {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
}
.stat-label {
    font-size: 13px;
    color: var(--light-text-secondary);
    margin-top: 8px;
    letter-spacing: 0.02em;
}

/* ════════════════════ Page Header (subpages) ════════════════════ */

.page-header {
    padding: 88px 48px 64px;
    background: var(--light-surface);
    position: relative;
    border-bottom: 1px solid var(--light-border);
    overflow: hidden;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), rgba(204,51,51,0.2), transparent);
    z-index: 2;
}

.page-header h1 {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 600; letter-spacing: -0.02em;
    line-height: 1.15; margin-bottom: 16px; color: var(--light-text);
    position: relative; z-index: 1;
}

.page-header p {
    color: var(--light-text-secondary); font-size: 16px; max-width: 600px; font-weight: 400;
    position: relative; z-index: 1;
}

.page-header .breadcrumb {
    font-family: 'Fira Code', monospace;
    font-size: 11px; letter-spacing: 0.06em;
    color: var(--light-text-tertiary); margin-bottom: 24px;
    position: relative; z-index: 1;
}

.page-header .breadcrumb a { color: var(--light-text-secondary); text-decoration: none; transition: color 0.2s; }
.page-header .breadcrumb a:hover { color: var(--red); }

/* ════════════════════ Container Sections ════════════════════ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 48px;
    background: var(--light-bg);
    position: relative;
}
.section-label {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--light-border);
}
.section-heading {
    font-size: 38px;
    font-weight: 900;
    color: var(--light-text);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-desc {
    font-size: 17px;
    color: var(--light-text-secondary);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ════════════════════ Typography ════════════════════ */

li { list-style: inside; }
p { margin-bottom: 1.5rem; color: var(--light-text-secondary); }
a { color: var(--red-dark); text-decoration: none; }
a:hover { color: var(--red); }

/* ════════════════════ Grid ════════════════════ */

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

/* ════════════════════ Solution Cards ════════════════════ */

.solution-card {
    background: var(--light-surface);
    color: var(--light-text);
    padding: 52px 44px 64px;
    transition: all 0.35s var(--ease-smooth);
    text-decoration: none;
    display: flex; flex-direction: column; position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-smooth);
}

.solution-card::after {
    content: '';
    position: absolute; bottom: 44px; right: 44px;
    width: 32px; height: 32px;
    border: 2px solid var(--light-border-strong);
    transition: border-color 0.35s, transform 0.3s var(--ease-spring);
}

.solution-card:hover {
    background: var(--light-surface-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.solution-card:hover::after {
    border-color: var(--red);
    transform: translate(6px, -6px);
}

.solution-card:hover .icon {
    background: var(--red-subtle);
    color: var(--red);
    border-color: var(--red);
}

.solution-card .icon {
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 600;
    margin-bottom: 28px;
    border: 1.5px solid var(--light-border-strong);
    color: var(--light-text-tertiary);
    background: var(--light-bg);
    transition: background 0.35s, color 0.35s, border-color 0.35s;
}

.solution-card h3 {
    font-size: 18px; font-weight: 600;
    margin-bottom: 14px; line-height: 1.4; letter-spacing: 0;
    color: var(--light-text);
}

.solution-card p {
    color: var(--light-text-secondary); font-size: 14px; line-height: 1.7;
    flex: 1; font-weight: 400;
}

.solution-card {
    opacity: 0; transform: translateY(24px);
}

.solution-card.visible {
    animation: cardReveal 0.55s var(--ease-smooth) forwards;
}

@keyframes cardReveal {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════ Feature Cards ════════════════════ */

.feature-card {
    background: var(--light-surface);
    border-left: 3px solid var(--red);
    padding: 28px 32px;
    margin: 22px 0;
    transition: all 0.25s var(--ease-out);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    background: var(--light-surface);
    border-left-color: var(--red-dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.feature-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 0 10px 0 !important;
    color: var(--light-text) !important;
}

.feature-desc {
    font-size: 14px;
    color: var(--light-text-secondary);
    margin-bottom: 10px;
    line-height: 1.75;
}

.feature-list {
    margin: 10px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--light-text-secondary);
    list-style: none;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 6px; height: 1px;
    background: var(--red);
}

/* ════════════════════ Detail Page ════════════════════ */

.detail-page {
    max-width: 780px; margin: 0 auto; padding: 80px 48px 120px;
}

.detail-page h1 {
    font-size: clamp(26px, 3vw, 36px); font-weight: 600;
    margin-bottom: 32px; letter-spacing: -0.02em; line-height: 1.2;
    color: var(--light-text);
}

.detail-page h2 {
    font-size: 22px; font-weight: 600;
    margin: 52px 0 18px; letter-spacing: -0.01em;
    color: var(--light-text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--red);
    display: flex; align-items: center; gap: 12px;
}

.detail-page h3 {
    font-size: 18px; font-weight: 600; margin: 36px 0 16px;
    color: var(--light-text);
}

.detail-page h4 {
    font-family: 'Fira Code', monospace;
    font-size: 13px; font-weight: 500; margin: 28px 0 14px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-page p {
    color: var(--light-text-secondary); margin-bottom: 20px;
    line-height: 1.85; font-size: 16px; font-weight: 400;
}

.detail-page ul, .detail-page ol { margin: 18px 0 22px 24px; padding: 0; }
.detail-page li { margin-bottom: 10px; color: var(--light-text-secondary); line-height: 1.75; }
.detail-page a {
    color: var(--red-dark); text-decoration: none;
    border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.detail-page a:hover { border-bottom-color: var(--red); }
.detail-page img { max-width: 100%; height: auto; display: block; margin: 24px auto; border-radius: 4px; }
.detail-page p img { margin: 16px auto; }
.detail-page hr { border: none; height: 1px; background: var(--light-border); margin: 52px 0; }

/* ════════════════════ Content Section ════════════════════ */

.content-section { padding: 80px 0; }

.content-section h1 {
    font-size: 32px; font-weight: 600;
    margin-bottom: 32px; letter-spacing: -0.02em; color: var(--light-text);
}

.content-section h2 {
    font-size: 24px; font-weight: 600;
    margin: 52px 0 22px; color: var(--light-text);
}

.content-section h3 {
    font-size: 20px; font-weight: 600; margin: 36px 0 18px;
    color: var(--light-text);
}

.content-section h4 { font-size: 16px; font-weight: 600; margin: 28px 0 14px; color: var(--light-text); }
.content-section p { color: var(--light-text-secondary); margin-bottom: 20px; line-height: 1.85; font-weight: 400; }
.content-section ul, .content-section ol { margin: 18px 0 22px 24px; padding: 0; }
.content-section li { margin-bottom: 12px; color: var(--light-text-secondary); line-height: 1.75; }
.content-section a {
    color: var(--red-dark); text-decoration: none;
    border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.content-section a:hover { border-bottom-color: var(--red); }
.content-section img { max-width: 100%; height: auto; display: block; margin: 24px auto; border-radius: 4px; }

/* ════════════════════ Breadcrumb ════════════════════ */

.breadcrumb {
    margin-bottom: 1.25rem;
    padding: 0.5rem 0;
    color: var(--light-text-tertiary);
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
}

.breadcrumb a {
    color: var(--light-text-tertiary);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--red); }

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: var(--light-border-strong);
}

.breadcrumb .current {
    color: var(--light-text);
    font-weight: 500;
}

/* ════════════════════ Tab Bar ════════════════════ */

.tab-bar {
    display: flex;
    border-bottom: 2px solid var(--light-border);
    margin-bottom: 32px;
}

.tab-btn {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.03em;
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    color: var(--light-text-tertiary);
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Noto Sans SC', sans-serif;
}

.tab-btn:hover {
    color: var(--light-text);
    background: var(--red-subtle);
}

.tab-btn.active {
    color: var(--red);
    border-bottom-color: var(--red);
    font-weight: 600;
}

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

/* ════════════════════ Tab Content Pages ════════════════════ */

.tab-products { display: none; }
.tab-products.active { display: block; }
.tab-bar-nav {
    display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px;
}
.tab-btn-page {
    padding: 10px 24px; border-radius: 100px; border: 1.5px solid var(--light-border);
    background: var(--light-surface); color: var(--light-text-secondary); font-size: 14px;
    font-weight: 600; cursor: pointer; transition: all .3s; font-family: inherit;
}
.tab-btn-page.active, .tab-btn-page:hover {
    background: var(--red); border-color: var(--red); color: #fff;
}

/* ════════════════════ Product Grid (detail pages) ════════════════════ */

.product-grid-page {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.product-card-page {
    background: var(--light-surface); border: 1px solid var(--light-border);
    border-radius: 12px; padding: 28px; transition: all .3s; position: relative; overflow: hidden;
}
.product-card-page::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--red); opacity: 0; transition: opacity .3s;
}
.product-card-page:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.product-card-page:hover::before { opacity: 1; }
.product-card-page .card-img {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin-bottom: 12px;
}
.product-card-page .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-card-page .icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--red-subtle); display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0; margin-bottom: 16px;
}
.product-card-page h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--light-text); }
.product-card-page p { font-size: 13px; color: var(--light-text-secondary); line-height: 1.7; }
.product-card-page .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.product-card-page .tags span {
    padding: 3px 10px; background: var(--red-subtle); border-radius: 6px;
    font-size: 11px; color: var(--red); font-weight: 600;
}

/* ════════════════════ Platform Detail Page ════════════════════ */

.platform-detail-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.platform-detail-list { display: flex; flex-direction: column; gap: 16px; }
.platform-detail-item {
    background: var(--light-surface); border: 1px solid var(--light-border);
    border-radius: 12px; padding: 20px 24px; display: flex; align-items: flex-start; gap: 16px;
    transition: all .3s;
}
.platform-detail-item:hover { border-color: var(--red); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.platform-detail-item .icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--red-subtle); display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.platform-detail-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.platform-detail-item p { font-size: 13px; color: var(--light-text-secondary); line-height: 1.6; }
.platform-specs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.platform-spec {
    background: var(--light-surface); border: 1px solid var(--light-border);
    border-radius: 12px; padding: 20px;
}
.platform-spec .label { font-size: 11px; color: var(--light-text-tertiary); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .5px; }
.platform-spec .val { font-size: 20px; font-weight: 800; color: var(--red); }

.platform-detail-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ════════════════════ AI Detail Page ════════════════════ */

.ai-detail-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.ai-detail-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ai-detail-feat {
    background: var(--light-surface); border: 1px solid var(--light-border);
    border-radius: 12px; padding: 20px;
}
.ai-detail-feat h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.ai-detail-feat p { font-size: 13px; color: var(--light-text-secondary); margin: 0; }

/* ════════════════════ About Detail Page ════════════════════ */

.about-cert-list {
    display: flex; flex-direction: column; gap: 12px;
}
.about-cert-item {
    display: flex; align-items: flex-start; gap: 12px;
    background: var(--red-subtle); border: 1px solid rgba(204,51,51,0.15);
    border-radius: 10px; padding: 12px 16px;
}
.about-cert-icon {
    width: 32px; height: 32px; background: rgba(204,51,51,0.12); border-radius: 8px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px;
}
.about-cert-text { font-size: 13px; line-height: 1.5; }
.about-cert-text strong { color: var(--light-text); }

.cert-section {
    background: linear-gradient(135deg, #1a1a2e, #2d0a0a);
    border-radius: 20px;
    padding: 32px;
    color: #fff;
    margin: 48px 0;
}
.cert-section h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 24px;
}
.cert-section .about-cert-item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}
.cert-section strong {
    color: #fff;
}
.section-block {
    margin-top: 80px;
}
.section-title {
    text-align: center;
    margin-bottom: 12px;
}
.section-subtitle {
    text-align: center;
    color: var(--light-text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ════════════════════ Module Tag Grid ════════════════════ */

.module-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.module-grid li {
    background: var(--light-surface);
    padding: 8px 16px;
    font-size: 13px;
    color: var(--light-text-secondary);
    transition: all 0.2s;
    margin: 0 !important;
    border: 1px solid var(--light-border);
    list-style: none;
}

.module-grid li:hover {
    background: var(--red-subtle);
    border-color: var(--red);
    color: var(--red-dark);
}

/* ════════════════════ Compact Tag Grid ════════════════════ */

.compact-grid {
    display: grid;
    gap: 1px;
    border: 1px solid var(--light-border);
    background: var(--light-border);
}

.compact-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.compact-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.compact-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.compact-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.compact-tag {
    display: block;
    background: var(--light-surface);
    padding: 14px 16px;
    font-size: 13px;
    color: var(--light-text-secondary);
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
}

.compact-tag::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease-out);
}

.compact-tag:hover {
    background: var(--red-subtle);
    color: var(--red-dark);
}

.compact-tag:hover::before {
    transform: scaleX(1);
}

/* ════════════════════ Category Section ════════════════════ */

.cat-section {
    font-family: 'Fira Code', monospace;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red-dark) !important;
    margin: 64px 0 32px !important;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-section::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--light-border);
}

.cat-section:first-of-type {
    margin-top: 0 !important;
}

/* ════════════════════ Version Compare ════════════════════ */

.version-compare {
    margin: 32px 0 24px;
    padding: 16px 24px;
    background: var(--red-subtle);
    color: var(--light-text);
    font-size: 16px;
    font-weight: 600;
    border-left: 3px solid var(--red);
}

.vc-label {
    color: var(--red);
    margin-right: 12px;
}

.version-block {
    font-size: 15px;
    font-weight: 600;
    padding: 12px 0;
    margin: 0;
    color: var(--light-text-secondary);
}

/* ════════════════════ Back Link ════════════════════ */

.back-link {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--light-text-tertiary); text-decoration: none;
    font-family: 'Fira Code', monospace;
    font-size: 12px; letter-spacing: 0.06em;
    margin-bottom: 44px; transition: color 0.2s;
}

.back-link:hover { color: var(--red); }

/* ════════════════════ Sidebar ════════════════════ */

.side-nav {
    width: 260px;
    flex-shrink: 0;
    background: var(--light-surface);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
    border: 1px solid var(--light-border);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.side-section { margin-bottom: 1.75rem; }
.side-section:last-child { margin-bottom: 0; }

.side-section h3 {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-border);
    color: var(--light-text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.side-section h3 a { color: inherit; text-decoration: none; }

.side-menu { list-style: none; margin-left: 0; padding: 0; }

.side-menu li { margin: 0.5rem 0; list-style: none; }

.side-menu a {
    color: var(--light-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s, border-color 0.2s;
    display: block;
    padding: 0.35rem 0.6rem;
    border-left: 2px solid transparent;
}

.side-menu a:hover {
    color: var(--red-dark);
    border-left-color: var(--light-border-strong);
}

.side-menu li.active > a {
    color: var(--red);
    font-weight: 600;
    border-left-color: var(--red);
    background: var(--red-subtle);
}

.side-menu li.active > a::before {
    content: '//';
    font-family: 'Fira Code', monospace;
    font-size: 10px;
    color: var(--red);
    margin-right: 8px;
    vertical-align: middle;
}

/* ════════════════════ Subpages ════════════════════ */

.subpages {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--light-border);
}

.subpages h2 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--light-text);
    font-weight: 600;
}

.subpages ul {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    border: 1px solid var(--light-border);
    background: var(--light-border);
}

.subpages li { list-style: none; }

.subpages li a {
    display: block;
    padding: 1.25rem;
    background: var(--light-surface);
    transition: all 0.25s;
    color: var(--light-text-secondary);
    border-right: 1px solid var(--light-border);
    border-bottom: 1px solid var(--light-border);
    text-decoration: none;
}

.subpages li a:hover {
    background: var(--red-subtle);
    color: var(--red-dark);
}

/* ════════════════════ About Section ════════════════════ */

.about-grid-home {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
    margin-top: 48px;
}
.about-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light-text);
}
.about-text p {
    font-size: 15px;
    color: var(--light-text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}
.about-tag {
    padding: 6px 14px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 4px;
    font-size: 13px;
    color: var(--light-text-secondary);
    transition: all 0.2s;
}
.about-tag:hover {
    border-color: var(--red);
    color: var(--red);
}
.about-tag.accent {
    background: var(--red-subtle);
    border-color: var(--red);
    color: var(--red);
    font-weight: 600;
}

.about-inner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* ════════════════════ Market Spotlight ════════════════════ */

.market-spotlight {
    position: relative;
}
.market-banner {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-left: 3px solid var(--red);
    padding: 32px;
    margin: 32px 0;
    position: relative;
    overflow: hidden;
}
.market-banner::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(204,51,51,0.05) 0%, transparent 70%);
    pointer-events: none;
}
.market-rank {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red-subtle);
    color: var(--red);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.market-banner h3 {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--light-text);
    position: relative;
    z-index: 1;
}
.market-banner p {
    font-size: 16px;
    color: var(--light-text-secondary);
    position: relative;
    z-index: 1;
}

/* ════════════════════ Partner Cards Grid ════════════════════ */

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
    gap: 16px;
    margin-top: 32px;
    justify-items: center;
}
.partner-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.25s;
}
.partner-card:hover {
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.partner-card h4 {
    font-size: 14px;
    color: var(--light-text-secondary);
    margin-bottom: 16px;
    font-weight: 500;
}
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.partner-logo-tag {
    padding: 6px 12px;
    background: var(--light-bg);
    border-radius: 4px;
    font-size: 12px;
    color: var(--light-text-secondary);
    border: 1px solid transparent;
    transition: all 0.2s;
}
.partner-logo-tag:hover {
    border-color: var(--red);
    background: var(--red-subtle);
    color: var(--red);
}

/* ════════════════════ Partner Section (Customers Page) ════════════════════ */

.partner-section {
    margin: 32px 0 48px;
    padding: 32px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 16px;
}
.partner-section h3 {
    text-align: center;
    margin-bottom: 8px;
    font-size: 20px;
}
.partner-section .subtitle {
    text-align: center;
    color: var(--light-text-secondary);
    margin-bottom: 32px;
    font-size: 14px;
}
.partner-section .partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
}

/* ════════════════════ Customer Grid ════════════════════ */

.customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin: 24px 0;
}
.customer-grid p {
    margin: 0;
}
.customer-grid a {
    display: block;
    padding: 8px 12px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--light-text);
    font-size: 14px;
    transition: all 0.2s;
}
.customer-grid a:hover {
    border-color: var(--red);
    background: var(--light-surface-hover);
}

/* ════════════════════ Logo Showcase Grid ════════════════════ */

.logo-showcase {
    margin: 32px 0 48px;
    padding: 32px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 16px;
}
.logo-showcase-title {
    text-align: center;
    margin-bottom: 8px;
    font-size: 20px;
}
.logo-showcase-subtitle {
    text-align: center;
    color: var(--light-text-secondary);
    margin-bottom: 32px;
    font-size: 14px;
}
.logo-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
}
.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    padding: 10px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.25s;
}
.logo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.logo-item img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}
.logo-item img[onerror] {
    display: none;
}

/* ════════════════════ Home Product Grid ════════════════════ */

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--light-border);
    border: 1px solid var(--light-border);
    margin-top: 32px;
}
.home-product-card {
    background: var(--light-surface);
    padding: 32px 28px 44px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.35s var(--ease-smooth);
}
.home-product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-smooth);
}
.home-product-card:hover {
    background: var(--light-surface-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.home-product-card:hover::before {
    transform: scaleX(1);
}
.home-product-icon {
    font-size: 32px;
    margin-bottom: 12px;
}
.home-product-card .card-img {
    width: 100%; height: 120px; overflow: hidden;
    border-radius: 8px; margin-bottom: 16px;
    margin-left: -28px; margin-right: -28px; margin-top: -28px;
    border-radius: 12px 12px 0 0;
}
.home-product-card .card-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.home-product-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--light-text);
}
.home-product-card p {
    font-size: 13px;
    color: var(--light-text-secondary);
    line-height: 1.6;
    flex: 1;
}
.home-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}
.home-product-tags span {
    padding: 4px 10px;
    background: var(--light-bg);
    border-radius: 4px;
    font-size: 11px;
    color: var(--light-text-secondary);
}

/* ════════════════════ Product System Section ════════════════════ */

.product-system-section {
    margin-top: 80px;
}
.product-system-section h2 {
    text-align: center;
    margin-bottom: 12px;
}
.product-system-section .subtitle {
    text-align: center;
    color: var(--light-text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.product-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    padding: 28px;
    border-top: 3px solid var(--red);
}
.product-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}
.product-card p {
    font-size: 14px;
    color: var(--light-text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.product-tag {
    padding: 4px 10px;
    background: var(--light-bg);
    border-radius: 6px;
    font-size: 12px;
    color: var(--light-text-secondary);
}

/* ════════════════════ Advantage Section ════════════════════ */

.advantage-section {
    margin-top: 80px;
}
.advantage-section h2 {
    text-align: center;
    margin-bottom: 12px;
}
.advantage-section .subtitle {
    text-align: center;
    color: var(--light-text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.advantage-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    padding: 28px;
}
.advantage-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--red);
}
.advantage-card ul {
    padding-left: 20px;
    color: var(--light-text-secondary);
    font-size: 14px;
    line-height: 1.8;
}
.advantage-card li {
    margin-bottom: 8px;
}

/* ════════════════════ Platform Preview (Dark Section) ════════════════════ */

.platform-preview {
    padding: 120px 0;
    background-color: var(--black);
    position: relative;
}
.platform-preview .container {
    background: transparent;
    padding: 0 48px;
}
.platform-preview .section-label {
    color: var(--red-light);
}
.platform-preview .section-heading {
    color: #fff;
}
.platform-preview .section-desc {
    color: rgba(255,255,255,0.6);
}
.platform-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.platform-feature {
    padding: 24px;
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s var(--ease-out);
}
.platform-feature:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(204,51,51,0.3);
    transform: translateY(-4px);
}
.platform-feat-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.platform-feature h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}
.platform-feature p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* ════════════════════ AI Preview Section ════════════════════ */

.ai-preview {
    padding: 120px 0;
    background-color: var(--light-bg);
    position: relative;
}
.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-top: 48px;
}
.ai-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red-subtle);
    color: var(--red);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.ai-heading {
    font-size: 32px;
    font-weight: 700;
    margin: 16px 0;
    color: var(--light-text);
    line-height: 1.3;
}
.ai-desc {
    color: var(--light-text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}
.ai-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ai-feat-item {
    background: var(--light-surface);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--light-border);
}
.ai-feat-item strong {
    display: block;
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 4px;
}
.ai-feat-item span {
    font-size: 12px;
    color: var(--light-text-secondary);
}
.ai-visual-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ai-ring-animation {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-ring {
    position: absolute;
    border: 2px solid var(--red);
    border-radius: 50%;
    animation: aiPulse 3s ease-in-out infinite;
}
.ai-ring-animation .ai-ring:nth-child(1) { 
    width: 200px; height: 200px; animation-delay: 0s; 
}
.ai-ring-animation .ai-ring:nth-child(2) { 
    width: 160px; height: 160px; animation-delay: 0.5s; border-color: var(--red-light); 
}
.ai-ring-animation .ai-ring:nth-child(3) { 
    width: 120px; height: 120px; animation-delay: 1s; border-color: var(--red); 
}
.ai-core {
    position: relative;
    z-index: 1;
    font-size: 48px;
}
@keyframes aiPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 1; }
}
.ai-caption {
    text-align: center;
    color: var(--light-text-tertiary);
    font-size: 13px;
    margin-top: 16px;
}
.ai-module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    justify-content: center;
}
.ai-module-tags span {
    padding: 4px 12px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 4px;
    font-size: 12px;
    color: var(--light-text-secondary);
}
.ai-ring-light { border-color: var(--red-light) !important; }
.ai-ring-red { border-color: var(--red) !important; }

/* ════════════════════ Home Advantages Grid ════════════════════ */

.home-adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}
.home-adv-card {
    background: var(--light-surface);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--light-border);
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.home-adv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 0;
    background: var(--red);
    transition: height 0.3s var(--ease-out);
    border-radius: 0 2px 2px 0;
}
.home-adv-card:hover::before {
    height: 100%;
}
.home-adv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border-color: rgba(204,51,51,0.15);
}
.home-adv-icon {
    font-size: 32px;
    margin-bottom: 16px;
}
.home-adv-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--light-text);
}
.home-adv-card p {
    font-size: 14px;
    color: var(--light-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}
.home-adv-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.home-adv-card li {
    font-size: 13px;
    color: var(--light-text-secondary);
    padding: 6px 0;
    border-bottom: 1px solid var(--light-border);
    list-style: none;
}
.home-adv-card li:last-child {
    border-bottom: none;
}

/* ════════════════════ About Stats ════════════════════ */

.about-stat-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.about-stat-num {
    font-size: 36px;
    font-weight: 900;
    color: var(--red);
    line-height: 1;
}
.about-stat-unit {
    font-size: 20px;
    font-weight: 700;
}
.about-stat-label {
    font-size: 13px;
    color: var(--light-text-secondary);
    margin-top: 8px;
}
.stat-counter {
    font-family: 'Fira Code', monospace;
}

/* ════════════════════ Stats Grid (Alternate) ════════════════════ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0 48px;
}
.stat-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}
.stat-number {
    font-size: 42px;
    font-weight: 900;
    color: var(--red);
}
.home-subtitle {
    text-align: center;
    color: var(--light-text-secondary);
    margin-bottom: 32px;
}

/* ════════════════════ Page Header BGs ════════════════════ */

.page-header-bg {
    background-image: url('/images/geometric/geo-16.svg');
    background-size: cover;
    background-position: center;
    background-blend-mode: soft-light;
    background-color: rgba(255,255,255,0.5);
}
.page-header-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(204,51,51,0.03), transparent 50%);
    pointer-events: none;
    z-index: 0;
}
.page-header-bg-05 {
    background-image: url('/images/geometric/geo-05.svg');
    background-size: cover;
    background-position: center;
    background-blend-mode: soft-light;
    background-color: rgba(255,255,255,0.5);
}
.page-header-bg-09 {
    background-image: url('/images/geometric/geo-09.svg');
    background-size: cover;
    background-position: center;
    background-blend-mode: soft-light;
    background-color: rgba(255,255,255,0.5);
}
.page-header-bg-02 {
    background-image: url('/images/geometric/geo-02.svg');
    background-size: cover;
    background-position: center;
    background-blend-mode: soft-light;
    background-color: rgba(255,255,255,0.5);
}
.page-header-bg-06 {
    background-image: url('/images/geometric/geo-06.svg');
    background-size: cover;
    background-position: center;
    background-blend-mode: soft-light;
    background-color: rgba(255,255,255,0.5);
}
.page-header-bg-07 {
    background-image: url('/images/geometric/geo-07.svg');
    background-size: cover;
    background-position: center;
    background-blend-mode: soft-light;
    background-color: rgba(255,255,255,0.5);
}
.detail-page-narrow {
    max-width: 1200px;
}
.detail-page-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
}
.no-decoration {
    text-decoration: none;
    color: inherit;
}
.mb-24 {
    margin-bottom: 24px;
}

/* ════════════════════ About Cert Card ════════════════════ */

.about-cert-card {
    background: linear-gradient(135deg, #1a1a2e, #2d0a0a);
    border-radius: 20px;
    padding: 32px;
    color: #fff;
}
.about-cert-card h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 24px;
}
.about-cert-item-inner {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}
.about-cert-text-strong {
    color: #fff;
}

/* ════════════════════ Architecture Box ════════════════════ */

.architecture-box {
    margin-top: 24px;
    padding: 24px;
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 12px;
}
.arch-label {
    font-size: 12px;
    color: var(--light-text-tertiary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.arch-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.arch-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.arch-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.arch-dot-red { background: var(--red); }
.arch-dot-red-light { background: var(--red-light); }
.arch-dot-amber { background: #F59E0B; }
.arch-dot-purple { background: #9B59B6; }
.arch-text {
    font-size: 13px;
    color: var(--light-text-secondary);
}

/* ════════════════════ Hero Geo Variants ════════════════════ */

.hero-geo-01 {
    background-image: url('/images/geometric/geo-01.svg'), linear-gradient(165deg, #0D1B2A 0%, #1a0a0a 40%, #0a0a0a 70%, #000 100%);
    background-size: cover, 100%;
    mix-blend-mode: overlay;
}

/* ════════════════════ Section Backgrounds with Geometry ════════════════════ */

.bg-geo-03 {
    background-image: url('/images/geometric/geo-03.svg');
    background-size: cover;
    mix-blend-mode: overlay;
}
.bg-geo-08 {
    background-image: url('/images/geometric/geo-08.svg');
    background-size: cover;
    mix-blend-mode: overlay;
}
.bg-geo-04 {
    background-image: url('/images/geometric/geo-04.svg'), linear-gradient(180deg, #0a0a0a, #111);
    background-size: cover, 100%;
    mix-blend-mode: overlay;
}
.bg-geo-13 {
    background-image: url('/images/geometric/geo-13.svg');
    background-size: cover;
    mix-blend-mode: overlay;
}
.bg-geo-11 {
    background-image: url('/images/geometric/geo-11.svg');
    background-size: cover;
    mix-blend-mode: overlay;
}
.bg-geo-20 {
    background-image: url('/images/geometric/geo-20.svg');
    background-size: cover;
    mix-blend-mode: overlay;
}
.footer.bg-geo-20 {
    background-image: url('/images/geometric/geo-20.svg');
    background-size: cover;
    background-blend-mode: overlay;
}

/* ════════════════════ Partners Section (Footer Area) ════════════════════ */

.partners-section {
    padding-bottom: 40px;
}
.partners-label {
    color: var(--light-text-tertiary);
    font-size: 12px;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    text-align: center;
    text-transform: uppercase;
}
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ════════════════════ Logo Footer Note ════════════════════ */

.logo-footer-note {
    text-align: center;
    color: var(--light-text-tertiary);
    font-size: 14px;
    margin-top: 16px;
}
.logo-footer-note a {
    color: var(--red);
}

/* ════════════════════ Footer ════════════════════ */

footer {
    background-color: var(--black);
    padding: 88px 48px 36px;
    margin-top: 0;
    color: var(--dark-text);
    position: relative;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
}
.footer-col h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--dark-text);
}
.footer-col h4 {
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--dark-text-tertiary);
    margin-bottom: 20px;
}
.footer-col p {
    color: var(--dark-text-secondary);
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 300;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}
.footer-col li {
    margin-bottom: 11px;
    list-style: none;
}
.footer-col a {
    color: var(--dark-text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    font-weight: 300;
}
.footer-col a:hover {
    color: var(--red);
}
.footer-badge {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(204,51,51,0.2);
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-top: 16px;
    background: rgba(204,51,51,0.12);
    font-weight: 600;
}
.footer-bottom {
    text-align: center;
    padding-top: 44px;
    margin-top: 60px;
    border-top: 1px solid var(--dark-border);
    color: var(--dark-text-tertiary);
    font-size: 13px;
}
.footer-bottom a {
    color: var(--dark-text-tertiary);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-bottom a:hover {
    color: var(--red);
}
footer .link-list li { display: inline-block; padding: 5px; list-style: none; }

/* ════════════════════ Utility Classes ════════════════════ */

.text-center { text-align: center; }
.text-secondary {
    color: var(--light-text-secondary);
}
.text-tertiary {
    color: var(--light-text-tertiary);
    font-size: 14px;
    margin-top: 16px;
}
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag {
    padding: 4px 10px;
    background: var(--light-bg);
    border-radius: 6px;
    font-size: 12px;
    color: var(--light-text-secondary);
}
.product-card-desc-no-margin {
    font-size: 14px;
    color: var(--light-text-secondary);
    line-height: 1.7;
}
.advantage-card-no-border {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    padding: 28px;
}
.link-red {
    color: var(--red);
}
.mt-32 { margin-top: 32px; }
.mb-40 { margin-bottom: 40px; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }
.text-white { color: #fff !important; }
.text-white-secondary { color: rgba(255,255,255,0.6) !important; }
.pb-40 { padding-bottom: 40px; }

/* ════════════════════ Section Label Light ════════════════════ */

.section-label-light {
    color: var(--red-light) !important;
}

/* ════════════════════ Buttons ════════════════════ */

.btn-primary {
    background: var(--red); color: #fff; padding: 12px 28px; border-radius: 10px;
    font-size: 14px; font-weight: 600; text-decoration: none;
    display: inline-flex; align-items: center; gap: 8px;
    border: none; cursor: pointer; transition: all .3s;
    box-shadow: 0 4px 20px rgba(204,51,51,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(204,51,51,0.4); }
.btn-outline {
    background: transparent;
    color: #fff;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}
.btn-text {
    color: var(--red); text-decoration: none; font-size: 14px; font-weight: 600;
    transition: color .2s; display: inline-flex; align-items: center; gap: 6px;
}
.btn-text:hover { color: var(--red-light); }

/* ════════════════════ Scroll Animations ════════════════════ */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ════════════════════ Industrial Luxury Enhancements ════════════════════ */

.geo-pattern-bg {
    position: relative;
}
.geo-pattern-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.03;
    background-image:
        linear-gradient(45deg, var(--red) 1px, transparent 1px),
        linear-gradient(-45deg, var(--red) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}
.geo-pattern-bg > * {
    position: relative;
    z-index: 1;
}

.grain-overlay {
    position: relative;
}
.grain-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

.industrial-card {
    background: var(--light-surface);
    border: 1px solid var(--border-precision);
    border-left: 4px solid var(--red);
    border-radius: 2px;
    padding: 32px;
    transition: all 0.35s var(--ease-industrial);
    position: relative;
    overflow: hidden;
}
.industrial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--red), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}
.industrial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-luxury);
    border-left-color: var(--red-light);
}
.industrial-card:hover::before {
    opacity: 1;
}

.tech-accent {
    position: relative;
    padding-left: 16px;
}
.tech-accent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--red);
    border-radius: 1px;
}

.section-heading-lux {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--light-text);
    position: relative;
    display: inline-block;
}
.section-heading-lux::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--red);
}

@keyframes industrialReveal {
    from {
        opacity: 0;
        transform: translateY(32px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.reveal-item {
    opacity: 0;
    transform: translateY(32px);
}
.reveal-item.visible {
    animation: industrialReveal 0.7s var(--ease-industrial) forwards;
}

.reveal-item:nth-child(1) { animation-delay: 0.05s; }
.reveal-item:nth-child(2) { animation-delay: 0.1s; }
.reveal-item:nth-child(3) { animation-delay: 0.15s; }
.reveal-item:nth-child(4) { animation-delay: 0.2s; }
.reveal-item:nth-child(5) { animation-delay: 0.25s; }
.reveal-item:nth-child(6) { animation-delay: 0.3s; }
.reveal-item:nth-child(7) { animation-delay: 0.35s; }
.reveal-item:nth-child(8) { animation-delay: 0.4s; }

.hero-accent-line {
    width: 80px;
    height: 3px;
    background: var(--red);
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.hero-accent-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: shimmer 2s ease-in-out infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.btn-industrial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--red);
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease-industrial);
    position: relative;
    overflow: hidden;
}
.btn-industrial:hover {
    background: var(--red-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(204, 51, 51, 0.3);
}
.btn-industrial-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: transparent;
    color: var(--red);
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid var(--red);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s var(--ease-industrial);
}
.btn-industrial-outline:hover {
    background: var(--red);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(204, 51, 51, 0.3);
}

.precision-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--red) 0%, var(--border-precision) 50%, transparent 100%);
    margin: 48px 0;
    position: relative;
}
.precision-divider::after {
    content: '';
    position: absolute;
    left: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}

.stat-industrial {
    text-align: center;
    padding: 40px 24px;
    background: var(--light-surface);
    border: 1px solid var(--border-precision);
    position: relative;
    overflow: hidden;
}
.stat-industrial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red), transparent);
}
.stat-industrial .stat-num {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--red);
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-industrial .stat-label {
    font-size: 13px;
    color: var(--light-text-secondary);
    margin-top: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.logo-showcase-enhanced {
    position: relative;
    overflow: hidden;
}
.logo-showcase-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red-glow-strong), transparent);
}

.card-lift {
    transition: transform 0.4s var(--ease-industrial), box-shadow 0.4s var(--ease-industrial);
}
.card-lift:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-luxury);
}

/* ════════════════════ Responsive ════════════════════ */

@media (max-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .compact-grid.cols-6,
    .compact-grid.cols-5 { grid-template-columns: repeat(4, 1fr); }
    .product-grid-page { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .navbar { padding: 0 24px; }
    .nav-menu {
        display: none; position: absolute; top: var(--nav-height); left: 0; right: 0;
        background: rgba(0, 0, 0, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column; padding: 12px; gap: 0;
        border-bottom: 1px solid var(--dark-border);
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
    }
    .nav-menu.active { display: flex; }
    .mobile-toggle { display: block; }

    .hero { padding: 100px 24px 80px; }
    .hero h1 { font-size: 28px; }
    .page-header { padding: 80px 24px 48px; }
    .container { padding: 48px 24px; flex-direction: column; }
    .detail-page { padding: 40px 24px 80px; }
    .solution-card { padding: 32px 28px 44px; }
    .solution-card::after { bottom: 28px; right: 28px; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    footer { padding: 60px 24px 28px; }
    .logo-cn { font-size: 14px; }
    .logo-en { display: none; }
    .side-nav { width: 100%; position: static; }

    .compact-grid.cols-6,
    .compact-grid.cols-5,
    .compact-grid.cols-4,
    .compact-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .about-grid-home { grid-template-columns: 1fr; gap: 32px; }
    .partner-grid { grid-template-columns: 1fr; }
    .home-product-grid { grid-template-columns: 1fr; }
    .platform-features { grid-template-columns: 1fr; }
    .home-adv-grid { grid-template-columns: 1fr; }
    .section-heading { font-size: 28px; }
    .market-banner { padding: 32px 20px; }
    .market-banner h3 { font-size: 22px; }
    .about-text h3 { font-size: 24px; }
    .ai-preview > .container > div { grid-template-columns: 1fr !important; }
    .ai-feature-grid { grid-template-columns: 1fr; }
    .stats-bar { padding: 24px; }
}

@media (max-width: 640px) {
    .grid-3 { grid-template-columns: 1fr; }
    .product-grid-page { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .compact-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
