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

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;600;700;900&family=Fira+Code:wght@400;500;600;700&display=swap');

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

:root {
    /* Dark red accent */
    --red: #CC3333;
    --red-light: #E04444;
    --red-dark: #991F1F;
    --red-subtle: rgba(204, 51, 51, 0.06);
    --red-hover: rgba(204, 51, 51, 0.1);

    /* Dark surfaces (nav/hero/footer) */
    --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 surfaces (content body) */
    --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;

    /* Easing */
    --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;
}

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;
}

/* Subtle background texture */
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; }

/* ════════════════════ 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;
}

main { padding-top: var(--nav-height); min-height: 100vh; }

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

.hero {
    padding: clamp(100px, 14vw, 180px) 48px clamp(80px, 10vw, 140px);
    position: relative; overflow: hidden;
    background: var(--black);
}

.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', 'Rajdhani', 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); }
}

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

.page-header {
    padding: 88px 48px 64px;
    background: var(--light-surface);
    position: relative;
    border-bottom: 1px solid var(--light-border);
}

.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); }

/* ════════════════════ Layout ════════════════════ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 48px;
    background: var(--light-bg);
}

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

.grid-3 {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    border: 1px solid var(--light-border);
    background: var(--light-border);
}

/* ════════════════════ 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;
}

/* Card stagger */
.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); }
}

/* ════════════════════ 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%; margin: 44px 0; }
.detail-page hr { border: none; height: 1px; background: var(--light-border); margin: 52px 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);
}

/* ════════════════════ 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; }

/* ════════════════════ 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); }

/* ════════════════════ 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%; margin: 44px 0; }

/* ════════════════════ 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;
}

/* ════════════════════ 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);
}

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

footer {
    background: 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-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    max-width: 1200px;
    margin: 0 auto;
}

.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; }

/* ════════════════════ 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); }

/* ════════════════════ 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); }
}

@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: 56px 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); }
}

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

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

/* ════════════════════ New Homepage Sections ════════════════════ */

/* Action 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 .3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.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); }

/* Stats Bar */
.stats-bar {
    background: var(--light-surface); border-bottom: 1px solid var(--light-border);
    padding: 40px 48px;
}
.stats-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
    font-size: 42px; font-weight: 900; color: var(--red); line-height: 1;
}
.stat-num .suffix { font-size: 28px; }
.stat-label { font-size: 14px; color: var(--light-text-secondary); margin-top: 6px; }

/* Section Headers */
.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;
}
.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;
}

/* About Grid Home */
.about-inner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.page-header-bg {
    background-image: url('/images/geometric/geo-16.svg');
    background-size: cover;
    mix-blend-mode: overlay;
}
.detail-page-narrow {
    max-width: 1200px;
}
.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;
}
.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 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;
}
.logo-footer-note {
    text-align: center;
    color: var(--light-text-tertiary);
    font-size: 14px;
    margin-top: 16px;
}
.logo-footer-note a {
    color: var(--red);
}
.about-stat-card {
    background: var(--light-surface);
    border: 1px solid var(--light-border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.about-stat-num {
    font-size: 32px;
    font-weight: 900;
    color: var(--red);
}
.about-stat-label {
    font-size: 13px;
    color: var(--light-text-secondary);
}

/* Market Spotlight */
.market-spotlight .market-banner {
    background: linear-gradient(135deg, #1a1a2e, #2d0a0a);
    border-radius: 20px; padding: 48px; text-align: center; color: #fff;
    margin-bottom: 40px; position: relative; overflow: hidden;
}
.market-banner::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(204,51,51,0.15), transparent 60%);
}
.market-rank {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(204,51,51,0.15); border: 1px solid rgba(204,51,51,0.3);
    color: var(--red-light); padding: 8px 20px; border-radius: 100px;
    font-size: 16px; font-weight: 700; margin-bottom: 24px; position: relative; z-index: 1;
}
.market-banner h3 { font-size: 28px; font-weight: 900; margin-bottom: 12px; position: relative; z-index: 1; }
.market-banner p { font-size: 16px; opacity: 0.8; position: relative; z-index: 1; }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-card {
    background: var(--light-surface); border: 1px solid var(--light-border);
    border-radius: 12px; padding: 24px; text-align: center;
}
.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: 6px;
    font-size: 12px; color: var(--light-text); border: 1px solid var(--light-border); font-weight: 600;
}

/* 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;
    padding: 12px;
    background: var(--light-bg);
    border-radius: 8px;
    height: 56px;
    transition: all 0.25s;
}
.logo-item:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.logo-item img {
    max-width: 100%;
    max-height: 40px;
    object-fit: contain;
}
.logo-item img[onerror] {
    display: none;
}

.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 {
    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;
}

/* Home Product Grid */
.home-product-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.home-product-card {
    background: var(--light-surface); border: 1px solid var(--light-border);
    border-radius: 12px; padding: 28px; text-decoration: none; color: inherit;
    transition: all .3s; position: relative; overflow: hidden;
}
.home-product-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--red); opacity: 0; transition: opacity .3s;
}
.home-product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.home-product-card:hover::before { opacity: 1; }
.home-product-icon { font-size: 32px; margin-bottom: 12px; }
.home-product-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.home-product-card p { font-size: 13px; color: var(--light-text-secondary); line-height: 1.6; }
.home-product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.home-product-tags span {
    padding: 3px 10px; background: var(--red-subtle); border-radius: 6px;
    font-size: 11px; color: var(--red); font-weight: 600;
}

/* Platform Preview */
.platform-preview {
    background: #0a0a0a; padding: 80px 0; margin: 0;
}
.platform-features {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.platform-feature {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 24px; transition: all .3s;
}
.platform-feature:hover { background: rgba(255,255,255,0.08); border-color: var(--red); }
.platform-feat-icon { font-size: 24px; margin-bottom: 12px; }
.platform-feature h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.platform-feature p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* AI Preview */
.ai-preview { background: var(--light-bg); padding: 80px 0; }
.ai-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(204,51,51,0.08); border: 1px solid rgba(204,51,51,0.2);
    color: var(--red); padding: 6px 16px; border-radius: 100px;
    font-size: 13px; font-weight: 600;
}
.ai-feature-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.ai-feat-item {
    background: var(--light-surface); border: 1px solid var(--light-border);
    border-radius: 8px; padding: 14px;
}
.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 {
    background: var(--light-surface); border: 1px solid var(--light-border);
    border-radius: 16px; padding: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.ai-ring-animation { position: relative; width: 200px; height: 200px; }
.ai-ring {
    position: absolute; border-radius: 50%; border: 2px solid rgba(204,51,51,0.2);
    width: 200px; height: 200px; animation: aispin 8s linear infinite;
}
@keyframes aispin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
.ai-core {
    position: absolute; inset: 40px; border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    display: flex; align-items: center; justify-content: center; font-size: 36px;
}
.ai-module-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ai-module-tags span {
    padding: 6px 14px; background: var(--red-subtle); border: 1px solid rgba(204,51,51,0.2);
    border-radius: 100px; font-size: 12px; color: var(--red); font-weight: 600;
}

/* Home Advantages */
.home-adv-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.home-adv-card {
    background: var(--light-surface); border: 1px solid var(--light-border);
    border-radius: 12px; padding: 32px 24px; transition: all .3s;
}
.home-adv-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.06); }
.home-adv-icon { font-size: 36px; margin-bottom: 16px; }
.home-adv-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.home-adv-card p { font-size: 14px; color: var(--light-text-secondary); margin-bottom: 16px; line-height: 1.7; }
.home-adv-card ul { list-style: none; padding: 0; margin: 0; }
.home-adv-card li {
    position: relative; padding-left: 20px; margin-bottom: 8px;
    font-size: 13px; color: var(--light-text-secondary);
}
.home-adv-card li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--red); font-weight: 700;
}

/* Hero Actions */
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Responsive for new sections */
@media (max-width: 768px) {
    .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; }
    .container { padding: 48px 24px; }
    .stats-bar { padding: 24px; }
}

/* 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 .icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--red-subtle); display: flex; align-items: center; justify-content: center;
    font-size: 22px; 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;
}

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

/* 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); }

/* ===== About Page Specific Styles ===== */
.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;
}
.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;
}
.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;
}
.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);
}
.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;
}
.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;
}

/* Additional About Page Styles */
.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);
}

/* ===== Customers Page Styles ===== */
.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-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 12px;
}

/* ===== Home Page Styles ===== */
.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);
}
.stat-label {
    font-size: 14px;
    color: var(--light-text-secondary);
    margin-top: 8px;
}
.home-subtitle {
    text-align: center;
    color: var(--light-text-secondary);
    margin-bottom: 32px;
}

/* ===== Page Header with Background Image ===== */
.page-header-bg-05 {
    background-image: url('/images/geometric/geo-05.svg');
    background-size: cover;
    mix-blend-mode: overlay;
}
.page-header-bg-09 {
    background-image: url('/images/geometric/geo-09.svg');
    background-size: cover;
    mix-blend-mode: overlay;
}
.page-header-bg-02 {
    background-image: url('/images/geometric/geo-02.svg');
    background-size: cover;
    mix-blend-mode: overlay;
}
.page-header-bg-06 {
    background-image: url('/images/geometric/geo-06.svg');
    background-size: cover;
    mix-blend-mode: overlay;
}
.detail-page-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px;
}
.no-decoration {
    text-decoration: none;
    color: inherit;
}
.mb-24 {
    margin-bottom: 24px;
}
.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 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;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* ===== 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;
}

/* ===== Platform Preview ===== */
.platform-preview {
    padding: 120px 0;
    background: var(--black);
    position: relative;
}
.platform-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.platform-feat-icon {
    font-size: 28px;
    margin-bottom: 16px;
}
.platform-feature h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-text);
}
.platform-feature p {
    font-size: 14px;
    color: var(--dark-text-secondary);
    line-height: 1.6;
}

/* ===== AI Preview ===== */
.ai-preview {
    padding: 120px 0;
    background: var(--light-bg);
    position: relative;
}
.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-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}
.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:nth-child(1) { width: 200px; height: 200px; animation-delay: 0s; }
.ai-ring:nth-child(2) { width: 160px; height: 160px; animation-delay: 0.5s; border-color: var(--red-light); }
.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-module-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.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);
}

/* ===== Home Advantages Grid ===== */
.home-adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.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);
}
.home-adv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.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;
}
.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;
}

/* ===== Partners Section ===== */
.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;
}
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ===== Text Center Utility ===== */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.inline-flex { display: inline-flex; }

/* ===== Additional Utility Classes for Homepage ===== */
.section-label-light {
    color: var(--red-light) !important;
}
.text-white { color: #fff !important; }
.text-white-secondary { color: rgba(255,255,255,0.6) !important; }

/* AI Preview Grid */
.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.ai-heading {
    font-size: 32px;
    font-weight: 700;
    margin: 16px 0;
    color: var(--light-text);
}
.ai-desc {
    color: var(--light-text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}
.mt-16 { margin-top: 16px; }
.inline-block { display: inline-block; }

/* AI Caption */
.ai-caption {
    text-align: center;
    color: var(--light-text-tertiary);
    font-size: 13px;
}

/* Footer background */
.footer.bg-geo-20 {
    background-image: url('/images/geometric/geo-20.svg');
    background-size: cover;
    mix-blend-mode: overlay;
}

/* ===== Missing Utility Classes ===== */
.pb-40 { padding-bottom: 40px; }

/* ===== Partners Section (Homepage) ===== */
.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;
}
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ===== Fix AI Ring Variants ===== */
.ai-ring-light { border-color: var(--red-light) !important; }
.ai-ring-red { border-color: var(--red) !important; }

/* ===== Improve Section Spacing ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 96px 48px;
}

/* ===== Hero Visual Enhancement ===== */
.hero {
    position: relative;
    overflow: hidden;
}
.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;
}

/* ===== Stats Bar Enhancement ===== */
.stats-bar {
    background: var(--light-surface);
    border-bottom: 1px solid var(--light-border);
    padding: 48px 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);
}

/* ===== Section Label Enhancement ===== */
.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);
}

/* ===== Platform Features Grid Fix ===== */
.platform-preview {
    padding: 120px 0;
    background: var(--black);
    position: relative;
}
.platform-preview .container {
    background: transparent;
    padding: 0 48px;
}
.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: var(--dark-text);
}
.platform-feature p {
    font-size: 14px;
    color: var(--dark-text-secondary);
    line-height: 1.6;
}
/* ===== HOMEPAGE OPTIMIZATION: Precision Industrial Aesthetic ===== */

/* --- Hero Section Enhancement --- */
.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); }
}

/* --- Stats Bar: Precision Data Display --- */
.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;
}

/* --- 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;
}

/* --- 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;
}

/* --- 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(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.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);
}

/* --- 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 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);
}

/* --- Platform Preview (Dark Section) --- */
.platform-preview {
    padding: 120px 0;
    background: 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;
}
.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);
}

/* --- AI Preview Section --- */
.ai-preview {
    padding: 120px 0;
    background: 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;
}
/* FIX: Use proper nth-child selector */
.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);
}

/* --- Home Advantages Grid --- */
.home-adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}
.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);
}
.home-adv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}
.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;
}

/* --- 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;
}

/* --- Footer Enhancement --- */
footer {
    background: 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);
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-40 { margin-bottom: 40px; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }

/* ===== Missing Classes Used in index.html ===== */
.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;
}
